/* ============================================================
   Homepage-specific styling. Depends on tokens.css + site.css.
   Mobile-first; breakpoints 640 / 900 / 1200 to match site.css.
   Brand colours come from tokens only; rgba(30,39,73,*) and
   rgba(249,115,22,*) are the ink/accent alphas already used for
   elevation in site.css (kept consistent, no new brand literals).
   ============================================================ */

/* ---------- 1. Hero banner slider (old-site style) ---------- */
/* Banners are 1600x830. Sumeet (Jul 2026) wants them full-width edge-to-edge, so
   the image spans the whole width and its height grows to the natural aspect
   (~985px on a wide screen) — the WHOLE image is shown, never cropped. */
.hero-slider { position: relative; overflow: hidden; background: var(--c-dark); }
.hs-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.hs-slide { flex: 0 0 100%; display: block; line-height: 0; text-decoration: none; }
.hs-slide img { width: 100%; height: auto; display: block; }
.hs-btn {
  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, .82); color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); transition: background var(--speed) var(--ease);
}
.hs-btn:hover { background: #fff; }
/* Full-width image, so its edges are the screen edges — arrows sit just inside them. */
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; gap: 8px; justify-content: center; }
.hs-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .5); transition: width var(--speed) var(--ease), background var(--speed) var(--ease); }
.hs-dot.is-active { background: #fff; width: 26px; }
@media (max-width: 640px) {
  .hs-btn { width: 38px; height: 38px; }
  .hs-prev { left: 8px; } .hs-next { right: 8px; }
}

/* ---------- 1b. (legacy text hero — retained for other uses) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 84px) clamp(36px, 6vw, 72px);
  background:
    radial-gradient(120% 90% at 88% 8%, var(--c-accent-glow), transparent 60%),
    linear-gradient(168deg, var(--c-tint-peach) 0%, var(--ground) 58%);
}
.hero-inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
}
.hero-title {
  font-size: clamp(34px, 7vw, 60px);
  margin-bottom: var(--sp-4);
}
.hero-sub { margin-bottom: var(--sp-6); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.hero-trust { margin: 0; }

/* Hero "wall of achievers" */
.hero-proof { position: relative; }
.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
@media (min-width: 480px) { .hero-collage { gap: var(--sp-3); } }
.hero-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-dark);
  box-shadow: var(--shadow-card);
}
.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-tile-ini {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: var(--fw-heavy);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.hero-tile-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 5px;
  justify-items: start;
  padding: 22px 10px 9px;
  background: linear-gradient(to top, rgba(30, 39, 73, .94) 12%, rgba(30, 39, 73, .55) 55%, transparent);
}
.hero-tile-name {
  color: #fff;
  font-size: 11.5px;
  font-weight: var(--fw-semi);
  line-height: 1.15;
}
.hero-tile-badge { padding: 1px 8px; font-size: 10.5px; }
.hero-badge {
  display: none;
  position: absolute;
  top: -18px;
  right: -10px;
  z-index: 2;
  padding: 12px 18px;
  transform: rotate(3deg);
}
.hero-badge .stat-num { font-size: 26px; }
@media (min-width: 900px) { .hero-badge { display: flex; } }

/* ---------- 2. Stat stickers band ---------- */
.stats-band { padding-top: clamp(24px, 4vw, 40px); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 3. Program cards ---------- */
.prog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  height: 100%;
  text-decoration: none;
  color: var(--c-ink);
}
.prog-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  color: var(--c-accent-press);
}
.prog-tag { margin: 0; }
.prog-title { margin: 0; font-size: var(--fs-h3); }
.prog-desc { margin: 0; flex: 1 0 auto; color: var(--c-ink-2); font-size: var(--fs-small); }
.prog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent-press);
  font-weight: var(--fw-semi);
  font-size: var(--fs-small);
  transition: gap var(--speed) var(--ease);
}
.prog-card:hover .prog-more { gap: 11px; }

/* ---------- 4. Exam filter + topper reel ---------- */
.exam-filter { justify-content: center; margin-bottom: var(--sp-6); }
.js-exam-chip {
  cursor: pointer;
  font-family: var(--font);
  border: 1px solid transparent;
}
.js-exam-chip:hover { background: var(--c-dark); color: #fff; }
.topper-card.is-hidden { display: none !important; }
.reel-foot { margin-top: var(--sp-6); margin-bottom: 0; }

/* ---------- 5. BoSoN panel ---------- */
.boson-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
.boson-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 140% at 100% 0%, var(--c-accent-glow), transparent 55%);
  pointer-events: none;
}
.boson-copy, .boson-cta { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .boson-panel { grid-template-columns: 1.5fr .9fr; gap: var(--sp-7); }
}
.boson-copy > .lead { margin-bottom: var(--sp-5); }
.boson-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: var(--fs-small);
}
.boson-date svg { flex: 0 0 auto; color: var(--c-accent); }
.boson-cta { display: flex; flex-direction: column; gap: var(--sp-3); }
@media (min-width: 520px) and (max-width: 899.98px) {
  .boson-cta { flex-direction: row; }
}

/* ---------- 6. Why CatalyseR ---------- */
.diff-card { display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.diff-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-press);
}
.diff-title { margin: 0; font-size: 19px; }
.diff-card p { margin: 0; font-size: var(--fs-small); }

.endorse { margin-top: var(--sp-8); }
.endorse-lead {
  margin: 0 auto var(--sp-6);
  text-align: center;
  font-size: var(--fs-lead);
  font-weight: var(--fw-semi);
  color: var(--c-ink-2);
}
.endorse-cards { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .endorse-cards { grid-template-columns: 1fr 1fr; } }
.endorse-card { position: relative; padding-top: var(--sp-6); }
.endorse-quote {
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1;
  color: var(--c-accent);
  opacity: .45;
}
.endorse-body { margin: 0; font-size: var(--fs-lead); }
.endorse-cite {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--c-ink-2);
}

/* ---------- 7. About blurb (block 4) ---------- */
.about-grid {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.3fr .9fr; gap: var(--sp-7); }
}
.about-copy > .lead { margin-bottom: var(--sp-5); }
.about-aside { position: relative; padding-top: var(--sp-7); }
.about-mark {
  position: absolute;
  top: 4px;
  left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 60px;
  line-height: 1;
  color: var(--c-accent);
  opacity: .5;
}
.about-quote {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-lead);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
}
.about-cite {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--c-ink-2);
}

/* ---------- 8. Parent video testimonials (block 5) ---------- */
.parent-card,
.vid-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-ink);
}
.parent-media,
.vid-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--c-dark);
}
.parent-media img,
.vid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.parent-play,
.vid-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 39, 73, .35);
  transition: transform var(--speed) var(--ease);
}
.parent-play svg,
.vid-play svg { margin-left: 3px; }
.parent-card:hover .parent-play,
.vid-card:hover .vid-play { transform: scale(1.09); }
.parent-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: grid; gap: 5px; }
.parent-quote { font-weight: var(--fw-heavy); font-size: var(--fs-h4); line-height: 1.25; }
.parent-who {
  font-size: var(--fs-tiny);
  font-weight: var(--fw-heavy);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* ---------- 9. Courses offered (block 9) ---------- */
.course-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  height: 100%;
  text-decoration: none;
  color: var(--c-ink);
}
.course-title { margin: 0; font-size: var(--fs-h4); }
.course-desc { margin: 0; flex: 1 0 auto; color: var(--c-ink-2); font-size: var(--fs-small); }
.course-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent-press);
  font-weight: var(--fw-semi);
  font-size: var(--fs-small);
  transition: gap var(--speed) var(--ease);
}
.course-card:hover .course-more { gap: 11px; }

/* ---------- 10. Video gallery (block 11) ---------- */
.vid-title {
  padding: var(--sp-4);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 11. Awards & accolades (block 12) ---------- */
.award-lead {
  margin: 0 auto var(--sp-6);
  text-align: center;
  font-size: var(--fs-lead);
  color: var(--c-ink-2);
}
.award-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; margin: 0; }
.award-media { display: block; aspect-ratio: 4 / 3; background: var(--c-tint-blue); }
.award-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.award-cap {
  padding: var(--sp-4);
  font-size: var(--fs-small);
  font-weight: var(--fw-heavy);
  color: var(--c-ink);
}

/* Shared "see all" footer row for the new data sections. */
.sec-foot { margin-top: var(--sp-7); margin-bottom: 0; }

/* ---------- 8. Testimonials (masonry) ---------- */
.tmonial-cols { columns: 1; column-gap: var(--sp-5); }
@media (min-width: 640px) { .tmonial-cols { columns: 2; } }
@media (min-width: 1000px) { .tmonial-cols { columns: 3; } }
.tmonial { break-inside: avoid; margin: 0 0 var(--sp-5); }
.tmonial-quote {
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-ink);
}
.tmonial-head { display: flex; align-items: center; gap: var(--sp-3); }
.tmonial-ava {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}
.tmonial-ini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent-soft);
  color: var(--c-accent-press);
  font-weight: var(--fw-heavy);
  font-size: 15px;
}
.tmonial-who { display: flex; flex-direction: column; min-width: 0; }
.tmonial-name { font-weight: var(--fw-heavy); font-size: 15px; line-height: 1.2; }
.tmonial-cred { font-size: var(--fs-tiny); color: var(--c-ink-2); line-height: 1.3; margin-top: 2px; }

/* ---------- 9. Centres + enquiry ---------- */
.contact-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-6); align-items: start; }
}
.centres { display: grid; gap: var(--sp-4); }
.centre-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-h4);
}
.centre-kind {
  font-size: var(--fs-tiny);
  font-weight: var(--fw-heavy);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.centre-addr {
  margin: 0 0 var(--sp-4);
  font-style: normal;
  color: var(--c-ink-2);
  font-size: var(--fs-small);
}
.centre-actions { gap: var(--sp-2); }
.enquiry-card { position: relative; }
.enquiry-title { margin: 0 0 4px; }
.enquiry-card > .muted { margin-bottom: var(--sp-5); }

/* ---------- 10. FAQ ---------- */

