/* ============================================================
   SMART WORLD PLAY SCHOOL & DAYCARE — STYLESHEET (v2)
   ============================================================ */

:root{
  --deep-blue: #1E2A6E;
  --deep-blue-dark: #141D4E;
  --yellow: #FFC917;
  --yellow-dark: #E8AE00;
  --magenta: #E8177D;
  --magenta-dark: #C7106A;
  --teal: #1FA79A;
  --teal-dark: #14837A;
  --leaf: #3FA65B;
  --white: #FFFFFF;
  --bg-pastel: #F6F7FC;
  --bg-pastel-warm: #FFF8EE;
  --ink: #16204A;
  --ink-soft: #55608A;
  --border-soft: #E5E8F5;

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 30px rgba(30, 42, 110, 0.12);
  --shadow-card: 0 8px 24px rgba(30, 42, 110, 0.08);

  --container-w: 1180px;

  /* ---- Section-specific theme backgrounds (centralized here — change
     a section's feel by editing ONE variable, nowhere else) ---- */
  --hero-bg: #E7F4FD;
  --hero-bg-2: #FDFEFF;
  --about-bg: #FFF8ED;
  --why-bg: #FFF9DE;
  --parent-bg: #FCEAF0;
  --programs-bg: #F0ECFA;
  --gallery-bg: #FCF3E9;
  --video-bg: #E6F6F7;
  --visit-bg: #EEF1FC;
  --office-bg: #EDF2FB;
  --cta-bg: #14847A;
  --cta-bg-2: #1FA79A;
  --footer-bg: #141D4E;

  /* ---- Distinct card-level accents (used inside sections so no two
     "highlight banner" cards ever share the same color) ---- */
  --meal-bg: #E8734A;
  --meal-bg-2: #D35A31;
  --happiness-bg: #3FA65B;
  --happiness-bg-2: #2E8347;
  --extra-bg: #6C63C9;
  --extra-bg-2: #4B4499;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--deep-blue);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1{ font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2{ font-size: clamp(1.8rem, 4vw, 2.5rem); text-align:center; }
h3{ font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
h4{ font-size: 1.05rem; }
p{ margin: 0 0 1em; color: var(--ink-soft); max-width: 68ch; }
.light{ color: var(--white) !important; }

button, input, select{ font-family: inherit; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ LAYOUT HELPERS ============ */
.section{ padding: 84px 24px; }
.section-inner{ max-width: var(--container-w); margin: 0 auto; }
.section-tint{ background: var(--bg-pastel); }
.section-navy{ background: var(--deep-blue); }
.section-navy h3, .section-navy p{ color: var(--white); }

/* Section-specific themes — each major section gets its own soft,
   distinct background so the page reads as a sequence of premium
   "rooms" instead of one repeating tint. Edit the --*-bg variables
   above to retheme any section without touching this rule set. */
.section-hero-theme{ background: linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-bg-2) 60%); }
.section-about-theme{ background: var(--about-bg); }
.section-why-theme{ background: var(--why-bg); }
.section-parent-theme{ background: var(--parent-bg); }
.section-programs-theme{ background: var(--programs-bg); }
.section-gallery-theme{ background: var(--gallery-bg); }
.section-video-theme{ background: var(--video-bg); }
.section-visit-theme{ background: var(--visit-bg); }
.section-office-theme{ background: var(--office-bg); }
.section-cta-theme{
  background: linear-gradient(120deg, var(--cta-bg) 0%, var(--cta-bg-2) 100%);
}
.section-cta-theme h2, .section-cta-theme p{ color: var(--white); }
.btn-ghost-light{ border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-ghost-light:hover{ background: var(--white); color: var(--cta-bg); }
.section-lead{
  text-align:center; max-width: 640px; margin: 0 auto 3rem;
  font-size: 1.1rem;
}
.section-lead.light{ color: rgba(255,255,255,0.85); }
.section-subheading{
  text-align:center; color: var(--teal-dark); font-weight:600;
  font-size: 1.1rem; margin: -0.5em auto 1.5em; max-width: 640px;
}
.section-body{ max-width: 720px; margin: 0 auto 1.5em; text-align:center; }
.section-closing{ text-align:center; font-weight:600; color: var(--deep-blue); font-size: 1.15rem; }
.sub-heading{ text-align:center; margin-top: 3rem; }
.center-pill{ text-align:center; }

/* ============ REVEAL ANIMATION ============ */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-primary{ background: var(--yellow); color: var(--deep-blue-dark); box-shadow: var(--shadow-soft); }
.btn-primary:hover{ background: var(--yellow-dark); }
.btn-ghost{ background: transparent; border-color: var(--deep-blue); color: var(--deep-blue); }
.btn-ghost:hover{ background: var(--deep-blue); color: var(--white); }
.btn-whatsapp{ background: #25D366; color: var(--white); }
.btn-whatsapp:hover{ background: #1DAE54; }
.btn-small{ padding: 10px 18px; font-size: 0.86rem; }
.btn-wide{ width:100%; }
.text-link{ color: var(--teal-dark); font-weight:600; }
.text-link:hover{ color: var(--deep-blue); }

/* ============ HEADER ============ */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner{
  max-width: var(--container-w); margin:0 auto;
  display:flex; align-items:center; gap: 18px;
  padding: 8px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand-logo{ height: 54px; width:auto; border-radius: 8px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-line-1{ font-family: var(--font-display); font-weight:700; color: var(--deep-blue); font-size:1.15rem; }
.brand-line-2{ font-family: var(--font-display); font-weight:600; color: var(--teal-dark); font-size:0.72rem; letter-spacing: 0.02em; }

.main-nav{ flex:1; display:flex; justify-content:center; }
.main-nav ul{ display:flex; gap: 14px; flex-wrap:wrap; }
.main-nav a{ font-weight:600; font-size:0.84rem; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover{ color: var(--teal-dark); border-color: var(--teal); }

.header-cta{ display:flex; gap:8px; flex-shrink:0; }

.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 40px; height: 40px; background:none; border:none; cursor:pointer; padding:0;
}
.hamburger span{ display:block; height:3px; width:100%; background: var(--deep-blue); border-radius:2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger.active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav{
  display:none;
  max-height:0; overflow:hidden;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  transition: max-height 0.35s ease;
}
.mobile-nav.open{ max-height: 640px; }
.mobile-nav ul{ display:flex; flex-direction:column; padding: 10px 24px; }
.mobile-nav a{ display:block; padding: 12px 0; font-weight:600; border-bottom:1px solid var(--border-soft); }
.mobile-nav-cta{ display:flex; gap:10px; padding: 16px 24px 20px; }
.mobile-nav-cta .btn{ flex:1; }

/* ============ HERO ============ */
.hero{ background: linear-gradient(160deg, var(--bg-pastel-warm) 0%, var(--white) 55%); padding: 56px 24px 0; }
.hero-inner{
  max-width: var(--container-w); margin:0 auto;
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items:center;
  padding-bottom: 50px;
}
.hero-sub{ font-size: 1.1rem; max-width: 46ch; }
.hero-tagline{
  display:inline-flex; flex-wrap:wrap; gap: 6px; align-items:center;
  background: var(--deep-blue); color: var(--white);
  font-family: var(--font-display); font-weight:700; font-size: 0.92rem;
  padding: 10px 20px; border-radius: var(--radius-pill); margin: 0.4em 0 1em;
}
.hero-tagline span{ color: var(--yellow); }
.hero-actions{ display:flex; flex-wrap:wrap; gap: 14px; margin-top: 1.2em; }
.hero-visual{ position:relative; }
.hero-blob{
  position:absolute; inset: -8%;
  background: radial-gradient(circle at 30% 30%, var(--teal) 0%, transparent 60%),
              radial-gradient(circle at 75% 70%, var(--magenta) 0%, transparent 55%);
  opacity: 0.28; border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  filter: blur(6px);
}
.hero-img{ position:relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width:100%; height: 380px; object-fit: cover; }
.hero-logo-badge{
  position:absolute; bottom: -22px; left: -22px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 10px; box-shadow: var(--shadow-soft);
  width: 100px; height:100px;
}
.hero-logo-badge img{ width:100%; height:100%; object-fit:contain; border-radius: 10px; }

.hero-highlights{
  max-width: var(--container-w); margin: 0 auto;
  display:grid; grid-template-columns: repeat(4, 1fr);
  background: var(--deep-blue); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 20px;
}
.highlight-item{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; border-left: 1px solid rgba(255,255,255,0.15); padding: 0 8px; }
.highlight-item:first-child{ border-left:none; }
.highlight-num{ font-family: var(--font-display); font-size: 1.35rem; font-weight:700; color: var(--yellow); }
.highlight-label{ color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight:600; }

/* ============ CARD GRIDS ============ */
.card-grid{ display:grid; gap: 24px; margin-top: 2.5rem; }
.card-grid-6{ grid-template-columns: repeat(3, 1fr); }
.card-grid-4{ grid-template-columns: repeat(4, 1fr); }
.card-grid-3{ grid-template-columns: repeat(3, 1fr); }

.feature-card, .topic-card{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover, .topic-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-icon{
  width: 52px; height:52px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
}
.feature-icon svg{ width: 28px; height:28px; }
.icon-blue{ background: rgba(30,42,110,0.1); color: var(--deep-blue); }
.icon-magenta{ background: rgba(232,23,125,0.14); color: var(--magenta-dark); }
.icon-teal{ background: rgba(31,167,154,0.15); color: var(--teal-dark); }

.mini-card{
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align:center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}
.section-navy .mini-card{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.section-navy .mini-card h4{ color: var(--white); }
.mini-card h4{ margin-bottom: 0.3em; }
.mini-card p{ margin:0; font-size:0.92rem; }
.section-navy .mini-card p{ color: rgba(255,255,255,0.75); }
.mi-grid{ margin-top:0; }

/* ============ PROGRAMS ============ */
.program-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 2.5rem; }
.program-card{
  background: var(--white); border-radius: var(--radius-md); overflow:hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.program-card img{ height: 190px; width:100%; object-fit:cover; }
.program-body{ padding: 20px; }
.program-age{ display:inline-block; background: rgba(31,167,154,0.15); color: var(--teal-dark); font-weight:700; font-size: 0.8rem; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 10px; }

/* ============ EYEBROW / PILL ============ */
.eyebrow-badge{
  display:inline-block; background: rgba(232,23,125,0.12); color: var(--magenta-dark);
  font-weight:700; font-size:0.78rem; padding: 5px 14px; border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.pill{
  display:inline-block; background: var(--yellow); color: var(--deep-blue-dark);
  font-weight:700; font-size:0.85rem; padding: 8px 18px; border-radius: var(--radius-pill);
}
.flow-caption{ font-weight:700; color: var(--deep-blue); }
.recommend-note{ font-style: italic; font-weight:600; }

/* ============ JOURNEY ROW ============ */
.journey-row{ display:flex; flex-wrap:wrap; justify-content:center; gap: 10px 6px; margin: 2rem 0; }
.journey-row span:not(.arrow){
  background: var(--bg-pastel); color: var(--deep-blue);
  padding: 10px 18px; border-radius: var(--radius-pill); font-weight:600; font-size:0.92rem;
}
.journey-row .arrow{ color: var(--magenta); font-weight:700; align-self:center; }
.journey-row.vertical{ flex-direction:column; align-items:center; }

.flow-row{ display:flex; flex-wrap:wrap; gap: 8px 6px; align-items:center; }
.flow-row span:not(.arrow){ background: var(--bg-pastel); padding: 8px 14px; border-radius: var(--radius-pill); font-weight:600; font-size:0.85rem; color: var(--deep-blue); }
.flow-row .arrow{ color: var(--teal-dark); font-weight:700; }
.flow-row.vertical-flow{ flex-direction:column; align-items:flex-start; }

/* ============ SPLIT BLOCKS ============ */
.split-block{
  display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center;
  margin: 3.5rem 0;
}
.split-block.reverse .split-media{ order: 2; }
.split-block.reverse .split-text{ order: 1; }
.split-media img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width:100%; height: 300px; object-fit:cover; }
.tag-list{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 1.2em; }
.tag-list li{ background: rgba(255,201,23,0.2); color: var(--yellow-dark); padding: 7px 14px; border-radius: var(--radius-pill); font-weight:600; font-size:0.85rem; }

.highlight-banner{
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white); border-radius: var(--radius-lg);
  padding: 42px; text-align:center; margin: 3.5rem 0;
  box-shadow: var(--shadow-soft);
}
.highlight-banner h3{ color: var(--white); }
.highlight-banner p{ color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto 1em; }
.highlight-banner .check-list{ margin-top: 1.5em; }
.highlight-banner .check-list li{ background: rgba(255,255,255,0.15); color: var(--white); box-shadow:none; }
.highlight-banner .check-list li::before{ color: var(--yellow); }
.highlight-banner .recommend-note{ color: var(--white); }
.highlight-banner .flow-caption{ color: var(--white); margin-top: 1em; }
.highlight-banner .eyebrow-badge{ background: rgba(255,255,255,0.22); color: var(--white); }

/* Distinct color per banner — fixes the "same teal everywhere" issue:
   Extra Classes = indigo, Happiness Program = green, Meal Menu = coral.
   Each pulls from its own pair of CSS variables above, so retheming
   any one of them later only means editing those two variables. */
.highlight-banner--extra{ background: linear-gradient(120deg, var(--extra-bg) 0%, var(--extra-bg-2) 100%); }
.highlight-banner--happiness{ background: linear-gradient(120deg, var(--happiness-bg) 0%, var(--happiness-bg-2) 100%); }
.highlight-banner--meal{ background: linear-gradient(120deg, var(--meal-bg) 0%, var(--meal-bg-2) 100%); }

/* ============ MINI TIMELINE (100+ Activities) ============ */
.mini-timeline{ display:flex; flex-direction:column; gap: 14px; }
.mini-timeline-step{
  display:flex; align-items:center; gap: 16px;
  background: var(--bg-pastel); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-card);
}
.mini-timeline-num{
  font-family: var(--font-display); font-weight:800; font-size: 1.3rem;
  color: var(--white); background: var(--magenta);
  width: 56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mini-timeline-step span:last-child{ font-weight:600; color: var(--deep-blue); }

/* ============ ABACUS VISUAL ============ */
.abacus-visual{ display:flex; justify-content:center; }
.abacus-frame{
  background: var(--deep-blue); border-radius: var(--radius-md);
  padding: 30px 24px; display:flex; flex-direction:column; gap: 18px;
  box-shadow: var(--shadow-soft); width:100%; max-width: 340px;
}
.abacus-row{ display:flex; justify-content:space-between; border-bottom: 3px solid rgba(255,255,255,0.25); padding-bottom: 14px; }
.abacus-row:last-child{ border-bottom:none; padding-bottom:0; }
.bead{ width: 34px; height:34px; border-radius:50%; box-shadow: inset -3px -3px 0 rgba(0,0,0,0.15); }
.bead-magenta{ background: var(--magenta); }
.bead-yellow{ background: var(--yellow); }
.bead-teal{ background: var(--teal); }
.bead-blue{ background: #6E7EE0; }

/* ============ VALUE / STAT BANNERS ============ */
.value-banner{
  background: var(--bg-pastel-warm); border: 2px dashed var(--yellow);
  border-radius: var(--radius-lg); padding: 32px; text-align:center; margin: 3rem 0;
}
.value-banner h3{ margin-bottom: 0.4em; }
.value-amount{ font-weight:700; font-size: 1.2rem; color: var(--deep-blue); }

.stat-banner{
  text-align:center; background: var(--bg-pastel);
  border-radius: var(--radius-lg); padding: 44px; margin: 3rem 0;
}
.stat-number{ font-family: var(--font-display); font-size: clamp(3rem, 8vw, 4.5rem); font-weight:800; color: var(--magenta); display:block; }
.stat-text{ font-weight:700; color: var(--deep-blue); font-size: 1.15rem; max-width: 520px; margin: 0.4em auto; }
.stat-support{ max-width: 560px; margin: 0.4em auto 0; }

.check-list{ display:flex; flex-wrap:wrap; justify-content:center; gap: 12px; margin: 1.5rem 0; }
.check-list li{
  background: var(--white); border: 1px solid var(--border-soft);
  padding: 10px 18px; border-radius: var(--radius-pill); font-weight:600; font-size:0.9rem;
  box-shadow: var(--shadow-card);
}
.check-list li::before{ content: "✓ "; color: var(--leaf); font-weight:700; }

/* ============ SPEECH CARDS ============ */
.speech-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2.5rem; }
.speech-bubble{
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 20px;
  font-weight:600; color: var(--deep-blue);
  box-shadow: var(--shadow-card);
}

/* ============ AR SVG small ============ */
.ar-svg-small{ width:100%; max-width: 320px; height:auto; margin: 0 auto; display:block; }

/* ============ VIDEOS ============ */
.video-featured{ margin: 2.5rem 0 2rem; }
.video-card{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-soft);
  background:#0b1020; aspect-ratio: 16 / 9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.video-card video{ width:100%; height:100%; object-fit:cover; display:block; background:#0b1020; }
.video-card-featured{ max-width: 880px; margin: 0 auto; }
.video-play-overlay{
  position:absolute; inset:0; width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,0.12); border:none; padding:0; margin:0; cursor:pointer;
  transition: opacity 0.25s ease, background 0.2s ease;
}
.video-play-overlay:hover{ background: rgba(0,0,0,0.22); }
.video-play-overlay svg{ width: 64px; height:64px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35)); transition: transform 0.2s ease; }
.video-play-overlay:hover svg{ transform: scale(1.08); }
.video-play-overlay:active svg{ transform: scale(0.92); }
.video-card.is-playing .video-play-overlay,
.video-card.is-playing .video-title-badge{ opacity:0; pointer-events:none; }
.video-title-badge{
  position:absolute; left:14px; bottom:14px;
  background: rgba(20,32,74,0.75); color:#fff; font-weight:600; font-size:0.82rem;
  padding: 6px 14px; border-radius: var(--radius-pill); pointer-events:none;
  transition: opacity 0.2s ease;
}
.video-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 1rem; }

/* ============ GALLERY ============ */
.gallery-grid{ display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 2.5rem 0; }
.gallery-grid figure{ margin:0; border-radius: var(--radius-sm); overflow:hidden; position:relative; box-shadow: var(--shadow-card); }
.gallery-grid img{ height: 150px; width:100%; object-fit:cover; transition: transform 0.3s ease; }
.gallery-grid figure:hover img{ transform: scale(1.06); }
.gallery-grid figcaption{
  position:absolute; bottom:0; left:0; right:0;
  background: linear-gradient(to top, rgba(30,42,110,0.85), transparent);
  color: var(--white); font-weight:600; font-size:0.82rem; padding: 20px 10px 8px; text-align:center;
}

/* ============ DIFFERENTIATOR STATS ============ */
.stat-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 2.5rem; }
.stat-block{ text-align:center; padding: 24px; }
.stat-block-num{ display:block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight:800; color: var(--yellow); }
.stat-block-label{ color: rgba(255,255,255,0.85); font-weight:600; font-size:0.95rem; }

/* ============ ENQUIRY FORM ============ */
.cta-buttons{ display:flex; flex-wrap:wrap; justify-content:center; gap: 14px; margin-bottom: 3rem; }
.enquiry-form{
  max-width: 780px; margin: 0 auto; background: var(--bg-pastel);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.form-field{ display:flex; flex-direction:column; }
.form-field label{ font-weight:600; margin-bottom: 6px; font-size:0.92rem; color: var(--deep-blue); }
.form-field input, .form-field select{
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-soft);
  font-size: 0.95rem; background: var(--white);
}
.form-field input:focus, .form-field select:focus{ outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,167,154,0.2); }
.form-field.invalid input, .form-field.invalid select{ border-color:#E25858; }
.field-error{ color:#E25858; font-size: 0.8rem; min-height: 1.1em; margin-top:4px; }
.form-success{ text-align:center; font-weight:700; color: var(--leaf); margin-top: 16px; min-height:1.2em; }

/* Subtle pressed/loading state for the "Request a School Visit" button — appearance unchanged, just a soft press */
.btn-loading{ opacity: 0.75; cursor: progress; transform: scale(0.98); pointer-events: none; }

/* ============ PROCESS LIST ============ */
.process-list{ display:flex; flex-wrap:wrap; justify-content:center; gap: 20px; margin: 2rem 0 3rem; }
.process-list li{ display:flex; flex-direction:column; align-items:center; gap: 10px; text-align:center; width: 140px; }
.process-num{
  width: 44px; height:44px; border-radius:50%; background: var(--deep-blue); color: var(--white);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-family: var(--font-display);
}

/* ============ CONTACT ============ */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 2rem; align-items: start; }
.contact-details p{ margin-bottom: 0.7em; color: var(--ink); }
.contact-details a{ color: var(--teal-dark); font-weight:600; }

/* ---- Regional Office ---- */
.office-block{
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-soft);
}
.office-block h3{
  display:flex; align-items:center; gap: 10px; font-size: 1.15rem; margin-bottom: 14px;
}
.office-block h3 i{ color: var(--magenta); font-size: 1rem; }
.address-list{ display:flex; flex-direction:column; gap: 10px; margin: 0 0 20px; }
.address-list li{ display:flex; align-items:flex-start; gap: 10px; color: var(--ink); font-weight:500; font-size: 0.95rem; }
.address-list li i{ color: var(--teal-dark); font-size: 0.95rem; margin-top: 3px; flex-shrink:0; width: 16px; text-align:center; }

/* ---- Google Maps embed card ---- */
.map-embed-card{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-card); background: var(--white);
  height: 100%; min-height: 360px;
}
.map-embed-card iframe{ width:100%; height:100%; min-height:360px; border:0; display:block; }
.map-view-btn{
  position:absolute; left:50%; bottom:16px; transform:translateX(-50%);
  display:inline-flex; align-items:center; gap:6px;
  background: var(--white); color: var(--deep-blue);
  font-weight:700; font-size: 0.85rem; padding: 10px 20px;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-soft);
  white-space: nowrap; transition: transform 0.2s ease, background 0.2s ease;
}
.map-view-btn:hover{ background: var(--yellow); transform: translateX(-50%) translateY(-2px); }
.map-view-btn i{ color: var(--magenta); }
.map-view-btn:hover i{ color: var(--deep-blue-dark); }

/* ============ SCHOOL VISIT (form + image) ============ */
.visit-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items:center; margin-top: 2rem; }
.visit-media img, .visit-media .asset-placeholder{ border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width:100%; height: 100%; min-height: 360px; object-fit:cover; }
.visit-grid .enquiry-form{ margin:0; }

/* ============ GRACEFUL IMAGE PLACEHOLDER ============ */
.asset-placeholder{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 10px;
  background: repeating-linear-gradient(135deg, #F0F2FA, #F0F2FA 10px, #E7EAF6 10px, #E7EAF6 20px);
  border: 2px dashed var(--border-soft); border-radius: var(--radius-lg);
  min-height: 220px; width:100%; text-align:center; padding: 20px;
  color: var(--ink-soft); font-size: 0.85rem;
}
.asset-placeholder-icon{ font-size: 1.8rem; opacity:0.6; }
.asset-placeholder code{ background: rgba(22,32,74,0.08); padding: 1px 6px; border-radius: 4px; font-size: 0.82rem; }
.gallery-empty{
  display:flex; flex-direction:column; align-items:center; gap: 10px; text-align:center;
  background: var(--white); border: 2px dashed var(--border-soft); border-radius: var(--radius-lg);
  padding: 48px 24px; margin: 2rem 0;
}
.gallery-empty code{ background: rgba(22,32,74,0.06); padding: 1px 6px; border-radius: 4px; }

/* ============ FOOTER ============ */
.site-footer{ background: var(--footer-bg); color: rgba(255,255,255,0.85); padding: 60px 24px 20px; }
.footer-inner{ max-width: var(--container-w); margin: 0 auto; display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-logo{ height: 68px; width:auto; margin-bottom: 14px; background: var(--white); border-radius: 12px; padding: 6px; }
.footer-title{ font-family: var(--font-display); font-weight:700; color: var(--white); font-size:1.2rem; margin: 0 0 6px; }
.footer-tagline{ font-weight:600; color: var(--yellow); margin: 0 0 6px; }
.footer-links h4, .footer-contact h4{ color: var(--white); font-family: var(--font-display); margin-bottom: 14px; }
.footer-links ul li, .footer-contact p{ margin-bottom: 10px; }
.footer-links a, .footer-contact a{ color: rgba(255,255,255,0.8); }
.footer-links a:hover, .footer-contact a:hover{ color: var(--yellow); }
.social-icons{ display:flex; gap: 10px; margin-top: 12px; }
.social-icons a{
  width: 38px; height: 38px; border-radius:50%; background: rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center; font-size:0.75rem; font-weight:700;
}
.social-icons a:hover{ background: var(--yellow); color: var(--deep-blue-dark); }
.footer-bottom{ text-align:center; margin: 40px 0 0; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ============ MOBILE STICKY BAR ============ */
.sticky-bar{
  position: fixed; bottom:0; left:0; right:0; z-index: 600;
  display:none; grid-template-columns: repeat(3, 1fr);
  background: var(--white); box-shadow: 0 -4px 18px rgba(0,0,0,0.12);
  border-top: 1px solid var(--border-soft);
}
.sticky-bar a{
  display:flex; flex-direction:column; align-items:center; gap: 2px;
  padding: 10px 4px 8px; font-size: 0.72rem; font-weight:700; color: var(--deep-blue);
}
.sticky-bar a svg{ width: 22px; height:22px; }
.sticky-bar a:nth-child(2){ color: #1DAE54; }
.sticky-bar a:nth-child(3){ color: var(--yellow-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px){
  .main-nav ul{ gap: 12px; }
  .main-nav a{ font-size: 0.82rem; }
}

@media (max-width: 1024px){
  .header-cta{ display:none; }
  .main-nav{ display:none; }
  .hamburger{ display:flex; }
  .mobile-nav{ display:block; }

  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .hero-img{ height: 280px; }
  .hero-logo-badge{ width: 80px; height:80px; left: 16px; bottom: -18px; }

  .card-grid-6{ grid-template-columns: repeat(2, 1fr); }
  .card-grid-4{ grid-template-columns: repeat(2, 1fr); }
  .card-grid-3{ grid-template-columns: repeat(2, 1fr); }
  .program-grid{ grid-template-columns: repeat(2, 1fr); }
  .speech-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .video-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-grid{ grid-template-columns: repeat(2, 1fr); }

  .split-block, .split-block.reverse{ grid-template-columns: 1fr; }
  .split-block.reverse .split-media, .split-block.reverse .split-text{ order:initial; }
  .split-media img{ height: 240px; }

  .visit-grid{ grid-template-columns: 1fr; }
  .visit-media img, .visit-media .asset-placeholder{ min-height: 220px; }

  .contact-grid{ grid-template-columns: 1fr; }
  .map-embed-card, .map-embed-card iframe{ min-height: 300px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }

  body{ padding-bottom: 64px; }
  .sticky-bar{ display:grid; }
}

@media (max-width: 640px){
  .section{ padding: 56px 18px; }
  .map-embed-card, .map-embed-card iframe{ min-height: 240px; }
  .map-view-btn{ font-size: 0.78rem; padding: 8px 16px; }
  .card-grid-6, .card-grid-4, .card-grid-3, .program-grid, .speech-grid, .stat-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .video-grid{ grid-template-columns: 1fr; }
  .video-play-overlay svg{ width: 48px; height:48px; }
  .hero-highlights{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .highlight-item{ border-left:none; border-top: 1px solid rgba(255,255,255,0.15); padding-top:10px; }
  .highlight-item:nth-child(1), .highlight-item:nth-child(2){ border-top:none; padding-top:0; }
  .footer-inner{ grid-template-columns: 1fr; }
  .journey-row span:not(.arrow){ font-size: 0.82rem; padding: 8px 14px; }
  .process-list li{ width: 100px; }
  .brand-logo{ height: 42px; }
  .brand-line-1{ font-size: 1rem; }
  .brand-line-2{ font-size: 0.62rem; }
  .hero-logo-badge{ display:none; }
}

@media (max-width: 400px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .header-inner{ padding: 8px 14px; }
  .hero{ padding-top: 36px; }
}
