/* ==========================================================================
   VN EDUCATION INSTITUTE MAHOLI (VNEI) - CORE STYLESHEET
   Design: Modern Academic Luxury, High Legibility, Fluid Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary: #0B2545;
  --primary-rgb: 11, 37, 69;
  --primary-dark: #061324;
  --primary-light: #134074;
  --secondary: #1E3E62;
  --accent: #E85D04;
  --accent-hover: #DC2F02;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --gold-light: #FEF3C7;
  --success: #10B981;
  --info: #0284C7;
  --danger: #EF4444;

  /* Surfaces & Backgrounds */
  --bg-page: #F8FAFD;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-muted: #EEF2F6;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-dark: rgba(11, 37, 69, 0.85);

  /* Typography */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-inverse: #FFFFFF;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Borders & Shadows */
  --border-light: rgba(226, 232, 240, 0.85);
  --border-glass: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 6px 10px -4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 10px 18px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --nav-height: 80px;
  --topbar-height: 40px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --primary: #134074;
  --primary-rgb: 19, 64, 116;
  --primary-dark: #071527;
  --bg-page: #08111E;
  --bg-card: #0F1E33;
  --bg-card-hover: #152742;
  --bg-muted: #13243D;
  --bg-glass: rgba(15, 30, 51, 0.9);
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-md: 0 10px 25px -4px rgba(0, 0, 0, 0.4);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-accent { color: var(--accent); }
.text-gold { color: var(--gold-dark); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.font-semibold { font-weight: 600; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.35);
  color: #FFFFFF;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #F59E0B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #D97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 93, 4, 0.45);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

[data-theme="dark"] .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-outline-white {
  background: #FFFFFF;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
}

[data-theme="dark"] .badge-gold {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
}

.badge-accent {
  background: rgba(232, 93, 4, 0.12);
  color: var(--accent);
}

.badge-primary {
  background: rgba(11, 37, 69, 0.1);
  color: var(--primary);
}

[data-theme="dark"] .badge-primary {
  background: rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
}

/* TOPBAR */
.topbar {
  background: #F8FAFC;
  color: #475569;
  font-size: 0.85rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .topbar {
    padding-block: 0.35rem;
    font-size: 0.78rem;
  }
  .topbar-email,
  .topbar-timing {
    display: none !important;
  }
  .topbar-contact {
    gap: 0.75rem;
  }
  .topbar-admissions-text {
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .topbar .container {
    gap: 0.35rem;
  }
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #475569;
  font-weight: 500;
}

.topbar-link svg {
  color: var(--primary-light);
}

.topbar-link:hover {
  color: var(--accent);
}

.topbar-link:hover svg {
  color: var(--accent);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: #E2E8F0;
  color: var(--accent);
}

/* HEADER & NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 2500;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .navbar {
  background: rgba(11, 37, 69, 0.98);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.navbar .container {
  max-width: 1420px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-fast), transform var(--transition-fast);
}

.nav-brand:hover .nav-brand-logo {
  transform: scale(1.03);
}

.navbar.scrolled .nav-brand-logo {
  height: 46px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-brand-highlight {
  color: var(--accent);
}

.nav-brand-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-brand-estd {
  color: var(--gold-dark);
  font-weight: 800;
}

[data-theme="dark"] .nav-brand-name {
  color: #F8FAFC;
}

[data-theme="dark"] .nav-brand-highlight {
  color: #FB923C;
}

[data-theme="dark"] .nav-brand-tagline {
  color: #94A3B8;
}

[data-theme="dark"] .nav-brand-estd {
  color: #FBBF24;
}

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }
  .navbar.scrolled {
    height: 60px;
  }
  .navbar .container {
    padding-inline: 0.85rem;
  }
  .nav-brand {
    gap: 0.5rem;
    min-width: 0;
    max-width: calc(100% - 46px);
    overflow: hidden;
  }
  .nav-brand-tagline {
    display: none !important;
  }
  .nav-brand-name {
    font-size: clamp(0.85rem, 3.8vw, 1.1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-brand-logo {
    height: 40px;
    flex-shrink: 0;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.65rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(232, 93, 4, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 1380px) {
  .nav-brand-logo {
    height: 46px;
  }
  .nav-brand-name {
    font-size: 1.1rem;
  }
  .nav-brand-tagline {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }
  .nav-menu {
    gap: 0.15rem;
  }
  .nav-link {
    padding: 0.42rem 0.5rem;
    font-size: 0.84rem;
  }
  .sidebar-drawer-btn {
    padding: 0 0.55rem;
  }
  .sidebar-drawer-btn .drawer-btn-label {
    display: none;
  }
  .nav-cta .btn-sm {
    padding: 0.42rem 0.75rem;
    font-size: 0.82rem;
  }
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-main);
  padding: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

/* ANNOUNCEMENT TICKER */
.ticker-wrap {
  background: linear-gradient(90deg, #F0F7FF 0%, #F8FAFC 50%, #FFFBEB 100%);
  color: var(--text-main);
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  font-size: 0.9rem;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(232, 93, 4, 0.25);
}

.ticker-marquee {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}

.ticker-marquee-inner {
  display: inline-block;
  padding-inline-start: 100%;
  animation: marquee 28s linear infinite;
}

.ticker-marquee:hover .ticker-marquee-inner {
  animation-play-state: paused;
}

.ticker-item {
  margin-right: 3rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.ticker-item a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.ticker-item a:hover {
  color: var(--accent);
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* HERO SECTION (LIGHT THEME) */
.hero-section {
  position: relative;
  min-height: 580px;
  background: #F8FAFD;
  color: var(--text-main);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.16;
  filter: saturate(1.1) brightness(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(248, 250, 253, 0.96) 0%, rgba(240, 245, 251, 0.88) 55%, rgba(254, 243, 199, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-block: 4rem;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: #B45309;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-success {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.hero-badge-info {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
}

.hero-title {
  color: var(--primary);
  margin-bottom: 1.25rem;
  line-height: 1.18;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #D97706, #E85D04, #C2410C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #334155;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-lead strong {
  color: var(--primary);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
}

.hero-chip-icon {
  color: #F59E0B;
}

/* INNER PAGE HEADER BANNER (LIGHT THEME) */
.page-header-banner {
  background: linear-gradient(135deg, #F0F5FA 0%, #F8FAFD 50%, #FFFBEB 100%);
  color: var(--text-main);
  padding-block: 4.5rem 3.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.page-header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.08) 0%, rgba(11, 37, 69, 0.03) 60%, transparent 80%);
  pointer-events: none;
}

.page-header-banner .container {
  position: relative;
  z-index: 2;
}

.page-header-banner h1 {
  color: var(--primary);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-header-banner p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* SECTION PADDING & HEADERS */
.section {
  padding-block: 5rem;
}

.section-alt {
  background-color: var(--bg-muted);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.825rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* STATS COUNTER STRIP */
.stats-strip {
  background: var(--bg-card);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

@media (max-width: 768px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .stat-value {
  color: #60A5FA;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* CARDS & GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 93, 4, 0.4);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(11, 37, 69, 0.06);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

[data-theme="dark"] .card-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #60A5FA;
}

.feature-card:hover .card-icon {
  background: var(--accent);
  color: #FFFFFF;
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.card-text {
  flex-grow: 1;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
}

/* COURSE CARD SPECIFICS */
.course-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course-card-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(to bottom, var(--bg-card-hover), var(--bg-card));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.course-card-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.course-card-target {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.course-features {
  list-style: none;
  margin-block: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

.course-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* DIGITAL LEARNING LAB SECTION */
.it-special-banner {
  background: linear-gradient(135deg, #071524 0%, #0B2545 60%, #134074 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.it-special-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.it-banner-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.it-banner-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.it-banner-img:hover img {
  transform: scale(1.03);
}

/* NOTICE BOARD COMPONENT */
.notice-board {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.notice-board-header {
  background: var(--primary);
  color: #FFFFFF;
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-board-header h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-list {
  list-style: none;
  max-height: 480px;
  overflow-y: auto;
}

.notice-item {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.notice-item:hover {
  background: var(--bg-card-hover);
}

.notice-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.notice-item-date {
  color: var(--text-light);
}

.notice-item-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.notice-item-title a {
  color: var(--text-main);
}

.notice-item-title a:hover {
  color: var(--accent);
}

.notice-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* RESULT CHECKER / PORTAL BOX */
.portal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.portal-search-box {
  display: flex;
  gap: 0.75rem;
  margin-block: 1.5rem 2rem;
}

.portal-input {
  flex-grow: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: border-color var(--transition-fast);
}

.portal-input:focus {
  border-color: var(--primary);
  outline: none;
}





/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0,0,0,0) 100%);
  color: #FFFFFF;
  transform: translateY(20%);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.825rem;
  color: var(--text-light);
}

/* FORMS */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FOOTER */
.site-footer {
  background: #F8FAFC;
  color: #475569;
  padding-block: 5rem 2rem;
  border-top: 4px solid var(--accent);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

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

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

.footer-title {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #334155;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item strong {
  color: var(--primary);
}

.footer-contact-item a {
  color: #334155;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom a {
  color: #475569;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* FLOATING QUICK ACTIONS */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #FFFFFF;
  color: #0F172A;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: grid;
}

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-body {
  padding: 2rem;
}

/* RESPONSIVENESS */
@media (max-width: 1240px) {
  .nav-brand-tagline {
    display: none;
  }
}

/* Responsive Grid Utility Classes */
.grid-split-sidebar {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 992px) {
  .grid-split-sidebar {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.grid-split-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 992px) {
  .grid-split-about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.grid-split-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 992px) {
  .grid-split-equal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.grid-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .grid-form-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.grid-steps-4col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .grid-steps-4col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.responsive-form-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .responsive-form-card {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .responsive-form-card {
    padding: 1.5rem 1rem;
  }
}

/* Nav Drawer Desktop Defaults */
.nav-backdrop {
  display: none;
}
.nav-drawer-header {
  display: none;
}
.dropdown-header-wrap {
  display: flex;
  align-items: center;
}
.dropdown-accordion-btn {
  display: none;
}
.nav-drawer-actions {
  display: none;
}

@media (max-width: 1200px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 39, 0.65);
    z-index: 2490;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    z-index: 2510;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.32s;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.25rem 2.5rem;
    gap: 0.35rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--border-light);
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .nav-drawer-brand strong {
    font-size: 0.95rem;
    color: var(--primary);
    display: block;
    line-height: 1.2;
  }

  .nav-close-btn {
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: all var(--transition-fast);
  }

  .nav-close-btn:hover {
    background: var(--accent);
    color: #FFFFFF;
  }

  .nav-link {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
  }

  .dropdown-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-accordion-btn {
    display: grid;
    place-items: center;
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast);
    flex-shrink: 0;
  }

  .nav-item.has-dropdown.expanded .dropdown-accordion-btn {
    transform: rotate(180deg);
    background: rgba(232, 93, 4, 0.12);
    color: var(--accent);
    border-color: var(--accent);
  }

  .nav-item.has-dropdown .dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border-light);
    background: var(--bg-muted);
    margin: 0.35rem 0 0.5rem 0.5rem;
    border-radius: var(--radius-md);
    min-width: 100%;
    padding: 0.35rem 0;
  }

  .nav-item.has-dropdown.expanded .dropdown-menu {
    display: block;
    animation: fadeInSubmenu 0.2s ease;
  }

  @keyframes fadeInSubmenu {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
  }

  .nav-drawer-info {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: 0.35rem;
  }
}

@media print {
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   LUCKNOW PUBLIC SCHOOLS (LPS) STYLE ARCHITECTURE & RICH SECTIONS
   ========================================================================== */

/* NAVBAR DROPDOWN MENUS (LPS STYLE) */
.nav-item.has-dropdown {
  position: relative;
}

.nav-link.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-left: 0.35rem;
  margin-bottom: 2px;
  vertical-align: middle;
  opacity: 0.7;
}

.nav-item.has-dropdown:hover .nav-link.dropdown-toggle::after,
.nav-item.has-dropdown.expanded .nav-link.dropdown-toggle::after {
  transform: rotate(-135deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  width: max-content;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -6px rgba(11, 37, 69, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1050;
}

/* Invisible bridge so mouse hover doesn't drop between nav item and dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.58rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-item.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a:hover {
  background: rgba(232, 93, 4, 0.08);
  color: var(--accent);
  transform: translateX(3px);
}

/* Rich Dropdown Layout */
.dropdown-menu-rich {
  min-width: 330px;
  padding: 0.5rem;
}

.dropdown-rich-link {
  display: flex !important;
  align-items: center;
  gap: 0.75rem !important;
  padding: 0.65rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast) !important;
  white-space: normal !important;
}

.dropdown-rich-link:hover {
  background: rgba(232, 93, 4, 0.08) !important;
  transform: translateX(3px) !important;
}

.dropdown-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.dropdown-rich-link:hover .dropdown-icon-box {
  transform: scale(1.08);
}

.dropdown-link-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.dropdown-link-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.dropdown-rich-link:hover .dropdown-link-text strong {
  color: var(--accent);
}

.dropdown-link-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.35rem 0.5rem;
  list-style: none;
}

/* Subtle pulse dot badge for Important tab */
.nav-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 0.35rem;
  box-shadow: 0 0 0 2px rgba(232, 93, 4, 0.22);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

[data-theme="dark"] .dropdown-link-text strong {
  color: #F1F5F9;
}
[data-theme="dark"] .dropdown-link-text span {
  color: #94A3B8;
}
[data-theme="dark"] .dropdown-divider {
  background: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .dropdown-icon-box {
  background: rgba(232, 93, 4, 0.2);
}

/* SIDEBAR DRAWER MODAL (LPS STYLE) */
.sidebar-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  width: min(400px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.28);
  z-index: 2510;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .sidebar-drawer {
    padding: 1.5rem 1.25rem;
  }
}

.sidebar-modal-backdrop.active .sidebar-drawer {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.sidebar-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-muted);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-close-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.sidebar-drawer-btn {
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent);
  height: 38px;
  padding: 0 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  border: 1px solid rgba(232, 93, 4, 0.25);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.sidebar-drawer-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.drawer-btn-label {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sidebar-drawer-btn {
    display: none !important;
  }
}

[data-theme="dark"] .sidebar-drawer-btn {
  background: rgba(232, 93, 4, 0.18);
  color: #FDBA74;
  border-color: rgba(232, 93, 4, 0.35);
}

/* LPS HERO SLIDER WITH THUMBNAILS (LIGHT THEME) */
.lps-slider-container {
  position: relative;
  overflow: hidden;
  background: #F8FAFD;
  color: var(--text-main);
  min-height: 600px;
  border-bottom: 1px solid var(--border-light);
}

.lps-slide {
  display: none;
  min-height: 600px;
  position: relative;
  align-items: center;
  padding-block: 5rem 6.5rem;
  animation: fadeInSlide 0.65s ease;
}

.lps-slide.active {
  display: flex;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.lps-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lps-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(1.1) brightness(1.05);
}

.lps-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(248, 250, 253, 0.97) 0%, rgba(240, 246, 253, 0.94) 60%, rgba(255, 251, 235, 0.92) 100%);
}

.lps-slide-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.lps-thumbs-strip {
  position: absolute;
  bottom: 24px;
  right: 40px;
  z-index: 10;
  display: flex;
  gap: 12px;
}

@media (max-width: 992px) {
  .lps-slider-container,
  .lps-slide {
    min-height: 520px;
  }
  .lps-slide {
    padding-block: 4rem 5rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  }
}

@media (max-width: 768px) {
  .lps-slider-container,
  .lps-slide {
    min-height: auto;
  }
  .lps-slide {
    padding-block: 2.75rem 4rem;
  }
  .hero-title {
    font-size: clamp(1.55rem, 5.5vw, 2.15rem);
    line-height: 1.22;
  }
  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .lps-thumbs-strip {
    position: static;
    margin-top: 1.5rem;
    justify-content: flex-start;
    gap: 8px;
  }
  .lps-thumb-btn {
    width: 58px;
    height: 40px;
    border-radius: 6px;
  }
}

@media (hover: none), (max-width: 768px) {
  .gallery-caption {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
  }
}

@media (max-width: 640px) {
  .modal-backdrop {
    padding: 0.75rem;
  }
  .modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .modal-body {
    padding: 1.25rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .topper-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lps-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .lps-counter-card {
    padding: 1.25rem 0.75rem;
  }
  .lps-counter-val {
    font-size: 2.2rem;
  }
}

.lps-thumb-btn {
  width: 76px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #CBD5E1;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.25s ease;
  background: #FFFFFF;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.lps-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lps-thumb-btn.active, .lps-thumb-btn:hover {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.3);
}

/* WHY CHOOSE VNEI SPOTLIGHT (LPS INTERVIEW STYLE) */
.why-vnei-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F6F9 100%);
  padding-block: 5rem;
  text-align: center;
}

[data-theme="dark"] .why-vnei-section {
  background: linear-gradient(180deg, #0B192C 0%, #071524 100%);
}

.why-vnei-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.why-vnei-content {
  max-width: 860px;
  margin-inline: auto;
}

/* FUN FACTS COUNTERS (LPS STYLE) */
.lps-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
  margin-block: 1.5rem;
}

.lps-counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.lps-counter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 93, 4, 0.3);
}

.lps-counter-val {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* TOPPERS SHOWCASE (LPS STYLE) */
.topper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.topper-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.topper-img-box {
  height: 200px;
  background: linear-gradient(135deg, #EEF2F6, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.topper-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  background: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-heading);
}

.topper-badge-score {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: #071524;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.topper-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.topper-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.topper-board {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* SCHOOL AWARDS (LPS STYLE) */
.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.award-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.award-img-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.award-card:hover .award-img-wrap img {
  transform: scale(1.05);
}

.award-body {
  padding: 1.5rem;
}

.award-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text-main);
}

/* NEWSLETTER & WHATSAPP CONNECT */
.subscribe-area {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFD 100%);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #BFDBFE;
}

.subscribe-area h2 {
  color: var(--primary);
}

.subscribe-area p {
  color: var(--text-muted);
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 600px) {
  .subscribe-form {
    flex-direction: column;
  }
}

/* INSPIRING MINDS SECTION (LPS STYLE) */
.inspiring-minds-card {
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-left: 6px solid var(--accent);
}

.inspiring-minds-card .inspiring-tag {
  display: inline-block;
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent);
  border: 1px solid rgba(232, 93, 4, 0.25);
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.inspiring-minds-card h2 {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.inspiring-minds-card p {
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.inspiring-minds-card::before {
  content: '“';
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 15rem;
  color: rgba(11, 37, 69, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

/* HIGH-IMPACT ADMISSION CTA BANNER (LPS STYLE) */
.lps-cta-banner {
  background: linear-gradient(135deg, #EE6C4D 0%, #E85D04 50%, #9D0208 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 16px 36px rgba(232, 93, 4, 0.35);
  margin-block: 2rem;
}

@media (max-width: 900px) {
  .lps-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

.lps-cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.lps-cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.05rem;
}

/* ==========================================================================
   DARK THEME COMPONENT OVERRIDES
   ========================================================================== */
[data-theme="dark"] .topbar {
  background: #061324;
  color: #CBD5E1;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .topbar-link {
  color: #CBD5E1;
}

[data-theme="dark"] .ticker-wrap {
  background: linear-gradient(90deg, #0B2545 0%, #134074 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

[data-theme="dark"] .ticker-item {
  color: #E2E8F0;
}

[data-theme="dark"] .ticker-item a {
  color: #FCD34D;
}

[data-theme="dark"] .page-header-banner {
  background: linear-gradient(135deg, #071524 0%, #0B2545 60%, #134074 100%);
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .page-header-banner h1 {
  color: #FFFFFF;
}

[data-theme="dark"] .page-header-banner p {
  color: #CBD5E1;
}

[data-theme="dark"] .lps-slider-container {
  background: #0B2545;
  color: #FFFFFF;
}

[data-theme="dark"] .lps-slide-bg img {
  opacity: 0.32;
  filter: saturate(1.15) brightness(0.85);
}

[data-theme="dark"] .lps-slide-overlay {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.94) 0%, rgba(19, 64, 116, 0.72) 55%, rgba(11, 37, 69, 0.92) 100%);
}

[data-theme="dark"] .hero-title {
  color: #FFFFFF;
}

[data-theme="dark"] .hero-lead {
  color: #E2E8F0;
}

[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FCD34D;
}

[data-theme="dark"] .hero-badge-success {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--success);
  color: #A7F3D0;
}

[data-theme="dark"] .hero-badge-info {
  background: rgba(2, 132, 199, 0.25);
  border-color: var(--info);
  color: #BAE6FD;
}

[data-theme="dark"] .btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-dark);
}

[data-theme="dark"] .it-special-banner {
  background: linear-gradient(135deg, #071524 0%, #0B2545 60%, #134074 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .it-special-banner h2 {
  color: #FFFFFF;
}

[data-theme="dark"] .it-special-banner p {
  color: #CBD5E1;
}

[data-theme="dark"] .inspiring-minds-card {
  background: linear-gradient(135deg, #0B2545 0%, #134074 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .inspiring-minds-card .inspiring-tag {
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  border-color: rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .inspiring-minds-card h2 {
  color: #FFFFFF;
}

[data-theme="dark"] .inspiring-minds-card p {
  color: #E2E8F0;
}

[data-theme="dark"] .inspiring-minds-card::before {
  color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .subscribe-area {
  background: linear-gradient(135deg, #071524 0%, #0B2545 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .subscribe-area h2 {
  color: #FFFFFF;
}

[data-theme="dark"] .subscribe-area p {
  color: #CBD5E1;
}

[data-theme="dark"] .site-footer {
  background: #061324;
  color: #94A3B8;
}

[data-theme="dark"] .footer-title {
  color: #FFFFFF;
}

[data-theme="dark"] .footer-links a {
  color: #94A3B8;
}

[data-theme="dark"] .footer-links a:hover {
  color: #FFFFFF;
}

[data-theme="dark"] .footer-contact-item {
  color: #CBD5E1;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

[data-theme="dark"] .footer-bottom a {
  color: #CBD5E1;
}

[data-theme="dark"] .footer-logo-img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

[data-theme="dark"] .nav-brand-logo {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   MAHOLI TOP SCHOOL FAQ ACCORDION STYLES (LOCAL SEO & RICH SNIPPETS)
   ========================================================================== */
.faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-item details {
  width: 100%;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  outline: none;
  position: relative;
  transition: background 0.2s ease;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

.faq-item details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item details[open] summary {
  border-bottom: 1px solid var(--border-light);
  background: rgba(11, 37, 69, 0.03);
}

[data-theme="dark"] .faq-item details[open] summary {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.faq-answer {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.faq-answer strong {
  color: var(--text-main);
}

/* ==========================================================================
   FOOTER SEO & LOCAL SEARCH KEYWORD STRIP (MAHOLI & SITAPUR)
   ========================================================================== */
.footer-seo-bar {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(11, 37, 69, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.footer-seo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
}

.footer-seo-tags a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 0.25rem 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: inline-block;
  line-height: 1.4;
}

.footer-seo-tags a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(232, 93, 4, 0.06);
}

[data-theme="dark"] .footer-seo-bar {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-seo-title {
  color: #FCD34D;
}

[data-theme="dark"] .footer-seo-tags a {
  background: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-seo-tags a:hover {
  color: #FFFFFF;
  background: rgba(232, 93, 4, 0.2);
}


