/* ============================================================
   Minu Mittal — Premium Home & Online Tutor
   Design system + components. No build step.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --cream: #F7F5EF;
  --cream-deep: #EFEBE0;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4A4A46;
  --ink-mute: #7A776E;

  --lime: #D6F24E;
  --lime-soft: #EAF7B4;
  --lavender: #E7DAF6;
  --lavender-soft: #F1E9FA;
  --purple: #6C5CE7;
  --purple-deep: #5647c9;
  --purple-ink: #2E2673;

  --line: #E7E3D8;

  /* Type */
  --font-head: "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Space (8px scale) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, .05);
  --shadow-md: 0 10px 30px rgba(26, 26, 26, .07);
  --shadow-lg: 0 24px 60px rgba(46, 38, 115, .12);

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(1.92rem, 4.8vw, 3.52rem); }
h2 { font-size: clamp(1.52rem, 3.36vw, 2.48rem); }
h3 { font-size: clamp(0.96rem, 1.76vw, 1.28rem); }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.muted { color: var(--ink-mute); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 9vw, 112px) 0; }
.section-head { max-width: 620px; margin-bottom: var(--s-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 22px rgba(108, 92, 231, .35); }
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(108, 92, 231, .42); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184, 214, 40, .4); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.chip.lime { background: var(--lime-soft); border-color: transparent; }
.chip.lav { background: var(--lavender-soft); border-color: transparent; }

/* ---------- Sparkle ---------- */
.spark { color: var(--purple); flex: none; }
.spark-lime { color: var(--lime); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 239, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--paper); box-shadow: var(--shadow-sm); }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(28px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.hero-copy { align-self: center; }
/* Hero headline — deliberately smaller than the global h1 scale */
.hero h1 { margin: 20px 0 0; font-size: clamp(1.2rem, 2.88vw, 2.12rem); }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: .32em; background: var(--lime); z-index: -1; border-radius: 4px; }
.hero .lead { margin: 22px 0 28px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 26px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; color: var(--ink-mute); }

/* Hero visual bento */
.hero-visual { display: grid; grid-template-rows: 1.6fr 1fr; gap: 20px; }
.hero-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--lavender), var(--lavender-soft));
  min-height: 300px; box-shadow: var(--shadow-lg); display: flex; align-items: flex-end;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; position: absolute; inset: 0; }
.hero-photo .ph-note {
  position: relative; margin: 16px; padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px); font-size: .9rem; box-shadow: var(--shadow-sm);
}
.hero-photo .ph-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--purple-ink); padding: 24px; }
.hero-photo img + .ph-fallback { display: none; }
.hero-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-card { border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-md); }
.mini-card.lime { background: var(--lime); }
.mini-card.purple { background: var(--purple); color: #fff; }
.mini-card .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.44rem, 2.4vw, 1.92rem); line-height: 1; }
.mini-card .lbl { font-size: .86rem; margin-top: 8px; opacity: .9; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  background: var(--lime); border-radius: var(--r-xl); position: relative; overflow: hidden;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 56px);
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.45), transparent 60%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.56rem); line-height: 1; }
.stat .lbl { margin-top: 8px; font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.stat .spark { margin: 0 auto 6px; display: block; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--lime-soft), var(--lavender-soft)); min-height: 420px; position: relative; box-shadow: var(--shadow-lg); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.about-photo .ph-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--purple-ink); padding: 24px; }
.about-photo img + .ph-fallback { display: none; }
.about-signature { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-top: 26px; }
.about-signature small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--ink-mute); font-size: .85rem; margin-top: 2px; }
.pledge { margin-top: 26px; display: grid; gap: 14px; }
.pledge li { display: flex; gap: 12px; align-items: flex-start; }
.pledge .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); display: grid; place-content: center; margin-top: 1px; }

/* ============================================================
   CARD GRIDS (subjects / boards / why / steps)
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-content: center; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card.tint-lime { background: var(--lime-soft); border-color: transparent; }
.card.tint-lav { background: var(--lavender-soft); border-color: transparent; }
.ico.lime { background: var(--lime); }
.ico.lav { background: var(--lavender); }
.ico.purple { background: var(--purple); color: #fff; }
.ico.cream { background: var(--cream-deep); }

/* Board card */
.board { display: flex; flex-direction: column; gap: 6px; }
.board .tag { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; }

/* Steps */
.step { position: relative; }
.step .n { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-content: center; margin-bottom: 16px; }
.step:not(:last-child)::after { content: ""; }

/* ============================================================
   SCHOOLS
   ============================================================ */
.schools { background: var(--purple); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.schools h2 { color: #fff; }
.schools .lead { color: rgba(255,255,255,.82); }
.schools::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 20% 100%, rgba(214,242,78,.18), transparent 60%); }
.school-chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.school-chips .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); box-shadow: none; font-weight: 600; }

/* School logo tiles — real <img> logos with graceful text fallback */
.school-logos { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.school-logo-tile {
  width: 148px; height: 92px; border-radius: var(--r-md); background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  box-shadow: var(--shadow-md);
}
.school-logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.school-logo-tile .logo-fallback {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; text-align: center;
  color: var(--purple-ink); line-height: 1.25;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tst .quote-mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--lime); height: 26px; }
.tst p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tst .av { width: 44px; height: 44px; border-radius: 50%; background: var(--lavender); display: grid; place-content: center; font-family: var(--font-head); font-weight: 700; color: var(--purple-ink); }
.tst .who b { display: block; font-family: var(--font-head); }
.tst .who span { font-size: .84rem; color: var(--ink-mute); }
.tst .stars { color: #F5B301; letter-spacing: 2px; margin-bottom: 10px; font-size: .9rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-soft); display: grid; place-content: center; transition: .25s; }
.faq-item[open] .faq-q .pm { background: var(--purple); color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 26px 24px; color: var(--ink-soft); }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band { background: var(--lavender); border-radius: var(--r-xl); padding: clamp(44px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 0%, rgba(255,255,255,.6), transparent 60%); }
.cta-band .inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin-bottom: 30px; color: var(--purple-ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #d9d7d0; padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer a { color: #d9d7d0; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #9a978e; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: .95rem; }
.footer .areas { font-size: .92rem; line-height: 1.9; color: #9a978e; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #9a978e; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(26, 22, 45, .55); backdrop-filter: blur(4px);
  padding: 20px; overflow-y: auto;
}
.modal-overlay.open { display: grid; place-items: center; animation: fade .2s ease; }
.modal {
  background: var(--cream); border-radius: var(--r-lg); width: 100%; max-width: 460px;
  padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow-lg); position: relative;
  animation: pop .25s cubic-bezier(.2,.8,.3,1.2);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-content: center; box-shadow: var(--shadow-sm); font-size: 1.2rem; }
.modal-close:hover { background: var(--lavender-soft); }
.modal .eyebrow { margin-bottom: 10px; }
.modal h3 { font-size: 1.6rem; margin-bottom: 6px; }
.modal .sub { color: var(--ink-soft); font-size: .95rem; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--paper); font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,92,231,.15); }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .err { color: #d1435b; font-size: .8rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: #d1435b; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.modal-note { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-mute); margin-top: 14px; justify-content: center; }
.modal-alt { text-align: center; margin-top: 14px; font-size: .88rem; }
.modal-alt a { color: var(--purple); font-weight: 600; }
.modal-success { text-align: center; padding: 10px 0; }
.modal-success .ok { width: 66px; height: 66px; border-radius: 50%; background: var(--lime); display: grid; place-content: center; margin: 0 auto 18px; }

/* ============================================================
   HINDI PROGRAM SECTION
   ============================================================ */
.hindi-hero .hero-visual { grid-template-rows: auto auto; align-content: start; }
.hindi-hero-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; min-height: 272px; }
.script-wall {
  border-radius: var(--r-lg); background: var(--purple-ink); color: #fff;
  padding: 18px; display: grid; align-content: center; gap: 10px; overflow: hidden;
}
.script-wall span {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(.96rem, 1.6vw, 1.36rem);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md); padding: 8px 10px; text-align: center;
}
.hindi-hero .mini-card { min-height: 0; padding: 18px; justify-content: flex-start; }
.comparison-table {
  display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-sm);
}
.comparison-table .row { display: grid; grid-template-columns: .8fr 1fr 1fr 1.25fr; }
.comparison-table .row > div { padding: 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--ink-soft); }
.comparison-table .row > div:last-child { border-right: 0; }
.comparison-table .row:last-child > div { border-bottom: 0; }
.comparison-table .head > div { font-family: var(--font-head); font-weight: 700; color: var(--ink); background: var(--lavender-soft); }
.pricing-card { display: flex; flex-direction: column; gap: 18px; }
.pricing-card.featured { border: 2px solid var(--purple); }
.price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--purple-ink); }
.price small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.check-list { display: grid; gap: 10px; margin: 2px 0 8px; }
.check-list li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); box-shadow: inset 0 0 0 3px var(--lime); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline .step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.timeline .step p { color: var(--ink-soft); margin-bottom: 0; }
.source-list { display: grid; gap: 10px; margin-top: 20px; }
.source-list a { color: var(--purple); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.inline-kpi .mini-card { min-height: 140px; }
.alphabet-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.akshar {
  min-height: 74px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line);
  display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-sm);
}
.akshar b { font-family: var(--font-head); font-size: 1.8rem; color: var(--purple-ink); line-height: 1; }
.akshar small { color: var(--ink-mute); margin-top: 4px; }
.roadmap { display: grid; gap: 16px; counter-reset: road; }
.roadmap .card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.roadmap .card::before {
  counter-increment: road; content: counter(road); width: 42px; height: 42px; border-radius: 50%;
  background: var(--lime); display: grid; place-content: center; font-family: var(--font-head); font-weight: 800;
}
.visual-feature,
.infographic-panel {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow-lg);
}
.visual-feature { display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch; }
.visual-feature .visual-media,
.infographic-panel .visual-media { position: relative; min-height: 320px; }
.visual-feature img,
.infographic-panel img { width: 100%; height: 100%; object-fit: cover; }
.visual-feature .visual-copy { padding: clamp(28px, 4vw, 48px); align-self: center; }
.visual-feature .lead { margin: 14px 0 0; }
.infographic-panel { position: relative; }
.infographic-panel .visual-media { aspect-ratio: 16 / 9; }
.infographic-overlay {
  position: absolute; left: clamp(18px, 3vw, 34px); right: clamp(18px, 3vw, 34px); bottom: clamp(18px, 3vw, 34px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.infographic-overlay .label {
  background: rgba(255,255,255,.92); border: 1px solid rgba(231,227,216,.9); border-radius: var(--r-md);
  padding: 14px 16px; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.infographic-overlay b { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); line-height: 1.15; }
.infographic-overlay span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .86rem; line-height: 1.35; }
.hindi-float { background: var(--purple); box-shadow: 0 10px 26px rgba(108, 92, 231, .38); }

/* ============================================================
   FLOATING WHATSAPP + STICKY MOBILE CTA
   ============================================================ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-content: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.mobile-cta { display: none; }

/* ============================================================
   Reveal animation
   Note: no default opacity:0 here on purpose — JS applies the hidden
   starting state only when it's actually about to animate an element in
   (GSAP or the IntersectionObserver fallback), so content is always
   visible if the animation script fails to load or run.
   ============================================================ */
.reveal.js-hidden { opacity: 0; transform: translateY(22px); }
.reveal.js-anim { transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { grid-template-rows: none; grid-template-columns: 1.4fr 1fr; }
  .hindi-hero-card { min-height: 300px; }
  .hero-photo { min-height: 260px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-photo { min-height: 320px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .alphabet-grid { grid-template-columns: repeat(4, 1fr); }
  .visual-feature { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 8px; background: var(--cream); padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { grid-template-columns: 1fr; }
  .hindi-hero-card { grid-template-columns: 1fr; }
  .hindi-hero-card .script-wall { display: none; }
  .comparison-table, .comparison-table .row { display: block; }
  .comparison-table .head { display: none; }
  .comparison-table { display: grid; gap: 14px; border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .comparison-table .row {
    border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
    background: var(--paper); box-shadow: var(--shadow-sm);
  }
  .comparison-table .row:last-child { border-bottom: 1px solid var(--line); }
  .comparison-table .row > div {
    border-right: 0; border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: minmax(88px, .42fr) 1fr; gap: 14px;
    align-items: baseline; padding: 13px 16px;
  }
  .comparison-table .row > div:last-child { border-bottom: 0; }
  .comparison-table .row > div::before {
    content: attr(data-label); color: var(--purple); font-size: .72rem; line-height: 1.2;
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  }
  .alphabet-table .row {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px 16px;
    padding: 16px;
  }
  .alphabet-table .row > div {
    display: block; padding: 0; border-bottom: 0;
  }
  .alphabet-table .row > div::before {
    display: block; margin-bottom: 3px;
  }
  .alphabet-table .row > div:first-child {
    grid-column: 1 / -1; color: var(--ink); font-family: var(--font-head);
    font-weight: 800; font-size: 1rem;
  }
  .alphabet-table .row > div:first-child::before { display: none; }
  .alphabet-table .row > div:nth-child(2) {
    color: var(--ink); font-family: var(--font-head); font-weight: 700;
    font-size: 1.18rem; line-height: 1.35;
  }
  .alphabet-table .row > div:last-child { grid-column: 1 / -1; }
  .timeline, .inline-kpi { grid-template-columns: 1fr; }
  .infographic-overlay { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: 1fr; padding: 16px; background: var(--paper); }
  .infographic-panel .visual-media { min-height: 220px; aspect-ratio: 4 / 3; }
  .hero-mini { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { bottom: 84px; }

  /* Full-width, thumb-friendly hero CTAs on mobile */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero .lead { max-width: none; margin: 26px 0 32px; }
  .hero-trust { margin-top: 32px; }
  .hero-note { margin-top: 22px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .card { padding: 26px; }
  .section-head { margin-bottom: 56px; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(247,245,239,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  body { padding-bottom: 72px; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .alphabet-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-mini { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .school-logo-tile { width: 132px; height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal.js-hidden { opacity: 1 !important; transform: none !important; transition: none !important; }
}
