/* ==========================================================================
   Jayesh Learning Centre (JLC) — Design System
   Modern ed-tech: navy + royal blue + orange, Poppins, rounded cards,
   soft shadows, dark hero panels with floating glass stat cards.
   Rebuilt to match the reference mockups. Image slots are placeholders.
   ========================================================================== */

:root {
  /* ---- Brand colour ---- */
  --navy:        #0a1a3c;   /* deep navy — dark panels / hero */
  --navy-2:      #0e224e;   /* lighter navy for gradients */
  --navy-3:      #13182b;   /* near-black navy footer */
  --blue:        #2563eb;   /* primary royal blue */
  --blue-dark:   #1d4ed8;
  --blue-soft:   #eaf1ff;   /* pale blue chip bg */
  --orange:      #f7801e;   /* brand orange */
  --orange-2:    #f5511e;   /* deep orange for gradient end */
  --red:         #e5342b;   /* logo C red */
  --green:       #12b76a;
  --purple:      #7c3aed;
  --pink:        #ec4899;
  --teal:        #14b8a6;
  --yellow:      #f59e0b;

  /* ---- Neutrals ---- */
  --ink:         #0f2247;   /* headings */
  --ink-soft:    #51617d;   /* body text */
  --ink-faint:   #8593a9;   /* meta */
  --page:        #f5f8fd;   /* page background */
  --page-2:      #eef3fb;   /* alt tint */
  --card:        #ffffff;
  --line:        #e6ecf5;   /* hairline */
  --line-strong: #d5deec;

  /* ---- Gradients ---- */
  --grad-orange: linear-gradient(90deg, #ff8a29, #f5511e);
  --grad-blue:   linear-gradient(90deg, #3b5bdb, #7048e8);
  --grad-navy:   linear-gradient(135deg, #0a1a3c 0%, #10275a 60%, #0a1a3c 100%);

  /* ---- Type ---- */
  --ui:     "Poppins", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  /* ---- Layout / motion ---- */
  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3rem, 7vw, 6rem);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(15, 34, 71, 0.06);
  --shadow:    0 12px 32px rgba(15, 34, 71, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 34, 71, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1rem; }
ul { margin: 0; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--page-2); }
.section--white { background: #fff; }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 0.6em; margin: 0 0 0.9rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--orange { color: var(--orange); }
.eyebrow--dash::before, .eyebrow--dash::after { content: ""; width: 1.7rem; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.5; }
.eyebrow--dash::after { display: none; }
.eyebrow--center.eyebrow--dash::after { display: inline-block; }

.section-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-soft); }
.script { font-family: var(--script); font-weight: 700; color: var(--orange); font-size: 1.5em; line-height: 1; }
.t-blue { color: var(--blue); }
.t-orange { color: var(--orange); }
.t-purple { color: var(--purple); }
.dot { color: var(--orange); }             /* the accent period after headlines */
.dot-blue { color: var(--blue); }

/* --------------------------------------------------------------------------
   Brand logo lockup (pure CSS — no image needed)
   -------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { display: inline-flex; align-items: center; }
.brand__mark img { height: 42px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-size: 0.86rem; font-weight: 800; letter-spacing: 0.02em; color: #111; white-space: nowrap; }
.brand__text .line2 { font-size: 0.86rem; font-weight: 800; letter-spacing: 0.01em; color: #111; white-space: nowrap; }
.brand__text .line2 em { font-style: normal; font-weight: 800; color: #111; }
.brand__text small { font-size: 0.6rem; font-weight: 500; color: var(--ink-faint); font-style: italic; letter-spacing: 0.01em; margin-top: 2px; white-space: nowrap; }
/* on dark backgrounds */
.on-dark .brand__text b, .brand--light .brand__text b { color: #fff; }
.on-dark .brand__text small, .brand--light .brand__text small { color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--ui); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.5em; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--grad-orange); color: #fff; box-shadow: 0 10px 24px rgba(245, 81, 30, 0.30); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(245, 81, 30, 0.42); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--grad-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 24px rgba(112, 72, 232, 0.30); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline-blue { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--outline-blue:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
/* dark-surface ghost */
.on-dark .btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.on-dark .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn__play { width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(255,255,255,0.15); display: grid; place-items: center; }
.on-dark .btn--ghost .btn__play { background: rgba(255,255,255,0.14); }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.82rem; }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.link-arrow { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4em; transition: gap 0.18s var(--ease); }
.link-arrow:hover { gap: 0.7em; }
.link-arrow--orange { color: var(--orange); }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.05rem; }
.nav__brand { margin-right: auto; flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); padding-block: 0.4rem; transition: color 0.15s var(--ease); white-space: nowrap; }
.nav { gap: 1.15rem; }
.nav__links { gap: 1.15rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { font-weight: 600; }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--orange); margin-top: 3px; }
.nav__cta { margin-left: 0.25rem; }

/* dropdown */
.has-dropdown > a::after { content: "▾"; font-size: 0.7em; margin-left: 0.35em; color: var(--ink-faint); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow); padding: 0.5rem; list-style: none; margin: 0.4rem 0 0;
  opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.9rem; }
.dropdown a:hover { background: var(--blue-soft); color: var(--blue); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; }
.nav__phone { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); place-items: center; color: var(--blue); }

@media (max-width: 1150px) {
  .nav__links { position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.4rem;
    max-height: 0; overflow: hidden; transition: max-height 0.32s var(--ease); box-shadow: var(--shadow); }
  .nav__links.is-open { max-height: 90vh; overflow-y: auto; }
  .nav__links > li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding-block: 0.9rem; }
  .nav__cta { margin: 0.9rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0.4rem 0.8rem; margin: 0; min-width: 0; }
  .has-dropdown > a::after { float: right; }
  .nav__toggle { display: inline-flex; order: -1; }
  .nav__phone { display: inline-grid; }
  .nav { justify-content: space-between; }
  .nav__brand { margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   Hero carousel (full-width auto-scrolling banner slider, home page top)
   -------------------------------------------------------------------------- */
.hero-carousel { position: relative; overflow: hidden; background: var(--navy); }
.hero-carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hero-carousel__track::-webkit-scrollbar { display: none; }
.hcslide {
  flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden;
  min-height: clamp(360px, 58vh, 560px); display: flex; align-items: center; color: #fff;
  background: var(--grad-navy);
}
.hcslide::before {   /* accent glow */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 70% at 88% 12%, var(--accent, var(--blue)), transparent 60%),
    radial-gradient(45% 60% at 8% 92%, rgba(247,128,30,0.20), transparent 60%);
  opacity: 0.55;
}
.hcslide__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; width: 100%; }
.hcslide__inner > * { min-width: 0; }
.hcslide__text { overflow-wrap: break-word; }
.hcslide { text-align: center; }
.hcslide__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 1em; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.hcslide h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: 0.7rem 0 0.5rem; line-height: 1.05; }
.hcslide p { color: rgba(255,255,255,0.85); max-width: 44ch; margin-inline: auto; font-size: clamp(0.98rem, 1.4vw, 1.15rem); }
.hcslide__cta { margin-top: 1.3rem; }
.hcslide .cta-row { justify-content: center; }
.hcslide__media { position: relative; aspect-ratio: 16/10; }
.hcslide__media .ph { min-height: 0; }
.hcslide__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); background: #fff; }

/* real photo inside a media/figure slot (founder portrait, result banners) */
.media-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.result-figure { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.result-figure img { width: 100%; height: auto; display: block; }
.founder-portrait { border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cred-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.6rem; }
.cred-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.cred-list svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green); margin-top: 3px; }
@media (max-width: 980px) {
  .hcslide__inner { grid-template-columns: 1fr; }
  .hcslide__media { order: -1; aspect-ratio: 16/9; max-width: 460px; width: 100%; margin-inline: auto; }
  .hcslide { min-height: 0; padding: clamp(2rem, 8vw, 3rem) 0 clamp(3rem, 10vw, 4rem); }
  .hcslide h2 { font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
}
/* arrows */
.hero-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.16); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background 0.16s var(--ease);
}
.hero-carousel__arrow:hover { background: rgba(255,255,255,0.30); }
.hero-carousel__arrow svg { width: 22px; height: 22px; }
.hero-carousel__arrow--prev { left: clamp(0.6rem, 2vw, 1.4rem); }
.hero-carousel__arrow--next { right: clamp(0.6rem, 2vw, 1.4rem); }
@media (max-width: 560px) { .hero-carousel__arrow { width: 38px; height: 38px; } }
/* dots */
.hero-carousel__dots { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 3; display: flex; justify-content: center; gap: 0.5rem; }
.hero-carousel__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,0.4); transition: width 0.2s var(--ease), background 0.2s var(--ease);
}
.hero-carousel__dots button.is-active { width: 26px; border-radius: 6px; background: #fff; }

/* --------------------------------------------------------------------------
   Dark hero panel (rounded navy block used on most page tops)
   -------------------------------------------------------------------------- */
.hero-panel {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-navy);
  border-radius: var(--r-lg); margin: 1.5rem 0; padding: clamp(2rem, 5vw, 4rem);
}
.hero-panel::before {   /* starfield / glow */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 15%, rgba(37,99,235,0.35), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(247,128,30,0.18), transparent 60%);
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel h1, .hero-panel h2 { color: #fff; }
.hero-panel p { color: rgba(255,255,255,0.82); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255,255,255,0.82); }

.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1.1em; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
}

/* Home hero split */
.hero-home { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-home h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; margin-bottom: 0.5em; }
.hero-home .lead { color: rgba(255,255,255,0.85); max-width: 46ch; }
.hero-home__figure { position: relative; }
.hero-figurebox {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
}
.float-stats { position: absolute; top: 8%; right: -4%; display: grid; gap: 0.7rem; }
.float-stat {
  display: flex; align-items: center; gap: 0.7rem; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; padding: 0.7rem 1rem; backdrop-filter: blur(6px); min-width: 150px;
}
.float-stat__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.float-stat b { display: block; font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1; }
.float-stat span { font-size: 0.72rem; color: rgba(255,255,255,0.72); }
.avatars { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.6rem; }
.avatars__stack { display: flex; }
.avatars__stack span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--navy); margin-left: -10px; background: var(--page-2); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: var(--ink); }
.avatars__stack span:first-child { margin-left: 0; }
.avatars__stack .more { background: var(--grad-orange); color: #fff; }
.avatars p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.85); }

@media (max-width: 860px) { .hero-home { grid-template-columns: 1fr; } .float-stats { position: static; grid-template-columns: 1fr 1fr; margin-top: 1rem; right: 0; } }

/* --------------------------------------------------------------------------
   Stat bar (white rounded row of stats with icons)
   -------------------------------------------------------------------------- */
.statbar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.statbar--5 { grid-template-columns: repeat(5, 1fr); }
.statbar--4 { grid-template-columns: repeat(4, 1fr); }
.statbar--3 { grid-template-columns: repeat(3, 1fr); }
.statbar__item { text-align: center; padding: 1.5rem 1rem; border-right: 1px solid var(--line); }
.statbar__item:last-child { border-right: 0; }
.statbar__ic { width: 40px; height: 40px; margin: 0 auto 0.5rem; }
.statbar__num { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--ink); line-height: 1; }
.statbar__label { font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.35rem; }
/* dark variant (on navy) */
.statbar--dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.statbar--dark .statbar__item { border-color: rgba(255,255,255,0.1); }
.statbar--dark .statbar__num { color: #fff; }
.statbar--dark .statbar__label { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) { .statbar, .statbar--5, .statbar--4 { grid-template-columns: repeat(3, 1fr); } .statbar__item:nth-child(3n) { border-right: 0; } }
@media (max-width: 520px) { .statbar, .statbar--5, .statbar--4, .statbar--3 { grid-template-columns: repeat(2, 1fr); } .statbar__item { border-right: 0; } }

/* --------------------------------------------------------------------------
   Icon chips (colored rounded square holding an svg/emoji)
   -------------------------------------------------------------------------- */
.chip { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.chip svg { width: 24px; height: 24px; }
.chip--blue { background: var(--blue-soft); color: var(--blue); }
.chip--orange { background: #fff0e2; color: var(--orange); }
.chip--green { background: #e3f9ee; color: var(--green); }
.chip--purple { background: #f1e9fe; color: var(--purple); }
.chip--pink { background: #fdeaf3; color: var(--pink); }
.chip--teal { background: #e0f7f4; color: var(--teal); }
.chip--yellow { background: #fef3d9; color: var(--yellow); }
.chip--red { background: #fde8e7; color: var(--red); }
.chip--lg { width: 58px; height: 58px; border-radius: 15px; }
.chip--lg svg { width: 30px; height: 30px; }
.chip--round { border-radius: 50%; }

/* --------------------------------------------------------------------------
   Feature card grid (Why Parents Trust JLC etc.)
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) { .grid--4, .grid--6 { grid-template-columns: repeat(3, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: 1fr; } }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__ic { margin-bottom: 0.9rem; }
.feature h3, .feature h4 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.feature__bar { height: 3px; width: 34px; border-radius: 3px; background: var(--blue); margin-top: 0.9rem; }
.feature--center { text-align: center; }
.feature--center .feature__ic { margin-inline: auto; }
.feature--center .feature__bar { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Program cards (courses)
   -------------------------------------------------------------------------- */
.program {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.5rem; position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.program:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; padding: 0.35em 0.85em; border-radius: 100px; color: #fff; }
.tag--blue { background: var(--blue); } .tag--orange { background: var(--orange); }
.tag--purple { background: var(--purple); } .tag--green { background: var(--green); }
.tag--soft-blue { background: var(--blue-soft); color: var(--blue); }
.program__title { font-size: 1.9rem; font-weight: 800; margin: 0.3rem 0 0; }
.program__title--blue { color: var(--blue); } .program__title--orange { color: var(--orange); }
.program__title--purple { color: var(--purple); } .program__title--green { color: var(--green); }
.program__sub { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 0.5rem; }
.program__list { list-style: none; padding: 0; margin: 0.3rem 0 1rem; display: grid; gap: 0.5rem; }
.program__list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--ink-soft); }
.program__list li svg { width: 16px; height: 16px; color: var(--blue); flex: 0 0 auto; }
.program__cta { margin-top: auto; }

/* --------------------------------------------------------------------------
   Achiever / topper cards
   -------------------------------------------------------------------------- */
.achievers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .achievers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .achievers { grid-template-columns: 1fr; } }
.achiever {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.achiever__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.achiever__score { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--blue); }
.achiever__badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #fff; font-weight: 800; font-size: 0.85rem; }
.achiever__photo { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; }
.achiever__name { font-weight: 700; font-size: 1rem; margin: 0.6rem 0 0; }
.achiever__school { font-size: 0.8rem; color: var(--ink-faint); }
.achiever__chip { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.3em 0.7em; border-radius: 100px; background: var(--blue-soft); color: var(--blue); margin-top: 0.5rem; }
.achiever__marks { list-style: none; padding: 0.7rem 0 0; margin: 0.7rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.3rem; }
.achiever__marks li { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-soft); }
.achiever__marks b { color: var(--ink); }

/* --------------------------------------------------------------------------
   Placeholder image slot (for photos to be added later)
   -------------------------------------------------------------------------- */
.ph {
  background: repeating-linear-gradient(45deg, var(--page-2), var(--page-2) 12px, #e7eef8 12px, #e7eef8 24px);
  border: 1px dashed var(--line-strong); border-radius: var(--r-sm);
  display: grid; place-items: center; text-align: center; color: var(--ink-faint);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 1rem; min-height: 120px;
}
.ph--dark { background: repeating-linear-gradient(45deg, #16264a, #16264a 12px, #1b2f57 12px, #1b2f57 24px); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.55); }
.ph--16x9 { aspect-ratio: 16/9; }
.ph--4x3 { aspect-ratio: 4/3; }
.ph--1x1 { aspect-ratio: 1/1; }
.ph--3x4 { aspect-ratio: 3/4; }
.ph--round { border-radius: 50%; }
.ph--fill { position: absolute; inset: 0; border-radius: inherit; }

/* --------------------------------------------------------------------------
   Split (text + media) blocks
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.quote-card {
  position: absolute; bottom: 1rem; right: 1rem; background: #fff; border-radius: var(--r-sm);
  box-shadow: var(--shadow); padding: 1.2rem 1.3rem; max-width: 230px;
}
.quote-card b { color: var(--blue); font-size: 1.5rem; display: block; line-height: 0.6; }
.quote-card p { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin: 0.4rem 0 0; }
.quote-card .feature__bar { background: var(--orange); }

/* --------------------------------------------------------------------------
   Dark CTA banner (trophy + heading + button)
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--grad-navy); color: #fff; border-radius: var(--r);
  padding: clamp(1.6rem, 4vw, 2.6rem); display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner--purple { background: linear-gradient(120deg, #1b1147, #3a1d6e, #10275a); }
.cta-banner--orange { background: linear-gradient(120deg, #0a1a3c 20%, #b5460f, #f7801e); }
.cta-banner h2, .cta-banner h3 { color: #fff; margin: 0 0 0.3rem; }
.cta-banner p { color: rgba(255,255,255,0.82); margin: 0; }
.cta-banner__body { flex: 1 1 300px; }
.cta-banner__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------------------
   Filter tabs (results / gallery / wall of excellence)
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  font-family: var(--ui); font-size: 0.85rem; font-weight: 600; padding: 0.55em 1.2em; border-radius: 100px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft); cursor: pointer;
  transition: all 0.16s var(--ease); display: inline-flex; align-items: center; gap: 0.45em;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Timeline (journey / admission process)
   -------------------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.timeline--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .timeline, .timeline--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .timeline, .timeline--5 { grid-template-columns: repeat(2, 1fr); } }
.tl-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1rem; text-align: center;
  box-shadow: var(--shadow-sm); position: relative;
}
.tl-step__num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.8rem; background: var(--blue); }
.tl-step__ic { margin: 0.6rem auto 0.7rem; }
.tl-step h4 { font-size: 0.98rem; margin: 0 0 0.35rem; }
.tl-step p { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

/* vertical timeline (mobile-style / journey list) */
.vtimeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.vtimeline li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.vtimeline__num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.8rem; flex: 0 0 auto; }
.vtimeline h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.vtimeline p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tcard__quote { font-size: 2.5rem; line-height: 0.5; color: var(--purple); font-weight: 800; }
.tcard__text { color: var(--ink-soft); font-size: 0.92rem; margin: 0.8rem 0 1.2rem; }
.tcard__who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.tcard__who img, .tcard__who .ph { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; min-height: 0; }
.tcard__who b { display: block; font-size: 0.92rem; }
.tcard__who span { font-size: 0.76rem; color: var(--ink-faint); }
.stars { color: var(--yellow); letter-spacing: 0.1em; font-size: 0.9rem; }

/* horizontal scroll slider */
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.slider > * { scroll-snap-align: start; }
@media (min-width: 981px) { .slider--4 { grid-auto-columns: 1fr; overflow: visible; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--ui); font-size: 0.95rem; color: var(--ink); background: var(--page);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 0.75rem 0.9rem; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 110px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* contact info cards */
.info-cards { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.info-card { display: flex; gap: 0.9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.info-card b { display: block; font-size: 0.92rem; }
.info-card span, .info-card a { font-size: 0.86rem; color: var(--ink-soft); }
.info-card b.t-blue { color: var(--blue); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 600; font-size: 0.98rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 400; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.2rem 1.2rem; color: var(--ink-soft); font-size: 0.9rem; }
.faq__a p { margin: 0; }

/* --------------------------------------------------------------------------
   Map embed
   -------------------------------------------------------------------------- */
.map-embed { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); min-height: 260px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Gallery grid
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gtile { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; }
.gtile .ph { min-height: 0; height: 100%; }
.gtile__label { position: absolute; left: 0.6rem; bottom: 0.6rem; background: rgba(10,26,60,0.8); color: #fff; font-size: 0.76rem; font-weight: 600; padding: 0.3em 0.75em; border-radius: 100px; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.big404 { font-size: clamp(5rem, 18vw, 12rem); font-weight: 800; line-height: 0.9; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,0.72); }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-news { display: flex; justify-content: center; align-items: center; padding-block: 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.google-rating { display: flex; align-items: center; gap: 0.8rem; }
.google-rating .g { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; padding-block: 2.5rem; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: #fff; }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.socials .ig { background: #e1306c; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* footer collapsible on mobile */
.footer-col h4 { cursor: default; }
@media (max-width: 900px) {
  .footer-col h4 { cursor: pointer; justify-content: space-between; }
  .footer-col h4::after { content: "+"; font-weight: 400; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.82rem; }
.flow > * + * { margin-top: 1rem; }
.row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.between { justify-content: space-between; }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: clamp(1.2rem, 3vw, 2rem); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

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