/* =========================================================
  Gyan Vidya Mandir — Sunshine Aurora Theme (FINAL)
  ✅ Bright “yellow sunshine” palette + subtle aurora glow
  ✅ Premium navbar (better font, background, spacing, hover)
  ✅ Footer upgraded (richer background, clearer columns, socials)
  ✅ Tablet + mobile tuned (720px + 980px breakpoints)
  ✅ Keeps your existing class names working
  ✅ Carousel: premium arrows + perfect image fit (fixed frame height)
========================================================= */

/* =========================
   FONTS
========================= */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&display=swap");

/* Prevent flicker during partial injection */
html.is-loading body { visibility: hidden; }
html.is-ready body { visibility: visible; }
html.is-loading * { transition: none !important; animation: none !important; }

/* =========================
   TOKENS — Sunshine + Aurora
========================= */
:root{
  --bg:#fff9e6;
  --surface:#ffffff;
  --tint:#fff3c6;
  --tint2:#fff0b0;

  --ink:#0b1220;
  --muted:rgba(11,18,32,.72);
  --soft:rgba(11,18,32,.56);
  --line:rgba(11,18,32,.12);

  --brand:#2563eb;
  --brand2:#06b6d4;
  --sun:#fbbf24;
  --sun2:#fde047;
  --leaf:#0f766e;

  --shadow:0 22px 48px rgba(2,6,23,.12);
  --shadow2:0 12px 24px rgba(2,6,23,.10);

  --tickerH:44px;
  --container:1200px;
  --radius:18px;

  --sans:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  --serif:"Fraunces",ui-serif,Georgia,"Times New Roman",Times,serif;
  --brand-font:"Fraunces",ui-serif,Georgia,serif;

  --navH:82px;

  --s1:8px; --s2:12px; --s3:16px; --s4:20px; --s5:26px; --s6:34px; --s7:46px;

  --anchorOffset:40px;

  --aur1:rgba(253,224,71,.25);
  --aur2:rgba(251,191,36,.22);
  --aur3:rgba(37,99,235,.16);
  --aur4:rgba(6,182,212,.14);
}

/* =========================
   BASE
========================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--navH) + 14px);
}

section[id]{ scroll-margin-top:calc(var(--navH) + 12px); }

html,body{
  overflow-x:hidden;
  overflow-y:visible;
}

body{
  margin:0;
  font-family:var(--sans);
  line-height:1.65;
  color:var(--ink);

  background:
    radial-gradient(900px 520px at 15% -12%, var(--aur1), transparent 58%),
    radial-gradient(820px 540px at 85% -10%, var(--aur4), transparent 60%),
    radial-gradient(820px 520px at 50% 10%, var(--aur2), transparent 62%),
    radial-gradient(760px 560px at 60% 115%, var(--aur3), transparent 58%),
    linear-gradient(180deg,#fff7dc 0%,#fff9e6 30%,#fffaf0 100%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }
p{ margin:0 0 14px; }
h1,h2,h3{ margin:0; line-height:1.12; }
button{ font-family:inherit; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  padding:10px 12px;
  background:#000;
  color:#fff;
  border-radius:10px;
  z-index:99999;
}
.skip-link:focus{ left:12px; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* Premium utility divider */
.hr-soft{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(11,18,32,.16),transparent);
  margin:var(--s4) 0;
  border:0;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  border:1px solid rgba(11,18,32,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(255,255,255,.72));
  box-shadow:0 10px 18px rgba(2,6,23,.06);
}

/* =========================
   HEADER / NAVBAR — Premium
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:9999;

  background:
    radial-gradient(900px 120px at 18% 0%, rgba(253,224,71,.44), transparent 70%),
    radial-gradient(900px 120px at 82% 0%, rgba(6,182,212,.22), transparent 72%),
    radial-gradient(1100px 160px at 55% -35%, rgba(37,99,235,.16), transparent 68%),
    linear-gradient(180deg,rgba(255,255,255,.80),rgba(255,255,255,.64));

  border-bottom:1px solid rgba(11,18,32,.10);
  box-shadow:0 18px 48px rgba(2,6,23,.16);
  backdrop-filter:blur(18px) saturate(1.18);
  -webkit-backdrop-filter:blur(18px) saturate(1.18);
}

.site-header::after{
  content:"";
  display:block;
  height:2px;
  background:linear-gradient(90deg,
    transparent,
    rgba(253,224,71,.70),
    rgba(6,182,212,.40),
    rgba(37,99,235,.24),
    transparent);
  opacity:.85;
}

.site-header .nav{
  min-height:var(--navH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
  flex:0 0 auto;
}
.brand__logo{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:
    drop-shadow(0 14px 20px rgba(2,6,23,.18))
    drop-shadow(0 0 14px rgba(253,224,71,.32))
    drop-shadow(0 0 10px rgba(6,182,212,.18));
}
.brand__text{
  font-family:var(--brand-font);
  font-weight:1000;
  font-size:22px;
  letter-spacing:.03em;
  text-transform:uppercase;
  line-height:1.05;
  color:var(--ink);
}
.brand__text span,
.brand__text small{
  display:block;
  font-family:var(--sans);
  font-weight:900;
  letter-spacing:.14em;
  font-size:11px;
  color:rgba(11,18,32,.64);
  margin-top:4px;
  text-transform:uppercase;
}

/* Desktop menu wrapper */
.nav__menu{
  display:flex;
  align-items:center;
  gap:18px;
  flex:1 1 auto;
  justify-content:flex-end;
}

/* Links row */
.nav__links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

/* Nav links look like pills */
.nav__links a,
.drop__btn{
  font-size:14.5px;
  font-weight:950;
  padding:11px 13px;
  border-radius:999px;
  border:1px solid transparent;
  color:rgba(11,18,32,.88);
  background:transparent;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.nav__links a:hover,
.drop__btn:hover{
  background:rgba(253,224,71,.26);
  border-color:rgba(245,158,11,.28);
  box-shadow:0 14px 26px rgba(2,6,23,.10);
  transform:translateY(-1px);
}

.nav__links a.active,
.drop__btn.active{
  background:linear-gradient(135deg, rgba(37,99,235,.14), rgba(6,182,212,.10));
  border-color:rgba(37,99,235,.22);
  color:rgba(11,18,32,.94);
}

/* Right CTA group */
.nav__right{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
}

/* Hamburger (hidden on desktop) */
.nav__toggle{
  display:none;
  border:1px solid rgba(11,18,32,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.74));
  height:48px;
  width:52px;
  border-radius:16px;
  cursor:pointer;
  box-shadow:0 12px 22px rgba(2,6,23,.10);
  transition:transform .18s ease, box-shadow .18s ease;
}
.nav__toggle:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 30px rgba(2,6,23,.14);
}

.hamburger{
  display:block;
  width:18px;
  height:2px;
  background:var(--ink);
  margin:0 auto;
  position:relative;
}
.hamburger:before,
.hamburger:after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:var(--ink);
}
.hamburger:before{ top:-6px; }
.hamburger:after{ top:6px; }

/* =========================
   NAV DROPDOWNS
========================= */
.drop{ position:relative; }

.chev{
  display:inline-block;
  width:8px;
  height:8px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  opacity:.80;
}

.drop__panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:320px;
  background:
    radial-gradient(900px 220px at 15% 0%, rgba(253,224,71,.22), transparent 70%),
    radial-gradient(900px 220px at 85% 100%, rgba(6,182,212,.14), transparent 72%),
    rgba(255,255,255,.97);
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  box-shadow:0 34px 84px rgba(2,6,23,.22);
  padding:10px;
  display:none;
  z-index:120;
}

.drop__panel a{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  font-size:14px;
  font-weight:900;
  color:rgba(11,18,32,.90);
}
.drop__panel a+a{ margin-top:4px; }
.drop__panel a:hover{ background:rgba(253,224,71,.26); text-decoration:none; }
.drop.is-open .drop__panel{ display:block; }

@media (min-width:980px){
  .drop:hover .drop__panel{ display:block; }
}

/* =========================
   LANGUAGE TOGGLE — Segmented
========================= */
.lang-seg{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(253,224,71,.22), transparent 60%),
    radial-gradient(120% 120% at 80% 100%, rgba(6,182,212,.14), transparent 62%),
    rgba(255,255,255,.78);
  border:1px solid rgba(11,18,32,.14);
  box-shadow:0 14px 34px rgba(2,6,23,.10);
  backdrop-filter:blur(14px) saturate(1.15);
  -webkit-backdrop-filter:blur(14px) saturate(1.15);
}

.lang-seg__btn{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:rgba(11,18,32,.82);

  height:28px;
  min-width:46px;
  padding:0 14px;

  border-radius:999px;
  font-weight:950;
  font-size:11px;
  letter-spacing:.02em;
  cursor:pointer;

  transition:transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.lang-seg__btn:hover{
  background:rgba(253,224,71,.18);
  border-color:rgba(245,158,11,.22);
  transform:translateY(-1px);
}

.lang-seg__btn.is-active{
  color:#0b1220;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,.60), transparent 55%),
    linear-gradient(135deg, var(--sun2), var(--sun), #f59e0b);
  border-color:rgba(245,158,11,.44);
  box-shadow:
    0 0 0 1px rgba(245,158,11,.20),
    0 16px 38px rgba(245,158,11,.18);
  transform:translateY(-1px);
}

.lang-seg__btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(37,99,235,.18), 0 16px 38px rgba(2,6,23,.12);
}

@media (max-width:720px){
  .lang-seg__btn{
    height:36px;
    min-width:52px;
    padding:0 12px;
    font-size:12.5px;
  }
}

/* Mobile: smaller site title */
@media (max-width:980px){
  .brand__name,
  .site-title,
  .header__title,
  .brand span{
    font-size:20px;
    letter-spacing:0.06em;
    line-height:1.1;
  }
}
@media (max-width:420px){
  .brand__name,
  .site-title,
  .header__title,
  .brand span{
    font-size:18px;
    letter-spacing:0.05em;
  }
}

/* =========================================================
   FINAL MOBILE NAV (Premium + aligned + no dropdown chevrons)
========================================================= */
@media (max-width:980px){
  .site-header{ position:relative; }

  .nav__toggle{
    position:absolute !important;
    top:16px !important;
    right:14px !important;
    z-index:1100 !important;

    width:44px !important;
    height:44px !important;
    padding:0 !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    border-radius:14px !important;
    background:rgba(255,255,255,.55) !important;
    border:1px solid rgba(11,18,32,.12) !important;
    box-shadow:0 14px 32px rgba(2,6,23,.12) !important;
    -webkit-tap-highlight-color:transparent;
  }

  .nav__toggle .hamburger,
  .nav__toggle .hamburger::before,
  .nav__toggle .hamburger::after{
    background:#0b1220 !important;
  }

  .nav__toggle .hamburger{
    width:14px;
    height:2px;
    border-radius:999px;
    position:relative;
    display:block;
  }

  .nav__toggle .hamburger::before,
  .nav__toggle .hamburger::after{
    content:"";
    position:absolute;
    left:0;
    width:14px;
    height:2px;
    border-radius:999px;
  }

  .nav__toggle .hamburger::before{ top:-7px; }
  .nav__toggle .hamburger::after{ top:7px; }

  #navMenu{
    position:fixed;
    left:14px;
    right:14px;
    top:82px;
    z-index:1090;

    border-radius:26px;
    padding:16px 16px 20px;

    background:
      radial-gradient(900px 320px at 14% 0%, rgba(88,140,255,.20), transparent 62%),
      radial-gradient(820px 300px at 92% 100%, rgba(140,95,255,.18), transparent 58%),
      linear-gradient(180deg, rgba(6,8,14,.92), rgba(6,7,12,.88));

    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 28px 90px rgba(0,0,0,.60);
    backdrop-filter:blur(16px);

    display:none;
    max-height:calc(100vh - 110px);
    overflow:auto;
  }
  #navMenu.is-open{ display:block; }

  #navMenu ul{ list-style:none; padding:6px 0 0; margin:0; }
  #navMenu li{ margin:0; padding:0; }

  #navMenu a,
  #navMenu .nav-link,
  #navMenu [data-nav]{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;

    padding:12px 10px;
    margin:2px 0;

    border-radius:14px;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;

    color:rgba(255,255,255,.96) !important;
    font-weight:850;
    font-size:16px;
    text-decoration:none;
    letter-spacing:.01em;
  }

  #navMenu a:hover,
  #navMenu .nav-link:hover,
  #navMenu [data-nav]:hover{
    background:rgba(255,255,255,.06) !important;
  }

  #navMenu svg,
  #navMenu .caret,
  #navMenu .chev,
  #navMenu .arrow,
  #navMenu .dropdown-icon,
  #navMenu .nav__caret,
  #navMenu .nav__chev{ display:none !important; }

  #navMenu a::after,
  #navMenu button::after,
  #navMenu .nav-link::after{
    content:none !important;
    display:none !important;
  }

  #navMenu .nav-cta,
  #navMenu .menu-cta{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.10);

    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:12px;
    align-items:stretch;
  }

  .lang-pill{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;

    padding:6px;
    border-radius:18px;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
  }

  .lang-pill button{
    height:44px;
    border-radius:14px;
    font-weight:950;
    font-size:14px;
    background:transparent;
    border:1px solid transparent;
    color:rgba(255,255,255,.82);
  }

  .lang-pill button.is-active{
    background:
      radial-gradient(120% 120% at 18% 0%, rgba(255,255,255,.60), transparent 55%),
      linear-gradient(135deg, #fde047, #fbbf24, #f59e0b);
    color:#0b1220;
    border-color:rgba(0,0,0,.18);
    box-shadow:0 14px 34px rgba(0,0,0,.35);
  }

  #navMenu .btn,
  #navMenu .btn--primary{
    height:44px;
    width:100%;
    border-radius:18px;
    font-size:15px;
    font-weight:950;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:
      radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,.62), transparent 55%),
      linear-gradient(135deg, #fde047, #fbbf24, #f59e0b);
    color:#0b1220;
    border:1px solid rgba(0,0,0,.18);
    box-shadow:0 18px 44px rgba(0,0,0,.38);
    text-decoration:none !important;
  }
}

/* =========================
   HERO
========================= */
.hero{
  min-height:calc(100vh - var(--navH) - var(--tickerH));
  padding:clamp(18px, 3.2vh, 36px) 0;
  display:flex;
  align-items:center;
}

.hero__grid{
  display:grid;
  grid-template-columns:minmax(420px, 1.05fr) minmax(420px, .95fr);
  gap:clamp(20px, 4vw, 48px);
  align-items:center;
}

.eyebrow{
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(11,18,32,.68);
  margin-bottom:12px;
}

.hero__title{
  font-family:var(--serif);
  font-weight:800;
  font-size:clamp(42px, 4.8vw, 66px);
  line-height:1.02;
  letter-spacing:-0.02em;
}

.hero__sub{
  margin-top:12px;
  color:var(--muted);
  font-size:clamp(15px, 1.1vw, 17px);
  line-height:1.7;
  max-width:62ch;
}

.hero__actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================
   HERO MEDIA + CAROUSEL (FINAL)
   ✅ fixed frame height
   ✅ background-image “cover” fit
   ✅ nicer arrows
========================= */
.hero__media{
  border-radius:var(--radius);
  border:1px solid rgba(11,18,32,.10);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(253,224,71,.28), transparent 65%),
    radial-gradient(900px 260px at 90% 100%, rgba(6,182,212,.14), transparent 68%),
    rgba(255,255,255,.75);

  height:360px; /* ✅ consistent crop */
}

.carousel--hero{
  position:relative;
  width:100%;
  height:100%;
}

.carousel__track{
  display:flex;
  height:100%;
  transition:transform 420ms ease;
  will-change:transform;
}

.carousel__slide{
  flex:0 0 100%;
  height:100%;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* If you ever switch to <img> slides */
.carousel__slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.carousel__btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;

  width:42px;
  height:42px;
  border-radius:999px;

  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.55);
  color:#0b1220;

  display:grid;
  place-items:center;
  cursor:pointer;
  user-select:none;

  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);

  box-shadow:0 18px 40px rgba(2,6,23,.18);
  transition:transform .16s ease, background .16s ease, box-shadow .16s ease;
  font-size:26px;
  line-height:1;
}

.carousel__btn:hover{
  background:rgba(255,255,255,.80);
  transform:translateY(-50%) scale(1.06);
  box-shadow:0 22px 52px rgba(2,6,23,.22);
}

.carousel__btn:active{
  transform:translateY(-50%) scale(.96);
}

.carousel__btn--prev{ left:12px; }
.carousel__btn--next{ right:12px; }

.carousel__dots{
  position:absolute;
  left:0;
  right:0;
  bottom:12px;
  display:flex;
  justify-content:center;
  gap:8px;
  padding:0 12px;
  z-index:10;
}

.carousel__dot{
  width:9px;
  height:9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.30);
  cursor:pointer;
}
.carousel__dot.is-active{ background:rgba(255,255,255,.98); }

/* =========================
   SECTIONS / CARDS
========================= */
.section{ padding:62px 0; }
.section--tight{ padding:20px 0; }

.section--tint{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(253,224,71,.28), transparent 70%),
    radial-gradient(900px 240px at 80% 100%, rgba(6,182,212,.12), transparent 72%),
    linear-gradient(180deg, rgba(255,243,198,.75), rgba(255,249,230,.45));
  border-top:1px solid rgba(11,18,32,.10);
  border-bottom:1px solid rgba(11,18,32,.10);
}

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.section__title{
  font-family:var(--serif);
  font-size:34px;
  letter-spacing:-0.02em;
  position:relative;
  display:inline-block;
}

.section__title:after{
  content:"";
  display:block;
  width:58px;
  height:4px;
  margin-top:10px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--sun), var(--sun2), rgba(37,99,235,.35));
  box-shadow:0 10px 18px rgba(245,158,11,.18);
}

.section__sub{
  color:var(--muted);
  max-width:74ch;
  font-size:15.5px;
}

.grid{ display:grid; gap:18px; }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:
    radial-gradient(800px 160px at 20% 0%, rgba(253,224,71,.22), transparent 65%),
    rgba(255,255,255,.92);
  border:1px solid rgba(11,18,32,.10);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow2);
  position:relative;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 44px rgba(2,6,23,.14);
  border-color:rgba(245,158,11,.22);
}

.card:before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background:linear-gradient(90deg, var(--sun2), var(--sun), var(--brand2), var(--brand));
  opacity:.95;
}

.card__title{ font-family:var(--serif); font-size:20px; margin-bottom:8px; }
.card__text{ color:var(--muted); font-size:15px; }

/* =========================
   FAQ
========================= */
.faq{
  margin-top:14px;
  display:grid;
  gap:12px;
  grid-template-columns:1fr !important;
}

.faq-item{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(11,18,32,.10);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  overflow:hidden;
}

.faq-q{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:900;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,243,198,.55));
}

.faq-q::-webkit-details-marker{ display:none; }

.faq-a{
  padding:0 18px 16px;
  color:var(--muted);
  font-size:14.5px;
  line-height:1.7;
}

.faq-item[open] .faq-q{ border-bottom:1px solid rgba(11,18,32,.10); }

.faq-icon{
  width:12px;
  height:12px;
  border-right:2px solid var(--ink);
  border-bottom:2px solid var(--ink);
  transform:rotate(45deg);
  opacity:.85;
  transition:transform .18s ease;
}

.faq-item[open] .faq-icon{ transform:rotate(-135deg); }

.section--faq{
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(253,224,71,.18), transparent 70%),
    rgba(255,255,255,.88);
  border-top:1px solid rgba(11,18,32,.10);
  border-bottom:1px solid rgba(11,18,32,.10);
}

.section--faq .container{ padding-top:10px; padding-bottom:10px; }

/* =========================
   BAND / FACILITIES
========================= */
.band__text{
  color:var(--muted);
  font-size:15.5px;
  line-height:1.75;
  max-width:62ch;
  margin-top:10px;
}

.band__bullets{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.band__bullets li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
  min-width:0;
  color:var(--muted);
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.10);
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 18px rgba(2,6,23,.06);
}

.band__bullets li::before{
  content:"";
  flex:0 0 10px;
  width:10px;
  height:10px;
  border-radius:999px;
  margin-top:6px;
  background:linear-gradient(135deg, var(--sun), var(--brand2));
}

.band__bullets li b,
.band__bullets li span,
.band__bullets li{
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere;
}

.band__bullets li b{ color:var(--ink); font-weight:900; }

.band__features{ margin-bottom:30px; }
.band .btn{ margin-top:6px; }

.band__stats{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}

.band__stats .stat{
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,243,198,.50));
  box-shadow:0 14px 26px rgba(2,6,23,.08);
}

.band__stats .stat b{
  display:block;
  font-weight:950;
  letter-spacing:-.01em;
  color:var(--ink);
  margin-bottom:4px;
}
.band__stats .stat span{
  display:block;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.5;
}

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

.band__copy{ display:grid; gap:14px; }

.features{ display:grid; gap:12px; margin-top:6px; }

.feature{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:12px;
  align-items:start;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.10);
  background:
    radial-gradient(700px 140px at 18% 0%, rgba(253,224,71,.20), transparent 65%),
    rgba(255,255,255,.92);
  box-shadow:0 10px 22px rgba(2,6,23,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(2,6,23,.12);
  border-color:rgba(245,158,11,.24);
}

.feature__icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(251,191,36,.22), rgba(6,182,212,.10));
  border:1px solid rgba(245,158,11,.20);
  font-size:18px;
}

.feature__title{ font-weight:950; letter-spacing:.01em; margin-bottom:2px; }
.feature__text{ color:var(--muted); line-height:1.55; }

.mini-cards{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.mini-card{
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(11,18,32,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,243,198,.44));
  box-shadow:0 10px 22px rgba(2,6,23,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mini-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(2,6,23,.12);
  border-color:rgba(245,158,11,.22);
}

.mini-card__top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.mini-card__icon{
  width:34px;
  height:34px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(251,191,36,.16);
  border:1px solid rgba(245,158,11,.18);
  font-size:16px;
}

.mini-card__title{ font-weight:950; }
.mini-card__text{ color:var(--muted); }

.band__actions{ margin-top:18px; padding-top:4px; }

@media (max-width:980px){
  .mini-cards{ grid-template-columns:1fr; }
}

/* =========================
   ABOUT PAGE
========================= */
.stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}

.stat{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(11,18,32,.10);
  border-radius:16px;
  padding:14px 14px;
  box-shadow:0 10px 22px rgba(2,6,23,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stat:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(2,6,23,.12);
  border-color:rgba(245,158,11,.20);
}

.stat__kpi{ font-weight:950; font-size:18px; letter-spacing:.01em; }
.stat__label{ color:var(--muted); margin-top:2px; font-size:13px; }

.about-split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:start;
}

.about-split__card{ padding:18px; }

.about-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  border:1px solid rgba(11,18,32,.10);
  background:rgba(255,255,255,.78);
}

.feature-rows{ display:grid; gap:12px; margin-top:10px; }

.frow{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:12px;
  align-items:start;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.10);
  background:rgba(255,255,255,.90);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.frow:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(2,6,23,.10);
  border-color:rgba(245,158,11,.22);
}

.frow__icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(251,191,36,.20), rgba(6,182,212,.10));
  border:1px solid rgba(245,158,11,.16);
  font-size:16px;
}

.frow__title{ font-weight:950; margin-bottom:2px; }
.frow__text{ color:var(--muted); line-height:1.55; }

.about-actions{
  margin-top:30px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width:980px){
  .stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .about-split{ grid-template-columns:1fr; }
}

/* Page hero spacing control */
.page-hero{ padding-top:35px; padding-bottom:8px; }
.page-hero__sub{ margin-bottom:8px; }
#overview{ margin-top:4px; }

/* Tighter section padding tweak */
.section{ padding-top:5px; padding-bottom:48px; }

/* Badge sizing fix */
.page-hero .badge,
.page-hero .page-hero__badge,
.page-hero .kicker,
.page-hero .pill{
  display:inline-flex !important;
  width:fit-content !important;
  max-width:100% !important;
  padding:10px 14px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
  text-transform:uppercase !important;
  background:rgba(255,255,255,.86) !important;
  border:1px solid rgba(11,18,32,.14) !important;
  box-shadow:0 10px 20px rgba(2,6,23,.06) !important;
}

/* About page grid alignment */
.about-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:stretch;
}

.about-left,
.about-right{
  display:flex;
  flex-direction:column;
  height:100%;
}

.about-right .hero__actions{
  margin-top:auto;
  padding-top:16px;
}

.about-left p{ margin-bottom:12px; }

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

/* =========================
   FLASH MESSAGES
========================= */
.flash-wrap{
  position:fixed;
  top:calc(var(--navH) + 12px);
  right:16px;
  z-index:99999;
  display:grid;
  gap:10px;
  max-width:min(420px, calc(100vw - 32px));
}

.flash{
  background:rgba(255,255,255,.95);
  border:1px solid rgba(11,18,32,.12);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(2,6,23,.14);
  padding:12px 14px;
  display:grid;
  gap:6px;
  transform:translateY(-6px);
  opacity:0;
  animation:flashIn .18s ease forwards;
}

.flash__title{ font-weight:950; font-size:14px; line-height:1.2; }
.flash__msg{
  color:var(--muted);
  font-size:13.5px;
  line-height:1.45;
  word-break:break-word;
}
.flash--success{ border-color:rgba(15,118,110,.25); }
.flash--error{ border-color:rgba(220,38,38,.22); }
.flash--info{ border-color:rgba(245,158,11,.28); }

.flash__bar{
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--sun2), var(--sun), var(--brand2));
  opacity:.90;
}

@keyframes flashIn{ to{ transform:translateY(0); opacity:1; } }

.hp{ position:absolute; left:-9999px; opacity:0; }

/* =========================
   FORM SPACING
========================= */
.form{ display:grid; gap:18px; }
.form h3, .form .card__title{ margin-top:22px; margin-bottom:10px; }
.form .fineprint{ margin-top:6px; font-size:13px; color:var(--soft); }
.form .btn{ margin-top:10px; }

/* =========================
   NEWS TICKER
========================= */
.news-ticker{
  width:100%;
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#0b1220 0%,#111b3a 35%,#0b1220 100%);
  border-top:1px solid rgba(255,255,255,.14);
  border-bottom:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.18);
}

.news-ticker__inner{
  max-width:1200px;
  margin:0 auto;
  padding:10px 18px;
  display:flex;
  align-items:center;
  gap:16px;
  background:transparent;
}

.news-ticker__label{
  flex-shrink:0;
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#0b1220;
  padding:7px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--sun2), var(--sun));
  border:1px solid rgba(245,158,11,.45);
}

.news-ticker__track{
  display:flex;
  align-items:center;
  gap:34px;
  white-space:nowrap;
  animation:ticker-scroll 34s linear infinite;
  will-change:transform;
}

.news-ticker__item{
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.92);
  padding-left:18px;
  position:relative;
}

.news-ticker__item::before{
  content:"•";
  position:absolute;
  left:0;
  color:rgba(253,224,71,.65);
}

.news-ticker:hover .news-ticker__track{ animation-play-state:paused; }

@keyframes ticker-scroll{
  from{ transform:translateX(30%); }
  to{ transform:translateX(-100%); }
}

@media (max-width:640px){
  .news-ticker__inner{ padding:8px 12px; }
  .news-ticker__item{ font-size:12px; }
}

/* =========================
   FOOTER — Dark Aurora Upgrade
========================= */
.footer{
  position:relative;
  margin-top:64px;
  padding:44px 0 22px;
  background:
    radial-gradient(1200px 520px at 12% 0%, rgba(88,140,255,.22), transparent 60%),
    radial-gradient(1000px 480px at 88% 100%, rgba(140,95,255,.22), transparent 55%),
    linear-gradient(180deg,#070a12 0%,#05070e 60%,#04060b 100%);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
}

.footer .container{ max-width:1200px; }

.footer__top{
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:48px;
  align-items:start;
}

.footer__brand .brand--footer{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.footer__brand .brand__logo{
  width:44px;
  height:44px;
  border-radius:999px;
  object-fit:cover;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}

.footer__name{
  font-weight:800;
  letter-spacing:.08em;
  font-size:19px;
  text-transform:uppercase;
  color:rgba(250,248,248,.94);
}

.footer__tag{
  margin:14px 0 18px;
  max-width:52ch;
  color:rgba(255,255,255,.68);
  line-height:1.6;
}

.footer__meta p{
  margin:10px 0;
  color:rgba(255,255,255,.64);
  line-height:1.65;
}

.footer__meta b{
  color:rgba(255,255,255,.84);
  font-weight:700;
}

.footer__socials{
  margin-top:18px;
  display:flex;
  gap:14px;
  align-items:center;
}

.social-icon{
  width:44px;
  height:44px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.social-icon img{
  width:40;
  height:40;
  display:block;
}

.social-icon:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.075);
}

.footer__cols{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:36px;
}

.footer__title{
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
  color:rgba(255,255,255,.88);
  margin-bottom:14px;
}

.footer__col a{
  display:block;
  padding:7px 0;
  color:rgba(255,255,255,.65);
  text-decoration:none;
  transition:color .16s ease, transform .16s ease;
}

.footer__col a:hover{
  color:rgba(255,255,255,.92);
  transform:translateX(2px);
}

.footer__bottom{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.footer__copy{ color:rgba(255,255,255,.62); }

.footer__toplink{
  color:rgba(255,255,255,.70);
  text-decoration:none;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.footer__toplink:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.20);
  background:rgba(255,255,255,.065);
}

/* Responsive footer */
@media (max-width:980px){
  .footer__top{ grid-template-columns:1fr; gap:28px; }
  .footer__tag{ max-width:none; }
  .footer__cols{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:22px 26px;
  }
}

@media (max-width:560px){
  .social-icon{ width:50px; height:50px; border-radius:16px; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
}

@media (max-width:900px){
  .footer__cols{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:24px 28px;
  }
}

/* =========================
   RESPONSIVE — Tablet + Phone
========================= */
@media (max-width:980px){
  .hero__grid{ grid-template-columns:1fr; }
  .grid--3{ grid-template-columns:1fr; }
  .grid--2{ grid-template-columns:1fr; }

  /* carousel frame responsive */
  .hero__media{ height:320px; }
}

@media (max-width:720px){
  .hero__media{ height:260px; }
  .carousel__btn{ width:38px; height:38px; font-size:22px; }
  .carousel__btn--prev{ left:10px; }
  .carousel__btn--next{ right:10px; }

  .nav__toggle{ display:inline-flex; }

  /* (kept from your older CSS – harmless)
     if you are using #navMenu drawer, this block won’t break it */
  .site-header .nav__menu{
    position:fixed;
    left:0;
    right:0;
    top:var(--navH);
    background:
      radial-gradient(900px 240px at 20% 0%, rgba(253,224,71,.30), transparent 70%),
      radial-gradient(900px 240px at 80% 100%, rgba(6,182,212,.12), transparent 72%),
      rgba(255,255,255,.98);
    border-bottom:1px solid rgba(11,18,32,.10);
    padding:16px 20px 20px;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    z-index:999;
    box-shadow:0 28px 70px rgba(2,6,23,.18);
  }
  .site-header .nav__menu.is-open{ display:flex; }

  .site-header .nav__links{
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    white-space:normal;
    gap:8px;
  }

  .site-header .nav__links a,
  .site-header .drop__btn{
    width:100%;
    justify-content:flex-start;
    border-radius:16px;
    background:rgba(255,255,255,.82);
    border-color:rgba(11,18,32,.10);
  }

  .site-header .nav__right{ width:100%; gap:12px; }
  .site-header .nav__right .btn,
  .site-header .nav__right .lang-toggle{
    width:100%;
    justify-content:center;
  }

  .site-header .drop__panel{
    position:static;
    margin-top:8px;
    box-shadow:none;
    width:100%;
    background:rgba(255,255,255,.90);
  }

  .footer__bottom{ flex-direction:column; align-items:flex-start; }
  .social-icon{ width:42px; height:42px; border-radius:12px; }
}

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

/* Prevent Google Translate banner/jump */
.goog-te-banner-frame.skiptranslate{ display:none !important; }
body{ top:0 !important; }
.skiptranslate{ display:none !important; }


/* =========================================================
   GLOBAL BUTTON SYSTEM — YELLOW + WHITE (FINAL)
========================================================= */

:root{
--btn-h: 42px;          /* was 46px */
  --btn-pad-x: 18px;     /* was 20px */
  --btn-min-w: 140px;    /* was 150px */
  --btn-radius: 12px;    /* slightly tighter */

  /* Theme colors */
  --yellow: #FFD24A;
  --yellow-strong: #FFC12E;
  --yellow-soft: rgba(255, 210, 74, .25);

  --ink-dark: #1b1b1b;
  --ink-light: rgba(255,255,255,.92);
  --line-light: rgba(255,255,255,.28);
}

/* =========================
   BASE BUTTON (ALL)
========================= */
.btn,
a.btn,
button.btn{
  height: var(--btn-h) !important;
  min-height: var(--btn-h) !important;
  min-width: var(--btn-min-w);

  padding: 0 var(--btn-pad-x) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;

  border-radius: var(--btn-radius) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap;

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Icons inside buttons */
.btn svg,
.btn img{
  width: 18px;
  height: 18px;
}

/* =========================
   DEFAULT = WHITE BUTTON
========================= */
/* =========================
   WHITE BUTTON — VISIBILITY FIX
========================= */
.btn:not(.btn--primary):not(.btn--yellow){
  background: rgba(255,255,255,.75) !important;
  border: 1.5px solid rgba(0,0,0,.12) !important;
  color: #1f2937 !important; /* dark readable text */
  box-shadow: 0 6px 16px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(2px);
}


/* =========================
   PRIMARY = YELLOW BUTTON
========================= */
.btn--primary,
.btn--yellow{
  background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  color: var(--ink-dark) !important;
  box-shadow: 0 14px 32px rgba(255,193,46,.32) !important;
}

/* Hover / Active */
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn:focus-visible{
  outline: 3px solid var(--yellow-soft);
  outline-offset: 2px;
}

/* =========================
   BUTTON ROWS
========================= */
.hero-actions,
.actions,
.btn-row,
.cta-row,
.form-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* =========================================================
   AUTO RULE:
   If EXACTLY 2 buttons exist →
   1st = YELLOW, 2nd = WHITE
========================================================= */
.hero-actions:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(1),
.actions:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(1),
.btn-row:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(1),
.cta-row:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(1),
.form-actions:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(1){
  background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  color: var(--ink-dark) !important;
  box-shadow: 0 14px 32px rgba(255,193,46,.32) !important;
}

.hero-actions:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(2),
.actions:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(2),
.btn-row:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(2),
.cta-row:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(2),
.form-actions:has(.btn:nth-child(2)):not(:has(.btn:nth-child(3))) .btn:nth-child(2){
  background: rgba(255,255,255,.14) !important;
  border: 1px solid var(--line-light) !important;
  color: var(--ink-light) !important;
  box-shadow: none !important;
}

/* =========================
   LANGUAGE TOGGLE (MATCHES BUTTON HEIGHT)
========================= */
.lang-toggle,
.lang-switch,
.language-toggle{
  height: calc(var(--btn-h) + 6px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  display: inline-flex;
  gap: 6px;
}

.lang-toggle a,
.lang-toggle button{
  height: var(--btn-h);
  min-width: 78px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  background: transparent;
  border: none;
  color: rgba(0,0,0,.7);
}

/* Active language */
.lang-toggle .active{
  background: linear-gradient(180deg, var(--yellow), var(--yellow-strong));
  color: var(--ink-dark);
  box-shadow: 0 10px 22px rgba(255,193,46,.28);
}

/* =========================
   MOBILE TUNING
========================= */
@media (max-width: 560px){
  .btn,
  a.btn,
  button.btn{
    min-width: 132px;
  }
}

/* =========================================================
   CONTACT FORM — premium + eye-catching (CSS only)
   Works for: .contact form, #contact form, .card form, .panel form
========================================================= */

/* 1) Target the form area safely (multiple fallbacks) */
.contact form,
#contact form,
.card form,
.panel form {
  display: grid;
  gap: 14px;
}

/* 2) Make the form container look premium */
.contact,
#contact,
.contact-form,
.section-contact,
.card:has(form),
.panel:has(form) {
  position: relative;
}

.card:has(form),
.panel:has(form),
.contact .card,
#contact .card {
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(255, 210, 74, .22), transparent 60%),
    radial-gradient(700px 320px at 95% 100%, rgba(88, 170, 255, .18), transparent 62%),
    rgba(255,255,255,.70) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.18),
    0 2px 0 rgba(255,255,255,.35) inset !important;
  backdrop-filter: blur(10px);
  padding: 26px 26px 22px !important;
}

/* 3) Heading style */
.card:has(form) h2,
.panel:has(form) h2,
.card:has(form) h3,
.panel:has(form) h3,
.contact h2,
#contact h2 {
  margin: 0 0 10px !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
  color: #0c1222;
}

/* 4) Inputs + textarea — modern look */
.contact input,
#contact input,
.card form input,
.panel form input,
.contact textarea,
#contact textarea,
.card form textarea,
.panel form textarea,
.contact select,
#contact select,
.card form select,
.panel form select {
  width: 100%;
  height: 46px;
  padding: 0 14px;

  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);

  color: #111827;
  font-weight: 650;
  outline: none;

  box-shadow:
    0 10px 26px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.85) inset;
  transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease;
}

/* textarea sizing */
.contact textarea,
#contact textarea,
.card form textarea,
.panel form textarea {
  height: auto;
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

/* placeholders */
.contact input::placeholder,
#contact input::placeholder,
.card form input::placeholder,
.panel form input::placeholder,
.contact textarea::placeholder,
#contact textarea::placeholder,
.card form textarea::placeholder,
.panel form textarea::placeholder {
  color: rgba(17, 24, 39, .55);
  font-weight: 600;
}

/* focus (eye-catching but clean) */
.contact input:focus,
#contact input:focus,
.card form input:focus,
.panel form input:focus,
.contact textarea:focus,
#contact textarea:focus,
.card form textarea:focus,
.panel form textarea:focus,
.contact select:focus,
#contact select:focus,
.card form select:focus,
.panel form select:focus {
  border-color: rgba(255, 193, 46, .85);
  box-shadow:
    0 18px 44px rgba(255, 193, 46, .22),
    0 10px 26px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* 5) Make the submit button feel premium (theme: yellow) */
.contact button[type="submit"],
#contact button[type="submit"],
.card form button[type="submit"],
.panel form button[type="submit"],
.contact input[type="submit"],
#contact input[type="submit"] {
  height: 46px;
  width: 100%;
  border-radius: 16px;

  border: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, #FFD24A, #FFC12E);
  color: #141414;

  font-weight: 900;
  letter-spacing: .2px;

  box-shadow: 0 18px 42px rgba(255, 193, 46, .30);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.contact button[type="submit"]:hover,
#contact button[type="submit"]:hover,
.card form button[type="submit"]:hover,
.panel form button[type="submit"]:hover,
.contact input[type="submit"]:hover,
#contact input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(255, 193, 46, .36);
  filter: saturate(1.02);
}

.contact button[type="submit"]:active,
#contact button[type="submit"]:active,
.card form button[type="submit"]:active,
.panel form button[type="submit"]:active {
  transform: translateY(0);
}

/* 6) Helper text (the line under the button) */
.contact .helper,
#contact .helper,
.card:has(form) .helper,
.panel:has(form) .helper,
.card:has(form) p,
.panel:has(form) p {
  color: rgba(12, 18, 34, .70);
}

/* 7) Optional: 2-column layout on desktop (auto) */
@media (min-width: 860px){
  /* If your form has 4 fields then textarea, this gives a nice grid */
  .contact form,
  #contact form,
  .card form,
  .panel form {
    grid-template-columns: 1fr 1fr;
  }

  /* Make textarea + button span full width */
  .contact textarea,
  #contact textarea,
  .card form textarea,
  .panel form textarea,
  .contact button[type="submit"],
  #contact button[type="submit"],
  .card form button[type="submit"],
  .panel form button[type="submit"],
  .contact input[type="submit"],
  #contact input[type="submit"]{
    grid-column: 1 / -1;
  }
}

/* =========================================================
   CONTACT FORM — FORCE SINGLE COLUMN (ALL SIZES)
   Paste at END of styles.css
========================================================= */

.contact form,
#contact form,
.card form,
.panel form{
  grid-template-columns: 1fr !important;
}

/* Ensure textarea + button are normal single-column items */
.contact textarea,
#contact textarea,
.card form textarea,
.panel form textarea,
.contact button[type="submit"],
#contact button[type="submit"],
.card form button[type="submit"],
.panel form button[type="submit"],
.contact input[type="submit"],
#contact input[type="submit"]{
  grid-column: auto !important;
}

/* =========================
   FOOTER — Dark Aurora (FINAL CLEAN)
   ✅ clean font sizes
   ✅ no boxes around social icons
   ✅ WhatsApp size match using transform scale
========================= */

.footer{
  position:relative;
  margin-top:64px;
  padding:44px 0 22px;
  background:
    radial-gradient(1200px 520px at 12% 0%, rgba(88,140,255,.22), transparent 60%),
    radial-gradient(1000px 480px at 88% 100%, rgba(140,95,255,.22), transparent 55%),
    linear-gradient(180deg,#070a12 0%,#05070e 60%,#04060b 100%);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
}

.footer .container{ max-width:1200px; }

/* ---------- Typography (fix “weird” sizes) ---------- */
.footer{
  font-size:14.5px;
  line-height:1.65;
  color:rgba(255,255,255,.74);
}

.footer__name{
  font-weight:900;
  letter-spacing:.06em;
  font-size:18px;
  text-transform:uppercase;
  color:rgba(255,255,255,.94);
}

.footer__tag{
  margin:14px 0 18px;
  max-width:56ch;
  color:rgba(255,255,255,.66);
  line-height:1.6;
  font-size:14.5px;
}

.footer__meta p{
  margin:10px 0;
  color:rgba(255,255,255,.64);
  line-height:1.7;
  font-size:14.5px;
}
.footer__meta b{
  color:rgba(255,255,255,.84);
  font-weight:750;
}

/* ---------- Layout ---------- */
.footer__top{
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:48px;
  align-items:start;
}

.footer__brand .brand--footer{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.footer__brand .brand__logo{
  width:44px;
  height:44px;
  border-radius:999px;
  object-fit:cover;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}

.footer__cols{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:32px;
}

.footer__title{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
  color:rgba(255,255,255,.90);
  margin-bottom:12px;
}

.footer__col a{
  display:block;
  padding:7px 0;
  color:rgba(255,255,255,.66);
  text-decoration:none;
  font-size:14.5px;
  font-weight:550;
  transition:color .16s ease, transform .16s ease;
}

.footer__col a:hover{
  color:#FFD24A;
  transform:translateX(2px);
}

/* ---------- Socials: NO BOXES (this fixes your issue) ---------- */
.footer__socials{
  margin-top:18px;
  display:flex;
  gap:16px;
  align-items:center;
}

/* If your <a> has class="social-icon" -> remove its box styles */
.footer__socials .social-icon{
  all: unset;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
}

/* Base icon size = WhatsApp reference */
.footer__socials img{
  height:30px !important;
  width:auto !important;
  display:block !important;
  transform:none !important;
  opacity:.95;
  transition:transform .15s ease, opacity .15s ease;
}

/* Enlarge the smaller ones to match WhatsApp visually */
.footer__socials img[src*="facebook"]{
  transform:scale(0.8) !important; /* adjust 1.12–1.25 if needed */
  transform-origin:center;
}

.footer__socials img[src*="instagram"]{
  transform:scale(1.18) !important; /* adjust 1.12–1.25 if needed */
  transform-origin:center;
}

.footer__socials img[src*="email"]{
  transform:scale(1.58) !important; /* adjust 1.12–1.25 if needed */
  transform-origin:center;
}

.footer__socials img[src*="whatsapp"]{
  transform:scale(0.8) !important; /* adjust 1.12–1.25 if needed */
  transform-origin:center;
}

.footer__socials a:hover img{
  transform:translateY(-2px) scale(1.18) !important;
  opacity:1;
}

/* ---------- Bottom row ---------- */
.footer__bottom{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.footer__copy{
  color:rgba(255,255,255,.62);
  font-size:13.5px;
}

.footer__toplink{
  color:rgba(255,255,255,.74);
  text-decoration:none;
  font-size:13.5px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.footer__toplink:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#FFD24A;
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .footer__top{ grid-template-columns:1fr; gap:26px; }
  .footer__cols{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:22px 26px;
  }
}

@media (max-width:720px){
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
  .footer__socials img{ height:26px !important; }
}

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

/* =========================================================
   ABOUT PAGE — Equal height side-by-side cards (FINAL)
========================================================= */

/* 1️⃣ Make the split container stretch its children */
.about-split{
  display: grid;               /* already grid, but ensure stretch */
  align-items: stretch;        /* KEY: same height */
}

/* 2️⃣ Force both cards to fill available height */
.about-split__card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 3️⃣ Keep content natural, push CTAs to bottom (right card) */
.about-split__card .about-actions{
  margin-top: auto;
  padding-top: 18px;
}

/* =========================================================
   Highlights row — clean separators + perfect wrapping
========================================================= */
.highlights-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;               /* row-gap / column-gap */
  margin: 10px 0 14px;
  max-width: 72ch;             /* stops too-wide stretching */
  color: rgba(11,18,32,.78);
  font-size: 15px;
  line-height: 1.6;
}

/* Each item */
.highlights-row span{
  position: relative;
  font-weight: 650;
  white-space: nowrap;          /* keeps each phrase together */
}

/* Separator dot between items */
.highlights-row span:not(:last-child){
  padding-right: 18px;
}

.highlights-row span:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD24A, #FFC12E);
  box-shadow: 0 6px 14px rgba(255,193,46,.28);
}

/* Mobile: allow phrases to wrap normally if needed */
@media (max-width: 520px){
  .highlights-row{
    gap: 8px 14px;
    font-size: 14.5px;
    max-width: 100%;
  }
  .highlights-row span{
    white-space: normal;        /* prevents overflow */
  }
}

/* =========================================================
   BAND — Tagline + full-width paragraph (Campus section)
========================================================= */

/* Tagline */
.band__title{
  font-family: var(--serif);     /* elegant, headline feel */
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  max-width: 100%;
}

/* Supporting paragraph (full width) */
.band__text{
  max-width: 100%;               /* KEY: full width */
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* =========================================================
   Key points strip — premium, balanced, no bullets/pills
========================================================= */
.keypoints{
  --kp-dot: 7px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* forces balance */
  gap: 10px 18px;

  margin: 10px 0 16px;
  max-width: 64ch;

  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.55);
  box-shadow: 0 14px 28px rgba(2,6,23,.08);
}

/* each item */
.keypoints span{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 15px;
  font-weight: 750;
  color: rgba(11,18,32,.82);
  line-height: 1.35;
}

/* the accent dot (not a bullet list feel) */
.keypoints span::before{
  content:"";
  width: var(--kp-dot);
  height: var(--kp-dot);
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD24A, #FFC12E);
  box-shadow: 0 10px 18px rgba(255,193,46,.25);
  flex: 0 0 var(--kp-dot);
}

/* Mobile: single column */
@media (max-width: 560px){
  .keypoints{
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* =========================================================
   CONTACT FORM — FINAL ADD-ON CSS (paste at very bottom)
   ✅ premium look
   ✅ single column
   ✅ inline success/error message near form (form-flash)
   ✅ better select styling
========================================================= */

/* 1) Force single column for the contact form (all screen sizes) */
#contactForm,
#contactForm.form{
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 14px;
}

/* 2) Make the card holding the form feel premium (only the card that has #contactForm) */
.card:has(#contactForm){
  border-radius: 28px !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(255, 210, 74, .22), transparent 60%),
    radial-gradient(700px 320px at 95% 100%, rgba(88, 170, 255, .18), transparent 62%),
    rgba(255,255,255,.72) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.18),
    0 2px 0 rgba(255,255,255,.35) inset !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 3) Inputs, textarea, select — clean, consistent */
#contactForm .input{
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  color: #111827;
  font-weight: 650;
  outline: none;
  box-shadow:
    0 10px 26px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.85) inset;
  transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Textarea sizing */
#contactForm textarea.input{
  height: auto;
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

/* Select styling + arrow */
#contactForm select.input{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 42px; /* room for arrow */
  cursor: pointer;

  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
    rgba(255,255,255,.92);
}

/* Add a subtle arrow using a background image (CSS only) */
#contactForm select.input{
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(17,24,39,.55) 50%),
    linear-gradient(135deg, rgba(17,24,39,.55) 50%, transparent 50%),
    linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.10));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 40px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 18px;
  background-repeat: no-repeat;
}

/* Placeholders */
#contactForm .input::placeholder{
  color: rgba(17,24,39,.55);
  font-weight: 600;
}

/* Focus state */
#contactForm .input:focus{
  border-color: rgba(255, 193, 46, .85);
  box-shadow:
    0 18px 44px rgba(255, 193, 46, .22),
    0 10px 26px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* 4) Inline message area (errors + success) */
#contactForm .form-flash{
  display: none;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.14);
  background: rgba(255,255,255,.78);
  color: rgba(11,18,32,.90);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 10px 22px rgba(2,6,23,.08);
}

/* Show when JS adds class */
#contactForm .form-flash.is-show{
  display: block;
}

/* Error style */
#contactForm .form-flash[data-type="error"]{
  border-color: rgba(220,38,38,.25);
  background: rgba(220,38,38,.08);
  color: #7f1d1d;
}

/* Success style */
#contactForm .form-flash[data-type="success"]{
  border-color: rgba(15,118,110,.25);
  background: rgba(15,118,110,.08);
  color: #064e3b;
}

/* Info style (optional) */
#contactForm .form-flash[data-type="info"]{
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.10);
  color: #7c2d12;
}

/* 5) Make the submit button full-width (and consistent with your button system) */
#contactForm button[type="submit"],
#contactForm input[type="submit"]{
  width: 100% !important;
}

/* 6) Fineprint spacing */
#contactForm .fineprint{
  margin-top: 8px;
  color: rgba(11,18,32,.62);
  font-size: 13.5px;
  line-height: 1.55;
}

/* 7) Mobile: slightly tighter input height */
@media (max-width: 560px){
  #contactForm .input{
    height: 44px;
  }
}

/* =========================================================
   ENROLL PAGE — FORM STYLING (matches Contact form)
========================================================= */

/* 1️⃣ Make both cards same height on desktop */
.grid.grid--2:has(#enrollForm){
  align-items: stretch;
}
.grid.grid--2:has(#enrollForm) > .card{
  height: 100%;
}

/* 2️⃣ Enroll form → single column everywhere */
#enrollForm{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* 3️⃣ Premium background for enroll form card */
.card:has(#enrollForm){
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.30);
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(255,210,74,.22), transparent 60%),
    radial-gradient(700px 320px at 95% 100%, rgba(88,170,255,.18), transparent 62%),
    rgba(255,255,255,.72);
  box-shadow:
    0 22px 70px rgba(0,0,0,.18),
    0 2px 0 rgba(255,255,255,.35) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 4️⃣ Inputs / textarea / select */
#enrollForm .input{
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  color: #111827;
  font-weight: 600;
  outline: none;
  box-shadow:
    0 10px 26px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.85) inset;
  transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Textarea */
#enrollForm textarea.input{
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

/* 5️⃣ Select dropdown arrow (same as Contact) */
#enrollForm select.input{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;

  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
    rgba(255,255,255,.92);

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(17,24,39,.55) 50%),
    linear-gradient(135deg, rgba(17,24,39,.55) 50%, transparent 50%),
    linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.10));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 40px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 18px;
  background-repeat: no-repeat;
}

/* Focus state */
#enrollForm .input:focus{
  border-color: rgba(255,193,46,.9);
  box-shadow:
    0 18px 44px rgba(255,193,46,.22),
    0 10px 26px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* 6️⃣ Inline flash message (error / success) */
#enrollForm .form-flash{
  display: none;
  padding: 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 10px 22px rgba(2,6,23,.08);
}

#enrollForm .form-flash.is-show{
  display: block;
}

#enrollForm .form-flash[data-type="error"]{
  border: 1px solid rgba(220,38,38,.25);
  background: rgba(220,38,38,.08);
  color: #7f1d1d;
}

#enrollForm .form-flash[data-type="success"]{
  border: 1px solid rgba(15,118,110,.25);
  background: rgba(15,118,110,.08);
  color: #064e3b;
}

/* 7️⃣ Submit button full width */
#enrollForm button[type="submit"]{
  width: 100%;
}

/* 8️⃣ Right-side card polish */
.grid.grid--2:has(#enrollForm) > .card:not(:has(#enrollForm)){
  padding: 24px;
}
.grid.grid--2:has(#enrollForm) > .card:not(:has(#enrollForm)) .btn{
  width: 100%;
}

/* 9️⃣ Fineprint */
#enrollForm .fineprint{
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(11,18,32,.62);
}

/* 🔟 Mobile tweaks */
@media (max-width: 560px){
  #enrollForm .input{
    height: 44px;
  }
}


/* =========================================================
   ENROLL — match Contact form style + inline messages
   Paste at END of styles.css
========================================================= */

/* Equal height cards on desktop */
.enroll-grid{
  align-items: stretch;
}
.enroll-grid > .enroll-card{
  height: 100%;
}

/* Premium look for form card */
.enroll-card--form{
  border-radius: 28px !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(255,210,74,.22), transparent 60%),
    radial-gradient(700px 320px at 95% 100%, rgba(88,170,255,.18), transparent 62%),
    rgba(255,255,255,.72) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.18),
    0 2px 0 rgba(255,255,255,.35) inset !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Enroll form single column */
#enrollForm{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Inline message (success/error) */
#enrollInlineMsg.form-flash{
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 10px 22px rgba(2,6,23,.08);
  margin-bottom: 6px;
}

#enrollInlineMsg.form-flash.is-show{
  display: block;
}

#enrollInlineMsg.form-flash[data-type="error"]{
  border: 1px solid rgba(220,38,38,.25);
  background: rgba(220,38,38,.08);
  color: #7f1d1d;
}

#enrollInlineMsg.form-flash[data-type="success"]{
  border: 1px solid rgba(15,118,110,.25);
  background: rgba(15,118,110,.08);
  color: #064e3b;
}

/* Make Review button full width inside right card */
.enroll-card--info .btn{
  width: 100%;
}

/* =========================================
   FOOTER FIX (matches your footer.html)
   Paste at END of styles.css
========================================= */

/* Main footer shell */
.footer {
  position: relative;
  padding: 44px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(900px 360px at 12% 10%, rgba(70,140,255,.18), transparent 60%),
    radial-gradient(900px 380px at 92% 90%, rgba(140,90,255,.18), transparent 60%),
    rgba(10, 12, 18, .92);
  color: rgba(255, 255, 255, .78);
}

/* Top layout: brand left, links right */
.footer__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 34px;
  align-items: start;
}

/* Brand row (logo + name) */
.footer .brand--footer {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer .brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  flex: 0 0 auto;
}

.footer__name {
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
  line-height: 1.15;
}

/* Footer tagline paragraph */
.footer__tag {
  margin: 14px 0 16px;
  color: rgba(255, 255, 255, .64);
  line-height: 1.65;
  max-width: 54ch;
}

/* Address/phone/established block */
.footer__meta p {
  margin: 10px 0;
  line-height: 1.55;
}

.footer__meta b {
  color: rgba(255, 255, 255, .92);
  font-weight: 700;
}

/* Social icons row */
.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
}

.footer__socials .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.footer__socials .social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.footer__socials .social-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* Links grid */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 22px;
  align-items: start;
}

/* Column titles */
.footer__title {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

/* Links */
.footer__col a {
  display: inline-block;
  padding: 7px 0;
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.footer__col a:hover {
  color: rgba(255, 255, 255, .92);
  transform: translateX(2px);
}

/* Bottom row */
.footer__bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

/* Back to top (style only, not behavior) */
.footer__toplink {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;

  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);

  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.footer__toplink:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

/* Responsive */
@media (max-width: 980px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px 18px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer {
    padding: 36px 0 22px;
  }

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

  .footer__toplink {
    width: 100%;
    justify-content: center;
  }
}

.form-flash {
  display: none;
  margin: 12px 0 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.04);
}

.form-flash.is-show { display: block; }

.form-flash[data-type="success"] {
  border-color: rgba(34, 197, 94, .35);
  background: rgba(34, 197, 94, .10);
}

.form-flash[data-type="error"] {
  border-color: rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .10);
}

.form-flash[data-type="info"] {
  border-color: rgba(59, 130, 246, .35);
  background: rgba(59, 130, 246, .10);
}

/* ===== Back to top – remove box styling ===== */
.back-to-top {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;

  color: rgba(255,255,255,0.75);
  font-size: 14px;
  text-decoration: none;
}

.back-to-top:hover {
  color: #fff;
  text-decoration: underline;
}

/* Footer: remove bullets */
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  padding: 0;
  margin: 0 0 10px;
}

/* Footer Back to Top – force remove button styles */
.footer-bottom .back-to-top,
.footer-bottom a.back-to-top {
  all: unset;                 /* reset everything */
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer-bottom .back-to-top:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================
   FOOTER LINKS: consistent alignment (all columns)
========================= */

/* If any column uses UL/LI, remove default spacing */
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin: 0;          /* remove browser default */
  padding: 0;
}

/* Make every footer link behave same */
.footer__col a {
  display: block;          /* forces perfect vertical alignment */
  padding: 8px 0;          /* consistent spacing */
  margin: 0;               /* no extra offset */
  line-height: 1.2;
  text-decoration: none;
}

/* Optional: keep hover style clean */
.footer__col a:hover {
  text-decoration: underline;
}

/* =========================
   Interactive Academic Calendar
========================= */
.cal { position: relative; overflow: hidden; }
.cal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cal__legend { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 6px 10px; border-radius: 999px;
  font-weight: 800; font-size: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.7);
}

/* category colors */
:root{
  --cal-term: #2b78ff;
  --cal-exam: #ff3b5c;
  --cal-ptm:  #7a3cff;
  --cal-event:#16a34a;
  --cal-holiday:#f59e0b;
}

.cal-pill--term{ color: var(--cal-term); }
.cal-pill--exam{ color: var(--cal-exam); }
.cal-pill--ptm{ color: var(--cal-ptm); }
.cal-pill--event{ color: var(--cal-event); }
.cal-pill--holiday{ color: var(--cal-holiday); }

.cal__controls{
  display:flex; align-items:center; gap:10px; flex-wrap: wrap;
}
.cal__btn{ padding: 10px 12px; }
.cal__range{ font-weight: 800; opacity: .85; }

.cal__mount{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.cal-month{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  overflow: hidden;
}

.cal-month__head{
  padding: 12px 14px;
  display:flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.cal-month__title{ font-weight: 900; font-size: 18px; }
.cal-month__meta{ font-size: 12px; opacity: .75; font-weight: 700; }

.cal-grid{
  padding: 12px 12px 14px;
}

.cal-dow{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  opacity: .65;
}
.cal-dow span{ text-align:center; }

.cal-days{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-day{
  position: relative;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.65);
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding: 8px 8px 10px;
  font-weight: 900;
  font-size: 12px;
}

.cal-day.is-empty{
  border: 1px dashed rgba(0,0,0,.10);
  background: rgba(255,255,255,.35);
}

.cal-day__num{ opacity: .85; }

.cal-badges{
  position:absolute;
  left: 8px;
  bottom: 6px;
  display:flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cal-dot{
  width: 9px; height: 9px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.75);
}

/* dot colors */
.cal-dot--term{ background: var(--cal-term); }
.cal-dot--exam{ background: var(--cal-exam); }
.cal-dot--ptm{ background: var(--cal-ptm); }
.cal-dot--event{ background: var(--cal-event); }
.cal-dot--holiday{ background: var(--cal-holiday); }

/* hover target */
.cal-day.has-events{
  cursor: help;
  outline: none;
}
.cal-day.has-events:hover{
  border-color: rgba(0,0,0,.14);
  transform: translateY(-1px);
}
.cal-day{ transition: transform .12s ease, border-color .12s ease; }

/* tooltip */
.cal-tip{
  position: fixed;
  z-index: 9999;
  max-width: 280px;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(15, 18, 28, .92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .12s ease, transform .12s ease;
}

.cal-tip.is-show{
  opacity: 1;
  transform: translateY(0);
}

.cal-tip__date{ font-weight: 900; margin-bottom: 6px; }
.cal-tip__item{ font-size: 13px; line-height: 1.25; opacity: .95; margin: 4px 0; }
.cal-tip__tag{
  display:inline-flex; align-items:center; gap: 6px;
  font-weight: 900;
}
.cal-tip__swatch{
  width: 10px; height: 10px; border-radius: 999px;
  display:inline-block;
}

.cal__note{ margin-top: 12px; }

.cal__mount{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px){
  .cal__mount{ grid-template-columns: 1fr; }
}

/* =========================
   Notices (Eye-catching)
========================= */
.notices { display: grid; gap: 18px; }

/* Pinned card */
.notice--pinned{
  position: relative;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(135deg, rgba(255, 204, 0, .18), rgba(255,255,255,.85));
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  overflow: hidden;
}

.notice--pinned::after{
  content:"";
  position:absolute;
  inset:-40px -60px auto auto;
  width:180px; height:180px;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .25), transparent 60%);
  filter: blur(2px);
  pointer-events:none;
}

.notice__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}

.notice__pin{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
}

.notice__actions{ margin-top: 12px; }
.btn--sm{ padding: 10px 14px; font-size: 13px; border-radius: 14px; }

/* Notice cards */
.notice{
  --accent: rgba(0,0,0,.12);
  position: relative;
  padding: 16px 18px 16px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transition: transform .16s ease, box-shadow .16s ease;
  overflow: hidden;
}

.notice::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  background: var(--accent);
}

.notice:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
}

.notice__title{
  margin: 6px 0 6px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.notice__text{
  font-size: 14px;
  opacity: .9;
  margin: 0;
}

.notice__meta{
  font-size: 12px;
  opacity: .65;
}

/* Tags (chips) */
.notice__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.85);
}

.notice__tag--exam{ background: rgba(255,59,92,.12); }
.notice__tag--ptm{ background: rgba(122,60,255,.12); }
.notice__tag--holiday{ background: rgba(245,158,11,.14); }
.notice__tag--general{ background: rgba(0,0,0,.06); }

/* Accent colors per notice type */
.notice--exam{ --accent: rgba(255,59,92,.65); }
.notice--ptm{ --accent: rgba(122,60,255,.65); }
.notice--holiday{ --accent: rgba(245,158,11,.70); }
.notice--general{ --accent: rgba(0,0,0,.25); }

.notice-list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 820px){
  .notice-list{ grid-template-columns: 1fr; }
  .notice__top{ flex-direction: column; align-items: flex-start; }
}

/* ===== Gallery Wall (Grid) ===== */
.gallery-wall{
  display:grid;
  gap:16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

/* Tablet */
@media (max-width: 980px){
  .gallery-wall{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 560px){
  .gallery-wall{ grid-template-columns: 1fr; }
}

/* Card */
.gallery-card{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(10,20,30,.10);
  box-shadow: 0 10px 24px rgba(10,20,30,.08);
}

/* Image */
.gallery-card img{
  width:100%;
  height: 220px;
  object-fit: cover;     /* keeps it nicely cropped */
  display:block;
}

/* Caption */
.gallery-card figcaption{
  padding: 12px 12px 14px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(12,16,22,.85);
}

.about-header h1{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.about-header .tagline{
  font-size: 16px;
  color: rgba(20,25,30,.75);
  font-weight: 500;
  line-height: 1.6;
}

/* =========================
   PAGE HERO (About/Admissions etc.)
========================= */

.page-hero{
  padding: clamp(28px, 4vw, 56px) 0;
}

.page-hero .container{
  position: relative;
}

/* Title */
.page-hero__title{
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  flex-wrap: wrap;
  gap: .35em;
  align-items: baseline;
}

/* The "About" prefix */
.page-hero__title [data-i18n]{
  opacity: .92;
  font-weight: 900;
}

/* The school name part */
.page-hero__title .notranslate{
  position: relative;
  font-weight: 950;
}


/* Subtitle */
.page-hero__sub{
  margin: 14px 0 0;
  max-width: 72ch;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: #475569;
}

/* Soft HR */
.hr-soft{
  margin-top: clamp(16px, 2vw, 24px);
  border: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(15, 23, 42, .14),
    transparent
  );
}

/* Mobile tuning */
@media (max-width: 520px){
  .page-hero__title{
    line-height: 1.06;
    gap: .25em;
  }
  .page-hero__title .notranslate::after{
    width: 85%;
    bottom: -9px;
    height: 7px;
  }
}

/* =========================================================
   PAGE HERO SPACING + FONT (About / Admissions)
   Put this at the bottom of styles.css
========================================================= */

/* Reduce extra whitespace in the hero */
.page-hero{
  padding: clamp(16px, 2.2vw, 28px) 0 !important;
}

/* Remove big bottom margin that often pushes the next section down */
.page-hero .container{
  padding-bottom: 0 !important;
}

/* Make title slightly smaller (still premium) */
.page-hero__title{
  font-size: clamp(28px, 3.2vw, 44px) !important;
  line-height: 1.08 !important;
  margin: 0 !important;
}

/* Subtitle tighter */
.page-hero__sub{
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  font-size: clamp(14px, 1.2vw, 17px) !important;
}

/* HR should not create extra gap */
.hr-soft{
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

/* FIRST section after hero should start closer */
.page-hero + .section{
  padding-top: clamp(14px, 2vw, 22px) !important;
}

/* Your “Overview” heading block: reduce extra gap */
.section__head{
  margin-bottom: 14px !important;
}

/* Reduce overall section padding a bit (keeps the page tighter) */
.section{
  padding: clamp(22px, 3vw, 36px) 0 !important;
}

/* If you use section--tight anywhere, make it tighter */
.section--tight{
  padding: clamp(16px, 2.2vw, 28px) 0 !important;
}

/* =========================
   HERO — MOBILE CAROUSEL FIX
========================= */
@media (max-width: 980px) {
  .hero {
    padding-top: 18px;      /* tighter */
    padding-bottom: 24px;
  }

  /* Stack content + media */
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Put carousel after content */
  .hero__media {
    order: 2;
  }

  /* Make carousel a clean responsive frame */
  .carousel--hero {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;

    /* ✅ main fix: responsive height */
    height: clamp(190px, 44vw, 270px);
  }

  /* Track must fill the frame */
  .carousel--hero .carousel__track,
  .carousel--hero .carousel__slide {
    height: 100%;
  }

  /* If your slides are background-image based */
  .carousel--hero .carousel__slide {
    background-size: cover;
    background-position: center;
  }

  /* Buttons: smaller + not blocking the image */
  .carousel__btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.95;
  }

  /* Dots: closer and smaller */
  .carousel__dots {
    bottom: 10px;
  }
}

/* Extra small phones: slightly shorter carousel */
@media (max-width: 420px) {
  .carousel--hero {
    height: clamp(170px, 48vw, 230px);
  }
}

/* =========================================
   FIX CTA CUTTING (NO CAROUSEL CHANGE)
========================================= */
@media (max-height: 820px) and (min-width: 981px) {
  .hero { padding: 21px 0 26px; }

  .hero__title { line-height: 1.03; margin-bottom: 10px; }

  .hero__sub {
    margin: 8px 0 12px;
    font-size: 15px;
    line-height: 1.45;
  }

  .keypoints { margin: 12px 0 14px; }
  .hero__actions { margin-top: 10px; }
}

/* =========================================
   MOBILE: REMOVE EMPTY SPACE UNDER CAROUSEL
========================================= */
@media (max-width: 980px) {

  /* prevent the media column from stretching taller than its content */
  .hero__grid { align-items: start; }

  /* remove any forced height/min-height on the media wrapper */
  .hero__media {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ensure carousel wrapper doesn't create extra space */
  .carousel--hero {
    margin: 0 !important;
  }

  /* if your hero__media has a "card" background/gradient, keep it tight */
  .hero__media::before,
  .hero__media::after {
    content: none !important;
  }
}

/* ================================
   MOBILE: SECTION TITLE FIT ONE LINE
================================ */
@media (max-width: 480px) {
  .section__title {
    font-size: clamp(25px, 5.2vw, 24px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;     /* ✅ force single line */
  }
}

/* ================================
   MOBILE: SPACE BETWEEN CTA BUTTONS
================================ */
@media (max-width: 480px) {
  .hero__actions,
  .cta-strip__actions {
    display: flex;
    flex-direction: column;   /* stack buttons */
    gap: 10px;                /* ✅ space between buttons */
  }

  .hero__actions .btn,
  .cta-strip__actions .btn {
    width: 100%;              /* clean full-width buttons */
    text-align: center;
  }
}

/* =========================================
   MOBILE: CONSISTENT SPACING FOR ALL CTA GROUPS
========================================= */
@media (max-width: 480px) {

  /* All your "button rows" */
  .hero__actions,
  .cta-strip__actions,
  .band__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;               /* space between buttons */
    align-items: stretch;
  }

  /* Make buttons full width on mobile */
  .hero__actions .btn,
  .cta-strip__actions .btn,
  .band__actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Remove inline margin-right impact on mobile */
  .hero__actions .btn[style],
  .cta-strip__actions .btn[style],
  .band__actions .btn[style] {
    margin-right: 0 !important;
  }
}

/* =================================================
   MOBILE ONLY: FIT HERO CONTENT IN ONE SCREEN
   (TEXT + SPACING ONLY — NO DESKTOP IMPACT)
================================================= */
@media (max-width: 480px) {

  /* Reduce hero vertical padding */
  .hero {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  /* Eyebrow line */
  .eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
    letter-spacing: .04em;
  }

  /* Main hero heading */
  .hero__title {
    font-size: clamp(26px, 7vw, 30px);
    line-height: 1.1;
    margin-bottom: 8px;
  }

  /* Paragraph */
  .hero__sub {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 12px;

    /* Prevent it from pushing content too much */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Key points box */
  .keypoints {
    margin: 10px 0 12px;
    gap: 6px;
  }

  .keypoints span {
    font-size: 13px;
    padding: 7px 10px;
  }

  /* CTA buttons already stacked — tighten spacing */
  .hero__actions {
    gap: 8px;
    margin-top: 8px;
  }

  .hero__actions .btn {
    padding: 11px 14px;
    font-size: 14px;
  }
}

/* =========================================
   MOBILE: PAGE / SECTION TITLE READABILITY
========================================= */
@media (max-width: 480px) {

  /* Page-level titles like "About Gyan Vidya Mandir, Nagpur" */
  .page-hero__title,
  .section__title {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.01em;

    /* Better readability on phone */
    text-align: left;        /* avoid awkward center wrapping */
    text-wrap: balance;      /* modern browsers: balances lines */
  }
}

/* =========================================
   MOBILE: STACK + SPACE FOR ABOUT PAGE BUTTONS
   (About.html uses .about-actions)
========================================= */
@media (max-width: 480px) {

  .about-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: 12px;
  }

  .about-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cal__controls {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* Prev | Next */
    gap: 10px;
    align-items: center;
  }

  .cal__range {
    grid-column: 1 / -1;            /* range below */
    text-align: center;
    margin-top: 2px;
  }

  .cal__btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 12px;
  }
}

/* =========================================
   MOBILE ONLY: CALENDAR CONTROLS FIX
   (resources.html calendar)
========================================= */
@media (max-width: 480px) {

  /* Give the whole calendar card a bit tighter padding */
  .cal {
    padding: 14px;
  }

  /* Legend pills wrap nicely */
  .cal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
  }

  /* Controls: stack + center, no weird spacing */
  .cal__controls {
    display: grid;
    grid-template-columns: 1fr;   /* stack */
    gap: 10px;
    align-items: center;
    justify-items: center;
    margin-top: 6px;
  }

  /* Make Prev/Next buttons equal width */
  .cal__btn {
    width: 140px;                /* consistent size */
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 12px;
  }

  /* Range text centered and not too wide */
  .cal__range {
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    max-width: 24ch;
  }
}
/* =================================================
   MOBILE ONLY: FORCE CALENDAR CONTROLS LAYOUT
   (Prev | Next on one row, Range below)
================================================= */
@media (max-width: 480px) {

  .cal .cal__top { gap: 10px; }

  /* Force legend wrap */
  .cal .cal__legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* ✅ Force controls into grid */
  .cal .cal__controls {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "prev next"
      "range range" !important;
    gap: 10px !important;
    align-items: center !important;
    justify-items: stretch !important;
    margin-top: 10px !important;
  }

  /* Map buttons to grid areas */
  .cal .cal__controls [data-cal-prev] {
    grid-area: prev !important;
    justify-self: stretch !important;
  }

  .cal .cal__controls [data-cal-next] {
    grid-area: next !important;
    justify-self: stretch !important;
  }

  .cal .cal__controls .cal__range {
    grid-area: range !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  /* Make buttons full-width and consistent */
  .cal .cal__btn {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }
}
/* =========================================
   MOBILE: SHOW ONLY ONE MONTH IN CALENDAR
========================================= */
@media (max-width: 480px) {
  /* Hide the 2nd month card/panel inside the calendar mount */
  #academicCalendar > :nth-child(n+2) {
    display: none !important;
  }
}
@media (max-width: 480px) {
  #academicCalendar {
    overflow-x: hidden;
  }
}

/* =========================================
   MOBILE: CALENDAR FIT + TEXT SCALE
========================================= */
@media (max-width: 480px) {

  /* tighten section spacing so calendar fits */
  #calendar .card.cal {
    padding: 12px;
  }

  /* title/subtitle in page hero */
  .page-hero__title {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.15;
  }
  .page-hero__sub {
    font-size: 14px;
    line-height: 1.45;
  }

  /* legend pills wrap */
  .cal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* controls: compact */
  .cal__range { font-size: 13px; }

  .cal__btn {
    padding: 9px 10px;
    font-size: 13px;
  }

  /* calendar grid: allow horizontal scroll instead of squishing */
  #academicCalendar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* if the calendar table/grid is wide, keep it readable */
  #academicCalendar table,
  #academicCalendar .cal-grid,
  #academicCalendar .month {
    min-width: 340px;
  }
}

@media (max-width: 480px) {
  .cal__range { display: none !important; }
}

@media (max-width: 480px) {
  .cal__controls{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* make buttons equal width (optional, looks clean) */
  .cal__controls .cal__btn{
    min-width: 120px;
    text-align: center;
  }
}

/* Phone: make Calendar section fill the screen so next section starts after scroll */
@media (max-width: 480px) {
  /* adjust 140px if your header/ticker is taller */
  #calendar {
    min-height: calc(100vh - 140px);
    padding-bottom: 28px;
    display: flex;
    align-items: flex-start;
  }

  #calendar .container {
    width: 100%;
  }

  /* give the calendar card a little breathing room at bottom */
  #calendar .cal {
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {

  /* Force calendar controls to center */
  .cal__controls {
    display: flex !important;
    flex-direction: row;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  /* Ensure buttons don't stretch unevenly */
  .cal__controls .cal__btn {
    flex: 0 0 auto;
    min-width: 110px;
    padding: 10px 14px;
    text-align: center;
  }

  /* Hide range text completely (already discussed, but keep here for safety) */
  .cal__range {
    display: none !important;
  }
}
/* =========================================
   PHONE: CALENDAR SIDE SPACING & ALIGNMENT
========================================= */
@media (max-width: 480px) {

  /* Add breathing room to whole calendar section */
  #calendar {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Ensure container doesn't remove padding */
  #calendar .container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Slight inset for the calendar card itself */
  #calendar .cal {
    margin-left: auto;
    margin-right: auto;
    padding: 14px;
    border-radius: 16px;
  }

  /* Month title alignment feels more balanced */
  .cal-month__title {
    padding-left: 4px;
  }

  /* Grid days don't touch edges */
  .cal-grid {
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (max-width: 480px) {

  /* Force side gutters for the whole Calendar section */
  #calendar .container{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Make the card respect the gutters */
  #calendar .cal{
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Nudge only the "Academic Calendar" heading a bit away from edge */
  #calendar .section__title{
    padding-left: 2px;
  }
}
