/* ==========================================================================
   Milestone Child Development Center — Stylesheet
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,600&display=swap');

/* ---------- Variables ---------- */
:root{
  --navy: #16357D;
  --navy-dark: #0C1F52;
  --blue: #2E6BE6;
  --green: #3EAE49;
  --green-dark: #2C8A38;
  --gold: #FFB800;
  --gold-dark: #F59300;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FF;
  --bg-soft-green: #F1FAF2;
  --text: #22304F;
  --text-light: #5B6B8C;
  --border: #E4EAF7;
  --shadow: 0 10px 30px rgba(22, 53, 125, 0.08);
  --shadow-lg: 0 20px 50px rgba(22, 53, 125, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --ff-head: 'Fredoka', sans-serif;
  --ff-body: 'Nunito', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; overflow-x: clip; }
body{
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* overflow-x:clip, not hidden: Safari treats overflow:hidden on an ancestor as
   a scroll container that position:sticky elements track against instead of
   the real viewport, which shows up as a jittery/vibrating navbar while
   scrolling. clip prevents the same accidental horizontal overflow (e.g. a
   [data-aos] element mid-transform before it's scrolled into view) without
   establishing that scroll container, so it doesn't confuse sticky. */
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; overflow-wrap: break-word; }
p, span, li, h1, h2, h3, h4, h5{ overflow-wrap: break-word; word-break: break-word; }
/* Grid/flex children default to min-width:auto which can force overflow on
   narrow screens when they hold long unbroken text (emails, addresses). */
.hero-grid > *, .split > *, .contact-grid > *, .topbar-inner > *,
.topbar-left, .footer-top > *, .navbar-inner{ min-width: 0; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
h1,h2,h3,h4,h5{ font-family: var(--ff-head); font-weight:600; color: var(--navy); line-height:1.25; }
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 24px; }
section{ position:relative; }

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--ff-head); font-weight:600; font-size:.8rem;
  letter-spacing:.06em; text-transform:uppercase;
  color: var(--green-dark); background: var(--bg-soft-green);
  padding:7px 16px; border-radius:50px; margin-bottom:16px;
}
.eyebrow i{ color: var(--gold); }
.section-title{ font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom:14px; }
.section-title span{ color: var(--green); }
.section-desc{ color: var(--text-light); font-size:1.05rem; max-width:620px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-head{ margin-bottom:48px; }
.section-head.center .section-desc{ margin-left:auto; margin-right:auto; }
.mt-8{ margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;} .mt-48{margin-top:48px;}

.pad-section{ padding: 100px 0; }
@media (max-width:768px){ .pad-section{ padding:70px 0; } }

.bg-soft{ background: var(--bg-soft); }
.bg-navy{ background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color:#fff; }
.bg-navy h2, .bg-navy h3{ color:#fff; }

/* Blob decorative background shapes */
.blob{ position:absolute; border-radius:50%; filter: blur(0px); z-index:0; opacity:.5; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--ff-head); font-weight:600; font-size:.98rem;
  padding:15px 30px; border-radius:50px; transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space:nowrap; position:relative; overflow:hidden;
}
.btn-primary{ background: var(--green); color:#fff; box-shadow: 0 10px 24px rgba(62,174,73,.35); }
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(62,174,73,.4); }
.btn-outline{ border:2px solid var(--navy); color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color:#fff; transform: translateY(-3px); }
.btn-gold{ background: var(--gold); color: var(--navy-dark); box-shadow: 0 10px 24px rgba(255,184,0,.35); }
.btn-gold:hover{ background: var(--gold-dark); transform: translateY(-3px); }
.btn-white{ background:#fff; color: var(--navy); }
.btn-white:hover{ transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.15); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:.85rem; }

/* ---------- Top bar ---------- */
.topbar{ background: var(--navy-dark); color:#cfd9f5; font-size:.85rem; }
.topbar-inner{ display:flex; justify-content:space-between; align-items:center; padding:9px 24px; flex-wrap:wrap; gap:6px; }
.topbar-left{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar a, .topbar span{ display:inline-flex; align-items:center; gap:7px; color:#cfd9f5; transition:color .2s; }
.topbar a:hover{ color: var(--gold); }
.topbar-social{ display:flex; gap:12px; }
.topbar-social a{ width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.1); align-items:center; justify-content:center; }
.topbar-social a:hover{ background: var(--gold); color: var(--navy-dark); }

/* ---------- Navbar ---------- */
.site-header{ z-index:1000; }
/* Only the navbar sticks — the topbar scrolls away as normal content. Toggling
   height/display on a sticky ancestor via scroll position causes the browser's
   scroll anchoring to silently shift scrollY to compensate, which can flip the
   very threshold the JS is checking and loop forever (visible as a "vibrating"
   header). Keeping the sticky element's own box size constant avoids that. */
.navbar{ position:sticky; top:0; z-index:1000; background:#fff; box-shadow: 0 2px 20px rgba(22,53,125,.06); transition: box-shadow .3s ease; }
.navbar-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:20px; }
.navbar.shrink{ box-shadow: 0 4px 24px rgba(22,53,125,.14); }

.logo{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.logo svg, .logo img{ width:58px; height:58px; object-fit:contain; transition: transform .3s; }
.logo:hover svg, .logo:hover img{ transform: scale(1.06) rotate(-4deg); }
.logo-text{ display:flex; flex-direction:column; line-height:1.1; }
.logo-text b{ font-family: var(--ff-head); font-size:1.45rem; color: var(--navy); letter-spacing:.2px; }
.logo-text b em{ font-style:normal; color: var(--green); }
.logo-text small{ font-size:.62rem; letter-spacing:.09em; text-transform:uppercase; color: var(--text-light); font-weight:700; }

.nav-links{ display:flex; gap:8px; align-items:center; }
.nav-links a{
  font-family: var(--ff-head); font-weight:500; font-size:.98rem; color: var(--text);
  padding:10px 16px; border-radius:50px; position:relative; transition: all .25s;
}
.nav-links a:hover, .nav-links a.active{ background: var(--bg-soft-green); color: var(--green-dark); }

.navbar-inner > .btn{ flex-shrink:0; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; width:30px; z-index:1200; }
.nav-toggle span{ height:3px; width:100%; background: var(--navy); border-radius:3px; transition: all .3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px){
  .nav-toggle{ display:flex; }
  .topbar-left a:nth-child(2){ display:none; }
  .topbar-right{ display:none; }
  .nav-links{
    position:fixed; top:0; right:-100%; height:100vh; width:min(320px,80vw);
    background:#fff; flex-direction:column; align-items:flex-start; justify-content:flex-start;
    padding:110px 30px 30px; gap:6px; transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,.12); z-index:1100;
  }
  .nav-links.open{ right:0; }
  .nav-links a{ width:100%; }
  .navbar-inner .btn.nav-cta{ display:none; }
  .nav-overlay{ position:fixed; inset:0; background:rgba(12,31,82,.45); opacity:0; pointer-events:none; transition:opacity .35s; z-index:1050; }
  .nav-overlay.open{ opacity:1; pointer-events:auto; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero{
  background: linear-gradient(135deg, rgba(22,53,125,.93) 0%, rgba(28,75,176,.9) 100%), url('../images/page-hero-bg.jpg') center 30%/cover no-repeat;
  color:#fff; padding:80px 0 90px; position:relative; overflow:hidden; text-align:center;
}
.page-hero::before, .page-hero::after{
  content:''; position:absolute; border-radius:50%;
}
.page-hero::before{ width:340px; height:340px; background: rgba(255,255,255,.06); top:-140px; left:-100px; }
.page-hero::after{ width:260px; height:260px; background: rgba(255,184,0,.12); bottom:-120px; right:-60px; }
.page-hero h1{ color:#fff; font-size: clamp(2rem,4vw,3rem); margin-bottom:14px; }
.page-hero p{ color:#cfe0ff; max-width:560px; margin:0 auto; font-size:1.05rem; }
.breadcrumb{ margin-top:22px; display:flex; gap:8px; justify-content:center; color:#a9c1f0; font-weight:600; font-size:.92rem; }
.breadcrumb a{ color:#fff; }
.breadcrumb a:hover{ color: var(--gold); }
.page-hero .star-field span{ position:absolute; color: rgba(255,255,255,.35); }

/* ---------- Home Hero ---------- */
.hero{ position:relative; padding:80px 0 60px; overflow:hidden; background: var(--bg-soft); }
.hero .blob-1{ width:480px; height:480px; background: radial-gradient(circle, #cfe0ff 0%, rgba(207,224,255,0) 70%); top:-160px; right:-120px; }
.hero .blob-2{ width:380px; height:380px; background: radial-gradient(circle, #d3f3d6 0%, rgba(211,243,214,0) 70%); bottom:-140px; left:-100px; }

.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:50px; align-items:center; position:relative; z-index:1; }
.hero-content h1{ font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom:20px; }
.hero-content h1 .highlight{ color: var(--green); position:relative; white-space:nowrap; }
.hero-content h1 .highlight svg{ position:absolute; left:0; bottom:-10px; width:100%; height:14px; }
.hero-content p{ font-size:1.1rem; color: var(--text-light); max-width:520px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px; }
.hero-trust{ display:flex; gap:26px; flex-wrap:wrap; }
.hero-trust div{ display:flex; align-items:center; gap:10px; font-family:var(--ff-head); font-weight:600; color:var(--navy); font-size:.92rem; }
.hero-trust i{ color: var(--green); font-size:1.2rem; }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-visual .stage{
  width:100%; aspect-ratio: 1/1; max-width:460px; border-radius:50%;
  background: radial-gradient(circle at 32% 28%, #eaf2ff 0%, #dbe9ff 55%, #cfe0ff 100%);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.6);
}
.hero-visual .stage svg{ width:78%; height:78%; }
.hero-visual .stage img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.floaty{ position:absolute; animation: float 4s ease-in-out infinite; }
.floaty.f1{ top:6%; left:2%; animation-delay:0s; }
.floaty.f2{ top:60%; left:-4%; animation-delay:.6s; }
.floaty.f3{ top:14%; right:0; animation-delay:1.2s; }
.floaty.f4{ bottom:4%; right:8%; animation-delay:1.8s; }
.floaty i, .floaty svg{ filter: drop-shadow(0 8px 14px rgba(22,53,125,.18)); }

.badge-card{
  position:absolute; background:#fff; border-radius:16px; box-shadow: var(--shadow-lg);
  padding:12px 16px; display:flex; align-items:center; gap:10px; font-family:var(--ff-head);
  font-weight:600; font-size:.85rem; color:var(--navy); animation: float 5s ease-in-out infinite;
}
.badge-card i{ font-size:1.3rem; }
.badge-1{ bottom:12%; left:-6%; animation-delay:.3s;}
.badge-2{ top:8%; right:-4%; animation-delay:1s;}
.badge-1 .ic{ color:var(--gold); } .badge-2 .ic{ color:var(--green); }

/* ---------- Marquee strip ---------- */
.strip{ background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; padding:16px 0; }
.strip-track{ display:flex; gap:60px; width:max-content; animation: marquee 22s linear infinite; }
.strip-track span{ font-family: var(--ff-head); font-weight:600; color: var(--text-light); display:flex; align-items:center; gap:10px; font-size:.95rem; white-space:nowrap; }
.strip-track span i{ color: var(--gold); }

/* ---------- Promo banner ---------- */
.promo{
  position:relative; margin: -1px auto 0; background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color:#fff; overflow:hidden;
}
.promo-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; padding:34px 0; flex-wrap:wrap; }
.promo-text{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.promo-badge{ background: var(--gold); color: var(--navy-dark); font-family:var(--ff-head); font-weight:700; font-size:.82rem; padding:8px 16px; border-radius:50px; letter-spacing:.03em; flex-shrink:0; animation: pulse 2s infinite; }
.promo h3{ color:#fff; font-size:1.3rem; margin-bottom:4px; }
.promo p{ color:#e3f7e5; font-size:.95rem; }
.promo-cta{ display:flex; gap:12px; flex-wrap:wrap; }
.promo .star-dec{ position:absolute; color: rgba(255,255,255,.15); font-size:5rem; top:-16px; right:6%; transform:rotate(15deg); }

/* ---------- About snippet / feature split ---------- */
.split{ display:grid; grid-template-columns: .95fr 1.05fr; gap:60px; align-items:center; }
.split.reverse{ grid-template-columns: 1.05fr .95fr; }
.split.reverse .split-visual{ order:2; }
.split-visual{ position:relative; }
.split-visual .art-card{
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg,#eaf2ff,#f1faf2); aspect-ratio: 4/3.4;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.split-visual .art-card svg{ width:70%; }
.art-card img{ width:100%; height:100%; object-fit:cover; }
.split-visual .float-badge{
  position:absolute; background:#fff; border-radius:14px; box-shadow: var(--shadow); padding:14px 18px;
  display:flex; align-items:center; gap:12px; animation: float 5s ease-in-out infinite;
}
.split-visual .float-badge.fb1{ top:-18px; right:-16px; }
.split-visual .float-badge.fb2{ bottom:-18px; left:-16px; animation-delay:1s; }
.float-badge .num{ font-family:var(--ff-head); font-weight:700; font-size:1.5rem; color:var(--green); }
.float-badge small{ display:block; color:var(--text-light); font-size:.75rem; font-weight:700; text-transform:uppercase; }

.check-list{ margin:26px 0; display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; font-weight:700; color:var(--navy); font-family:var(--ff-head); font-size:.98rem; }
.check-list li i{ width:26px; height:26px; border-radius:50%; background: var(--bg-soft-green); color: var(--green); display:flex; align-items:center; justify-content:center; font-size:.75rem; flex-shrink:0; margin-top:2px; }

/* ---------- Service cards ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:26px; }
@media (max-width:1100px){ .services-grid{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:700px){ .services-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:480px){ .services-grid{ grid-template-columns:1fr;} }

.service-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding:34px 24px;
  text-align:center; transition: all .35s cubic-bezier(.4,0,.2,1); position:relative; overflow:hidden;
}
.service-card::before{
  content:''; position:absolute; inset:0; background: linear-gradient(160deg, var(--navy), var(--green));
  opacity:0; transition:opacity .35s; z-index:0;
}
.service-card:hover{ transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color:transparent; }
.service-card:hover::before{ opacity:1; }
.service-card > *{ position:relative; z-index:1; }
.service-icon{
  width:72px; height:72px; border-radius:50%; margin:0 auto 20px; display:flex; align-items:center; justify-content:center;
  background: var(--bg-soft-green); font-size:1.7rem; color: var(--green); transition: all .35s;
}
.service-card:nth-child(2) .service-icon{ background:#eaf2ff; color: var(--blue); }
.service-card:nth-child(3) .service-icon{ background:#fff6e0; color: var(--gold-dark); }
.service-card:nth-child(4) .service-icon{ background:#f1eaff; color:#7c4de0; }
.service-card:nth-child(5) .service-icon{ background:#ffe9ec; color:#e0546e; }
.service-card:hover .service-icon{ background: rgba(255,255,255,.15); color:#fff; transform: scale(1.1) rotate(-6deg); }
.service-card h3{ font-size:1.15rem; margin-bottom:10px; transition:color .35s; }
.service-card:hover h3{ color:#fff; }
.service-card p{ color: var(--text-light); font-size:.92rem; transition:color .35s; }
.service-card:hover p{ color:#dfe9ff; }
.service-card .arrow{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-family:var(--ff-head); font-weight:600; font-size:.85rem; color:var(--green); opacity:0; transform:translateY(6px); transition:all .35s; }
.service-card:hover .arrow{ opacity:1; transform:translateY(0); color:#fff; }

/* ---------- Feature / Why choose us ---------- */
.features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
@media (max-width:900px){ .features-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .features-grid{ grid-template-columns:1fr;} }
.features-grid.grid-2col{ grid-template-columns:repeat(2,1fr); }
@media (max-width:640px){ .features-grid.grid-2col{ grid-template-columns:1fr;} }
.feature-card{ background:#fff; border-radius: var(--radius); padding:32px 26px; box-shadow: var(--shadow); text-align:left; border-top:4px solid var(--green); transition: transform .3s; }
.feature-card:nth-child(2){ border-color: var(--blue); }
.feature-card:nth-child(3){ border-color: var(--gold); }
.feature-card:nth-child(4){ border-color:#e0546e; }
.feature-card:hover{ transform: translateY(-8px); }
.feature-card i{ font-size:1.9rem; color: var(--green); margin-bottom:18px; display:block; }
.feature-card:nth-child(2) i{ color: var(--blue); }
.feature-card:nth-child(3) i{ color: var(--gold-dark); }
.feature-card:nth-child(4) i{ color:#e0546e; }
.feature-card h3{ font-size:1.08rem; margin-bottom:10px; }
.feature-card p{ color: var(--text-light); font-size:.92rem; }

/* ---------- Process / Timeline ---------- */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; position:relative; }
@media (max-width:900px){ .process-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .process-grid{ grid-template-columns:1fr;} }
.process-step{ text-align:center; position:relative; }
.process-step .step-num{
  width:66px; height:66px; border-radius:50%; background:#fff; color:var(--navy); font-family:var(--ff-head); font-weight:700;
  font-size:1.4rem; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; box-shadow: var(--shadow);
  border:3px solid var(--gold); position:relative; z-index:1;
}
.process-step h3{ font-size:1.05rem; margin-bottom:8px; }
.process-step p{ color: var(--text-light); font-size:.9rem; }
.bg-navy .process-step p{ color:#c3d3f7; }

/* ---------- Stats ---------- */
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
@media (max-width:700px){ .stats-grid{ grid-template-columns:repeat(2,1fr);} }
.stat-item .stat-num{ font-family:var(--ff-head); font-weight:700; font-size:2.6rem; color: var(--gold); display:flex; align-items:center; justify-content:center; gap:4px; }
.stat-item p{ color:#c3d3f7; font-weight:700; font-family:var(--ff-head); font-size:.9rem; text-transform:uppercase; letter-spacing:.03em; margin-top:6px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  border-radius: 28px; background: linear-gradient(120deg, var(--navy) 0%, #1d4bb0 60%, var(--green-dark) 130%);
  padding:64px 50px; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-banner::after{ content:''; position:absolute; width:320px; height:320px; background:rgba(255,184,0,.16); border-radius:50%; top:-140px; right:-60px; }
.cta-banner h2{ color:#fff; font-size:clamp(1.5rem,3vw,2.1rem); margin-bottom:10px; max-width:480px; position:relative; z-index:1;}
.cta-banner p{ color:#d8e4ff; max-width:460px; position:relative; z-index:1; }
.cta-banner .cta-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }
@media (max-width:768px){ .cta-banner{ padding:44px 26px; text-align:center; justify-content:center; } .cta-banner .cta-actions{ justify-content:center; } }

/* ---------- Testimonial-free "parent note" quote block ---------- */
.quote-block{ background: var(--bg-soft); border-radius: var(--radius); padding:44px; text-align:center; position:relative; }
.quote-block i.fa-quote-left{ font-size:2rem; color: var(--gold); margin-bottom:16px; }
.quote-block p{ font-family: var(--ff-head); font-size:1.25rem; color: var(--navy); max-width:700px; margin:0 auto; }

/* ---------- Cards: values / team ---------- */
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:900px){ .value-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .value-grid{ grid-template-columns:1fr;} }
.value-card{ text-align:center; padding:30px 20px; border-radius: var(--radius); transition: all .3s; }
.value-card:hover{ background:#fff; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.value-card .value-icon{ width:80px; height:80px; border-radius:26px; background:#fff; box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.9rem; color:var(--green); transform:rotate(-6deg); transition: transform .3s; }
.value-card:hover .value-icon{ transform: rotate(0deg) scale(1.05); }
.value-card h3{ font-size:1.05rem; margin-bottom:8px; }
.value-card p{ color: var(--text-light); font-size:.9rem; }

.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
@media (max-width:900px){ .team-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .team-grid{ grid-template-columns:1fr;} }
.team-card{ background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); text-align:center; transition: transform .3s; }
.team-card:hover{ transform: translateY(-8px); }
.team-avatar{ background: linear-gradient(135deg,#eaf2ff,#f1faf2); padding:30px 0 18px; display:flex; align-items:center; justify-content:center; }
.team-avatar i{ font-size:3.2rem; color: var(--navy); background:#fff; width:94px; height:94px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow); }
.team-avatar img{ width:112px; height:112px; border-radius:50%; object-fit:cover; box-shadow: var(--shadow); border:4px solid #fff; }
.team-card h3{ font-size:1rem; margin:16px 0 4px; }
.team-card span{ display:block; color: var(--green-dark); font-weight:700; font-size:.82rem; margin-bottom:16px; }

/* ---------- Timeline (Our Story) ---------- */
.story-timeline{ position:relative; padding-left:34px; border-left:3px dashed var(--border); display:flex; flex-direction:column; gap:34px; }
.story-timeline .t-item{ position:relative; }
.story-timeline .t-item::before{ content:''; position:absolute; left:-45px; top:2px; width:20px; height:20px; border-radius:50%; background: var(--green); border:4px solid var(--bg-soft-green); }
.story-timeline h4{ font-size:1rem; color: var(--navy); margin-bottom:4px; }
.story-timeline span{ color:var(--gold-dark); font-weight:700; font-family:var(--ff-head); font-size:.82rem; text-transform:uppercase; }
.story-timeline p{ color:var(--text-light); font-size:.92rem; margin-top:6px; }

/* ---------- Service detail sections ---------- */
.service-detail{ padding:70px 0; border-bottom:1px solid var(--border); }
.service-detail:last-of-type{ border-bottom:none; }
.service-detail .split{ gap:60px; }
.service-detail .tag-icon{ width:64px; height:64px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin-bottom:20px; }
.service-detail .helps-for{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.service-detail .helps-for span{ background: #fff; box-shadow: var(--shadow); padding:8px 16px; border-radius:50px; font-size:.82rem; font-weight:700; color: var(--navy); font-family:var(--ff-head); }

/* ---------- Gallery ---------- */
.gallery-filters{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:44px; }
.gallery-filters button{
  font-family:var(--ff-head); font-weight:600; font-size:.88rem; padding:10px 22px; border-radius:50px;
  border:2px solid var(--border); color:var(--text-light); transition: all .25s;
}
.gallery-filters button.active, .gallery-filters button:hover{ background: var(--green); border-color: var(--green); color:#fff; }
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .gallery-grid{ grid-template-columns:1fr;} }
.gallery-item{
  border-radius: var(--radius); overflow:hidden; position:relative; cursor:pointer; aspect-ratio:4/3.2;
  display:flex; align-items:center; justify-content:center; transition: transform .4s;
}
.gallery-item:hover{ transform: scale(1.02); }
.gallery-item img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item .g-badge{
  position:absolute; top:14px; left:14px; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center;
  font-size:1.05rem; box-shadow: var(--shadow); z-index:2;
}
.gallery-item .g-overlay{ position:absolute; inset:0; background: linear-gradient(0deg, rgba(12,31,82,.85) 0%, rgba(12,31,82,.05) 65%); display:flex; align-items:flex-end; padding:20px; opacity:0; transition:opacity .35s; z-index:1; }
.gallery-item:hover .g-overlay{ opacity:1; }
.gallery-item .g-overlay h4{ color:#fff; font-size:1rem; }
.gallery-item .g-overlay p{ color:#dfe9ff; font-size:.78rem; }

.lightbox{ position:fixed; inset:0; background:rgba(12,20,45,.88); z-index:2000; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .3s; padding:24px; }
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox-box{ background:#fff; border-radius:24px; padding:24px; max-width:480px; width:100%; text-align:center; transform: scale(.9); transition: transform .3s; }
.lightbox.open .lightbox-box{ transform: scale(1); }
.lightbox-box i.big{ font-size:3.4rem; margin-bottom:18px; }
.lightbox-box .lb-img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:16px; margin-bottom:20px; }
.lightbox-box h3, .lightbox-box p{ padding:0 16px 16px; }
.lightbox-close{ position:absolute; top:26px; right:30px; color:#fff; font-size:1.6rem; width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:2px solid rgba(255,255,255,.3); }
.lightbox-close:hover{ background:#fff; color:var(--navy); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: .85fr 1.15fr; gap:44px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info-card{ background: var(--navy); color:#fff; border-radius: var(--radius); padding:40px 32px; position:relative; overflow:hidden; }
.contact-info-card::after{ content:''; position:absolute; width:220px; height:220px; background:rgba(255,255,255,.06); border-radius:50%; bottom:-100px; right:-80px; }
.contact-info-card h3{ color:#fff; margin-bottom:26px; position:relative; }
.contact-item{ display:flex; gap:16px; margin-bottom:24px; position:relative; z-index:1; }
.contact-item .ic{ width:46px; height:46px; border-radius:13px; background: rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; flex-shrink:0; color: var(--gold); }
.contact-item h4{ color:#fff; font-size:.95rem; margin-bottom:4px; }
.contact-item p, .contact-item a{ color:#c3d3f7; font-size:.9rem; }
.contact-item a:hover{ color: var(--gold); }
.social-row{ display:flex; gap:10px; margin-top:8px; position:relative; z-index:1; }
.social-row a{ width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; transition: all .25s; }
.social-row a:hover{ background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.form-card{ background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding:40px; border:1px solid var(--border); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-family:var(--ff-head); font-weight:600; font-size:.88rem; color: var(--navy); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 16px; border-radius:12px; border:2px solid var(--border); font-family:var(--ff-body);
  font-size:.95rem; color:var(--text); transition: border-color .25s, box-shadow .25s; background: var(--bg-soft);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(62,174,73,.12); background:#fff; }
.field.shake{ animation: shake .4s; }
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:.8rem; color: var(--text-light); margin-top:6px; }
.form-success{ display:none; text-align:center; padding:30px 10px; }
.form-success.show{ display:block; }
.form-success i{ font-size:3.4rem; color: var(--green); margin-bottom:16px; animation: popIn .5s; }
.form-success h3{ margin-bottom:8px; }
.form-success p{ color: var(--text-light); }

.map-wrap{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); margin-top:30px; border:1px solid var(--border); }
.map-wrap iframe{ width:100%; height:340px; border:0; display:block; }

.hours-card{ background: var(--bg-soft-green); border-radius: var(--radius); padding:26px 30px; margin-top:24px; }
.hours-row{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--border); font-weight:700; font-family:var(--ff-head); font-size:.9rem; color: var(--navy); }
.hours-row:last-child{ border-bottom:none; }
.hours-row span:last-child{ color: var(--green-dark); }

/* ---------- FAQ Accordion ---------- */
.faq-list{ max-width:800px; margin:0 auto; }
.faq-item{ background:#fff; border:1px solid var(--border); border-radius: var(--radius-sm); margin-bottom:14px; overflow:hidden; }
.faq-q{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; cursor:pointer; font-family:var(--ff-head); font-weight:600; color:var(--navy); }
.faq-q i{ color: var(--green); transition: transform .3s; flex-shrink:0; margin-left:14px; }
.faq-item.open .faq-q i{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .35s ease; }
.faq-a p{ padding:0 24px 20px; color: var(--text-light); font-size:.92rem; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-dark); color:#b9c8ee; padding-top:80px; position:relative; overflow:hidden; }
.site-footer::before{ content:''; position:absolute; width:380px; height:380px; background:rgba(255,255,255,.03); border-radius:50%; top:-200px; left:-120px; }
.footer-top{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; position:relative; z-index:1; }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-col h4{ color:#fff; font-size:1rem; margin-bottom:20px; }
.footer-col p{ font-size:.9rem; line-height:1.7; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col ul a{ font-size:.9rem; transition: color .2s, padding-left .2s; }
.footer-col ul a:hover{ color: var(--gold); padding-left:4px; }
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.footer-logo svg, .footer-logo img{ width:48px; height:48px; object-fit:contain; }
.footer-logo b{ font-family:var(--ff-head); font-size:1.25rem; color:#fff; }
.footer-logo b em{ font-style:normal; color: var(--green); }
.footer-tagline{ font-family: var(--ff-head); color: var(--gold); font-size:.95rem; margin:14px 0 18px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition: all .25s; }
.footer-social a:hover{ background: var(--green); color:#fff; transform: translateY(-3px); }
.footer-contact li{ display:flex; gap:12px; align-items:flex-start; font-size:.9rem; }
.footer-contact i{ color: var(--gold); margin-top:3px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:22px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-size:.85rem; position:relative; z-index:1; }
.footer-bottom a{ color: var(--gold); }

/* ---------- Floating buttons ---------- */
.float-btns{ position:fixed; right:24px; bottom:24px; display:flex; flex-direction:column; gap:14px; z-index:900; transition: opacity .3s, transform .3s; }
.float-btns.near-footer{ opacity:0; pointer-events:none; transform: translateY(10px); }
.float-btn{
  width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; box-shadow: var(--shadow-lg); transition: all .3s; color:#fff;
}
.float-btn.call{ background: var(--navy); }
.float-btn.whatsapp{ background:#25D366; animation: pulse 2.4s infinite; font-size:1.5rem; }
.float-btn.top{ background: var(--navy); opacity:0; pointer-events:none; transform: translateY(10px); }
.float-btn.top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.float-btn:hover{ transform: translateY(-4px) scale(1.05); }

/* ---------- Scroll reveal ---------- */
[data-aos]{ opacity:0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
[data-aos].aos-show{ opacity:1; transform: translateY(0); }
[data-aos="zoom"]{ transform: scale(.9); }
[data-aos="zoom"].aos-show{ transform: scale(1); }
[data-aos="left"]{ transform: translateX(-36px); }
[data-aos="left"].aos-show{ transform: translateX(0); }
[data-aos="right"]{ transform: translateX(36px); }
[data-aos="right"].aos-show{ transform: translateX(0); }

/* ---------- Keyframes ---------- */
@keyframes float{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(62,174,73,.5);} 70%{ box-shadow:0 0 0 14px rgba(62,174,73,0);} 100%{ box-shadow:0 0 0 0 rgba(62,174,73,0);} }
.float-btn.whatsapp{ animation-name: pulse-wa; }
@keyframes pulse-wa{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 14px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
@keyframes shake{ 0%,100%{ transform: translateX(0);} 25%{ transform: translateX(-6px);} 75%{ transform: translateX(6px);} }
@keyframes popIn{ 0%{ transform: scale(.4); opacity:0;} 80%{ transform: scale(1.08);} 100%{ transform: scale(1); opacity:1;} }
@keyframes spin-slow{ from{ transform: rotate(0);} to{ transform: rotate(360deg);} }
@keyframes twinkle{ 0%,100%{ opacity:.3; transform: scale(.8);} 50%{ opacity:1; transform: scale(1.15);} }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:340px; margin:0 auto 20px; }
  .split, .split.reverse{ grid-template-columns:1fr; }
  .split.reverse .split-visual{ order:0; }
  .services-grid, .features-grid, .value-grid, .team-grid, .process-grid, .stats-grid{ gap:18px; }
}
@media (max-width:560px){
  .floaty, .badge-card, .promo .star-dec{ display:none; }
  .split-visual .float-badge{ position:static; margin-top:14px; display:inline-flex; }
  .split-visual .float-badge.fb2{ margin-left:10px; }
}
@media (max-width:768px){
  .footer-top{ padding-bottom:30px; }
}
