:root {
  --primary: #07617e;
  --secondary: #fb6e29;
  --accent: #22c55e;
  --neutral: #f4f6fb;
  --soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --purple: #5b3fd9;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* ANIMATION */

.section-animate {
  opacity: 0;
  transform: translateY(35px);
  transition: 0.8s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */

.zado-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 44px;
}

.nav-menu {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.nav-menu a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
}

.btn-secondary {
  border: 1px solid var(--secondary);
  color: var(--secondary);
  background: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
}

/* MOBILE MENU */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: 0.35s ease;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--primary);
}

/* HERO */

.hero-section {
  padding: 88px 0 44px;
  background:
    radial-gradient(circle at 78% 20%, rgba(91, 63, 217, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  max-width: 560px;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}


@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* CLIENT LOGOS */

.client-logo-section {
  padding: 28px 0;
}

.client-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.client-box p {
  font-weight: 800;
  margin-bottom: 22px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  align-items: center;
}

.client-logo {
  min-height: 52px;
  border: 1px dashed #d8d4ff;
  border-radius: 10px;
  background: #fafbff;
  display: grid;
  place-items: center;
  padding: 12px;
}

.client-logo img {
  max-height: 32px;
  object-fit: contain;
}

/* COMMON SECTIONS */

.why-section,
.process-section,
.features-section,
.cta-section {
  padding: 68px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1px;
  color: var(--text);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.feature-card,
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.info-card {
  padding: 26px;
}

.info-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}

.info-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--muted);
  font-size: 15px;
}

/* PROCESS */

.process-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.process-step {
  width: 134px;
  padding: 18px 12px;
  text-align: center;
}

.process-step img {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
}

.process-step h4 {
  font-size: 13px;
}

.arrow {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 900;
}

/* FEATURES */

.features-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 90px;
  padding: 22px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-card img {
  width: 50px;
  height: 50px;
}

/* CTA */

.cta-box {
  background: linear-gradient(135deg, #fafbff, #ffffff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.cta-box p {
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* STATS */

.stats-section {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats-grid h3 {
  font-size: 38px;
}

.stats-grid p {
  opacity: 0.9;
}

/* FOOTER */

.zado-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand img {
  height: 46px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 330px;
}

.zado-footer h4 {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--primary);
}

.zado-footer a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.zado-footer a:hover {
  color: var(--primary);
}

.social-icons{
    display:flex;
    gap:12px;
    margin-top:20px;
}



.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 38px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .four-cols,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    padding-top: 58px;
  }


  .client-logo-grid,
  .four-cols,
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    width: 100%;
    max-width: 320px;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .footer-grid,
  .footer-brand {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .hero-buttons,
  .cta-actions {
    width: 100%;
  }

  .hero-content h1 {
    letter-spacing: -1px;
  }

}

/* BOX LEVEL ANIMATIONS */

.animate-children > * {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.3s ease;
}

.animate-children.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger Delay */
.animate-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.animate-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.animate-children.visible > *:nth-child(3) { transition-delay: 0.19s; }
.animate-children.visible > *:nth-child(4) { transition-delay: 0.26s; }
.animate-children.visible > *:nth-child(5) { transition-delay: 0.33s; }
.animate-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.animate-children.visible > *:nth-child(7) { transition-delay: 0.47s; }
.animate-children.visible > *:nth-child(8) { transition-delay: 0.54s; }
.animate-children.visible > *:nth-child(9) { transition-delay: 0.61s; }
.animate-children.visible > *:nth-child(10) { transition-delay: 0.68s; }
.animate-children.visible > *:nth-child(11) { transition-delay: 0.75s; }
.animate-children.visible > *:nth-child(12) { transition-delay: 0.82s; }

/* Hover Animation for Cards */
.info-card,
.feature-card,
.client-logo,
.process-step {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover,
.feature-card:hover,
.client-logo:hover,
.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 63, 217, 0.35);
  box-shadow: 0 20px 45px rgba(91, 63, 217, 0.12);
}

/* Icon Micro Animation */
.info-card img,
.feature-card img,
.process-step img {
  transition: transform 0.3s ease;
}

.info-card:hover img,
.feature-card:hover img,
.process-step:hover img {
  transform: scale(1.12) rotate(-3deg);
}

/* Client Logo Soft Glow */
.client-logo:hover {
  background: #ffffff;
}

/* Process Step Active Feel */
.process-step:hover {
  background: linear-gradient(180deg, #ffffff, #fafbff);
}

/* Feature Card Hover */
.feature-card:hover {
  color: var(--primary);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .section-animate,
  .animate-children > *,
  .info-card,
  .feature-card,
  .client-logo,
  .process-step,
  .info-card img,
  .feature-card img,
  .process-step img {
    transition: none;
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* ==========================================================
   ZADO TYPOGRAPHY (Add at the END of your existing CSS)
   ========================================================== */

body,
button,
input,
textarea,
select {
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Navigation */

.nav-menu a{
    font-size:15px;
    font-weight:500;
    letter-spacing:.2px;
}

/* Hero */

.hero-content h1{
    font-weight:800;
    letter-spacing:-2px;
    line-height:1.08;
}

.hero-content p{
    font-size:18px;
    font-weight:400;
    line-height:1.8;
}

/* Section Titles */

.section-heading h2{
    font-weight:700;
    letter-spacing:-1px;
}

/* Card Titles */

.info-card h3,
.feature-card span,
.feature-card h3{
    font-size:18px;
    font-weight:600;
    line-height:1.4;
}

/* Card Description */

.info-card p,
.feature-card p{
    font-size:15px;
    line-height:1.75;
}

/* Process */

.process-step h4{
    font-size:15px;
    font-weight:600;
}

/* Buttons */

.btn{
    font-family:"Inter",sans-serif;
    font-weight:600;
    letter-spacing:.2px;
}

/* Footer */

.footer-grid h4{
    font-size:17px;
    font-weight:700;
}

.footer-grid a{
    font-size:15px;
    font-weight:400;
}

.footer-brand p{
    font-size:15px;
}

/* Mobile */

@media(max-width:768px){

.hero-content h1{
    letter-spacing:-1px;
}

.hero-content p{
    font-size:16px;
}

.section-heading h2{
    letter-spacing:-0.5px;
}

}
.erp-title {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #5b3fd9;
  z-index: 5;
}
/* HERO RIGHT GRAPHIC - WIREFRAME MATCH */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.zado-hero-graphic {
  width: 100%;
  max-width: 470px;
  min-height: 430px;
  position: relative;
  margin: 0 auto;
}

.hero-connectors {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 420px;
  height: 300px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-connectors path {
  stroke: #d8d4ff;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.doc {
  position: absolute;
  width: 52px;
  height: 62px;
  border: 1px solid #d8d4ff;
  border-radius: 14px;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(91, 63, 217, 0.09);
  z-index: 3;
  animation: floatDoc 4s ease-in-out infinite;
}

.doc img {
  width: 26px;
  height: 26px;
}

.doc-left-1 {
  top: 40px;
  left: 38px;
}

.doc-left-2 {
  top: 40px;
  left: 125px;
  animation-delay: 0.2s;
}

.doc-right-1 {
  top: 40px;
  right: 125px;
  animation-delay: 0.4s;
}

.doc-right-2 {
  top: 40px;
  right: 38px;
  animation-delay: 0.6s;
}

.brain-area {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 128px;
  height: 128px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  z-index: 4;
}

.brain-ring {
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(91, 63, 217, 0.18);
  border-radius: 50%;
}

.brain-main {
  width: 106px;
  height: 106px;
  border: 1px solid #d8d4ff;
  border-radius: 50%;
  background: #f8f6ff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(91, 63, 217, 0.08);
}

.brain-main img {
  width: 68px;
  height: 68px;
}

.zado-ai-box {
  position: absolute;
  top: 205px;
  left: 50%;
  width: 265px;
  min-height: 94px;
  transform: translateX(-50%);
  border: 1px solid #d8d4ff;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(91, 63, 217, 0.08);
  text-align: center;
  padding: 20px 18px;
  z-index: 5;
}

.zado-ai-box h3 {
  color: #5b3fd9;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.zado-ai-box p {
  color: #5b3fd9;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 0;
}

.erp-arrows {
  position: absolute;
  top: 300px;
  left: 50%;
  width: 250px;
  height: 58px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  z-index: 4;
}

.erp-arrows span {
  width: 2px;
  height: 42px;
  background: #1e293b;
  position: relative;
}

.erp-arrows span::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #1e293b;
  border-bottom: 2px solid #1e293b;
  transform: translateX(-50%) rotate(45deg);
}

.erp-box-hero {
  position: absolute;
  top: 358px;
  left: 50%;
  width: 360px;
  min-height: 54px;
  transform: translateX(-50%);
  border: 1px solid #d8d4ff;
  border-radius: 10px;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(91, 63, 217, 0.06);
  z-index: 5;
}

@keyframes floatDoc {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .zado-hero-graphic {
    max-width: 340px;
    min-height: 410px;
  }

  .hero-connectors {
    top: 28px;
    width: 340px;
    height: 245px;
  }

  .doc {
    width: 43px;
    height: 53px;
  }

  .doc img {
    width: 22px;
    height: 22px;
  }

  .doc-left-1 {
    top: 48px;
    left: 4px;
  }

  .doc-left-2 {
    top: 48px;
    left: 82px;
  }

  .doc-right-1 {
    top: 48px;
    right: 82px;
  }

  .doc-right-2 {
    top: 48px;
    right: 4px;
  }

  .brain-area {
    top: 82px;
    width: 108px;
    height: 108px;
  }

  .brain-ring {
    width: 138px;
    height: 138px;
  }

  .brain-main {
    width: 88px;
    height: 88px;
  }

  .brain-main img {
    width: 56px;
    height: 56px;
  }

  .zado-ai-box {
    top: 220px;
    width: 230px;
    min-height: 88px;
  }

  .zado-ai-box h3 {
    font-size: 30px;
  }

  .erp-arrows {
    top: 310px;
    width: 220px;
  }

  .erp-box-hero {
    top: 365px;
    width: 290px;
    min-height: 54px;
    font-size: 14px;
  }
}
/* FIX HERO DOCUMENT CONNECTORS */

.hero-connectors {
  top: 28px;
  z-index: 2;
}

.hero-connectors path {
  stroke: #d8d4ff;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.hero-connectors circle {
  fill: #5b3fd9;
}

.brain-area {
  z-index: 4;
}

.zado-ai-box {
  z-index: 5;
}
/* FIX GAP BETWEEN BRAIN AND ZADO BOX */

.brain-area {
  top: 92px !important;
}

.hero-connectors {
  top: 28px !important;
}

.brain-to-zado-line {
  stroke: #5b3fd9 !important;
  stroke-width: 2 !important;
}

.zado-ai-box {
  top: 235px !important;
}

.erp-arrows {
  top: 330px !important;
}

.erp-box-hero {
  top: 388px !important;
}
/* BRAIN TO ZADO DOWN ARROW */

.brain-to-zado-line,
.brain-to-zado-arrow {
  stroke: #5b3fd9 !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.brain-to-zado-arrow {
  z-index: 5;
}
/* ==========================================
   HERO RIGHT ILLUSTRATION
========================================== */

.hero-visual{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}

.hero-illustration{
    width:100%;
    max-width:520px;
    display:flex;
    justify-content:center;
    align-items:center;
    animation:floatGraphic 6s ease-in-out infinite;
}

.hero-flow-image{
    width:100%;
    height:auto;
    display:block;
    user-select:none;
    pointer-events:none;
    filter:drop-shadow(0 20px 40px rgba(91,63,217,.08));
}

/* Floating animation */

@keyframes floatGraphic{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* Responsive */

@media(max-width:992px){

.hero-visual{
    margin-top:40px;
}

.hero-illustration{
    max-width:430px;
}

}

@media(max-width:768px){

.hero-illustration{
    max-width:320px;
}

}
/* ================================
   FOOTER COMPANY LINKS
================================ */

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 14px;
  padding: 0;
}

.zado-footer .footer-links a {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.zado-footer .footer-links a:hover {
  color: #5b3fd9;
}

/* ================================
   FOOTER SOCIAL ICONS
================================ */

.zado-footer .footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.zado-footer .footer-social a {
  width: 38px;
  height: 38px;
  min-width: 38px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 63, 217, 0.22);
  border-radius: 50%;
  background: #f7f5ff;
  color: #5b3fd9;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.zado-footer .footer-social a i {
  display: block;
  color: inherit;
  font-size: 16px;
  line-height: 1;
}

.zado-footer .footer-social a:hover,
.zado-footer .footer-social a:focus-visible {
  background: #5b3fd9;
  border-color: #5b3fd9;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(91, 63, 217, 0.22);
}

.zado-footer .footer-social a:hover i,
.zado-footer .footer-social a:focus-visible i {
  color: #ffffff;
}

/* Prevent the general footer link rule
   from stacking social icons vertically */
.zado-footer .company-column .footer-social > a {
  display: inline-flex;
  margin-bottom: 0;
}

/* TABLET */

@media (max-width: 1100px) {
  .zado-footer .footer-social {
    gap: 9px;
  }

  .zado-footer .footer-social a {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .company-column {
    width: 100%;
  }

  .zado-footer .footer-social {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

/* =========================================================
   MOBILE ANIMATION VISIBILITY FIX
========================================================= */

@media (max-width: 768px) {

  .section-animate,
  .animate-children {
    visibility: visible;
  }

  .section-animate.visible,
  .animate-children.visible {
    opacity: 1;
    transform: none;
  }

  /*
   * Ensure all cards inside animated containers become visible.
   */

  .animate-children.visible > *,
  .animate-children.visible article,
  .animate-children.visible .integration-card,
  .animate-children.visible .integration-item,
  .animate-children.visible .integration-list-item,
  .animate-children.visible .resource-card,
  .animate-children.visible .case-study-card,
  .animate-children.visible .whitepaper-card,
  .animate-children.visible .video-card,
  .animate-children.visible .help-card {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

}

@media (max-width: 768px) {

  /*
   * Prevent content from remaining permanently hidden
   * if JavaScript or IntersectionObserver fails.
   */

  body:not(.animations-ready) .section-animate,
  body:not(.animations-ready) .animate-children,
  body:not(.animations-ready) .animate-children > * {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

}
/* =========================================================
   MOBILE MENU FIX
========================================================= */

.menu-toggle {
  position: relative;
  z-index: 1002;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 2000;
  width: min(340px, 88%);
  height: 100vh;
  padding: 80px 28px 32px;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: -12px 0 35px rgba(15, 23, 42, 0.15);
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2001;
  border: 0;
  background: transparent;
  color: #1f2937;
  font-size: 25px;
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}