/* ═══ HERO ═══ */
.campus-hero{
  position:relative;width:100%;min-height:460px;
  background:url("/assets/why-us-77292eed.png") center/cover no-repeat;
  display:flex;align-items:center;
  padding:160px 40px 100px;overflow:hidden;
}
.campus-hero::before{content:'';position:absolute;inset:0;background: linear-gradient(
      to bottom,
      rgba(26,35,86,0.55) 0%,
      rgba(26,35,86,0.78) 60%,
      rgba(26,35,86,0.94) 100%
    );z-index:1}
.campus-hero-content{position:relative;z-index:2;max-width:1200px;margin:0 auto;width:100%}
.campus-hero-tag{display:inline-flex;align-items:center;gap:6px;background:rgba(201,168,76,0.18);border:1px solid rgba(201,168,76,0.45);color:#c9a84c;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:5px 14px;border-radius:50px;margin-bottom:18px}
.campus-hero-content h1{    font-family: 'DM Sans', sans-serif;
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;}
.campus-hero-content h1 span{color:#c9a84c}
.campus-hero-content p{font-size:clamp(13px,1.5vw,16px);color:rgba(255,255,255,.75);max-width:540px;line-height:1.8}
.campus-hero-curve{position:absolute;bottom:-1px;left:0;width:100%;line-height:0;z-index:3}
.campus-hero-curve svg{display:block;width:100%;height:80px}
.campus-hero-content nav a:hover {
  color: #c9a84c;
}
/* ═══ INTRO SECTION ═══ */
.campus-intro{padding:72px 40px 64px;background:#fff}
.campus-intro-inner{max-width:1100px;margin:0 auto}
.section-label{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#c0392b;margin-bottom:12px}
.section-label::before{content:'';display:block;width:28px;height:2px;background:#c0392b;border-radius:2px}
.campus-intro h2{font-size:clamp(24px,3vw,40px);font-weight:800;color:#1a2356;line-height:1.2;margin-bottom:20px;letter-spacing:-.02em}
.campus-intro h2 span{color:#c0392b}
.campus-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin-top:32px}
.campus-intro-text p{font-size:15.5px;color:#444;line-height:1.9;margin-bottom:16px}
.campus-intro-text p strong{color:#1a2356;font-weight:700}
.campus-intro-highlights{display:flex;flex-direction:column;gap:16px}
.campus-highlight-card{background:#f7f8fc;border-left:4px solid #c0392b;border-radius:0 12px 12px 0;padding:18px 20px}
.campus-highlight-card h4{font-size:14px;font-weight:800;color:#1a2356;margin-bottom:5px}
.campus-highlight-card p{font-size:13px;color:#666;line-height:1.7;margin:0}


/* ═══ STAGE SLIDER ═══ */
.campus-stages{padding:0 0 80px;background:#fff;position:relative}
.stages-header{text-align:center;padding:0 40px 48px;max-width:800px;margin:0 auto}
.stages-header h2{font-size:clamp(26px,3.5vw,42px);font-weight:900;color:#1a2356;letter-spacing:-.02em;margin-bottom:8px}
.stages-header h2 em{font-style:italic;color:#c0392b}
.stages-header p{font-size:15px;color:#888}
.stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
/* Progress bar */
.stages-progress-bar{max-width:1100px;margin:0 auto 0;padding:0 40px;position:relative;height:4px}
.stages-track{width:100%;height:4px;background:#eaeef5;border-radius:4px;position:relative;overflow:visible}
.stages-indicator{
  position:absolute;top:50%;transform:translateY(-50%);
  width:52px;height:52px;border-radius:50%;
  background:#c0392b;border:4px solid #fff;
  box-shadow:0 4px 16px rgba(192,57,43,0.35);
  display:flex;align-items:center;justify-content:center;
  transition:left .5s cubic-bezier(.4,0,.2,1);
  cursor:pointer;z-index:4;
}
.stages-indicator svg{width:22px;height:22px;fill:#fff}
.stages-track-fill{height:100%;background:linear-gradient(90deg,#c0392b,#c9a84c);border-radius:4px;transition:width .5s cubic-bezier(.4,0,.2,1);width:0%}

/* Slider wrapper */
.stages-slider-wrap{overflow:hidden;max-width:1100px;margin:40px auto 0;padding:0 40px}
.stages-slider{display:flex;transition:transform .55s cubic-bezier(.4,0,.2,1);will-change:transform}

/* Each slide */
.stage-slide{min-width:100%;display:grid;grid-template-columns:55% 1fr;gap:0;align-items:stretch}
.stage-img-col{position:relative;overflow:hidden;border-radius:20px 0 0 20px}
.stage-img-col img {
  width: 100%;
  height: 420px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.stage-img-col:hover img{transform:scale(1.04)}
/* placeholder */
.stage-img-placeholder{width:100%;min-height:360px;background:linear-gradient(135deg,#e8ecf5,#d0d8ee);display:flex;align-items:center;justify-content:center;font-size:72px;color:#1a2356;opacity:.18;border-radius:20px 0 0 20px}
.stage-info-col{background:#fff;border:1px solid #eaeef5;border-left:none;border-radius:0 20px 20px 0;padding: 32px 40px;display:flex;flex-direction:column;justify-content:center;box-shadow:4px 8px 32px rgba(26,35,86,0.07)}
.stage-number{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#c0392b;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.stage-number::before{content:'';display:block;width:22px;height:2px;background:#c0392b;border-radius:2px}
.stage-info-col h3{font-size:clamp(22px,2.5vw,32px);font-weight:900;color:#1a2356;letter-spacing:-.02em;margin-bottom:6px}
.stage-grades{font-size:13px;font-weight:700;color:#c0392b;letter-spacing:.06em;text-transform:uppercase;margin-bottom:20px;display:block}
.stage-info-col p{font-size:15px;color:#555;line-height:1.85;margin-bottom:24px}
.stage-btn{display:inline-flex;align-items:center;gap:8px;background:#c0392b;color:#fff;font-family:'DM Sans',sans-serif;font-size:13px;font-weight:700;letter-spacing:.04em;padding:11px 24px;border-radius:50px;border:none;cursor:pointer;text-decoration:none;transition:background .25s,transform .2s}
.stage-btn:hover{background:#922b21;transform:translateY(-2px)}
.stage-btn svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.5}
.stage-icons{display:flex;gap:10px;margin-top:auto;padding-top:20px}
.stage-icon{width:48px;height:48px;border-radius:10px;background:#f7f8fc;border:1px solid #eaeef5;display:flex;align-items:center;justify-content:center}
.stage-icon svg{width:22px;height:22px;stroke:#1a2356;fill:none;stroke-width:1.5}

/* Nav arrows */
.stages-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:32px}
.stage-nav-btn{width:44px;height:44px;border-radius:50%;border:2px solid #eaeef5;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .25s,border-color .25s}
.stage-nav-btn:hover,.stage-nav-btn.active-btn{background:#c0392b;border-color:#c0392b}
.stage-nav-btn:hover svg,.stage-nav-btn.active-btn svg{stroke:#fff}
.stage-nav-btn svg{width:18px;height:18px;stroke:#999;fill:none;stroke-width:2.5;transition:stroke .25s}
.stage-dots{display:flex;gap:8px}
.stage-dot{width:8px;height:8px;border-radius:50%;background:#eaeef5;cursor:pointer;transition:background .3s,transform .3s}
.stage-dot.active{background:#c0392b;transform:scale(1.4)}
.campus-stages {
  padding: 0 0 80px;
  position: relative;
  background: url("/assets/bg5-eec74483.png") center center / cover no-repeat;
}

.campus-stages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(238, 228, 246, 0.88); /* white tint — adjust opacity */
  z-index: 0;
  pointer-events: none;
}

/* Also add this so content sits above the overlay */
.campus-stages > * {
  position: relative;
  z-index: 1;
}
/* ═══ RESPONSIVE ═══ */
@media(max-width:960px){
  .campus-intro-grid{grid-template-columns:1fr;gap:32px}
  .campus-stages{padding-bottom:60px}
  .stages-slider-wrap{padding:0 20px}
  .stage-slide{grid-template-columns:1fr;grid-template-rows:280px auto}
  .stage-img-col img,.stage-img-placeholder{min-height:280px;border-radius:16px 16px 0 0}
  .stage-img-placeholder{border-radius:16px 16px 0 0}
  .stage-info-col{border-radius:0 0 16px 16px;border-left:1px solid #eaeef5;border-top:none;padding:28px 24px 32px}
}
@media(max-width:560px){
  .campus-hero{padding:140px 20px 80px}
  .campus-intro{padding:48px 20px 48px}
  .stages-header{padding:0 20px 36px}
  .stages-progress-bar{padding:0 20px}
}

/* ═══ CAMPUS GALLERY ═══ */
.campus-gallery {
  padding: 72px 40px 80px;
  background: #f7f8fc;
}
.gallery-header {
  max-width: 1100px;
  margin: 0 auto 40px;
  text-align: center;
}
.gallery-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.gallery-header h2 span { color: #c0392b; }
.gallery-header p { font-size: 15px; color: #888; }

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}

/* Center column spans both rows */
.gallery-item.gallery-tall {
  grid-column: 2;
  grid-row: 1 / 3;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #e8ecf5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Dark gradient overlay always visible at bottom */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,35,86,0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 1;
  transition: background 0.35s ease;
}
.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(192,57,43,0.75) 0%, transparent 60%);
}
.gallery-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
  .campus-gallery { padding: 48px 20px 56px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-item.gallery-tall {
    grid-column: 1 / 3;
    grid-row: 1;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }
  .gallery-item.gallery-tall {
    grid-column: 1;
    grid-row: 1;
  }
}


/* ═══ KGS SECTION ═══ */
.kgs{
  font-family:'DM Sans',sans-serif;
  background:#fff9f5;
  padding:52px 0 80px;
  position:relative;
  overflow:hidden;
}

.kgs-deco{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  width:100%;
  height:100%;
}

.kgs-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 40px;
  position:relative;
  z-index:1;
}

.kgs-header{
  text-align:center;
  margin-bottom:60px;
}

.kgs-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#c0392b;
  margin-bottom:12px;
}
.kgs-label::before{
  content:'';
  display:block;
  width:28px;
  height:2px;
  background:#c0392b;
  border-radius:2px;
}

.kgs-header h2{
  font-size:clamp(26px,3.5vw,40px);
  font-weight:900;
  color:#1a2356;
  letter-spacing:-.02em;
  line-height:1.15;
  margin-bottom:10px;
}
.kgs-header h2 em{font-style:normal;color:#c0392b}
.kgs-header p{
  font-size:15px;
  color:#888;
  max-width:500px;
  margin:0 auto;
  line-height:1.7;
}

/* ═══ ROW ═══ */
.kg-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  align-items:center;
  margin-bottom:72px;
  position:relative;
}
.kg-row:last-child{margin-bottom:0}

/* ═══ SCROLL REVEAL ═══ */
.reveal-left{
  opacity:0;
  transform:translateX(-70px);
  transition:opacity 0.75s cubic-bezier(.4,0,.2,1),transform 0.75s cubic-bezier(.4,0,.2,1);
}
.reveal-right{
  opacity:0;
  transform:translateX(70px);
  transition:opacity 0.75s cubic-bezier(.4,0,.2,1),transform 0.75s cubic-bezier(.4,0,.2,1);
}
.reveal-up{
  opacity:0;
  transform:translateY(40px);
  transition:opacity 0.65s cubic-bezier(.4,0,.2,1),transform 0.65s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible,.reveal-right.visible,.reveal-up.visible{
  opacity:1;
  transform:translate(0,0);
}

/* ═══ FLOATING CHIPS ═══ */
.kg-mini-chip{
  opacity:0;
  transform:scale(0.7);
  transition:opacity 0.5s ease,transform 0.5s cubic-bezier(.34,1.56,.64,1);
  position:absolute;
  z-index:5;
  background:#fff;
  border-radius:12px;
  padding:8px 14px;
  box-shadow:0 4px 16px rgba(26,35,86,0.11);
  display:flex;
  align-items:center;
  gap:8px;
}
.kg-mini-chip.chip-visible{opacity:1;transform:scale(1)}

.kg-age-pill{
  opacity:0;
  transform:scale(0.7);
  transition:opacity 0.5s ease,transform 0.5s cubic-bezier(.34,1.56,.64,1);
  position:absolute;
  z-index:5;
  background:#fff;
  border-radius:50px;
  padding:10px 20px;
  box-shadow:0 6px 24px rgba(26,35,86,0.13);
  display:flex;
  align-items:center;
  gap:10px;
}
.kg-age-pill.chip-visible{opacity:1;transform:scale(1)}
.kg-age-pill .ap-num{font-size:22px;font-weight:900;line-height:1}
.kg-age-pill .ap-label{font-size:10px;font-weight:700;letter-spacing:.10em;text-transform:uppercase;color:#888;line-height:1.3}

.mc-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.mc-val{font-size:12px;font-weight:800;color:#1a2356;display:block;line-height:1.2}
.mc-sub{font-size:10px;color:#999;display:block;line-height:1}


/* ═══ IMAGE WRAP ═══ */
.kg-img-wrap{position:relative; padding: 24px 12px; }
.kg-blob-frame{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  max-width:100%;
}
.kg-blob-frame svg.blob-bg{position:absolute;inset:0;width:100%;height:100%}

.kg-photo{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:82%;height:82%;
  object-fit:cover;
  border-radius:50%;
  z-index:2;
  display:block;
}
.kg-photo-placeholder{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:82%;height:82%;
  border-radius:50%;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:80px;
}

/* ═══ CONTENT ═══ */
.kg-content{ padding: 40px 32px; }
.kg-stage-tag{
  display:inline-block;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:5px 14px;
  border-radius:50px;
  margin-bottom:14px;
}
.kg-content h3{
  font-size:clamp(24px,3vw,34px);
  font-weight:900;
  color:#1a2356;
  letter-spacing:-.02em;
  margin-bottom:6px;
  line-height:1.15;
}
.kg-content .kg-sub{
  font-size:13px;
  font-weight:700;
  color:#c0392b;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:18px;
  display:block;
}
.kg-content p{font-size:15px;color:#555;line-height:1.85;margin-bottom:24px}
.kg-features{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.kg-feat{display:flex;align-items:flex-start;gap:12px}
.kg-feat-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:6px}
.kg-feat span{font-size:14px;color:#444;line-height:1.6}

.kg-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#c0392b;
  color:#fff;
  font-family:'DM Sans',sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  padding:12px 26px;
  border-radius:50px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  transition:background .2s,transform .2s;
}
.kg-cta:hover{background:#922b21;transform:translateY(-2px)}
.kg-cta svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.5}

/* ═══ WAVY DIVIDER ═══ */
.kg-wavy-divider{text-align:center;margin:0 0 56px;position:relative;z-index:1}

/* ═══ RESPONSIVE ═══ */
@media(max-width:820px){
  .kg-row{grid-template-columns:1fr;gap:24px}
  .kg-row .kg-img-wrap{order:0!important}
  .kg-row .kg-content{order:1!important;padding:24px 20px}
  .kg-blob-frame{max-width:300px;margin:0 auto}
  .kgs-inner{padding:0 20px}
  .reveal-left,.reveal-right{transform:translateY(40px)}
}
@media(max-width:560px){
  .campus-hero{padding:140px 20px 80px}
  .kgs{padding:48px 0 60px}
  .kgs-header{margin-bottom:40px}
  .kg-content{padding:20px 16px}
}
/* ═══ PARENT TESTIMONIALS ═══ */

.parents-section{
  padding:90px 20px;
  background:#fff;
  text-align:center;
}

.parents-header span{
  font-size:11px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#c0392b;
}

.parents-header h2{
  font-size:clamp(28px,4vw,44px);
  color:#1a2356;
  font-weight:900;
  margin:12px 0;
}

.parents-header h2 em{
  color:#c0392b;
  font-style:normal;
}

.parents-header p{
  color:#777;
  max-width:550px;
  margin:0 auto 50px;
  line-height:1.7;
}

.testimonial-slider{
  position:relative;
  max-width:700px;
  margin:auto;
}

.testimonial-card{
  background:#fff;
  border-radius:28px;
  padding:45px;
  box-shadow:0 15px 50px rgba(0,0,0,.08);
  display:none;
}

.testimonial-card.active{
  display:block;
}

.quote{
  font-size:60px;
  color:#c9a84c;
  line-height:1;
  margin-bottom:10px;
}

.testimonial-card p{
  font-size:17px;
  color:#555;
  line-height:1.9;
  margin-bottom:25px;
}

.parent-info h4{
  color:#1a2356;
  font-size:18px;
  font-weight:800;
}

.parent-info span{
  color:#999;
  font-size:13px;
}

.testimonial-dots{
  margin-top:25px;
}

.dot{
  width:10px;
  height:10px;
  background:#ddd;
  border-radius:50%;
  display:inline-block;
  margin:0 5px;
  cursor:pointer;
}

.dot.active{
  background:#c0392b;
}

  /* ═══ HERO ═══ */
  .programme-hero {
    position: relative;
    width: 100%;
    min-height: 460px;
    background: url("/assets/why-us-77292eed.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 160px 40px 100px;
    overflow: hidden;
  }
  .programme-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:  linear-gradient(
      to bottom,
      rgba(26,35,86,0.55) 0%,
      rgba(26,35,86,0.78) 60%,
      rgba(26,35,86,0.94) 100%
    );
    z-index: 1;
  }
  .programme-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  .programme-hero-content nav a:hover { color: #c9a84c; }
  .programme-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,0.18);
    border: 1px solid rgba(201,168,76,0.45);
    color: #c9a84c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
  }
  .programme-hero-content h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
  }
  .programme-hero-content h1 span { color: #c9a84c; }
  .programme-hero-content p {
    font-size: clamp(13px, 1.5vw, 16px);
    color: rgba(255,255,255,.75);
    max-width: 540px;
    line-height: 1.8;
  }
  .programme-hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
  }
  .programme-hero-curve svg { display: block; width: 100%; height: 80px; }

  @media (max-width: 560px) {
    .programme-hero { padding: 140px 20px 80px; }
  }

  /* ── Section wrapper ── */
.cbse-section {
  padding: 80px 40px 90px;
  background: white;
  font-family: 'DM Sans', sans-serif;
}
 
/* ── Intro block ── */
.cbse-intro {
  max-width: 1100px;
  margin: 0 auto 60px;
}
.cbse-intro .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 12px;
}
.cbse-intro .section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.cbse-intro h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.cbse-intro h2 span { color: #c0392b; }
.cbse-intro p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.9;
  max-width: 900px;
  margin-bottom: 14px;
}
.cbse-intro p:last-child { margin-bottom: 0; }
 
/* ── Cards stack ── */
.cbse-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
 
/* ── Single card ── */
.cbse-blog-card {
  position: relative;
  padding: 30px;
  cursor: pointer;
  isolation: isolate; 
}
 
/* White card bg with clipped image */
.cbse-blog-card__background,
.cbse-card__bg-layer {
  z-index: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.cbse-blog-card__background {
  padding: 15px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(26,35,86,0.08);
}
.cbse-card__bg-wrapper {
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 58%);
  position: relative;
  overflow: hidden;
}
.cbse-card__bg-main {
  height: 100%;
  position: relative;
  transition: 350ms ease-in-out;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.cbse-card__bg-layer {
  z-index: 0;
  opacity: 0;
  background: rgba(26, 35, 86, 0.88);
  transition: 350ms ease-in-out;
}
 
/* Date box */
.cbse-date-box {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid #c9a84c;
  font-weight: 700;
  padding: 6px 12px;
  opacity: 0;
  transform: scale(0.5);
  transition: 300ms ease-in-out;
  background: rgba(26,35,86,0.6);
}
.cbse-date-box .date__day { font-size: 22px; line-height: 1; }
.cbse-date-box .date__month { font-size: 11px; letter-spacing: .12em; }
 
/* Head area (image height) */
.cbse-blog-card__head {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
/* Stage badge inside head */
.cbse-stage-badge {
  position: absolute;
  top: 46px; left: 46px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 5;
}
 
/* Info block */
.cbse-blog-card__info {
  position: relative;
  z-index: 10;
  background: #fff;
  padding: 24px 20px 20px;
}
.cbse-blog-card__info h5 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  transition: 300ms ease-in-out;
}
.cbse-blog-card__info .cbse-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}
.cbse-blog-card__info .cbse-meta a {
  color: #555;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.cbse-blog-card__info .cbse-meta a i { color: #c0392b; }
.cbse-blog-card__info .cbse-meta a:hover { color: #c0392b; }
.cbse-blog-card__info p {
  font-size: 14.5px;
  color: #666;
  line-height: 1.85;
  margin-bottom: 20px;
}
 
/* Read More button */
.cbse-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #1a2356;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  height: 48px;
  line-height: 48px;
  border: none;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.15);
  text-decoration: none;
  padding-right: 22px;
  transition: background .25s, color .25s;
}
.cbse-btn:hover {
  background: #c0392b;
  color: #fff;
}
.cbse-btn .btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px 0 16px;
  margin-right: 12px;
  background: #c0392b;
  clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
  color: #fff;
  font-size: 16px;
}
.cbse-btn:hover .btn-icon-wrap { background: #922b21; }
 
/* ── Hover states ── */
.cbse-blog-card:hover .cbse-date-box {
  opacity: 1;
  transform: scale(1);
}
.cbse-blog-card:hover .cbse-card__bg-main {
  transform: scale(1.15) rotate(4deg);
}
.cbse-blog-card:hover .cbse-card__bg-layer { opacity: 1; }
.cbse-blog-card:hover .cbse-blog-card__info h5 { color: #c0392b; }
 
/* ── Responsive ── */
@media (max-width: 768px) {
  .cbse-section { padding: 56px 20px 64px; }
  .cbse-blog-card { padding: 20px; }
  .cbse-blog-card__head { height: 220px; }
  .cbse-stage-badge { top: 36px; left: 36px; }
}
/* ═══ HERO ═══ */
  .primary-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    background: url("/assets/why-us-77292eed.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 160px 40px 110px;
    overflow: hidden;
  }
  .primary-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:  linear-gradient(
      to bottom,
      rgba(26,35,86,0.55) 0%,
      rgba(26,35,86,0.78) 60%,
      rgba(26,35,86,0.94) 100%
    );
    z-index: 1;
  }
  .primary-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  .primary-hero-content nav a:hover { color: var(--gold); }

  .primary-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,0.18);
    border: 1px solid rgba(201,168,76,0.45);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
  }
  .primary-hero-content h1 {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
  }
  .primary-hero-content h1 span { color: var(--gold); }
  .primary-hero-content p {
    font-size: clamp(13px, 1.5vw, 16px);
    color: rgba(255,255,255,.78);
    max-width: 560px;
    line-height: 1.85;
  }

  /* Grade pill */
  .hero-grade-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    letter-spacing: .04em;
  }
  .hero-grade-pill span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
  }

  .primary-hero-curve {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
  }
  .primary-hero-curve svg { display: block; width: 100%; height: 80px; }

  /* ═══ PROGRAMME OVERVIEW ═══ */
  .primary-overview {
    padding: 80px 40px 90px;
    background: #fff;
  }
  .primary-overview-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  /* Section label (reuse from campus page) */
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--red);
    border-radius: 2px;
  }

  .primary-overview-inner > .section-label { margin-bottom: 10px; }
  .primary-overview-inner > h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
    margin-bottom: 48px;
    line-height: 1.2;
  }
  .primary-overview-inner > h2 span { color: var(--red); }

  /* Two-column grid */
  .overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  /* Left: image column */
  .overview-img-col {
    position: relative;
  }
  .overview-img-col img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
  }
  /* Decorative accent */
  .overview-img-col::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px;
    width: 100%; height: 100%;
    border: 3px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
  }
  /* Floating badge on image */
  .overview-img-badge {
    position: absolute;
    bottom: 24px;
    right: -20px;
    background: var(--navy);
    color: #fff;
    padding: 16px 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(26,35,86,0.28);
  }
  .overview-img-badge .badge-num {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -.02em;
  }
  .overview-img-badge .badge-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 4px;
    color: rgba(255,255,255,0.75);
  }

   /* Right: features list */

  .overview-features-col p {
    font-size: 15.5px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 32px; 
  }
  .overview-features-col p strong { color: var(--navy); font-weight: 700; }

  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: #f7f8fc;
    border-radius: 14px;
    border-left: 4px solid var(--red);
    transition: box-shadow .25s, transform .25s, border-color .25s;
    cursor: default;
  }
  .feature-item:hover {
    box-shadow: 0 6px 24px rgba(192,57,43,0.12);
    transform: translateX(5px);
    border-color: var(--gold);
  }
  .feature-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .feature-text h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3px;
  }
  .feature-text p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
  }

  /* ═══ RESPONSIVE ═══ */
  @media (max-width: 960px) {
    .overview-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
    .overview-img-col img { height: 320px; }
    .overview-img-badge { right: 16px; }
    .overview-img-col::before { display: none; }
  }
  @media (max-width: 560px) {
    .primary-hero { padding: 140px 20px 80px; }
    .primary-overview { padding: 52px 20px 60px; }
  }

  /* ── Section ── */
.journey-section {
  padding: 80px 40px 90px;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;

  /* ADD THESE */
  background: url('image/why us.png') center/cover no-repeat;
  position: relative;
}
.journey-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(238, 228, 246, 0.88);
  z-index: 0;
  pointer-events: none;
}

.journey-section > * {
  position: relative;
  z-index: 1;
}
.journey-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.journey-inner > .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}
.journey-inner > .section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.journey-inner > h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.journey-inner > h2 span { color: #c0392b; }
.journey-inner > .journey-subtitle {
  font-size: 15px;
  color: #888;
  margin-bottom: 56px;
}

/* ── Timeline track ── */
.journey-timeline {
  position: relative;
  display: flex;
  gap: 0;
  align-items: flex-start;
}

/* Horizontal connector line */
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 36px; /* aligns with center of dot */
  left: 36px;
  right: 36px;
  height: 3px;
  background: linear-gradient(90deg, #c0392b 0%, #c9a84c 50%, #1a2356 100%);
  border-radius: 3px;
  z-index: 0;
}

/* Each grade column */
.journey-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Dot */
.journey-dot {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #eaeef5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(26,35,86,0.10);
  margin-bottom: 20px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  cursor: default;
  position: relative;
  z-index: 2;
}
.journey-step:hover .journey-dot {
  border-color: #c0392b;
  box-shadow: 0 6px 24px rgba(192,57,43,0.22);
  transform: scale(1.12);
}

/* Card */
.journey-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaeef5;
  padding: 22px 18px 20px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(26,35,86,0.06);
  transition: box-shadow .3s, transform .3s, border-color .3s;
  text-align: left;
}
.journey-step:hover .journey-card {
  box-shadow: 0 8px 28px rgba(192,57,43,0.13);
  transform: translateY(-5px);
  border-color: rgba(192,57,43,0.25);
}

/* Grade label */
.journey-grade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 12px;
}
.journey-grade::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}

/* Skills list */
.journey-skills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.journey-skills li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
  font-weight: 500;
}
.journey-skills li::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #c9a84c;
  margin-top: 5px;
}

/* Arrow between steps */
.journey-arrow {
  position: absolute;
  top: 36px; /* center of dot */
  right: -14px;
  width: 28px; height: 28px;
  background: #fff;
  border: 2px solid #c0392b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(192,57,43,0.15);
  transform: translateY(-50%);
}
.journey-arrow svg {
  width: 12px; height: 12px;
  stroke: #c0392b;
  fill: none;
  stroke-width: 2.5;
}
/* Don't show arrow on last step */
.journey-step:last-child .journey-arrow { display: none; }

/* ── Mobile horizontal scroll ── */
@media (max-width: 900px) {
  .journey-section { padding: 56px 0 64px; }
  .journey-inner { padding: 0 20px; }
  .journey-inner > h2,
  .journey-inner > .section-label,
  .journey-inner > .journey-subtitle { padding: 0; }

  .journey-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 20px;
    margin: 0 -20px;
    scrollbar-width: thin;
    scrollbar-color: #c0392b #eaeef5;
  }
  .journey-scroll-wrap::-webkit-scrollbar { height: 4px; }
  .journey-scroll-wrap::-webkit-scrollbar-track { background: #eaeef5; border-radius: 4px; }
  .journey-scroll-wrap::-webkit-scrollbar-thumb { background: #c0392b; border-radius: 4px; }

  .journey-timeline {
    width: max-content;
    min-width: 720px;
    gap: 0;
  }
  .journey-timeline::before { top: 36px; }
  .journey-step { width: 160px; }
}

@media (max-width: 560px) {
  .journey-section { padding: 48px 0 56px; }
}
.house-section {
  padding: 80px 40px 90px;
  background: #f7f8fc;
  font-family: 'DM Sans', sans-serif;
  position: relative;
}
.house-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.house-inner > .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}
.house-inner > .section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.house-inner > h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.house-inner > h2 span { color: #c0392b; }
.house-subtitle {
  font-size: 15px;
  color: #888;
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 52px;
}

/* ── Four house cards ── */
.house-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.house-card {
  border-radius: 20px;
  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform .3s, box-shadow .3s;
}
.house-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

/* Colour themes */
.house-card.prithvi {
  background: linear-gradient(145deg, #1a7a4a, #145c38);
  box-shadow: 0 6px 24px rgba(26,122,74,0.28);
}
.house-card.agni {
  background: linear-gradient(145deg, #c0392b, #922b21);
  box-shadow: 0 6px 24px rgba(192,57,43,0.28);
}
.house-card.vayu {
  background: linear-gradient(145deg, #1a5fa8, #134880);
  box-shadow: 0 6px 24px rgba(26,95,168,0.28);
}
.house-card.akash {
  background: linear-gradient(145deg, #c9a84c, #a07c28);
  box-shadow: 0 6px 24px rgba(201,168,76,0.32);
}

/* Large decorative emoji */
.house-card-emoji {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: transform .35s;
}
.house-card:hover .house-card-emoji {
  transform: scale(1.15) rotate(-5deg);
}

/* House name */
.house-card-name {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}

/* Element */
.house-card-element {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}

/* Divider */
.house-card-divider {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* Traits */
.house-card-traits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.house-card-traits li {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}

/* Watermark letter */
.house-card-watermark {
  position: absolute;
  bottom: -18px; right: -10px;
  font-size: 110px;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -.05em;
}

/* ── Inter-house info strip ── */
.house-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.house-info-card {
  background: #fff;
  border: 1px solid #eaeef5;
  border-left: 4px solid #c0392b;
  border-radius: 0 16px 16px 0;
  padding: 28px 28px 26px;
  transition: box-shadow .25s, transform .25s;
}
.house-info-card:hover {
  box-shadow: 0 6px 24px rgba(26,35,86,0.09);
  transform: translateX(4px);
}
.house-info-card:nth-child(2) { border-left-color: #c9a84c; }

.house-info-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.house-info-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #1a2356;
  margin-bottom: 10px;
}
.house-info-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 14px;
}
.house-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.house-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #555;
  font-weight: 500;
}
.house-info-list li::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #c0392b;
  margin-top: 5px;
}
.house-info-card:nth-child(2) .house-info-list li::before {
  background: #c9a84c;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .house-grid { grid-template-columns: repeat(2, 1fr); }
  .house-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .house-section { padding: 52px 20px 60px; }
  .house-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .house-card { padding: 28px 16px 24px; }
  .house-card-name { font-size: 18px; }
  .house-card-emoji { font-size: 40px; }
}

/* ═══ HERO ═══ */
  .middle-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    background: url("/assets/why-us-77292eed.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 160px 40px 110px;
    overflow: hidden;
  }
  .middle-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:  linear-gradient(
      to bottom,
      rgba(26,35,86,0.55) 0%,
      rgba(26,35,86,0.78) 60%,
      rgba(26,35,86,0.94) 100%
    );
    z-index: 1;
  }
  .middle-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  .middle-hero-content nav a:hover { color: var(--gold); }

  /* Grade pill */
  .hero-grade-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    letter-spacing: .04em;
  }
  .hero-grade-pill span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
  }

  /* Tag badge */
  .middle-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,0.18);
    border: 1px solid rgba(201,168,76,0.45);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
  }

  /* Heading */
  .middle-hero-content h1 {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
  }
  .middle-hero-content h1 span { color: var(--gold); }

  /* Subtitle */
  .middle-hero-content p {
    font-size: clamp(13px, 1.5vw, 16px);
    color: rgba(255,255,255,.78);
    max-width: 560px;
    line-height: 1.85;
    margin-bottom: 32px;
  }

  /* Stats row */
  .hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .hero-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .hero-stat-num {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1;
  }
  .hero-stat-num span { color: var(--gold); }
  .hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    align-self: center;
  }

  /* Wave curve */
  .middle-hero-curve {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
  }
  .middle-hero-curve svg { display: block; width: 100%; height: 80px; }

  /* ── Responsive ── */
  @media (max-width: 560px) {
    .middle-hero { padding: 140px 20px 80px; }
    .hero-stats { gap: 20px; }
    .hero-stat-divider { display: none; }
  }

.grades-section {
  padding: 80px 40px 90px;
  font-family: 'DM Sans', sans-serif;

  /* ADD THESE */
  background: url("/assets/bg7-766ba3e0.png") center/cover no-repeat;
  position: relative;
}

.grades-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.91);
  z-index: 0;
  pointer-events: none;
}

.grades-section > * {
  position: relative;
  z-index: 1;
}
.grades-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Section header */
.grades-inner > .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}
.grades-inner > .section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.grades-inner > h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.grades-inner > h2 span { color: #c0392b; }
.grades-intro-text {
  font-size: 15.5px;
  color: #555;
  line-height: 1.9;
  max-width: 860px;
  margin-bottom: 56px;
}

/* ── Grade block ── */
.grade-block {
  margin-bottom: 64px;
  border-bottom: 1px solid #eaeef5;
  padding-bottom: 64px;
}
.grade-block:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* Grade title */
.grade-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.grade-title-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #c0392b;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Two-col layout: quote card + image */
.grade-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.grade-quote-card {
  background: #f0f2f8;
  border-radius: 16px;
  padding: 28px 28px;
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  border-left: 4px solid #c0392b;
  border-radius: 0 16px 16px 0;
}
.grade-quote-card strong { color: #1a2356; font-weight: 700; }
.grade-img-col {
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
}
.grade-img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform .4s ease;
}
.grade-img-col:hover img { transform: scale(1.04); }

/* ── Subjects accordion ── */
.subjects-accordion {
  border: 1px solid #eaeef5;
  border-radius: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #f7f8fc;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
  font-family: 'DM Sans', sans-serif;
}
.accordion-trigger:hover { background: #eef0f7; }
.accordion-trigger.open { background: #1a2356; }
.accordion-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #c0392b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.accordion-trigger.open .accordion-icon-wrap { background: #c9a84c; }
.accordion-trigger-text {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a2356;
}
.accordion-trigger.open .accordion-trigger-text { color: #fff; }
.accordion-chevron {
  width: 20px; height: 20px;
  stroke: #999;
  fill: none;
  stroke-width: 2.5;
  transition: transform .3s, stroke .2s;
  flex-shrink: 0;
}
.accordion-trigger.open .accordion-chevron {
  transform: rotate(180deg);
  stroke: #c9a84c;
}

/* Accordion body */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
  background: #fff;
}
.accordion-body.open { max-height: 600px; }

/* Subjects table */
.subjects-table {
  width: 100%;
  border-collapse: collapse;
}
.subjects-table td {
  padding: 13px 18px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
  border: 1px solid #eaeef5;
  text-align: center;
  width: 33.33%;
  transition: background .2s, color .2s;
}
.subjects-table tr:nth-child(even) td { background: #f7f8fc; }
.subjects-table td:hover {
  background: #fff0ee;
  color: #c0392b;
  font-weight: 700;
}

/* Sports note */
.sports-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: #fffbf0;
  border-top: 1px solid #eaeef5;
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}
.sports-note-icon {
  width: 22px; height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #c9a84c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .grades-section { padding: 52px 20px 60px; }
  .grade-overview { grid-template-columns: 1fr; gap: 20px; }
  .grade-img-col { height: 200px; }
  .subjects-table td { padding: 10px 10px; font-size: 13px; }
}
@media (max-width: 480px) {
  .subjects-table { display: block; overflow-x: auto; }
}

.ecosystem-section {
 padding: 100px 40px 90px;
  font-family: 'DM Sans', sans-serif;

  /* Background image */
  background: url("/assets/bg5-eec74483.png") center/cover no-repeat;
  position: relative;
}

.ecosystem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,35,86,0.92) 0%, rgba(192,57,43,0.85) 100%);
  z-index: 0;
  pointer-events: none;
}

.ecosystem-section > * {
  position: relative;
  z-index: 1;
}

.ecosystem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.ecosystem-inner > .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}
.ecosystem-inner > .section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.ecosystem-inner > h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.ecosystem-inner > h2 span { color: #c0392b; }
.ecosystem-subtitle {
  font-size: 15px;
  color: #888;
  margin-bottom: 52px;
  max-width: 640px;
}

/* ── Layout: SVG left, info right ── */
.ecosystem-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

/* SVG diagram */
.ecosystem-diagram {
  position: relative;
}
.ecosystem-diagram svg {
  width: 100%;
  max-width: 500px;
  overflow: visible;
  display: block;
  margin: 0 auto;
}

/* Orbit node styles */
.eco-node {
  cursor: pointer;
  transition: all .3s;
}
.eco-node circle.outer {
  transition: r .35s cubic-bezier(.34,1.56,.64,1);
}
.eco-node circle.inner {
  transition: r .35s cubic-bezier(.34,1.56,.64,1), opacity .2s;
}
.eco-node:hover circle.outer { r: 76; }
.eco-node:hover circle.inner { r: 62; }
.eco-node text { pointer-events: none; }
.eco-node .eco-sub {
  opacity: 0;
  transition: opacity .3s .05s;
}
.eco-node:hover .eco-sub { opacity: 1; }

/* Connector lines */
.eco-connector {
  fill: none;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  transition: stroke-opacity .3s;
}

/* ── Right: Info panel ── */
.ecosystem-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eco-info-card {
  background: #f7f8fc;
  border: 1px solid #eaeef5;
  border-left: 4px solid #eaeef5;
  border-radius: 0 14px 14px 0;
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.eco-info-card:hover,
.eco-info-card.active {
  background: #fff;
  border-left-color: var(--eco-color, #c0392b);
  box-shadow: 0 4px 18px rgba(26,35,86,0.09);
  transform: translateX(4px);
}
.eco-info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.eco-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--eco-bg, #f0f2f8);
  flex-shrink: 0;
}
.eco-info-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #1a2356;
  margin: 0;
  letter-spacing: -.01em;
}
.eco-info-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), margin .3s;
  margin-top: 0;
}
.eco-info-card.active .eco-info-body {
  max-height: 120px;
  margin-top: 12px;
}
.eco-info-body p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.75;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ecosystem-layout { grid-template-columns: 1fr; gap: 32px; }
  .ecosystem-diagram svg { max-width: 380px; }
}
@media (max-width: 560px) {
  .ecosystem-section { padding: 52px 20px 60px; }
}
/* Section label */
.ecosystem-inner > .section-label {
  color: #c9a84c;
}
.ecosystem-inner > .section-label::before {
  background: #c9a84c;
}

/* Heading */
.ecosystem-inner > h2 {
  color: #fff;
}
.ecosystem-inner > h2 span {
  color: #c9a84c;
}

/* Subtitle */
.ecosystem-subtitle {
  color: rgba(255,255,255,0.65);
}

/* Info cards — frosted glass on dark bg */
.eco-info-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 4px solid rgba(255,255,255,0.15);
}
.eco-info-card:hover,
.eco-info-card.active {
  background: rgba(255,255,255,0.18);
  border-left-color: var(--eco-color, #c9a84c);
  box-shadow: 0 4px 20px rgba(0,0,0,0.30);
}

/* Card title */
.eco-info-card h4 {
  color: #fff;
}

/* Card body text */
.eco-info-body p {
  color: rgba(255,255,255,0.72);
}

/* Icon background */
.eco-info-icon {
  background: rgba(255,255,255,0.15);
}
/* ═════════ SECONDARY HERO ═════════ */

.secondary-hero{
  position:relative;
  width:100%;
  min-height:480px;
  background: url("/assets/why-us-77292eed.png") center/cover no-repeat;
  display:flex;
  align-items:center;
  padding:160px 40px 110px;
  overflow:hidden;
}

.secondary-hero::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(
      to bottom,
      rgba(26,35,86,0.55) 0%,
      rgba(26,35,86,0.78) 60%,
      rgba(26,35,86,0.94) 100%
    );
  z-index:1;
}

.secondary-hero-content{
  position:relative;
  z-index:2;
  max-width:1200px;
  width:100%;
  margin:auto;
}

.secondary-breadcrumb{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:500;
  margin-bottom:14px;
}

.secondary-breadcrumb a{
  color:rgba(255,255,255,.6);
  text-decoration:none;
}

.secondary-breadcrumb .active{
  color:#c9a84c;
  font-weight:600;
}

.secondary-breadcrumb span{
  color:rgba(255,255,255,.3);
}

.secondary-grade-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  font-size:13px;
  font-weight:700;
  padding:6px 16px;
  border-radius:50px;
  margin-bottom:14px;
}

.secondary-grade-pill span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c9a84c;
}

.secondary-hero-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:rgba(201,168,76,.18);
  border:1px solid rgba(201,168,76,.45);
  color:#c9a84c;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:5px 14px;
  border-radius:50px;
  margin-bottom:18px;
}

.secondary-hero h1{
  font-size:clamp(30px,4.5vw,54px);
  line-height:1.1;
  font-weight:800;
  color:#fff;
  margin-bottom:18px;
}

.secondary-hero h1 span{
  color:#c9a84c;
}

.secondary-hero p{
  max-width:620px;
  color:rgba(255,255,255,.8);
  line-height:1.9;
  font-size:16px;
  margin-bottom:32px;
}

.secondary-stats{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
}

.secondary-stat{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.secondary-stat-num{
  font-size:28px;
  font-weight:900;
  color:#fff;
  line-height:1;
}

.secondary-stat-num span{
  color:#c9a84c;
}

.secondary-stat-label{
  color:rgba(255,255,255,.55);
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.secondary-stat-divider{
  width:1px;
  height:40px;
  background:rgba(255,255,255,.2);
  align-self:center;
}

.secondary-curve{
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  z-index:3;
  line-height:0;
}

.secondary-curve svg{
  width:100%;
  height:80px;
  display:block;
}

@media(max-width:768px){

  .secondary-hero{
    padding:140px 20px 80px;
  }

  .secondary-stats{
    gap:20px;
  }

  .secondary-stat-divider{
    display:none;
  }
}
/* ── Section ── */
.pathway-section {
  padding: 80px 40px 90px;
  background:#fff;
  font-family: 'DM Sans', sans-serif;
  position: relative;
}
.pathway-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.pathway-inner > .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}
.pathway-inner > .section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.pathway-inner > h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.pathway-inner > h2 span { color: #c0392b; }
.pathway-subtitle {
  font-size: 15px;
  color: #888;
  margin-bottom: 60px;
  max-width: 580px;
  line-height: 1.75;
}

/* ── Flip cards row ── */
.pathway-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

/* Arrow connector between cards */
.pathway-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 8px;
}
.pathway-arrow-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #c0392b, #c9a84c);
  border-radius: 2px;
  position: relative;
}
.pathway-arrow-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid #c9a84c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.pathway-arrow-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c0392b;
}

/* ── Individual flip card ── */
.flip-card {
  background-color: transparent;
  width: 280px;
  height: 360px;
  perspective: 1200px;
  flex-shrink: 0;
}

/* Flip card inner */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.85s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back shared */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(26,35,86,0.13);
}

/* ── CARD 1: Grade 9 ── */
.flip-card.grade9 .flip-card-front {
  background: linear-gradient(145deg, #1a2356 0%, #2a3a7c 60%, #1a2356 100%);
  border: 1px solid rgba(201,168,76,0.3);
}
.flip-card.grade9 .flip-card-back {
  background: linear-gradient(145deg, #c0392b 0%, #e74c3c 55%, #922b21 100%);
  border: 1px solid rgba(255,255,255,0.15);
  transform: rotateY(180deg);
}

/* ── CARD 2: Grade 10 ── */
.flip-card.grade10 .flip-card-front {
  background: linear-gradient(145deg, #922b21 0%, #c0392b 60%, #e74c3c 100%);
  border: 1px solid rgba(201,168,76,0.3);
}
.flip-card.grade10 .flip-card-back {
  background: linear-gradient(145deg, #1a2356 0%, #2a3a7c 55%, #0f1a40 100%);
  border: 1px solid rgba(255,255,255,0.12);
  transform: rotateY(180deg);
}

/* ── CARD 3: Future Pathways ── */
.flip-card.future .flip-card-front {
  background: linear-gradient(145deg, #c9a84c 0%, #e8c56a 55%, #a07c28 100%);
  border: 1px solid rgba(255,255,255,0.2);
}
.flip-card.future .flip-card-back {
  background: linear-gradient(145deg, #1a2356 0%, #c0392b 100%);
  border: 1px solid rgba(201,168,76,0.25);
  transform: rotateY(180deg);
}

/* ── Front content ── */
.flip-front-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.flip-front-step {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.flip-front-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.flip-card.future .flip-front-title { color: #1a2356; }
.flip-card.future .flip-front-step { color: rgba(26,35,86,0.55); }
.flip-front-sub {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.flip-card.future .flip-front-sub { color: rgba(26,35,86,0.55); }

/* Hover hint */
.flip-hint {
  position: absolute;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.flip-card.future .flip-hint { color: rgba(26,35,86,0.35); }
.flip-hint svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ── Back content ── */
.flip-back-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.flip-back-title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.flip-back-divider {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.flip-back-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
}
.flip-back-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  line-height: 1.4;
}
.flip-back-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: #c9a84c;
  margin-top: 4px;
}

/* ── Bottom caption row ── */
.pathway-caption-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
  align-items: flex-start;
}
.pathway-caption {
  width: 280px;
  text-align: center;
  flex-shrink: 0;
}
.pathway-caption-arrow { width: 64px; flex-shrink: 0; }
.pathway-caption h4 {
  font-size: 13px;
  font-weight: 800;
  color: #1a2356;
  margin-bottom: 4px;
}
.pathway-caption p {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .pathway-section {
    padding: 60px 24px 70px;
  }

  .pathway-cards-row {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .flip-card {
    width: min(300px, 100%);
    height: 360px;
  }

  /* Replace sideways arrow with a vertical down arrow */
  .pathway-arrow {
    flex-direction: column;
    align-items: center;
    padding: 6px 0;
    gap: 2px;
    transform: none; /* remove the broken rotation */
  }

  .pathway-arrow-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, #c0392b, #c9a84c);
  }

  /* Down-pointing arrowhead */
  .pathway-arrow-line::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #c9a84c;
    border-bottom: none;
  }

  .pathway-arrow-label {
    font-size: 9px;
  }

  .pathway-caption-row {
    display: none;
  }
}

@media (max-width: 560px) {
  .pathway-section {
    padding: 40px 16px 52px;
  }

  .flip-card {
    width: 100%;
    max-width: 320px;
    height: 340px;
  }

  .flip-front-title {
    font-size: 20px;
  }
}
/* ── Success Metrics Section ── */
.metrics-section {
  position: relative;
  width: 100%;
  padding: 100px 40px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* Background image layer */
.metrics-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/why-us-77292eed.png") center / cover no-repeat;
  z-index: 0;
}

/* Dark gradient overlay — navy-to-red diagonal */
.metrics-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 86, 0.94) 0%,
    rgba(26, 35, 86, 0.88) 40%,
    rgba(146, 43, 33, 0.82) 75%,
    rgba(192, 57, 43, 0.90) 100%
  );
}

/* Decorative geometric accent */
.metrics-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 500px at 90% 20%, rgba(26,35,86,0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Dot-grid texture overlay */
.metrics-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Top wave curve */
.metrics-curve-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.metrics-curve-top svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* Bottom wave curve */
.metrics-curve-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.metrics-curve-bottom svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* Inner content wrapper */
.metrics-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.metrics-header {
  text-align: center;
  margin-bottom: 64px;
}

.metrics-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.40);
  color: #c9a84c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.metrics-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a84c;
  display: inline-block;
}

.metrics-header h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.metrics-header h2 em {
  font-style: normal;
  color: #c9a84c;
}

.metrics-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Counter Cards Grid ── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px 28px 36px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(201,168,76,0.35);
}

.metric-card:hover::before {
  opacity: 1;
}

/* Icon circle */
.metric-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  transition: background 0.35s ease;
}

.metric-card:hover .metric-icon {
  background: rgba(201,168,76,0.25);
}

/* Counter number */
.metric-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.metric-count {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.metric-suffix {
  font-size: 22px;
  font-weight: 800;
  color: #c9a84c;
  line-height: 1;
  margin-top: 6px;
}

/* Label */
.metric-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Divider accent inside card */
.metric-divider {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #c0392b, #c9a84c);
  border-radius: 2px;
  margin: 14px auto 16px;
}

/* ── Bottom trust badge row ── */
.metrics-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.metrics-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.metrics-trust-item svg {
  width: 18px;
  height: 18px;
  stroke: #c9a84c;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.metrics-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .metrics-section {
    padding: 80px 24px;
  }
}

@media (max-width: 520px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .metrics-section {
    padding: 70px 16px;
  }

  .metric-card {
    padding: 28px 16px 24px;
  }

  .metric-count {
    font-size: 36px;
  }

  .metric-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 10px;
  }

  .metrics-trust {
    gap: 16px;
    margin-top: 40px;
  }

  .metrics-trust-dot {
    display: none;
  }

  .metrics-header {
    margin-bottom: 44px;
  }
}
/* ── Section wrapper ── */
.board-section {
  padding: 100px 40px 110px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Subtle background geometry */
.board-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.board-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,35,86,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.board-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Two-column layout ── */
.board-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── LEFT: Text side ── */


.board-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 14px;
}

.board-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #c0392b;
  border-radius: 2px;
}

.board-left h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.board-left h2 span {
  color: #c0392b;
}

.board-left > p {
  font-size: 15px;
  color: #777;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 460px;
}

/* ── Feature checklist ── */
.board-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 44px;
}

.board-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.board-feature:hover {
  background: #fff5f4;
  border-color: rgba(192,57,43,0.18);
  transform: translateX(4px);
}

.board-feature-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(192,57,43,0.25);
}

.board-feature-check svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-feature span {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2356;
  line-height: 1.35;
}

/* CTA Button */
.board-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a2356, #2a3a7c);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 24px rgba(26,35,86,0.22);
}

.board-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,35,86,0.30);
}

.board-cta svg {
  width: 16px;
  height: 16px;
  stroke: #c9a84c;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ── RIGHT: Visual card ── */
.board-right {
  position: relative;
}

/* Main card */
.board-card {
  position: relative;
  background: linear-gradient(145deg, #1a2356 0%, #0f1a40 60%, #1a2356 100%);
  border-radius: 28px;
  padding: 44px 40px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,35,86,0.28);
}

/* Card inner geometric decoration */
.board-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 40px solid rgba(201,168,76,0.08);
  pointer-events: none;
}

.board-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 30px solid rgba(192,57,43,0.10);
  pointer-events: none;
}

/* Card header */
.board-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.board-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.board-card-header-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}

.board-card-header-text p {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Progress bars */
.board-progress-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}



.board-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.board-progress-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.board-progress-pct {
  font-size: 13px;
  font-weight: 700;
  color: #c9a84c;
}

.board-progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
}

.board-progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #c0392b, #c9a84c);
  width: 0%;
  transition: width 1.4s cubic-bezier(.4, 0, .2, 1);
}

/* Result badges row */
.board-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.board-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s ease;
}

.board-badge:hover {
  background: rgba(255,255,255,0.12);
}

.board-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.board-badge-dot.gold { background: #c9a84c; }
.board-badge-dot.red  { background: #e74c3c; }
.board-badge-dot.blue { background: #5b8dee; }
.board-badge-dot.green { background: #27ae60; }

/* Floating accent pill (top right of card) */
.board-card-pill {
  position: absolute;
  top: -4px;
  right: 32px;
  background: linear-gradient(135deg, #c9a84c, #e8c56a);
  color: #1a2356;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(201,168,76,0.35);
  z-index: 2;
}

/* Decorative vertical line left of card */
.board-card-line {
  position: absolute;
  left: -20px;
  top: 10%;
  bottom: 10%;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #c9a84c 0%, #c0392b 50%, transparent 100%);
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .board-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .board-section {
    padding: 80px 24px 90px;
  }

  .board-card-line {
    display: none;
  }

  .board-left h2 {
    font-size: clamp(24px, 5vw, 34px);
  }
}

@media (max-width: 560px) {
  .board-section {
    padding: 60px 16px 70px;
  }

  .board-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .board-card {
    padding: 32px 24px;
  }

  .board-card-pill {
    right: 16px;
    font-size: 10px;
    padding: 6px 14px;
  }
}

/* ── Section ── */
.labs-section {
  padding: 100px 40px 110px;
  background: #f7f8fc;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Subtle top divider pattern */
.labs-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a2356 0%, #c0392b 50%, #c9a84c 100%);
}

.labs-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.labs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}



.labs-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 12px;
}

.labs-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}

.labs-header h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.labs-header h2 span { color: #c0392b; }

.labs-header p {
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  max-width: 480px;
}

/* ── Tab pills ── */
.labs-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.labs-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  background: #fff;
  border-color: #e8e8f0;
  color: #555;
  user-select: none;
}

.labs-tab:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.labs-tab.active {
  background: linear-gradient(135deg, #1a2356, #2a3a7c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(26,35,86,0.22);
}

.labs-tab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.labs-tab.active .labs-tab-dot {
  background: #c9a84c;
  opacity: 1;
}

/* ── MAIN GALLERY GRID ── */
.labs-gallery {
  display: none;
  animation: labsFadeIn 0.45s ease;
}

.labs-gallery.active { display: grid; }

@keyframes labsFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Grid layout: 1 large + 3 smaller */
.labs-gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 340px 220px;
  gap: 16px;
}

/* Large featured image spans 2 rows on left */
.lab-img-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.lab-img-item.featured {
  grid-row: 1 / 3;
}

/* Image fills the card */
.lab-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}

.lab-img-item:hover img {
  transform: scale(1.06);
}

/* Gradient overlay always present (subtle) */
.lab-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,35,86,0) 30%,
    rgba(26,35,86,0.70) 100%
  );
  transition: background 0.35s ease;
}

.lab-img-item:hover .lab-img-overlay {
  background: linear-gradient(
    160deg,
    rgba(26,35,86,0.15) 0%,
    rgba(26,35,86,0.82) 100%
  );
}

/* Label chip at bottom left */
.lab-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.lab-img-label h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.lab-img-item.featured .lab-img-label h4 {
  font-size: 22px;
}

.lab-img-label p {
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  line-height: 1.4;
}

/* Gold accent pill on featured */
.lab-featured-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.92);
  color: #1a2356;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.lab-featured-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1a2356;
}

/* Hover expand icon */
.lab-expand-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lab-img-item:hover .lab-expand-icon {
  opacity: 1;
  transform: scale(1);
}

.lab-expand-icon svg {
  width: 16px; height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ── Bottom info strip below gallery ── */
.labs-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.labs-info-card {
  background: #fff;
  border: 1px solid #eeeef5;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.labs-info-card:hover {
  box-shadow: 0 8px 28px rgba(26,35,86,0.09);
  transform: translateY(-3px);
}

.labs-info-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.labs-info-icon.physics  { background: rgba(26,35,86,0.08); }
.labs-info-icon.chemistry{ background: rgba(192,57,43,0.08); }
.labs-info-icon.biology  { background: rgba(39,174,96,0.08); }
.labs-info-icon.computer { background: rgba(201,168,76,0.12); }

.labs-info-text h5 {
  font-size: 14px;
  font-weight: 800;
  color: #1a2356;
  margin-bottom: 4px;
}

.labs-info-text p {
  font-size: 12px;
  color: #999;
  line-height: 1.55;
}

/* ── Lightbox ── */
.labs-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,12,30,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.labs-lightbox.open {
  display: flex;
}

.labs-lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.labs-lightbox-inner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: cover;
}

.labs-lightbox-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,35,86,0.95), transparent);
  padding: 32px 28px 24px;
  color: #fff;
}

.labs-lightbox-caption h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.labs-lightbox-caption p {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
}

.labs-lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
  line-height: 1;
}

.labs-lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .labs-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px;
  }
}

@media (max-width: 768px) {
  .labs-section { padding: 72px 20px 80px; }

  .labs-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .labs-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .lab-img-item.featured {
    grid-row: auto;
    height: 280px;
  }

  .lab-img-item {
    height: 200px;
  }

  .labs-info-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .labs-section { padding: 56px 16px 64px; }

  .labs-tabs { gap: 8px; }

  .labs-tab {
    padding: 8px 14px;
    font-size: 12px;
  }

  .labs-info-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .labs-info-card { padding: 16px 14px; gap: 10px; }
}

.srsecondary-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: url('image/why us.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 160px 40px 110px;
  overflow: hidden;
}

/* Diagonal gradient — richer gold tint for senior stage distinction */
.srsecondary-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(26,35,86,0.55) 0%,
      rgba(26,35,86,0.78) 60%,
      rgba(26,35,86,0.94) 100%
    );
  z-index: 1;
}

/* Subtle gold shimmer overlay unique to senior pages */
.srsecondary-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 700px 400px at 80% 60%,
    rgba(201, 168, 76, 0.10) 0%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

.srsecondary-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

/* Breadcrumb */
.srsecondary-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}

.srsecondary-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.srsecondary-breadcrumb a:hover {
  color: #c9a84c;
}

.srsecondary-breadcrumb .active {
  color: #c9a84c;
  font-weight: 600;
}

.srsecondary-breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

/* Grade pill */
.srsecondary-grade-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.srsecondary-grade-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a84c;
  display: inline-block;
}

/* Tag */
.srsecondary-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: #c9a84c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

/* Heading */
.srsecondary-hero h1 {
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.srsecondary-hero h1 span {
  color: #c9a84c;
}

/* Description */
.srsecondary-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 32px;
}



/* Bottom curve */
.srsecondary-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.srsecondary-curve svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .srsecondary-hero {
    padding: 140px 20px 80px;
  }

  .srsecondary-stats {
    gap: 20px;
  }

  .srsecondary-stat-divider {
    display: none;
  }

  .srsecondary-streams {
    gap: 8px;
  }

  .srsecondary-stream-badge {
    font-size: 12px;
    padding: 7px 14px;
  }
}

@media (max-width: 480px) {
  .srsecondary-hero {
    padding: 120px 16px 70px;
    min-height: 420px;
  }

  .srsecondary-hero h1 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .srsecondary-hero p {
    font-size: 14px;
  }
}

/* ── Section ── */
.stream-section {
  padding: 90px 40px 100px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Faint dot-grid background */
.stream-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,35,86,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.stream-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Section header ── */
.stream-header {
  text-align: center;
  margin-bottom: 64px;
}

.stream-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 14px;
}
.stream-label::before,
.stream-label::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #c0392b;
  border-radius: 2px;
}

.stream-header h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  color: #1a2356;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.stream-header h2 span { color: #c0392b; }

.stream-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Two column layout: image + factors ── */
.stream-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 72px;
}

.stream-intro-img {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  position: relative;
}
.stream-intro-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform .4s ease;
}
.stream-intro-img:hover img { transform: scale(1.04); }

/* Gold border accent */
.stream-intro-img::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  width: 100%; height: 100%;
  border: 3px solid #c9a84c;
  border-radius: 20px;
  z-index: -1;
}

/* Floating badge on image */
.stream-img-badge {
  position: absolute;
  bottom: 24px; right: -18px;
  background: #1a2356;
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(26,35,86,0.28);
  z-index: 2;
}
.stream-img-badge .badge-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #c9a84c;
  line-height: 1;
}
.stream-img-badge .badge-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* Right: text + factors */
.stream-intro-text h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  color: #1a2356;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.stream-intro-text h3 span { color: #c0392b; }

.stream-intro-text > p {
  font-size: 15px;
  color: #666;
  line-height: 1.85;
  margin-bottom: 28px;
}

/* 3 factor cards */
.stream-factors {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.stream-factor {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #f7f8fc;
  border: 1px solid #eaeef5;
  border-left: 4px solid #c0392b;
  border-radius: 0 12px 12px 0;
  transition: box-shadow .25s, transform .25s;
}
.stream-factor:nth-child(2) { border-left-color: #1a2356; }
.stream-factor:nth-child(3) { border-left-color: #c9a84c; }
.stream-factor:hover {
  box-shadow: 0 4px 16px rgba(26,35,86,0.08);
  transform: translateX(4px);
}
.stream-factor-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #c0392b;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stream-factor:nth-child(2) .stream-factor-num { background: #1a2356; }
.stream-factor:nth-child(3) .stream-factor-num { background: #c9a84c; }
.stream-factor-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: #1a2356;
  margin-bottom: 2px;
}
.stream-factor-text p {
  font-size: 12.5px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* Career services note */
.stream-career-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(26,35,86,0.05), rgba(192,57,43,0.04));
  border: 1px solid #eaeef5;
  border-radius: 14px;
}
.stream-career-note-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.stream-career-note p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.stream-career-note p strong { color: #1a2356; }

/* ── Group selector tabs ── */
.stream-selector-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.stream-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid #e8e8f0;
  background: #fff;
  color: #888;
  letter-spacing: .01em;
  transition: all .28s ease;
  user-select: none;
  font-family: 'DM Sans', sans-serif;
}
.stream-selector-btn:hover { border-color: #c0392b; color: #c0392b; }
.stream-selector-btn.active {
  background: linear-gradient(135deg, #1a2356, #2a3a7c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(26,35,86,0.22);
}
.stream-selector-btn .btn-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  flex-shrink: 0;
  transition: opacity .2s;
}
.stream-selector-btn.active .btn-dot { background: #c9a84c; opacity: 1; }

/* ── Cards grid ── */
.stream-cards-grid {
  display: grid;
  gap: 28px;
  animation: streamFadeIn .4s ease;
}
.stream-cards-grid.two-col   { grid-template-columns: repeat(2, 1fr); }
.stream-cards-grid.one-col   { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }

@keyframes streamFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Stream card ── */
.stream-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  border: 2px solid transparent;
}
.stream-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(26,35,86,0.16);
}

/* Science — navy */
.stream-card.science {
  background: linear-gradient(145deg, #1a2356 0%, #0f1840 55%, #1a2356 100%);
  border-color: rgba(201,168,76,0.25);
}
/* Commerce — red */
.stream-card.commerce {
  background: linear-gradient(145deg, #922b21 0%, #c0392b 55%, #7b241c 100%);
  border-color: rgba(201,168,76,0.20);
}

/* Decorative rings */
.stream-card::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 44px solid rgba(255,255,255,0.05);
  pointer-events: none; z-index: 1;
}
.stream-card::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.04);
  pointer-events: none; z-index: 1;
}

.stream-card-body {
  padding: 44px 40px 40px;
  position: relative;
  z-index: 2;
}

/* Gold pill */
.stream-card-pill {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,0.20);
  border: 1px solid rgba(201,168,76,0.40);
  color: #c9a84c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
}

/* Stream icon */
.stream-card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: background .3s;
}
.stream-card:hover .stream-card-icon { background: rgba(255,255,255,0.16); }

.stream-card-name {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.stream-card-tagline {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 20px;
}
.stream-card-divider {
  width: 40px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c9a84c, rgba(201,168,76,0.3));
  margin-bottom: 24px;
}

/* ── Combination cards ── */
.stream-combinations {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.stream-combo {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 16px 18px;
  transition: background .2s, border-color .2s;
}
.stream-combo:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(201,168,76,0.30);
}
.stream-combo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.stream-combo-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9a84c;
}
.stream-combo-count {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: .06em;
}
.stream-combo-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stream-combo-subject {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 11px;
  border-radius: 50px;
  letter-spacing: .02em;
}
.stream-combo-subject.highlight {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.35);
  color: #c9a84c;
}

/* Card footer */
.stream-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.stream-card-footer-stat { display: flex; flex-direction: column; gap: 2px; }
.stream-footer-num {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stream-footer-num span { color: #c9a84c; }
.stream-footer-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.40);
}
.stream-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
  cursor: pointer;
}
.stream-card-btn:hover {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.45);
  color: #c9a84c;
}
.stream-card-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ── Bottom note ── */
.stream-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  padding: 20px 28px;
  background: #fafafa;
  border: 1px solid #eeeef5;
  border-radius: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.stream-note-icon { font-size: 22px; flex-shrink: 0; }
.stream-note p { font-size: 13.5px; color: #888; line-height: 1.65; margin: 0; }
.stream-note p strong { color: #1a2356; font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .stream-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .stream-intro-img { height: 280px; }
  .stream-intro-img::before { display: none; }
  .stream-img-badge { right: 16px; }
  .stream-cards-grid.two-col { grid-template-columns: 1fr; }
  .stream-card-body { padding: 36px 28px 32px; }
}
@media (max-width: 560px) {
  .stream-section { padding: 56px 20px 64px; }
  .stream-card-name { font-size: 22px; }
  .stream-card-body { padding: 28px 20px 24px; }
  .stream-selector-btn { padding: 10px 18px; font-size: 13px; }
}