  :root {
    --green-deep:   #006b6e;
    --green-mid:    #008080;
    --green-light:  #00a5a0;
    --amber:        #ce9c00;
    --amber-light:  #ce9c00;
    --cream:        #f0fafa;
    --cream-dark:   #e2f3f3;
    --white:        #ffffff;
    --text-dark:    #0c2222;
    --text-mid:     #2a4040;
    --text-muted:   #5a7070;
    --radius:       12px;
    --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  @font-face {
  font-family: 'Buvera';
  src: url('fonts/Buvera-VF.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    font-family: 'Buvera', sans-serif;
    line-height: 1;
  }

  /* ── STICKY NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: rgba(255,255,255,1);
    backdrop-filter: blur(12px);
    padding: 8px 5%;
    padding-top:12px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(0,193,178,0.25);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    color: var(--amber-light);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    flex-shrink: 0;
  }
  .nav-logo img{
    max-height: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .nav-logo span { color: var(--white); font-weight: 400; }
  .nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  .nav-links a {
    color: var(--green-deep);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
  }
  .nav-links a:hover { color: var(--amber-light); background: rgba(201,134,42,0.1); }

  .nav-right {
    display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  }

  .nav-cta {
    background: var(--amber);
    color: var(--white);
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none; cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    text-decoration: none;
  }
  .nav-cta:hover { background: var(--amber-light); transform: translateY(-1px); }

  /* hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: var(--green-deep);
  border: 1px solid rgba(0, 90, 93, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white); /* ← was --white, invisible on white nav */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* mobile dropdown */
  .nav-mobile-menu {
    position: fixed;
    top: 57px; left: 0; right: 0;
    z-index: 199;
    background: rgba(0, 90, 93, 0.99);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,193,178,0.2);
    display: flex;
    flex-direction: column;
    padding: 26px 6% 22px;
    gap: 2px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }
  .nav-mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-mobile-link {
    color: rgba(245,240,232,0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color var(--transition);
  }
  .nav-mobile-link:hover { color: var(--amber-light); }
  .nav-mobile-cta {
    margin-top: 14px;
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 10px;
  }

  @media (max-width: 820px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-desktop-cta{display:none;}
    .nav-logo img{max-height:35px;}
    /* Keep the desktop CTA visible on mobile — just hide it from the dropdown */
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background:
      linear-gradient(160deg, rgba(0,107,110,0.90) 0%, rgba(0,107,110,0.28) 55%, rgba(0,107,110,0.1) 100%),
      url('images/aashryam-college-building-2.webp') center/cover no-repeat;
    display: flex; align-items: center; 
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
  }

  /*.hero::after {*/
  /*  content: '';*/
  /*  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;*/
  /*  background: linear-gradient(to top, var(--cream), transparent);*/
  /*  pointer-events: none;*/
  /*}*/

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,193,178,0.18);
    border: 1px solid rgba(0,193,178,0.45);
    color: #7eeee8;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease both;
  }

  .hero-content { max-width: 680px; }

  .hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeUp 0.9s 0.1s ease both;
    line-height: ;
  }
  .hero-title em {
    font-style: italic;
    color: var(--amber-light);
  }

  .hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: rgba(245,240,232,0.85);
    line-height: 1.3;
    max-width: 520px;
    margin-bottom: 36px;
    font-weight: 300;
    animation: fadeUp 0.9s 0.2s ease both;
  }

  .hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeUp 0.9s 0.3s ease both;
  }

  .btn-primary {
    background: var(--amber);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none; cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,134,42,0.35); }

  .btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1.5px solid rgba(255,255,255,0.45);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

  /* ── TRUST BAR ── */
  .trust-bar {
    background: var(--green-deep);
    padding: 32px 5%;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
  }
  .trust-item {
    text-align: center;
    padding: 16px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .trust-item:last-child { border-right: none; }
  .trust-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--amber-light);
    line-height: 1;
  }
  .trust-label {
    font-size: 0.78rem;
    color: rgba(245,240,232,0.65);
    margin-top: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* ── SECTIONS ── */
  section { padding: 90px 5%; }

  .section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-label::before {
    content: '';
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--amber);
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green-deep);
    margin-bottom: 16px;
  }
  .section-sub {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 580px;
  }

  /* ── CHALLENGE → SOLUTION ── */
  .challenge-section { background: var(--cream-dark); }
  .challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 50px;
    align-items: start;
  }
  .challenge-text h3 {
    font-size: 1.7rem;
    color: var(--green-deep);
    margin-bottom: 14px;
  }
  .challenge-text p {
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 18px;
    font-size: 0.97rem;
  }

  /* 2×2 value grid — no icons */
  .value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    border-left: 3px solid var(--green-light);
    box-shadow: 0 2px 12px rgba(26,48,40,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
  }
  .value-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,48,40,0.1); }
  .value-card h4 { font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--green-deep); margin-bottom: 5px; }
  .value-card p { font-size: 0.81rem; color: var(--text-muted); line-height: 1.55; }

  /* ── CHALLENGE SECTION IMAGE CAROUSEL ── */
.challenge-carousel {
  position: sticky;
  top: 90px;
}
.challenge-track-outer {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(26,48,40,0.14);
}
.challenge-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.challenge-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}
.challenge-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.challenge-slide:hover img { transform: scale(1.04); }
.challenge-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,48,40,0.85), transparent);
  padding: 32px 20px 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.challenge-carousel-nav { margin-top: 16px; justify-content: flex-end; }
.challenge-btn {
  border-color: rgba(26,48,40,0.2) !important;
  background: rgba(26,48,40,0.06) !important;
  color: var(--green-deep) !important;
}
.challenge-btn:hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: white !important;
}
#challengeDots .carousel-dot { background: rgba(26,48,40,0.2); }
#challengeDots .carousel-dot.active { background: var(--amber); }

  /* carousel nav shared styles */
  .carousel-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    justify-content: flex-end;
  }
  .carousel-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
  }
  .carousel-btn:hover { background: var(--amber); border-color: var(--amber); }
  .carousel-btn:disabled { opacity: 0.3; cursor: default; }
  .carousel-btn:disabled:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
  .carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
  }
  .carousel-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all var(--transition);
  }
  .carousel-dot.active {
    background: var(--amber-light);
    width: 20px;
    border-radius: 3px;
  }

  /* ── COURSES ── */
/* ── Courses Section ── */
.courses-section { background: var(--white); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

/* ── Base Card ── */
.course-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26,48,40,0.1);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ── Hover: ALL cards turn green ── */
.course-card:hover {
  background: var(--green-deep);
  border-color: var(--amber);
  transform: translateY(-6px)!important;;
  box-shadow: 0 20px 48px rgba(26,48,40,0.22);
}

/* Text colors on hover — normal cards */
.course-card:hover .course-tag,
.course-card:hover .course-title,
.course-card:hover .course-desc,
.course-card:hover .career-label,
.course-card:hover .course-seats,
.course-card:hover .addons-title-highlight {
  color: var(--cream) !important;
}

.course-card:hover .career-item { color: rgba(245,240,232,0.85); }
.course-card:hover .career-item::before { background: var(--amber); }
.course-card:hover .course-seats strong { color: var(--amber); }
.course-card:hover .course-footer { border-top-color: rgba(255,255,255,0.12); }
.course-card:hover .fee-box { background: rgba(255,255,255,0.15); }
.course-card:hover .fee-icon,
.course-card:hover .fee-label,
.course-card:hover .fee-year { color: rgba(245,240,232,0.7) !important; }
.course-card:hover .fee-price { color: var(--cream) !important; }
.course-card:hover .addon-badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(245,240,232,0.9); }
.course-card:hover .addon-icon { color: var(--amber); }
.course-card:hover .course-apply-btn { background: var(--amber); color: var(--white); }
.course-card:hover .course-badge { background: var(--amber); color: var(--white); }

/* ── Featured Card — default state (no amber border, same as normal) ── */
.course-card.featured {
  background: var(--cream);
  border-color: rgba(26,48,40,0.1);
  border-width: 1px;
}

/* Featured default text — same as normal cards */
.course-card.featured .course-title { color: var(--green-deep); }
.course-card.featured .course-tag { color: var(--amber); }
.course-card.featured .course-desc { color: var(--text-mid); }
.course-card.featured .career-label { color: var(--text-muted); }
.course-card.featured .career-item { color: var(--text-mid); }
.course-card.featured .career-item::before { background: var(--green-light); }
.course-card.featured .course-footer { border-top-color: rgba(26,48,40,0.08); }
.course-card.featured .course-seats { color: var(--text-muted); }
.course-card.featured .course-seats strong { color: var(--green-deep); }
.course-card.featured .addons-title-highlight { color: #666; }
.course-card.featured .addon-badge { background: #f4ffff; border-color: #c9d7d7; color: #222; }
.course-card.featured .addon-icon { color: #005353; }
.course-card.featured .fee-box { background: rgba(26,48,40,0.06); }
.course-card.featured .fee-icon { color: var(--green-deep); }
.course-card.featured .fee-label { color: #666; }
.course-card.featured .fee-price { color: #006b6e; }
.course-card.featured .fee-year { color: #666; }
.course-card.featured .course-apply-btn { color: var(--white); }

/* ── Featured Card Hover — explicit overrides to win specificity battle ── */
.course-card.featured:hover {
  background: var(--green-deep) !important;
  border-color: var(--amber) !important;
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26,48,40,0.22);
}

.course-card.featured:hover .course-title,
.course-card.featured:hover .course-tag,
.course-card.featured:hover .course-desc,
.course-card.featured:hover .career-label,
.course-card.featured:hover .career-item,
.course-card.featured:hover .course-seats,
.course-card.featured:hover .addons-title-highlight { color: var(--cream) !important; }

.course-card.featured:hover .career-item::before { background: var(--amber); }
.course-card.featured:hover .course-footer { border-top-color: rgba(255,255,255,0.12); }
.course-card.featured:hover .course-seats strong { color: var(--amber) !important; }
.course-card.featured:hover .fee-box { background: rgba(255,255,255,0.15); }
.course-card.featured:hover .fee-icon,
.course-card.featured:hover .fee-label,
.course-card.featured:hover .fee-year { color: rgba(245,240,232,0.7) !important; }
.course-card.featured:hover .fee-price { color: var(--cream) !important; }
.course-card.featured:hover .addon-badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(245,240,232,0.9); }
.course-card.featured:hover .addon-icon { color: var(--amber); }
.course-card.featured:hover .course-apply-btn { background: var(--amber); color: var(--white); }

/* ── Inner Elements ── */
.course-header {
  padding: 28px 26px 20px;
  flex: 1;
}

.course-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.course-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-left: 8px;
  transition: background 0.4s ease, color 0.4s ease;
}

.course-title {
  font-size: 1.45rem;
  color: var(--green-deep);
  margin-bottom: 12px;
  font-weight: 700;
  transition: color 0.4s ease;
}

.course-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.4;
  margin-bottom: 18px;
  transition: color 0.4s ease;
}

.career-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.career-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.career-item {
  font-size: 0.84rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
}

.career-item::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.course-footer {
  padding: 18px 26px;
  border-top: 1px solid rgba(26,48,40,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-top-color 0.4s ease;
}

.course-seats {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.course-seats strong {
  color: var(--green-deep);
  font-weight: 600;
  transition: color 0.4s ease;
}

.course-apply-btn {
  background: var(--green-deep);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, opacity 0.2s ease, transform 0.2s ease;
}

.course-apply-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── Fee Box — single line, auto width ── */
.fee-box {
  background: rgba(26,48,40,0.06);
  padding: 10px 16px;
  border-radius: 12px;
  width: auto;
  display: inline-flex;
  margin-top: 18px;
  transition: background 0.4s ease;
}

.fee-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.fee-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fee-icon {
  color: var(--green-deep);
  font-size: 18px;
  transition: color 0.4s ease;
}

.fee-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  transition: color 0.4s ease;
}

.fee-price {
  font-size: 18px;
  font-weight: 700;
  color: #006b6e;
  transition: color 0.4s ease;
}

.fee-year {
  font-size: 12px;
  color: #666;
  font-weight: 400;
  transition: color 0.4s ease;
}

/* ── Addons ── */
.addons-section { margin-bottom: 24px; }

.addons-title-highlight {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.addons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.addon-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f4ffff;
  border: 1px solid #c9d7d7;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  color: #222;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.addon-icon {
  font-size: 13px;
  color: #005353;
  transition: color 0.4s ease;
}

/* ── Material Icons ── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

.faculty-icon {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}
  /* ── COST ADVANTAGE ── */
  /* ══════════════════════════════════════
   COST / WHY FAMILIES SECTION
══════════════════════════════════════ */
.cost-section {
  background:var(--green-deep);
  padding: 90px 5%;
  text-align: center;
}
.cost-inner { max-width: 980px; margin: 0 auto; }
.cost-section .section-label  { justify-content: center; color: var(--amber-light); }
.cost-section .section-label::before { background: var(--amber-light); }
.cost-section .section-title  { color: var(--white); }
.cost-section .section-sub    { color: rgba(245,240,232,0.68); margin: 0 auto 52px; }
.cost-em { font-style: italic; color: var(--amber-light); }

.cost-title-section-braker{
    display: none;
}

/* ── Split card ── */
.cost-split {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 40px;
  text-align: left;
}

.cost-split-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.cost-col-them {
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.cost-col-us {
  background: rgba(224,92,26,0.10);
  border-left: 1px solid rgba(224,92,26,0.22);
}

/* Column labels */
.cost-col-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.38);
  margin-bottom: 24px;
}
.cost-col-tag--us { color: var(--amber-light); }

/* Attribute list */
.cost-attr-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}
.cost-attr-list li {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.42);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.cost-attr-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(245,240,232,0.22);
}
.cost-attr-list--us li {
  color: rgba(245,240,232,0.90);
}
.cost-attr-list--us li::before {
  content: '✓';
  color: var(--amber-light);
  font-weight: 700;
}

/* Fee pills */
.cost-fee-pill {
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cost-fee-full {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
}
.cost-fee-half {
  background: var(--amber);
  border: 1px solid var(--amber-light);
  box-shadow: 0 8px 28px rgba(224,92,26,0.30);
}
.cost-fee-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cost-fee-full .cost-fee-eyebrow { color: rgba(245,240,232,0.35); }
.cost-fee-half .cost-fee-eyebrow { color: rgba(255,255,255,0.72); }
.cost-fee-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}
.cost-fee-full .cost-fee-val {
  color: rgba(245,240,232,0.30);
  text-decoration: line-through;
  text-decoration-color: rgba(245,240,232,0.25);
}
.cost-fee-half .cost-fee-val { color: var(--white); }
.cost-fee-sub {
  font-size: 0.72rem;
  margin-top: 2px;
}
.cost-fee-full .cost-fee-sub { color: rgba(245,240,232,0.28); }
.cost-fee-half .cost-fee-sub { color: rgba(255,255,255,0.75); }

/* Centre divider with ½ badge */
.cost-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.015);
  border-left: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.cost-half-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 0 0 6px rgba(224,92,26,0.15), 0 8px 28px rgba(224,92,26,0.35);
}
.cost-half-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.cost-half-sub {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  line-height: 1;
}

/* Trust bullets */
.cost-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cost-bullet {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  color: rgba(245,240,232,0.80);
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cost-bullet::before { content: '✓'; color: var(--amber-light); font-weight: 700; }

  @media (max-width: 820px) {
    .cost-split{grid-template-columns: 1fr;!important}
    .cost-title-section-braker{
    display: block;
}

  }
  
   @media (max-width: 768px){
       .cost-bullets{
           justify-content: left!important;
       }
   }

  /* ── CAMPUS ── */
  .campus-section { background: var(--cream-dark); }
  .campus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: center;
  }
  .campus-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
  }
  .campus-img-wrap img {
    width: 100%; height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
  .campus-img-wrap:hover img { transform: scale(1.04); }
  .campus-img-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(26,48,40,0.85);
    backdrop-filter: blur(8px);
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(201,134,42,0.3);
  }
  .campus-img-overlay strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--amber-light);
    display: block;
  }
  .campus-img-overlay span { font-size: 0.78rem; color: rgba(245,240,232,0.7); }

  .campus-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .campus-feat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .feat-icon {
    width: 44px; height: 44px;
    background: var(--green-deep);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .feat-body h4 { font-family: 'Outfit', sans-serif; font-size: 0.94rem; font-weight: 600; color: var(--green-deep); margin-bottom: 3px; }
  .feat-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; }

  /* ── FACULTY ── */
  .faculty-section { background: var(--white); }
  .faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
  }
  .faculty-card {
    background: var(--cream);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid rgba(26,48,40,0.08);
    transition: all var(--transition);
  }
  .faculty-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,48,40,0.08); }
  .faculty-icon { font-size: 3.2rem; margin-bottom: 14px; color:#006B8E; font-weight:100;}
  .faculty-card h3 { font-size: 1.1rem; color: var(--green-deep); margin-bottom: 8px; }
  .faculty-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

  /* ── PARENT TRUST ── */
  .parent-section { background: var(--cream-dark); }
  .parent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
  }
  .parent-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 26px;
    border-left: 4px solid var(--green-light);
    box-shadow: 0 2px 16px rgba(0,107,110,0.07);
    transition: transform var(--transition), box-shadow var(--transition);
  }
  .parent-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,107,110,0.12); }
  .parent-card h4 { font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--green-deep); margin-bottom: 8px; }
  .parent-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

  /* ── FINAL CTA ── */
  .cta-section {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    text-align: center;
    padding: 90px 5%;
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top center, rgba(0,193,178,0.15), transparent 70%);
  }
  .cta-section .section-title { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
  .cta-section p { color: rgba(240,250,250,0.72); max-width: 520px; margin: 0 auto 36px; font-size: 1rem; line-height: 1.7; }
  .cta-section .btn-primary { font-size: 1rem; padding: 16px 40px; }

  /* ── FOOTER ── */
  footer {
    background: #004547;
    padding: 40px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-logo {
    font-family: 'Outfit', serif;
    font-size: 1.2rem;
    color: var(--amber-light);
    font-weight: 700;
  }
  .footer-logo span { color: rgba(245,240,232,0.6); font-weight: 400; }
  .footer-tagline { font-size: 0.8rem; color: rgba(245,240,232,0.4); margin-top: 4px; font-style: italic; }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a { font-size: 0.82rem; color: rgba(245,240,232,0.5); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--amber-light); }
  .footer-copy { font-size: 0.75rem; color: rgba(245,240,232,0.3); width: 100%; }

  /* ── POPUP OVERLAY ── */
  .popup-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10, 22, 16, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .popup-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .popup-card {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .popup-overlay.active .popup-card {
    transform: translateY(0) scale(1);
  }

  .popup-top {
    background:#006b6e;
    padding: 30px 32px 24px;
    position: relative;
  }
  .popup-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: all var(--transition);
  }
  .popup-close:hover { background: rgba(255,255,255,0.22); color: white; }
  .popup-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a5a4004f;
    border: 1px solid rgb(162 193 0 / 45%);
    color:#dda800;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
  }
  .popup-title {
    font-size: 1.65rem;
    color: #53f2e5;
    margin-bottom: 8px;
  }
  .popup-subtitle {
    font-size: 0.86rem;
    color: rgba(245,240,232,0.65);
    line-height: 1.55;
  }

  .popup-body { padding: 28px 32px; }

  .form-group { margin-bottom: 16px; }
  .form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid rgba(26,48,40,0.15);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color var(--transition);
    outline: none;
  }
  .form-group input:focus,
  .form-group select:focus {
    border-color: var(--green-light);
    background: var(--white);
  }
  .form-group select { appearance: none; cursor: pointer; }

  .form-submit {
    width: 100%;
    padding: 14px;
    background: var(--amber);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 6px;
  }
  .form-submit:hover { background: var(--amber-light); transform: translateY(-1px); }
  .form-privacy {
    font-size: 0.73rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
  }

  /* success state */
  .popup-success {
    display: none;
    padding: 40px 32px;
    text-align: center;
  }
  .popup-success.visible { display: block; }
  .popup-body.hidden { display: none; }
  .success-icon { font-size: 3rem; margin-bottom: 16px; }
  .popup-success h3 { font-size: 1.5rem; color: var(--green-deep); margin-bottom: 10px; }
  .popup-success p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .challenge-grid,
    .campus-grid,
    .parent-grid { grid-template-columns: 1fr; }
    
    .challenge-grid{
      margin-top: 30px!important;
    }

.challenge-text h3{
    font-size: 1.3rem!important;
}
    /* carousel floats above text on mobile */
    .challenge-carousel { order: 2; position: static; }
    .challenge-text     { order:  1; }

    .value-grid { grid-template-columns: 1fr 1fr; }

    .cost-compare {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .cost-vs { display: none; }

    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-outline { text-align: center; justify-content: center; }

    .footer { flex-direction: column; }
    .footer-links { flex-wrap: wrap; gap: 14px; }

    .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .trust-item:last-child { border-bottom: none; }

    .popup-top, .popup-body { padding: 24px 22px; }

    .video-carousel-wrap { margin-top: 50px; }
  }

  @media (max-width: 480px) {
    .value-grid { grid-template-columns: 1fr; }
  }

  /* ══════════════════════════════════════
     CAMPUS TOUR (merged campus + gallery)
  ══════════════════════════════════════ */
  .campus-section { background: var(--cream-dark); padding: 90px 5% 90px; }

  /* full-width carousel */
  .campus-tour-wrap {
  margin-top: 40px;
  margin-bottom: 56px;
}

.campus-tour-outer {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,107,110,0.12);
}

.campus-video-container {
  position: relative;
  aspect-ratio: 16/7;
  background: #000;
  overflow: hidden;
}

.campus-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

  /* campus feature grid below carousel */
  .campus-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .campus-feat-card {
    background: var(--white);
    border-radius: 14px;
    padding: 22px 20px;
    border-top: 3px solid var(--green-light);
    box-shadow: 0 2px 14px rgba(0,107,110,0.07);
    transition: transform var(--transition);
  }
  .campus-feat-card:hover { transform: translateY(-3px); }
  .campus-feat-card h4 { font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--green-deep); margin-bottom: 6px; }
  .campus-feat-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

  @media (max-width: 900px) {
    .campus-features-grid { grid-template-columns: 1fr 1fr; }
    .campus-tour-slide { aspect-ratio: 16/9; }
    .campus-video-container{aspect-ratio: 8/7;}
  }
  @media (max-width: 480px) {
    .campus-features-grid { grid-template-columns: 1fr; }
  }

  /* ══════════════════════════════════════
     VIDEO TESTIMONIAL CAROUSEL
  ══════════════════════════════════════ */
.video-section { background: var(--green-deep); padding: 90px 0; overflow: hidden; }
.video-section-inner { padding: 0 5%; }
.video-section .section-label { color: var(--amber-light); }
.video-section .section-label::before { background: var(--amber-light); }
.video-section .section-title { color: var(--white); }
.video-section .section-sub { color: rgba(245,240,232,0.65); }
.video-carousel-wrap { margin-top: 48px; position: relative; }
.video-track-outer {
  overflow: hidden;
  border-radius: 20px;
}
.video-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.video-slide {
  flex: 0 0 calc(50% - 12px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
}

/* ── VIDEO RATIO — edit these two variables to match your video ── */
.video-embed {
  --vid-w: 1;   /* change to your video width  e.g. 9, 16, 4 */
  --vid-h: 1;   /* change to your video height e.g. 16, 9, 5 */

  position: relative;
  width: 100%;
  padding-bottom: calc(var(--vid-h) / var(--vid-w) * 100%);
  background: #0d1f17;
  overflow: hidden;
}

.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

/* ── PLAY BUTTON ─────────────────────────────────────────────── */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.28), 0 0 0 2px rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1),
              background 0.2s,
              box-shadow 0.2s,
              opacity 0.5s ease;
}

.play-btn:hover {
  background: rgba(255,255,255,0.28);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.36), 0 0 0 3px rgba(255,255,255,0.32);
}

.play-btn:active {
  transform: translate(-50%, -50%) scale(0.96);
}
/* hide play icon, show pause icon when playing */
.play-btn .icon-play  { display: block; }
.play-btn .icon-pause { display: none; }
.play-btn.playing .icon-play  { display: none; }
.play-btn.playing .icon-pause { display: block; }

.play-btn.faded {
  opacity: 0;
  pointer-events: none;
}
/* fade out play button when video is playing (optional — remove if you want it always visible) */
.video-embed:hover .play-btn.faded {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px){
    .play-btn{
     width: 50px!important;
     height: 50px!important;
    }
    
    .audio-btn{
      width: 35px!important;
      height: 35px!important;
      bottom: 30px!important;
    }
}


/* ── MUTE BUTTON ─────────────────────────────────────────────── */
.audio-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 0 0 1.5px rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  padding: 0;
}
.audio-btn:hover {
  background: rgba(0,0,0,0.65);
  transform: scale(1.12);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.25);
}
.audio-btn:active { transform: scale(0.94); }
.audio-btn svg { width: 18px; height: 18px; display: block; }

@media (max-width: 768px) {
  .video-slide { flex: 0 0 85vw; }
  .video-track { flex-direction: column; }
}
  /* ══════════════════════════════════════
     GALLERY CAROUSEL
  ══════════════════════════════════════ */
  .gallery-section { background: var(--cream-dark); padding: 90px 0; overflow: hidden; }
  .gallery-section-inner { padding: 0 5%; }

  .gallery-carousel-wrap { margin-top: 48px; position: relative; }

  .gallery-track-outer { overflow: hidden; border-radius: 20px; }

  .gallery-track {
    display: flex;
    gap: 16px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .gallery-slide {
    flex: 0 0 calc(33.333% - 11px);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: var(--cream);
    border: 1px solid rgba(26,48,40,0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
  }

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

  /* placeholder for gallery */
  .gallery-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream), var(--cream-dark));
    color: var(--text-muted);
    font-size: 0.8rem;
    gap: 8px;
    text-align: center;
    padding: 16px;
  }
  .gallery-placeholder-icon { font-size: 2rem; opacity: 0.4; }

  .gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26,48,40,0.85), transparent);
    padding: 28px 14px 12px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .gallery-slide:hover .gallery-caption { opacity: 1; }

  .gallery-section .carousel-btn {
    border-color: rgba(26,48,40,0.2);
    background: rgba(26,48,40,0.06);
    color: var(--green-deep);
  }
  .gallery-section .carousel-btn:hover { background: var(--amber); border-color: var(--amber); color: white; }
  .gallery-section .carousel-dot { background: rgba(26,48,40,0.2); }
  .gallery-section .carousel-dot.active { background: var(--amber); }

  /* lightbox */
  .lightbox {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(10, 22, 16, 0.94);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
  }
  .lightbox.open { opacity: 1; pointer-events: all; }
  .lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  }
  .lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none; cursor: pointer;
    color: white; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .lightbox-close:hover { background: rgba(255,255,255,0.25); }

  @media (max-width: 768px) {
    .gallery-slide { flex: 0 0 calc(80vw); }
  }
  
  
  
  