/* =================================================================
   AARSH INSTITUTE — SUPER 8 PROGRAM — CLASS 6 (2026-27)
   Scoped to .s8c6 / page-level sections. Dark, premium, glassmorphic.
   ================================================================= */

:root{
  --s8-primary:      #fdbe00;
  --s8-primary-dim:  #c99400;
  --s8-secondary:    #7a0c0f;
  --s8-secondary-lt: #a3161a;
  --s8-black:        #050505;
  --s8-bg:           #0b0a09;
  --s8-bg-alt:       #100d0c;
  --s8-white:        #ffffff;
  --s8-ink-70:       rgba(255,255,255,.70);
  --s8-ink-50:       rgba(255,255,255,.50);
  --s8-ink-30:       rgba(255,255,255,.30);
  --s8-line:         rgba(255,255,255,.10);
  --s8-glass:        rgba(255,255,255,.045);
  --s8-glass-strong: rgba(255,255,255,.07);

  --s8-font-display: 'Poppins', 'Montserrat', sans-serif;
  --s8-font-body:    'Montserrat', 'Poppins', sans-serif;

  --s8-radius-sm: 12px;
  --s8-radius-md: 20px;
  --s8-radius-lg: 28px;

  --s8-container: 1240px;
  --s8-ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- reset within scope ---------- */
.s8c6, .s8c6 *, .sticky-cta, .sticky-cta *, .exit-popup, .exit-popup *,
.final-cta, .final-cta *{
  box-sizing: border-box;
}
.s8c6{
  background: var(--s8-bg);
  color: var(--s8-white);
  font-family: var(--s8-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.s8c6 img{ max-width:100%; display:block; }
.s8c6 a{ color: inherit; text-decoration: none; }
.s8c6 ul{ list-style:none; margin:0; padding:0; }
.s8c6 h1,.s8c6 h2,.s8c6 h3{ font-family: var(--s8-font-display); font-weight:600; margin:0; }
.s8c6 p{ margin:0; }
.s8c6 button{ font-family: inherit; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- layout ---------- */
.container{
  width:100%;
  max-width: var(--s8-container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow{ max-width: 820px; }

.section{
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0;
}
.section:nth-of-type(even){ background: var(--s8-bg-alt); }

.eyebrow{
  display:inline-block;
  font-family: var(--s8-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--s8-primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}
.eyebrow::before{
  content:"";
  position:absolute; left:0; top:50%;
  width:12px; height:2px;
  background: var(--s8-primary);
  transform: translateY(-50%);
}

.section__title{
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 820px;
}
.section__lead{
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--s8-ink-70);
  max-width: 680px;
  margin-bottom: 40px;
}

/* ---------- buttons ---------- */
.btn{
  --btn-pad-y: 16px;
  --btn-pad-x: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 100px;
  font-family: var(--s8-font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--s8-ease), box-shadow .35s var(--s8-ease), background .35s var(--s8-ease), border-color .35s var(--s8-ease);
  white-space: nowrap;
}
.btn--primary{
  background: linear-gradient(135deg, var(--s8-primary), #e0a300);
  color: var(--s8-black);
  box-shadow: 0 8px 24px -8px rgba(253,190,0,.55);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(253,190,0,.7);
}
.btn--ghost{
  background: var(--s8-glass);
  color: var(--s8-white);
  border-color: var(--s8-line);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover{
  border-color: var(--s8-primary);
  background: rgba(253,190,0,.08);
  transform: translateY(-2px);
}
.btn--small{ --btn-pad-y: 11px; --btn-pad-x: 20px; font-size: 13px; }
.btn--large{ --btn-pad-y: 19px; --btn-pad-x: 40px; font-size: 16px; }

/* ---------- glass card base ---------- */
.glass-base, .problem-card, .solution-card, .reason-card, .subject-card,
.process-card, .olympiad-card, .benefit-card, .story-card, .quote-card,
.stat-card, .branch-card, .fee-card, .contact-info-card, .faq-item{
  background: var(--s8-glass);
  border: 1px solid var(--s8-line);
  border-radius: var(--s8-radius-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .45s var(--s8-ease), border-color .45s var(--s8-ease), background .45s var(--s8-ease);
}

/* =================================================================
   01 — HERO
   ================================================================= */
.hero{
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
  background: var(--s8-black);
}
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__bg-img{
  width:100%; height:100%; object-fit: cover;
  opacity: .38;
  transform: scale(1.05);
}
.hero__gradient{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(122,12,15,.55), transparent 55%),
    linear-gradient(180deg, rgba(5,5,5,.35) 0%, var(--s8-black) 85%);
}
.hero__grid{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 70%);
}
.hero__container{ position:relative; z-index:2; text-align:center; margin: 0 auto; }
.hero__title{
  font-size: clamp(34px, 6.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 0 auto 22px;
  background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.75));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle{
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--s8-ink-70);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero__actions{
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
  margin-bottom: 48px;
}
.hero__badges{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 12px 28px;
}
.hero__badge{
  display:flex; align-items:center; gap:8px;
  font-size: 13.5px; font-weight:500; color: var(--s8-ink-70);
  letter-spacing: .01em;
}
.hero__badge-icon{ font-family: var(--s8-font-display); font-weight:700; color: var(--s8-primary); font-size:14px; }
.hero__badge-dot{ width:5px; height:5px; border-radius:50%; background: var(--s8-primary); flex:none; }
.hero__scroll{
  position:absolute; bottom: 32px; left:50%; transform: translateX(-50%);
  width: 1px; height: 46px; background: var(--s8-line); z-index:2;
  overflow:hidden;
}
.hero__scroll-line{
  position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: linear-gradient(180deg, transparent, var(--s8-primary));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; }
}

/* =================================================================
   02 — WHY CLASS 6 MATTERS / stat rows
   ================================================================= */
.stat-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-row--four{ grid-template-columns: repeat(4, 1fr); }
.stat-card{
  padding: 36px 28px;
  text-align:left;
}
.stat-card:hover{ transform: translateY(-6px); border-color: rgba(253,190,0,.35); }
.stat-card__number{
  font-family: var(--s8-font-display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  color: var(--s8-primary);
  line-height:1;
}
.stat-card__suffix{
  font-family: var(--s8-font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight:700;
  color: var(--s8-primary);
}
.stat-card__label{
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--s8-ink-70);
  max-width: 240px;
}

/* =================================================================
   03 — PARENT PROBLEMS
   ================================================================= */
.problem-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card{ padding: 32px 28px; }
.problem-card:hover{ transform: translateY(-6px); border-color: rgba(122,12,15,.5); }
.problem-card__title{
  font-size: 18px; margin-bottom:10px; line-height:1.35;
}
.problem-card__text{ font-size: 14.5px; color: var(--s8-ink-50); }

/* =================================================================
   04 — WHY PROBLEMS HAPPEN
   ================================================================= */
.cause-list{ display:flex; flex-direction:column; gap: 0; }
.cause-row{
  display:flex; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--s8-line);
}
.cause-row:first-child{ padding-top:0; }
.cause-row:last-child{ border-bottom:none; }
.cause-row__num{
  font-family: var(--s8-font-display);
  font-size: 15px; font-weight:700; color: var(--s8-primary);
  flex: none; width: 40px;
}
.cause-row__title{ font-size: 19px; margin-bottom:6px; }
.cause-row__text{ font-size: 14.5px; color: var(--s8-ink-50); max-width: 560px; }

/* =================================================================
   05 — AARSH SOLUTION
   ================================================================= */
.solution-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.solution-card{ padding: 28px 24px; }
.solution-card:hover{ transform: translateY(-6px); border-color: rgba(253,190,0,.35); }
.solution-card--feature{
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.solution-card__img{ width:100%; height: 200px; object-fit: cover; }
.solution-card__body{ padding: 24px; }
.solution-card__title{ font-size: 18px; margin-bottom: 8px; }
.solution-card__text{ font-size: 14.5px; color: var(--s8-ink-50); }

/* =================================================================
   06 — WHY AARSH / reason grid
   ================================================================= */
.reason-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason-card{ padding: 30px 26px; }
.reason-card:hover{ transform: translateY(-6px); border-color: rgba(253,190,0,.3); }
.reason-card h3{ font-size: 17.5px; margin-bottom: 8px; }
.reason-card p{ font-size: 14px; color: var(--s8-ink-50); }

/* =================================================================
   07 — METHODOLOGY timeline
   ================================================================= */
.method-timeline{
  position:relative;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.method-timeline::before{
  content:"";
  position:absolute; top:9px; left:0; right:0; height:1px;
  background: linear-gradient(90deg, var(--s8-primary), var(--s8-secondary));
  opacity:.4;
}
.method-step{ position:relative; padding-top: 36px; }
.method-step__marker{
  position:absolute; top:0; left:0;
  width: 19px; height:19px; border-radius:50%;
  background: var(--s8-bg);
  border: 3px solid var(--s8-primary);
}
.method-step__title{ font-size: 16px; margin-bottom: 8px; }
.method-step__text{ font-size: 13.5px; color: var(--s8-ink-50); }

/* =================================================================
   08 — SUBJECTS
   ================================================================= */
.subject-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.subject-card{ padding: 28px 22px; }
.subject-card:hover{
  transform: translateY(-6px);
  border-color: var(--s8-primary);
  background: rgba(253,190,0,.05);
}
.subject-card h3{ font-size: 17px; margin-bottom: 8px; color: var(--s8-primary); }
.subject-card p{ font-size: 13.5px; color: var(--s8-ink-50); }

/* =================================================================
   09 — SMART CLASSROOM
   ================================================================= */
.smart-classroom__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items:center;
}
.smart-classroom__media img{
  border-radius: var(--s8-radius-lg);
  border: 1px solid var(--s8-line);
}
.check-list li{
  position:relative; padding-left: 30px; margin-bottom: 16px;
  font-size: 15px; color: var(--s8-ink-70);
}
.check-list li::before{
  content:"";
  position:absolute; left:0; top: 6px;
  width: 16px; height:16px; border-radius:50%;
  background: rgba(253,190,0,.14);
  border: 1px solid var(--s8-primary);
}
.check-list li::after{
  content:"";
  position:absolute; left: 5px; top: 9.5px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--s8-primary);
  border-bottom: 2px solid var(--s8-primary);
  transform: rotate(-45deg);
}

/* =================================================================
   10, 25 — PROCESS GRID (weekly test / admission process)
   ================================================================= */
.process-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card{ padding: 30px 24px; position:relative; }
.process-card:hover{ transform: translateY(-6px); border-color: rgba(253,190,0,.3); }
.process-card__num{
  display:inline-flex; align-items:center; justify-content:center;
  width: 34px; height:34px; border-radius:50%;
  font-family: var(--s8-font-display); font-weight:700; font-size: 14px;
  background: linear-gradient(135deg, var(--s8-primary), #e0a300);
  color: var(--s8-black);
  margin-bottom: 16px;
}
.process-card h3{ font-size: 16.5px; margin-bottom: 8px; }
.process-card p{ font-size: 13.5px; color: var(--s8-ink-50); }
.admission-process__cta{ margin-top: 44px; text-align:center; }

/* =================================================================
   11 — OLYMPIAD
   ================================================================= */
.olympiad-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.olympiad-card{
  padding: 30px 22px;
  text-align:center;
  border-image: none;
}
.olympiad-card:hover{ transform: translateY(-6px); border-color: var(--s8-secondary-lt); }
.olympiad-card h3{ font-size: 22px; color: var(--s8-primary); margin-bottom: 10px; letter-spacing: .02em; }
.olympiad-card p{ font-size: 13.5px; color: var(--s8-ink-50); }

/* =================================================================
   12 — SCHOLARSHIP
   ================================================================= */
.scholarship{ background: linear-gradient(180deg, var(--s8-bg-alt), var(--s8-bg)); }
.scholarship__content{ text-align:center; margin: 0 auto; }
.scholarship__content .section__title,
.scholarship__content .section__lead{ margin-left:auto; margin-right:auto; }
.scholarship-tiers{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scholarship-tier{
  padding: 32px 20px;
  border-radius: var(--s8-radius-md);
  border: 1px solid var(--s8-line);
  background: var(--s8-glass);
}
.scholarship-tier__pct{
  display:block;
  font-family: var(--s8-font-display); font-weight:700;
  font-size: 30px; color: var(--s8-primary); margin-bottom: 10px;
}
.scholarship-tier p{ font-size: 14px; color: var(--s8-ink-70); }

/* =================================================================
   13 — ROADMAP
   ================================================================= */
.roadmap-line{
  position:relative;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 8px;
}
.roadmap-line::before{
  content:"";
  position:absolute; top: 9px; left:0; right:0; height: 2px;
  background: linear-gradient(90deg, var(--s8-secondary), var(--s8-primary));
}
.roadmap-point{ position:relative; padding-top: 34px; }
.roadmap-point__marker{
  position:absolute; top:0; left:0;
  width:20px; height:20px; border-radius:50%;
  background: var(--s8-primary);
  box-shadow: 0 0 0 5px rgba(253,190,0,.15);
}
.roadmap-point__month{
  display:block; font-size: 12px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--s8-primary); font-weight:600; margin-bottom: 8px;
}
.roadmap-point h3{ font-size: 17px; margin-bottom: 8px; }
.roadmap-point p{ font-size: 13.5px; color: var(--s8-ink-50); }

/* =================================================================
   14 — FACULTY
   ================================================================= */
.faculty__grid{
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap: 64px;
  align-items:center;
}
.faculty__media img{
  border-radius: var(--s8-radius-lg);
  border: 1px solid var(--s8-line);
  aspect-ratio: 4/5; object-fit:cover;
}

/* =================================================================
   15 — GALLERY
   ================================================================= */
.gallery-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.gallery-item{
  margin:0; border-radius: var(--s8-radius-md); overflow:hidden;
  border: 1px solid var(--s8-line);
}
.gallery-item--large{ grid-row: span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--s8-ease); }
.gallery-item:hover img{ transform: scale(1.06); }

/* =================================================================
   16 — SUCCESS STORIES
   ================================================================= */
.story-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-card{ padding: 30px 26px; }
.story-card:hover{ transform: translateY(-6px); border-color: rgba(253,190,0,.3); }
.story-card__tag{
  display:inline-block; font-size: 11.5px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color: var(--s8-black); background: var(--s8-primary);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.story-card h3{ font-size: 18px; margin-bottom: 10px; }
.story-card p{ font-size: 14px; color: var(--s8-ink-50); }

/* =================================================================
   17 — PARENT TESTIMONIALS (slider track)
   ================================================================= */
.testimonial-track{
  display:flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar{ display:none; }
.testimonial-card{
  flex: 0 0 clamp(280px, 32vw, 380px);
  scroll-snap-align: start;
  padding: 32px 28px;
  border-radius: var(--s8-radius-md);
  border: 1px solid var(--s8-line);
  background: var(--s8-glass);
  margin: 0;
}
.testimonial-card p{ font-size: 15px; color: var(--s8-ink-70); margin-bottom: 20px; }
.testimonial-card__name{ font-size: 13px; font-weight:600; color: var(--s8-primary); }

/* =================================================================
   18 — STUDENT QUOTES
   ================================================================= */
.quote-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card{
  padding: 28px 24px;
  border-radius: var(--s8-radius-md);
  border: 1px solid var(--s8-line);
  background: var(--s8-glass);
  border-left: 3px solid var(--s8-primary);
}
.quote-card p{ font-size: 14.5px; color: var(--s8-ink-70); margin-bottom: 14px; font-style: italic; }
.quote-card span{ font-size: 12.5px; color: var(--s8-ink-50); }

/* =================================================================
   19 — ACHIEVEMENTS reuses .stat-row / stat-row--four above
   ================================================================= */

/* =================================================================
   20 — BENEFITS
   ================================================================= */
.benefit-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card{ padding: 28px 24px; }
.benefit-card:hover{ transform: translateY(-6px); border-color: rgba(253,190,0,.3); }
.benefit-card h3{ font-size: 16.5px; margin-bottom: 8px; color: var(--s8-primary); }
.benefit-card p{ font-size: 14px; color: var(--s8-ink-50); }

/* =================================================================
   21 — BATCH TIMINGS
   ================================================================= */
.timing-table{
  border: 1px solid var(--s8-line);
  border-radius: var(--s8-radius-md);
  overflow:hidden;
  background: var(--s8-glass);
}
.timing-row{
  display:grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--s8-line);
  font-size: 14.5px;
}
.timing-row:last-child{ border-bottom:none; }
.timing-row--head{
  background: rgba(253,190,0,.06);
  font-family: var(--s8-font-display);
  font-weight:600; font-size: 12.5px;
  letter-spacing:.08em; text-transform:uppercase;
  color: var(--s8-primary);
}
.timings__note{ margin-top: 18px; font-size: 13.5px; color: var(--s8-ink-50); }

/* =================================================================
   22 — FEES
   ================================================================= */
.fee-card{
  border-radius: var(--s8-radius-lg);
  border: 1px solid rgba(253,190,0,.3);
  background: linear-gradient(160deg, rgba(253,190,0,.08), var(--s8-glass) 60%);
  padding: 40px;
}
.fee-card__header h3{ font-size: 22px; margin-bottom:4px; }
.fee-card__header p{ font-size: 13.5px; color: var(--s8-primary); margin-bottom: 24px; }
.fee-card__list{ display:flex; flex-direction:column; gap: 14px; margin-bottom: 32px; }
.fee-card__list li{
  position:relative; padding-left: 26px; font-size: 14.5px; color: var(--s8-ink-70);
}
.fee-card__list li::before{
  content:"✓"; position:absolute; left:0; top:0; color: var(--s8-primary); font-weight:700;
}
.fee-card__cta{ display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.fee-card__note{ font-size: 12.5px; color: var(--s8-ink-50); }

/* =================================================================
   23 — COMPARISON
   ================================================================= */
.compare-table{
  border-radius: var(--s8-radius-md);
  border: 1px solid var(--s8-line);
  overflow:hidden;
}
.compare-row{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--s8-line);
  font-size: 14px;
  align-items:center;
}
.compare-row:last-child{ border-bottom:none; }
.compare-row--head{
  background: rgba(255,255,255,.03);
  font-family: var(--s8-font-display); font-weight:600;
  font-size: 12.5px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--s8-ink-50);
}
.compare-row__aarsh{ color: var(--s8-primary); font-weight:600; }
.compare-row--head .compare-row__aarsh{ color: var(--s8-primary); }

/* =================================================================
   24 — FAQ
   ================================================================= */
.faq-list{ display:flex; flex-direction:column; gap: 14px; }
.faq-item{ overflow:hidden; }
.faq-item__question{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap: 20px; padding: 22px 26px; background:transparent; border:none; color: var(--s8-white);
  font-family: var(--s8-font-display); font-size: 15.5px; font-weight:500;
  text-align:left; cursor:pointer;
}
.faq-item__icon{
  flex:none; width:22px; height:22px; position:relative;
}
.faq-item__icon::before, .faq-item__icon::after{
  content:""; position:absolute; top:50%; left:50%;
  background: var(--s8-primary);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--s8-ease);
}
.faq-item__icon::before{ width:14px; height:2px; }
.faq-item__icon::after{ width:2px; height:14px; }
.faq-item__question[aria-expanded="true"] .faq-item__icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity:0; }
.faq-item__answer{
  max-height:0; overflow:hidden;
  transition: max-height .4s var(--s8-ease), padding .4s var(--s8-ease);
  padding: 0 26px;
}
.faq-item__answer p{ font-size: 14.5px; color: var(--s8-ink-50); padding-bottom: 22px; }
.faq-item[data-open="true"] .faq-item__answer{ max-height: 300px; }

/* =================================================================
   26 — BRANCHES
   ================================================================= */
.branch-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.branch-card{ padding: 30px 28px; }
.branch-card h3{ font-size: 18px; margin-bottom: 10px; color: var(--s8-primary); }
.branch-card p{ font-size: 14.5px; color: var(--s8-ink-70); }
.area-tags{ display:flex; flex-wrap:wrap; gap: 10px; }
.area-tags li{
  font-size: 13px; padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--s8-line); color: var(--s8-ink-70);
}



/*=========================================================
CONTACT SECTION
=========================================================*/

.contact__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:start;
}

.contact__form-wrap{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:40px;
}

.contact__map-wrap{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-info-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:22px;
}

.contact-info-card h3{
    color:#fff;
    margin-bottom:10px;
    font-size:20px;
}

.contact-info-card p{
    color:#cbd5e1;
    line-height:1.7;
}

.contact__map{
    overflow:hidden;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.08);
    height:500px;
    position:relative;
}

.contact__map iframe{
    width:100%;
    height:100%;
    display:block;
}

.contact__map-action{
    position:absolute;
    bottom:20px;
    left:20px;
    z-index:5;
}

/*=========================================================
ADMISSION FORM
=========================================================*/

.class5-form{
    margin-top:35px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.class5-field{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.class5-field:last-of-type{
    grid-column:1/-1;
}

.class5-field label{
    color:#fff;
    font-size:15px;
    font-weight:600;
}

.class5-field input,
.class5-field textarea{
    width:100%;
    border:none;
    outline:none;
    background:#1f2937;
    color:#fff;
    border-radius:14px;
    padding:15px 18px;
    font-size:15px;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.class5-field input::placeholder,
.class5-field textarea::placeholder{
    color:#94a3b8;
}

.class5-field input:focus,
.class5-field textarea:focus{
    border-color:#fdbe00;
    box-shadow:0 0 0 3px rgba(253,190,0,.18);
}

.class5-field textarea{
    resize:vertical;
    min-height:150px;
}

.class5-form-note{
    grid-column:1/-1;
    color:#94a3b8;
    line-height:1.7;
    font-size:14px;
}

.class5-btn{
    grid-column:1/-1;
    justify-self:center;
    border:none;
    cursor:pointer;
    border-radius:50px;
    padding:16px 40px;
    font-size:16px;
    font-weight:700;
    background:#fdbe00;
    color:#111;
    transition:.35s;
}

.class5-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(253,190,0,.25);
}

#formMessage{
    grid-column:1/-1;
    text-align:center;
    font-weight:600;
    margin-top:5px;
}

#formMessage.success{
    color:#22c55e;
}

#formMessage.error{
    color:#ef4444;
}

/*=========================================================
THANK YOU MODAL
=========================================================*/

.thankyou-modal{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(8px);
    z-index:999999;
    padding:20px;
}

.thankyou-modal.active{
    display:flex;
}

.thankyou-box{
    width:100%;
    max-width:520px;
    background:#111827;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    padding:40px;
    text-align:center;
    animation:popupScale .35s ease;
}

.thankyou-icon{
    width:85px;
    height:85px;
    margin:auto;
    margin-bottom:25px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#22c55e;
    color:#fff;
    font-size:38px;
    font-weight:700;
}

.thankyou-box h3{
    color:#fff;
    font-size:34px;
    margin-bottom:15px;
}

.thankyou-box p{
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:30px;
}

.thankyou-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
}

.thankyou-btn{
    padding:12px 22px;
    border-radius:50px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.thankyou-btn:hover{
    transform:translateY(-3px);
}

.whatsapp{
    background:#25D366;
}

.instagram{
    background:#E1306C;
}

.facebook{
    background:#1877F2;
}

.youtube{
    background:#FF0000;
}

.thankyou-close{
    border:none;
    background:#fdbe00;
    color:#111;
    padding:14px 35px;
    border-radius:50px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.thankyou-close:hover{
    transform:translateY(-3px);
}

@keyframes popupScale{

    from{
        opacity:0;
        transform:scale(.9);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.thankyou-modal,
.thankyou-modal *{
    cursor:default;
}

.thankyou-btn,
.thankyou-close{
    cursor:pointer !important;
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:991px){

    .contact__grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .contact__form-wrap{
        padding:25px;
    }

    .class5-form{
        grid-template-columns:1fr;
    }

    .class5-field:last-of-type{
        grid-column:auto;
    }

    .class5-btn{
        width:100%;
    }

    .contact__map{
        height:380px;
    }

    .thankyou-box{
        padding:30px 22px;
    }

    .thankyou-box h3{
        font-size:28px;
    }

    .thankyou-actions{
        flex-direction:column;
    }

    .thankyou-btn,
    .thankyou-close{
        width:100%;
    }

}


/* =================================================================
   28 — STICKY BOTTOM CTA
   ================================================================= */
.sticky-cta{
  position: fixed;
  left:0; right:0; bottom:0;
  z-index: 60;
  transform: translateY(120%);
  transition: transform .5s var(--s8-ease);
  background: rgba(8,7,6,.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--s8-line);
}
.sticky-cta.is-visible{ transform: translateY(0); }
.sticky-cta__inner{
  max-width: var(--s8-container);
  margin: 0 auto;
  padding: 14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
}
.sticky-cta__text{ font-family: var(--s8-font-display); font-size: 14px; font-weight:600; color: var(--s8-white); }
.sticky-cta__actions{ display:flex; gap: 10px; flex:none; }



/* =================================================================
   30 — FINAL CTA
   ================================================================= */
.final-cta{
  background:
    radial-gradient(ellipse at 50% 0%, rgba(253,190,0,.16), transparent 60%),
    linear-gradient(180deg, var(--s8-bg-alt), var(--s8-black));
  text-align:center;
  padding: clamp(80px, 12vw, 140px) 0;
}
.final-cta__container{ max-width: 780px; margin:0 auto; }
.final-cta__title{
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.final-cta__subtitle{
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--s8-ink-70);
  margin-bottom: 36px;
}
.final-cta__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* =================================================================
   SCROLL REVEAL (JS toggles .is-visible)
   ================================================================= */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--s8-ease), transform .8s var(--s8-ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  .hero__scroll-line{ animation:none; }
  .btn, .stat-card, .problem-card, .solution-card, .reason-card, .subject-card,
  .process-card, .olympiad-card, .benefit-card, .story-card, .gallery-item img{
    transition: none;
  }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1080px){
  .solution-grid{ grid-template-columns: repeat(2, 1fr); }
  .solution-card--feature{ grid-column: span 2; grid-row: span 1; }
  .method-timeline{ grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .method-timeline::before{ display:none; }
  .roadmap-line{ grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .roadmap-line::before{ display:none; }
  .stat-row--four{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item--large{ grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
  .gallery-item{ aspect-ratio: 16/10; }
}

@media (max-width: 860px){
  .smart-classroom__grid, .faculty__grid, .contact__grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faculty__media{ order:-1; }
  .faculty__media img{ aspect-ratio: 16/9; }
  .problem-grid, .reason-grid, .subject-grid, .olympiad-grid,
  .story-grid, .quote-grid, .benefit-grid, .stat-row, .branch-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .scholarship-tiers{ grid-template-columns: 1fr; }
  .compare-row, .timing-row{ grid-template-columns: 1fr; row-gap: 4px; padding: 16px 20px; }
  .compare-row--head{ display:none; }
  .compare-row span::before{ content: attr(data-label) ": "; color: var(--s8-ink-30); font-size: 11px; text-transform:uppercase; letter-spacing:.06em; display:block; margin-bottom:2px; }
  .timing-row span::before{ content: attr(data-label) ": "; color: var(--s8-ink-30); font-size: 11px; text-transform:uppercase; letter-spacing:.06em; display:block; margin-bottom:2px; }
  .timing-row--head{ display:none; }
}

@media (max-width: 600px){
  .section{ padding: 56px 0; }
  .problem-grid, .reason-grid, .subject-grid, .olympiad-grid,
  .story-grid, .quote-grid, .benefit-grid, .stat-row, .stat-row--four,
  .branch-grid, .process-grid, .method-timeline, .roadmap-line{
    grid-template-columns: 1fr;
  }
  .hero{ padding-top: 120px; }
  .hero__actions{ flex-direction:column; width:100%; }
  .hero__actions .btn{ width:100%; }
  .final-cta__actions{ flex-direction:column; width:100%; }
  .final-cta__actions .btn{ width:100%; }
  .sticky-cta__inner{ flex-direction:column; align-items:flex-start; gap:10px; }
  .sticky-cta__actions{ width:100%; }
  .sticky-cta__actions .btn{ flex:1; }
}




/*=========================================================
EXPLORE CLASSES
=========================================================*/

.explore-classes{
    padding:100px 0;
}

.explore-classes__grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.explore-card{
    display:block;
    padding:35px;
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    text-decoration:none;
    transition:.35s;
}

.explore-card:hover{
    transform:translateY(-8px);
    border-color:#fdbe00;
    box-shadow:0 25px 50px rgba(0,0,0,.25);
}

.explore-card__badge{
    display:inline-block;
    background:#fdbe00;
    color:#111;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;
}

.explore-card h3{
    color:#fff;
    font-size:28px;
    margin-bottom:15px;
}

.explore-card p{
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:25px;
}

.explore-card__link{
    color:#fdbe00;
    font-weight:700;
}

@media(max-width:768px){

    .explore-classes__grid{

        grid-template-columns:1fr;

    }

}