/* ================================================================
   TOLARBAG CARE ACADEMY  — PREMIUM LUXURY REDESIGN
   Design System v3.0  |  $15,000-caliber school website
   Palette: Navy #0C1B33 · Gold #C9A865 · Cream #FDFCF9
   Fonts: Playfair Display (display) · DM Sans (body)
   ================================================================ */

/* ----------------------------------------------------------------
   CUSTOM PROPERTIES — Design Tokens
   ---------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --navy:          #0C1B33;
  --navy-mid:      #152642;
  --navy-light:    #1E3459;
  --gold:          #C9A865;
  --gold-light:    #DFC08A;
  --gold-dark:     #A8874A;
  --gold-pale:     rgba(201,168,101,0.10);
  --sage:          #3E6B52;
  --sage-light:    #EEF4F0;

  /* Backgrounds */
  --cream:         #FDFCF9;
  --cream-alt:     #F6F3EC;
  --cream-dark:    #EDE8DC;
  --white:         #FFFFFF;

  /* Text */
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-light:    #6B7280;
  --text-muted:    #9CA3AF;
  --text-white:    rgba(255,255,255,0.90);
  --text-white-dim: rgba(255,255,255,0.60);

  /* Borders */
  --border:        #E8E3D8;
  --border-light:  #F0EDE5;

  /* Shadows */
  --shadow-xs:  0 1px 4px  rgba(12,27,51,0.06);
  --shadow-sm:  0 2px 10px rgba(12,27,51,0.08);
  --shadow-md:  0 8px 28px rgba(12,27,51,0.10);
  --shadow-lg:  0 20px 56px rgba(12,27,51,0.14);
  --shadow-xl:  0 36px 80px rgba(12,27,51,0.18);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Inter', system-ui, sans-serif;

  /* Bangla Fonts */
  --font-bn-display: 'NikoshBAN', 'Kalpurush', sans-serif;
  --font-bn-body:    'Kalpurush', 'NikoshLight', sans-serif;
  --font-bn-italic:  'AdorshoLipi', 'NikoshLight', 'Kalpurush', sans-serif;

  /* Spacing */
  --section-py: 6rem;
  --container:  1280px;
  --px:         clamp(1.25rem, 5vw, 2rem);

  /* Motion */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --fast:       0.18s;
  --base:       0.32s;
  --slow:       0.60s;

  /* Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--navy);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

/* ----------------------------------------------------------------
   BANGLA CUSTOM FONTS
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'NikoshLight';
  src: url('fonts/NikoshLight.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NikoshBAN';
  src: url('fonts/NikoshBAN.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Kalpurush';
  src: url('fonts/kalpurush.ttf') format('truetype');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'AdorshoLipi';
  src: url('fonts/AdorshoLipi.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* Bangla text rules */
.font-nikosh-light { font-family: 'NikoshLight', 'Kalpurush', sans-serif; }
[lang="bn"] { font-family: var(--font-bn-body); }
[lang="bn"] h1, [lang="bn"] h2 { font-family: var(--font-bn-display); }
[lang="bn"] p  { font-size: 1.0rem; line-height: 1.85; }
[lang="bn"] h3 { font-size: 1.1rem; }

/* ----------------------------------------------------------------
   ACCESSIBILITY — Skip Link
   ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: white;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--gold); outline-offset: 2px; }

/* ----------------------------------------------------------------
   ANNOUNCEMENT BAR (seasonal — driven by site-announcement.json)
   ---------------------------------------------------------------- */
:root {
  --announce-offset: 0px;
  --announce-h: 52px;
}

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  padding-right: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  line-height: 1.35;
  box-shadow: 0 4px 24px rgba(12, 27, 51, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(105deg, #0c1b33 0%, #152a4a 45%, #0f2240 100%);
  background-size: 200% 100%;
  animation: announce-shimmer 14s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .announce-bar { animation: none; }
}

@keyframes announce-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.announce-bar--hidden {
  display: none !important;
  pointer-events: none;
}

.announce-bar--theme-gold {
  background: linear-gradient(105deg, #6b5420 0%, #8a6a2a 40%, #5c4818 100%);
  background-size: 200% 100%;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.announce-bar--theme-emerald {
  background: linear-gradient(105deg, #0d3d32 0%, #145a4a 45%, #0a3028 100%);
  background-size: 200% 100%;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.announce-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  max-width: var(--container);
  width: 100%;
}

.announce-bar__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
  font-size: 0.85rem;
}

.announce-bar__badge {
  flex-shrink: 0;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(201, 168, 101, 0.28);
  color: #f5e6c8;
  border: 1px solid rgba(201, 168, 101, 0.45);
}

.announce-bar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  min-width: 0;
}

@media (min-width: 640px) {
  .announce-bar__text {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    text-align: center;
    justify-content: center;
  }
}

.announce-bar__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.announce-bar__sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.announce-bar__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold) 0%, #d4b76a 100%);
  box-shadow: 0 2px 12px rgba(201, 168, 101, 0.35);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.announce-bar__cta:hover {
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 101, 0.45);
}

.announce-bar__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.announce-bar__cta-arrow {
  font-size: 0.65rem;
  opacity: 0.9;
  margin-left: 0.15rem;
}

.announce-bar__dismiss {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast) var(--ease);
}

.announce-bar__dismiss:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.announce-bar__dismiss:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body.is-announce-active {
  --announce-offset: var(--announce-h);
}

/* ----------------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: var(--announce-offset);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,252,249,0.96);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--base) var(--ease),
              background var(--base) var(--ease),
              top 0.25s var(--ease);
}
.navbar.nav-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(253,252,249,0.99);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  border-radius: var(--r-full);
  transition: width var(--base) var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

/* Portal CTA Buttons */
.nav-portals {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid;
  transition: all var(--fast) var(--ease);
}
.nav-portal-btn--teacher {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.nav-portal-btn--teacher:hover {
  background: var(--navy);
  color: white;
}
.nav-portal-btn--student {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.nav-portal-btn--student:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Mobile (≤768px): student label white; hover black text. Teacher hover: white text + icon */
@media (max-width: 768px) {
  .navbar .nav-portals .nav-portal-btn--student,
  #mobile-menu .nav-portal-btn--student {
    color: #fff;
  }
  .navbar .nav-portals .nav-portal-btn--student:hover,
  .navbar .nav-portals .nav-portal-btn--student:focus-visible,
  #mobile-menu .nav-portal-btn--student:hover,
  #mobile-menu .nav-portal-btn--student:focus-visible {
    color: #0a0a0a;
    background: var(--gold);
    border-color: var(--gold);
  }
  .navbar .nav-portals .nav-portal-btn--student:hover i,
  .navbar .nav-portals .nav-portal-btn--student:focus-visible i,
  #mobile-menu .nav-portal-btn--student:hover i,
  #mobile-menu .nav-portal-btn--student:focus-visible i {
    color: #0a0a0a;
  }

  .navbar .nav-portals .nav-portal-btn--teacher:hover,
  .navbar .nav-portals .nav-portal-btn--teacher:focus-visible,
  #mobile-menu .nav-portal-btn--teacher:hover,
  #mobile-menu .nav-portal-btn--teacher:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }
  .navbar .nav-portals .nav-portal-btn--teacher:hover i,
  .navbar .nav-portals .nav-portal-btn--teacher:focus-visible i,
  #mobile-menu .nav-portal-btn--teacher:hover i,
  #mobile-menu .nav-portal-btn--teacher:focus-visible i {
    color: #fff;
  }
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  color: var(--navy);
  transition: background var(--fast) var(--ease);
}
.mobile-menu-btn:hover { background: var(--cream-alt); }

/* Mobile Menu Drawer */
#mobile-menu {
  background: white;
  border-top: 1px solid var(--border);
  padding: 1.25rem var(--px) 1.5rem;
}
#mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--fast);
}
#mobile-menu a:hover { color: var(--navy); }
#mobile-menu .mobile-portal-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Mobile only: student login — fixed strip below navbar (outside <nav>) */
.mobile-student-login-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-student-login-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: calc(var(--announce-offset) + 68px);
    left: 0;
    right: 0;
    z-index: 990;
    min-height: 0;
    padding: 0.2rem var(--px);
    background: linear-gradient(180deg, var(--navy) 0%, #0a1428 100%);
    border-bottom: 1px solid rgba(201, 168, 101, 0.28);
    box-shadow: 0 3px 12px rgba(12, 27, 51, 0.12);
  }
  .mobile-student-login-bar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 36px;
    padding: 0.2rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-radius: var(--r-full);
    transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
  }
  .mobile-student-login-bar__link:hover,
  .mobile-student-login-bar__link:focus-visible {
    color: #0a0a0a;
    background: var(--gold);
  }
  .mobile-student-login-bar__link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }
  .mobile-student-login-bar__icon {
    font-size: 0.9rem;
    color: var(--gold-light);
    transition: color var(--fast) var(--ease);
  }
  .mobile-student-login-bar__link:hover .mobile-student-login-bar__icon,
  .mobile-student-login-bar__link:focus-visible .mobile-student-login-bar__icon {
    color: #0a0a0a;
  }
}

/* ----------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(68px + var(--announce-offset));
  transition: padding-top 0.25s var(--ease);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 55%, rgba(201,168,101,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(12,27,51,0.04) 0%, transparent 65%);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Diagonal color-block right panel */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0 0 0 55%;
  background: var(--cream-alt);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem var(--px) 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,101,0.30);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.hero-badge i { font-size: 0.65rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}
.hero-title-accent {
  color: var(--gold);
  display: block;
}

.hero-tagline-bn {
  font-family: 'NikoshLight', 'Kalpurush', sans-serif;
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.9;
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,101,0.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.hero-approval {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'NikoshLight', 'Kalpurush', sans-serif;
  font-size: 0.82rem;
  color: var(--sage);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-approval i { color: var(--sage); flex-shrink: 0; }

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero stats mini-bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Hero right — slideshow */
.hero-image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-slideshow-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--cream-dark);
  position: relative;
}

/* JS compat: script.js populates #hero-slideshow with .hero-slide divs */
#hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}
/* script.js creates divs with class="hero-slide" using background-image */
#hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero-slideshow .hero-slide.active  { opacity: 1; }
#hero-slideshow .hero-slide.leaving { opacity: 0; transition-duration: 1.05s; }
/* Fallback if img tags used */
#hero-slideshow .hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Slide dot nav — script.js creates buttons with class="hero-dot" */
.hero-slide-dots {
  display: flex;
  gap: 6px;
  margin-top: 1.25rem;
}
.hero-slide-dots .hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 7px;
  transition: all var(--base) var(--ease);
}
.hero-slide-dots .hero-dot:hover { background: var(--gold-light); }
.hero-slide-dots .hero-dot.active {
  background: var(--navy);
  width: 22px;
  border-radius: 4px;
}
.hero-slide-dots .hero-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ----------------------------------------------------------------
   GLOBAL BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all var(--base) var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(12,27,51,0.25);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,168,101,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

/* Legacy btn-ripple compatibility */
.btn-ripple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all var(--base) var(--ease);
  cursor: pointer;
}

/* ----------------------------------------------------------------
   SECTION UTILITIES
   ---------------------------------------------------------------- */
.section {
  padding: var(--section-py) 0;
}
.section--alt  { background: var(--cream-alt); }
.section--dark { background: var(--navy); }
.section--white { background: var(--white); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* Section header */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 18px; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin-bottom: 1rem;
}
.section-title--white { color: white; }
.section-title--center { text-align: center; }

.section-lead {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 580px;
}
.section-lead--center {
  text-align: center;
  margin: 0 auto;
}
.section-lead--bn {
  font-family: 'NikoshLight', 'Kalpurush', sans-serif;
  font-size: 1rem;
  max-width: 720px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ----------------------------------------------------------------
   TRUST / STATS BAR
   ---------------------------------------------------------------- */
.trust-bar {
  background: var(--navy);
  padding: 3.5rem 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-stat {
  text-align: center;
  padding: 0 2rem;
  position: relative;
}
.trust-stat + .trust-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.10);
}
.trust-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.trust-stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ----------------------------------------------------------------
   FEATURE / WHY-US CARDS
   ---------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--base) var(--ease);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 0 0 2px 2px;
  transition: transform var(--base) var(--ease);
}
.feature-card:hover {
  border-color: rgba(201,168,101,0.30);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  transition: all var(--base) var(--ease);
}
.feature-card:hover .feature-icon {
  background: var(--navy);
  color: var(--gold);
}

.feature-title {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}
.feature-title-bn {
  font-family: 'Kalpurush', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}
.feature-desc {
  font-size: 0.855rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.feature-desc-bn {
  font-family: 'Kalpurush', sans-serif;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.feature-list {
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 0.38rem;
}
.feature-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.44rem;
  flex-shrink: 0;
}
.feature-list-bn li {
  font-family: 'Kalpurush', sans-serif;
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------
   PROGRAMS CARDS
   ---------------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--base) var(--ease);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.program-card-header {
  padding: 2.25rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.program-card-header::before {
  content: '';
  position: absolute;
  top: -25px; right: -25px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(201,168,101,0.12);
}
.program-card-header::after {
  content: '';
  position: absolute;
  bottom: -35px; left: -15px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(201,168,101,0.07);
}

.program-step-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.program-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.program-age {
  font-family: 'Kalpurush', sans-serif;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.60);
  position: relative;
  z-index: 1;
}

.program-card-body {
  padding: 2rem;
  flex: 1;
}
.program-features {
  padding: 0;
}
.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.855rem;
  color: var(--text-mid);
  line-height: 1.55;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-light);
}
.program-features li:last-child { border-bottom: none; }
.program-features li i {
  color: var(--gold-dark);
  font-size: 0.68rem;
  margin-top: 0.42rem;
  flex-shrink: 0;
}
.program-features-bn li {
  font-family: 'Kalpurush', sans-serif;
  font-size: 0.93rem;
}

/* ----------------------------------------------------------------
   TESTIMONIALS
   ---------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--base) var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(201,168,101,0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem; left: 1.75rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-text-bn {
  font-family: 'AdorshoLipi', 'NikoshLight', 'Kalpurush', sans-serif;
  font-size: 0.96rem;
  line-height: 1.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-light);
  flex-shrink: 0;
}
.testimonial-avatar-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: 2px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.2;
}
.testimonial-role {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

/* Screenshot testimonial variant */
.testimonial-screenshot {
  margin-top: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.testimonial-screenshot img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

/* ----------------------------------------------------------------
   GALLERY
   ---------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--cream-dark);
  list-style: none;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,27,51,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--base) var(--ease);
}
.gallery-overlay i {
  color: white;
  font-size: 1.4rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--base) var(--ease);
}
.gallery-item:hover .gallery-overlay { background: rgba(12,27,51,0.38); }
.gallery-item:hover .gallery-overlay i { opacity: 1; transform: scale(1); }

/* JS compat — gallery items use internal aspect-ratio div, so no forced row height */
#gallery-grid, #gallery-grid-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}
#gallery-grid li, #gallery-grid-more li {
  list-style: none;
  border-radius: var(--r-md);
  overflow: hidden;
}
/* Gallery item images hover scale (Tailwind classes on li from JS) */
#gallery-grid li:hover img,
#gallery-grid-more li:hover img { transform: scale(1.05); }

/* ----------------------------------------------------------------
   CTA STRIP
   ---------------------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,101,0.12) 0%, transparent 70%);
}
.cta-strip::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -50px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,101,0.08) 0%, transparent 70%);
}
.cta-strip-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--px);
}
.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }

.contact-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--fast) var(--ease);
}
.contact-item:hover .contact-icon-wrap {
  background: var(--navy);
  color: var(--gold);
}
.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 0.93rem;
  color: var(--text-dark);
  font-weight: 500;
}
.contact-value a {
  color: var(--navy);
  transition: color var(--fast) var(--ease);
}
.contact-value a:hover { color: var(--gold-dark); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: all var(--fast) var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(12,27,51,0.06);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: white;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid var(--navy);
  transition: all var(--base) var(--ease);
}
.form-submit:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12,27,51,0.25);
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: #071526;
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-brand-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.footer-brand-tag {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: block;
}
.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: all var(--fast) var(--ease);
}
.footer-social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.50);
  transition: color var(--fast) var(--ease);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-credit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-credit .name { color: var(--gold); font-weight: 700; }

/* ----------------------------------------------------------------
   CUSTOM SCROLLBAR
   ---------------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: rgba(12,27,51,0.20);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ----------------------------------------------------------------
   RESPONSIVE — Large Tablet (≤1100px)
   ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    row-gap: 2.5rem;
  }
  .trust-stat + .trust-stat::before { display: none; }

  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — Tablet (≤768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --section-py: 4.5rem; }

  /* Nav */
  .nav-links, .nav-portals { display: none !important; }
  .mobile-menu-btn { display: flex !important; }

  /* Hero — extra top space for fixed student login strip below navbar */
  .hero-section {
    padding-top: calc(68px + var(--announce-offset) + 40px);
  }
  section[id] {
    scroll-margin-top: 120px;
  }

  /* Hero */
  .hero-section::before { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    /* Reduced bottom padding — slideshow sits flush against About section */
    padding: 2.5rem var(--px) 2rem;
  }
  /* Slideshow moves BELOW hero text, just above About section */
  .hero-image-col { order: 1; margin-bottom: 0; }
  /* Slideshow bleeds edge-to-edge, sits flush at bottom of hero */
  .hero-slideshow-frame {
    aspect-ratio: 16/9;
    border-radius: 0;
    margin-left: calc(-1 * var(--px));
    margin-right: calc(-1 * var(--px));
    box-shadow: none;
  }
  /* Slide dots still centered above the frame */
  .hero-slide-dots { margin-top: 0.75rem; }
  /* Remove hero section min-height on mobile so it shrinks to content */
  .hero-section { min-height: unset; padding-bottom: 0; }
  .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-approval { justify-content: center; text-align: left; flex-wrap: wrap; }
  .hero-tagline-bn { text-align: left; }

  /* Trust bar */
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Gallery — 2-col on mobile, aspect-ratio handled by inner div */
  #gallery-grid,
  #gallery-grid-more {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — Mobile (≤480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .hero-stat-num { font-size: 1.6rem; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.85rem; }

  #gallery-grid,
  #gallery-grid-more {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   AOS — ensure smooth animations
   ---------------------------------------------------------------- */
[data-aos] {
  transition-property: transform, opacity !important;
}

/* ----------------------------------------------------------------
   STAT COUNTER — JS compat
   ---------------------------------------------------------------- */
.stat-counter {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

/* ----------------------------------------------------------------
   GRADIENT TEXT — legacy compat
   ---------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   MISSING KEYFRAMES & ANIMATION CLASSES
   Required by script.js — added for full compatibility
   ================================================================ */

/* Ripple effect (initializeButtonRippleEffects) */
@keyframes ripple {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: ripple 0.6s linear forwards;
}
/* Ensure btn-ripple has overflow:hidden so ripple is clipped */
.btn-ripple {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-weight: 700;
  transition: all var(--base) var(--ease);
  cursor: pointer;
}

/* Stagger animations (initializeStaggeredAnimations) */
@keyframes stagger-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes stagger-slide-left {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stagger-slide-right {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stagger-scale-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.stagger-item { /* initial state set via JS opacity:0 */ }
.stagger-fade-up   { animation: stagger-fade-up    0.5s cubic-bezier(0.4,0,0.2,1) forwards; }
.stagger-slide-left  { animation: stagger-slide-left  0.5s cubic-bezier(0.4,0,0.2,1) forwards; }
.stagger-slide-right { animation: stagger-slide-right 0.5s cubic-bezier(0.4,0,0.2,1) forwards; }
.stagger-scale     { animation: stagger-scale-in   0.5s cubic-bezier(0.4,0,0.2,1) forwards; }

/* Mobile menu slide-in (initializeMobileMenu) */
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.slide-in-left { animation: slide-in-left 0.3s ease-out forwards; }

/* Geometric background shapes (initializeGeometricBackgrounds) */
@keyframes geometric-morph {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg) scale(1); }
  33%     { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(120deg) scale(1.05); }
  66%     { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; transform: rotate(240deg) scale(0.97); }
}
.geometric-bg { position: relative; overflow: hidden; }
.geometric-shape {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: rgba(201,168,101,0.06);
  animation: geometric-morph 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.geometric-shape:nth-child(1) { top: 15%; left: 10%; }
.geometric-shape:nth-child(2) { top: 55%; right: 8%; animation-delay: 2.5s; }
.geometric-shape:nth-child(3) { bottom: 10%; left: 50%; animation-delay: 5s; }

/* WhatsApp floating button (addWhatsAppChatButton) */
@keyframes animate-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.animate-float { animation: animate-float 3s ease-in-out infinite; }

/* Fade-in-up utility (scrollEffects) */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up 0.5s ease-out forwards; }

/* ================================================================
   GLOBAL FOCUS-VISIBLE (Keyboard navigation accessibility)
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Override for specific elements */
.btn:focus-visible,
.nav-portal-btn:focus-visible,
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.form-control:focus-visible {
  outline: none; /* handled by border + box-shadow */
}
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ================================================================
   MOBILE TAP TARGET SAFETY (minimum 44×44px for all interactive)
   ================================================================ */
@media (max-width: 768px) {
  .btn, .btn-ripple {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
  }
  .nav-portal-btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }
  .mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
  }
  /* Increase contact icon tap area */
  .contact-icon-wrap {
    min-width: 48px;
    min-height: 48px;
  }
  /* Footer social buttons */
  .footer-social-btn {
    width: 44px;
    height: 44px;
  }
  /* Hero slide dots tap area */
  .hero-slide-dots .hero-dot {
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ================================================================
   ANNOUNCE BAR OFFSET — nav now accounts for announce bar height
   ================================================================ */
/* The announce bar is ~34px; hero section top padding already uses padding-top
   but sticky nav offset needs adjustment for pages with announce bar visible */
.hero-section {
  /* Extra buffer for announce bar on initial load */
  scroll-margin-top: 0;
}
section[id] {
  scroll-margin-top: 80px;
}

/* ================================================================
   ACCESSIBILITY UTILITIES
   ================================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .navbar, .announce-bar, .mobile-menu-btn, .mobile-student-login-bar,
  .cta-strip, .hero-slide-dots, .footer-socials { display: none !important; }
  body { background: white; color: black; }
  .hero-section { min-height: auto; padding: 2rem 0; }
  .hero-section::before { display: none; }
  a { color: black; text-decoration: underline; }
}

/* ================================================================
   WHATSAPP FLOATING BUTTON — injected by script.js
   ================================================================ */
.wa-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--base) var(--ease);
}
.wa-float-btn:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ================================================================
   SCROLL-TO-TOP BUTTON — injected by script.js
   ================================================================ */
#scroll-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 899;
  width: 44px; height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--base) var(--ease);
  pointer-events: none;
}
#scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scroll-to-top:hover { background: var(--navy-light); }
