/* =========================================================
   Saurabh Tuition - finishing layer (loaded last)
   1. Bigger hero video   2. Academy title visuals   3. Premium polish
   ========================================================= */

/* ---------- 1. Homepage hero: bigger video on the right ---------- */
@media (min-width: 901px) {
  body.page-home .st-hero-grid {
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr) !important;
    gap: clamp(24px, 3.6vw, 56px) !important;
  }
  body.page-home .st-hero-copy h1 { font-size: clamp(44px, 5.2vw, 74px) !important; }
  body.page-home .st-hero-art.st-hero-collage { justify-content: flex-end !important; }
  body.page-home .st-hero-art.st-hero-collage .st-collage-main.st-video-main,
  body.page-home .st-collage-main.st-video-main {
    width: 100% !important;
    max-width: 680px !important;
    border-radius: 26px !important;
    box-shadow: 0 34px 80px rgba(8, 51, 53, .24) !important;
  }
}
@media (min-width: 1280px) {
  body.page-home .st-hero-art.st-hero-collage .st-collage-main.st-video-main,
  body.page-home .st-collage-main.st-video-main { max-width: 720px !important; }
}

/* ---------- 2. CBSE / GSEB / IGCSE title-section image ---------- */
body.is-inner .page-hero-visual:has(.ac-visual) { padding: 0; }
.ac-visual { position: relative; margin: 0; width: 100%; max-width: 500px; }
.ac-visual::before {            /* offset frame */
  content: ""; position: absolute; inset: 18px -16px -16px 18px; border-radius: 28px;
  border: 1.5px solid rgba(143, 233, 228, .55); z-index: 0;
}
.ac-visual picture, .ac-visual img { display: block; }
body.is-inner .page-hero-visual .ac-visual img {
  position: relative; z-index: 1;
  width: 100%; max-width: none; height: auto; max-height: none;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%;
  background: #0a5560; border: 0; border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 18, 28, .45);
}
.ac-badge {
  position: absolute; z-index: 2; left: -22px; bottom: 26px;
  padding: 13px 18px; border-radius: 14px; background: #fff; color: #063d47;
  box-shadow: 0 18px 40px rgba(0, 18, 28, .3); border-left: 4px solid #2fd0cf;
}
.ac-badge small { display: block; margin-bottom: 3px; font: 600 11px/1 'Inter', sans-serif; color: #587077; }
.ac-badge b { font: 800 16px/1.2 'Manrope', 'Inter', sans-serif; }
.ac-chip {
  position: absolute; z-index: 2; right: 16px; top: 16px; padding: 8px 13px; border-radius: 99px;
  background: rgba(3, 31, 40, .74); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font: 700 12px/1 'Inter', sans-serif;
}
@media (max-width: 900px) {       /* the base theme hides the hero visual on tablets/phones; keep this one */
  body.is-inner .page-hero-visual:has(.ac-visual) { display: block; margin-top: 30px; }
  .ac-visual { max-width: 560px; margin: 0 auto; }
  .ac-visual::before { inset: 12px -8px -10px 12px; }
  .ac-badge { left: 8px; bottom: 16px; padding: 10px 14px; }
  .ac-badge b { font-size: 14px; }
}

/* ---------- 3. Premium polish (global, low-risk) ---------- */
html { scroll-behavior: smooth; }
::selection { background: #159f98; color: #fff; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:focus-visible { outline: 3px solid #2fd0cf; outline-offset: 3px; }

/* smooth lift on interactive cards only */
.st-programme-card, .st-trust-card, .st-mission-card, .pm-diff-card, .ac-card, .curriculum-card, .hl-card {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.st-trust-card:hover, .st-mission-card:hover, .curriculum-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(8, 51, 53, .14);
  border-color: rgba(21, 159, 152, .45);
}

/* section headings: tighter, more confident */
.st-home .st-section-head h2, .st-home .st-about-title h2, .st-home .st-study-copy h2, .st-home .st-faq-intro h2 {
  letter-spacing: -.035em; text-wrap: balance;
}

/* buttons: consistent premium gradient + soft glow */
.st-btn-gold, .pm-cta-primary, .page-btn-primary, .curriculum-btn {
  background-image: linear-gradient(115deg, #087b83 0%, #159f98 55%, #2fd0cf 120%) !important;
  color: #fff !important; border-color: transparent !important;
  box-shadow: 0 12px 28px rgba(8, 123, 131, .28) !important;
}
.st-btn-gold:hover, .pm-cta-primary:hover, .page-btn-primary:hover, .curriculum-btn:hover {
  box-shadow: 0 18px 38px rgba(8, 123, 131, .38) !important; filter: saturate(1.08);
}

/* curriculum pages: cleaner content cards under the title section */
.curriculum-card { border-radius: 22px !important; border: 1px solid #d6e9e5 !important; }
.curriculum-card .num { background: linear-gradient(135deg, #087b83, #2fd0cf) !important; color: #fff !important; border-radius: 14px !important; }
.curriculum-section h2 { letter-spacing: -.03em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .st-programme-card, .st-trust-card, .st-mission-card, .pm-diff-card, .ac-card, .curriculum-card, .hl-card { transition: none; }
}

/* ---------- 4. Home: Meet Our Stars shows achievement posters ---------- */
.st-star-tile { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 44px rgba(8, 51, 53, .16); }
.st-star-tile img { width: 100%; height: 100%; object-fit: contain !important; object-position: center top; background: #fff; }
.st-star-tile span { backdrop-filter: blur(8px); }

/* ---------- 5. Title sections on every inner page ---------- */
.page-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.page-hero-trust li {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 99px;
  font: 700 .8rem/1 'Manrope', 'Inter', sans-serif; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px);
}
.page-hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd0cf; box-shadow: 0 0 0 4px rgba(47, 208, 207, .22); }
body.is-inner .page-hero h1 { letter-spacing: -.035em; text-wrap: balance; }
body.is-inner .page-hero h1 span {
  background: linear-gradient(100deg, #9ff3ec 0%, #e8fffb 55%, #9ff3ec 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.is-inner .page-hero::after { opacity: .9; }
.page-hero-card { border-radius: 32px; }
.page-hero-card::after {          /* soft light sweep */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .12) 50%, transparent 65%);
}

/* ---------- 6. Faculty cards ---------- */
.faculty-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 61, 71, .28));
}
.faculty-photo img { z-index: 1; }
.faculty-profile { border-radius: 26px; }
.faculty-info { position: relative; background: #fff; margin-top: -1px; }

/* ---------- 7. Success story: journey staircase ---------- */
.ss-path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 8px 0 38px; padding: 0; list-style: none; align-items: end; }
.ss-path::before {                 /* rising guide line */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 62px; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(21, 159, 152, .45) 0 8px, transparent 8px 16px);
}
.ss-stage {
  position: relative; z-index: 1; padding: 26px 20px 24px; border-radius: 22px; color: #fff;
  margin-top: calc((3 - var(--i)) * 0px);
  min-height: calc(230px + var(--i) * 34px);
  background: linear-gradient(165deg, #0a8290 0%, #065060 60%, #04283a 100%);
  box-shadow: 0 24px 50px -22px rgba(4, 40, 58, .6);
  overflow: hidden; display: flex; flex-direction: column;
}
.ss-stage:nth-child(1) { background: linear-gradient(165deg, #5d8f98 0%, #3d6f7a 100%); }
.ss-stage:nth-child(2) { background: linear-gradient(165deg, #2a8f98 0%, #14707c 100%); }
.ss-stage:nth-child(4) { background: linear-gradient(165deg, #159f98 0%, #087b83 55%, #e5c15a 230%); }
.ss-stage::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ss-ring {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%;
  background: conic-gradient(#9ff3ec calc(var(--p) * 1%), rgba(255, 255, 255, .2) 0);
  position: relative;
}
.ss-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #06404b; }
.ss-ring b { position: relative; font: 800 15px/1 'Manrope', sans-serif; color: #fff; }
.ss-stage small { display: block; margin-bottom: 8px; font: 700 12px/1 'Inter', sans-serif; color: #9ff3ec; letter-spacing: .02em; }
.ss-stage h3 { margin: 0 0 9px; font: 800 1.02rem/1.3 'Manrope', sans-serif; color: #fff; }
.ss-stage p { margin: 0; color: rgba(255, 255, 255, .84); font-size: .9rem; line-height: 1.65; }
@media (max-width: 1000px) {
  .ss-path { grid-template-columns: 1fr; gap: 0; padding-left: 26px; align-items: stretch; }
  .ss-path::before { left: 26px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(21, 159, 152, .5) 0 8px, transparent 8px 16px); }
  .ss-stage { min-height: 0; margin: 0 0 16px 22px; }
  .ss-stage::before { content: ""; position: absolute; left: -29px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: #2fd0cf; box-shadow: 0 0 0 5px #e6f6f3; }
}

/* ==========================================================================
   v17 — Title section text always WHITE (inline page styles used to turn the
   heading and the chips dark on CBSE / GSEB / IGCSE). Keep this block last.
   ========================================================================== */
body.is-inner .page-hero h1,
body.is-inner .curriculum-page .page-hero h1,
body.is-inner .academy-choice .page-hero h1 { color: #fff !important; }
body.is-inner .page-hero h1 span,
body.is-inner .curriculum-page .page-hero h1 span,
body.is-inner .academy-choice .page-hero h1 span {
  background: linear-gradient(100deg, #9ff3ec 0%, #e8fffb 55%, #9ff3ec 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
}
body.is-inner .page-hero .page-hero-content > p,
body.is-inner .curriculum-page .page-hero .page-hero-content > p { color: rgba(255, 255, 255, .9) !important; }
body.is-inner .page-hero .page-kicker { color: #8ff0e8 !important; }

/* highlight points (chips) under the title: clear white text, tidy spacing */
body.is-inner .page-hero .page-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
body.is-inner .page-hero .page-hero-trust li,
body.is-inner .curriculum-page .page-hero .page-hero-trust li {
  color: #fff !important; margin: 0; padding: 10px 16px; line-height: 1;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34);
  text-shadow: 0 1px 2px rgba(0, 30, 40, .25);
}

/* bullet lists inside the curriculum cards: proper tick bullets, aligned text */
.curriculum-card ul { list-style: none; margin: 0; padding: 0; }
.curriculum-card li { position: relative; margin: 0 0 9px; padding-left: 28px; line-height: 1.6; color: #3f585e; }
.curriculum-card li:last-child { margin-bottom: 0; }
.curriculum-card li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%; background: #e3f4f0; color: #087b70; font: 800 11px/1 'Inter', sans-serif;
}
.curriculum-card h3 { line-height: 1.3; }

/* no captions on slider / marquee media */
.st-image-label, .svc-card .sv-chip, .svc-meta, .st-star-tile span, .st-result-card figcaption { display: none !important; }

/* ---------- v17: bigger header logo ---------- */
.site-header .brand-logo { width: 290px; max-height: 108px; }
.site-header .header-inner { min-height: 112px; }
@media (max-width: 1100px) { .site-header .brand-logo { width: 240px; max-height: 92px; } }
@media (max-width: 850px)  { .site-header .brand-logo { width: 215px; max-height: 84px; } .site-header .header-inner { min-height: 92px; } }
@media (max-width: 520px)  { .site-header .brand-logo { width: 180px; max-height: 72px; } .site-header .header-inner { min-height: 80px; } }
