/* ==========================================================================
   Sudhir Defence Academy (SDA) - Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Base Settings
   -------------------------------------------------------------------------- */
:root {
  /* Brand Blue Palette (Light Theme Default) */
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --sky-blue: #0284c7;
  --sky-blue-hover: #0369a1;
  --navy-deep: #f8fafc;
  --navy-alt: #f1f5f9;
  --navy-card: #ffffff;
  --navy-card-hover: #f8fafc;
  --navy-input: #ffffff;

  /* Borders & Subtles */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(37, 99, 235, 0.16);
  --border-card-hover: rgba(37, 99, 235, 0.4);
  --blue-subtle: rgba(37, 99, 235, 0.08);
  --blue-subtle-hover: rgba(37, 99, 235, 0.15);

  /* High Visibility Typography */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Status & Accents */
  --accent-gold: #d97706;
  --accent-green: #16a34a;
  --accent-green-hover: #15803d;

  /* Radius Standards */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Elevation & Transitions */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.14), 0 0 15px rgba(37, 99, 235, 0.12);
  --transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.22s ease,
                border-color 0.22s ease,
                box-shadow 0.22s ease,
                color 0.2s ease,
                opacity 0.22s ease;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --sky-blue: #38bdf8;
  --sky-blue-hover: #0ea5e9;
  --navy-deep: #070d18;
  --navy-alt: #0b1424;
  --navy-card: #111e33;
  --navy-card-hover: #162742;
  --navy-input: #0a1222;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(56, 189, 248, 0.16);
  --border-card-hover: rgba(56, 189, 248, 0.45);
  --blue-subtle: rgba(56, 189, 248, 0.08);
  --blue-subtle-hover: rgba(56, 189, 248, 0.15);

  --text-main: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #cbd5e1;

  --accent-gold: #fbbf24;
  --accent-green: #22c55e;
  --accent-green-hover: #16a34a;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 30px -4px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15);
}

[data-theme="dark"] nav {
  background: rgba(7, 13, 24, 0.88);
  border-bottom-color: var(--border-subtle);
}
[data-theme="dark"] nav.scrolled {
  background: rgba(7, 13, 24, 0.97);
  border-bottom-color: var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .nav-brand {
  color: #ffffff;
}
[data-theme="dark"] .nav-brand span {
  color: var(--sky-blue);
}
[data-theme="dark"] .nav-links a {
  color: var(--text-dim);
}
[data-theme="dark"] .nav-links a:hover {
  color: #ffffff;
}
[data-theme="dark"] .hero-bg {
  background-image: url('hero_banner.jpg');
  filter: brightness(0.3) saturate(1.1);
}
[data-theme="dark"] .hero-bg::after {
  background: radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.15) 0%, rgba(7, 13, 24, 0.85) 65%, var(--navy-deep) 100%);
}
[data-theme="dark"] .hero-content {
  background: none;
}
[data-theme="dark"] .hero-badge {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--sky-blue);
  box-shadow: none;
}
[data-theme="dark"] .hero-title {
  color: #ffffff;
  text-shadow: none;
}
[data-theme="dark"] .hero-title .highlight {
  color: var(--sky-blue);
}
[data-theme="dark"] .hero-sub {
  color: var(--text-dim);
  font-weight: 600;
  text-shadow: none;
}
[data-theme="dark"] .hero-desc {
  color: var(--text-body);
  font-weight: 400;
  text-shadow: none;
}
[data-theme="dark"] .stat-item {
  background: rgba(17, 30, 51, 0.7);
  box-shadow: none;
}
[data-theme="dark"] .stat-num {
  color: var(--text-main);
}
[data-theme="dark"] .btn-outline {
  color: var(--sky-blue);
  border-color: var(--sky-blue);
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--sky-blue);
  color: #070d18;
  border-color: var(--sky-blue);
}
[data-theme="dark"] .fg input,
[data-theme="dark"] .fg select,
[data-theme="dark"] .fg textarea {
  background: var(--navy-input);
  border-color: var(--border-card);
  color: var(--text-main);
}
[data-theme="dark"] .fg select option {
  background: var(--navy-card);
  color: var(--text-main);
}
[data-theme="dark"] .map-wrap iframe {
  filter: invert(0.88) hue-rotate(180deg) saturate(0.8) brightness(0.85);
}
[data-theme="dark"] .hamburger span {
  background: var(--sky-blue);
}
[data-theme="dark"] .ci-val a {
  color: var(--sky-blue);
}
[data-theme="dark"] .glow-div {
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.25), transparent);
}
@media (max-width: 768px) {
  [data-theme="dark"] .nav-links {
    background: rgba(7, 13, 24, 0.98);
    border-bottom-color: var(--border-card);
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--navy-deep);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#about, #programs, #process, #facilities, #why-sda, #gallery, #reviews, #contact, #map-sec {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
  background: #1e3a6a;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sky-blue);
}

/* Section Container */
.sc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 32px;
  position: relative;
  z-index: 1;
}

/* Section Headers */
.sec-header {
  margin-bottom: 48px;
  text-align: center;
}
.sec-header.left {
  text-align: left;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--blue-subtle);
  border: 1px solid var(--border-card);
  color: var(--sky-blue);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.sec-title .highlight {
  color: var(--sky-blue);
}

.sec-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.sec-header.left .sec-desc {
  margin: 0;
}

.sec-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-blue), var(--primary-blue));
  border-radius: var(--radius-full);
  margin: 16px auto 20px;
}
.sec-header.left .sec-divider {
  margin: 16px 0 20px;
}

.glow-div {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.25), transparent);
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Card System */
.app-card {
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.app-card:hover {
  transform: translateY(-4px);
  background: var(--navy-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-hover);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.55);
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}
.btn-sub {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-sub:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

/* Icon Containers */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-subtle);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--sky-blue);
  transition: var(--transition);
}
.app-card:hover .icon-box {
  background: var(--blue-subtle-hover);
  border-color: var(--sky-blue);
  transform: scale(1.05);
}

.feat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}
.feat-chip:hover {
  background: var(--navy-card-hover);
  border-color: var(--sky-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15);
}

/* SVG Helpers */
.sec-badge svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}
.feat-chip svg {
  width: 18px;
  height: 18px;
  fill: var(--sky-blue);
  flex-shrink: 0;
}
.fac-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--sky-blue);
  flex-shrink: 0;
}
.tl-title svg {
  width: 18px;
  height: 18px;
  fill: var(--sky-blue);
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: -3px;
}
.btn svg, .btn-sub svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -2px;
  margin-right: 6px;
}

/* Icon Box Palette Variants */
.icon-box.ib-red {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
}
.app-card:hover .icon-box.ib-red, .icon-box.ib-red:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-orange {
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.25);
}
.app-card:hover .icon-box.ib-orange, .icon-box.ib-orange:hover {
  background: rgba(249, 115, 22, 0.18);
  border-color: #f97316;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-purple {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
}
.app-card:hover .icon-box.ib-purple, .icon-box.ib-purple:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #8b5cf6;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-teal {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.25);
}
.app-card:hover .icon-box.ib-teal, .icon-box.ib-teal:hover {
  background: rgba(13, 148, 136, 0.18);
  border-color: #0d9488;
  box-shadow: 0 0 18px rgba(13, 148, 136, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-gold {
  color: #eab308;
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.25);
}
.app-card:hover .icon-box.ib-gold, .icon-box.ib-gold:hover {
  background: rgba(234, 179, 8, 0.18);
  border-color: #eab308;
  box-shadow: 0 0 18px rgba(234, 179, 8, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-blue {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}
.app-card:hover .icon-box.ib-blue, .icon-box.ib-blue:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: #2563eb;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-rose {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.25);
}
.app-card:hover .icon-box.ib-rose, .icon-box.ib-rose:hover {
  background: rgba(244, 63, 94, 0.18);
  border-color: #f43f5e;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.3);
  transform: scale(1.06);
}

.icon-box.ib-sky {
  color: var(--sky-blue);
  background: var(--blue-subtle);
  border-color: var(--border-card);
}
.app-card:hover .icon-box.ib-sky, .icon-box.ib-sky:hover {
  background: var(--blue-subtle-hover);
  border-color: var(--sky-blue);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
  transform: scale(1.06);
}

/* Facility Card Themes */
.fac-icon.fi-orange svg { fill: #f97316; }
.fac-icon.fi-amber svg  { fill: #f59e0b; }
.fac-icon.fi-red svg    { fill: #ef4444; }
.fac-icon.fi-blue svg   { fill: #2563eb; }
.fac-icon.fi-purple svg { fill: #8b5cf6; }
.fac-icon.fi-gold svg   { fill: #eab308; }
.fac-icon.fi-cyan svg   { fill: #06b6d4; }
.fac-icon.fi-sky svg    { fill: var(--sky-blue); }

/* Timeline Step Themes */
.tl-title.tl-orange svg { fill: #f97316; }
.tl-title.tl-teal svg   { fill: #0d9488; }
.tl-title.tl-purple svg { fill: #8b5cf6; }
.tl-title.tl-red svg    { fill: #ef4444; }
.tl-title.tl-sky svg    { fill: var(--sky-blue); }

/* Feature Chip Themes */
.feat-chip.chip-sky svg    { fill: var(--sky-blue); }
.feat-chip.chip-orange svg { fill: #f97316; }
.feat-chip.chip-purple svg { fill: #8b5cf6; }
.feat-chip.chip-teal svg   { fill: #0d9488; }
.feat-chip.chip-red svg    { fill: #ef4444; }
.feat-chip.chip-amber svg  { fill: #f59e0b; }

.feat-chip.chip-sky:hover    { border-color: var(--sky-blue); box-shadow: 0 4px 14px rgba(56, 189, 248, 0.22); }
.feat-chip.chip-orange:hover { border-color: #f97316; box-shadow: 0 4px 14px rgba(249, 115, 22, 0.22); }
.feat-chip.chip-purple:hover { border-color: #8b5cf6; box-shadow: 0 4px 14px rgba(139, 92, 246, 0.22); }
.feat-chip.chip-teal:hover   { border-color: #0d9488; box-shadow: 0 4px 14px rgba(13, 148, 136, 0.22); }
.feat-chip.chip-red:hover    { border-color: #ef4444; box-shadow: 0 4px 14px rgba(239, 68, 68, 0.22); }
.feat-chip.chip-amber:hover  { border-color: #f59e0b; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22); }

/* --------------------------------------------------------------------------
   3. Header Navigation & Branding
   -------------------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 clamp(20px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.nav-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-brand span {
  color: var(--primary-blue);
}
.nav-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover {
  color: var(--primary-blue);
}
.nav-links a:not(.nav-cta):hover::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--sky-blue);
  border-radius: var(--radius-full);
}
.nav-cta {
  padding: 8px 18px !important;
  background: var(--primary-blue) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3) !important;
  margin-left: 2px;
}
.nav-cta:hover {
  background: var(--primary-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

/* --------------------------------------------------------------------------
   4. Theme Switcher Component
   -------------------------------------------------------------------------- */
.theme-switch-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.theme-switch-btn:hover {
  transform: scale(1.06);
}
.theme-switch-btn:active {
  transform: scale(0.95);
}
.theme-switch-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

.ts-track {
  width: 68px;
  height: 34px;
  border-radius: 34px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  background: linear-gradient(135deg, #e0f2fe 0%, #cbd5e1 100%);
  border: 1.5px solid rgba(14, 165, 233, 0.45);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

[data-theme="dark"] .ts-track {
  background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(245, 158, 11, 0.15);
}

.ts-track-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.ts-track-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ts-sun-side {
  color: #f59e0b;
  opacity: 0;
  transform: scale(0.6);
}
.ts-moon-side {
  color: #64748b;
  opacity: 0.75;
  transform: scale(1);
}

[data-theme="dark"] .ts-sun-side {
  opacity: 0.75;
  color: #f59e0b;
  transform: scale(1);
}
[data-theme="dark"] .ts-moon-side {
  opacity: 0;
  transform: scale(0.6);
}

.ts-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 8px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .ts-thumb {
  transform: translateX(34px);
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 12px rgba(56, 189, 248, 0.45);
}

.ts-thumb-icon {
  position: absolute;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ts-thumb-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ts-thumb-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #f59e0b;
}
.ts-thumb-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
  color: #38bdf8;
}

[data-theme="dark"] .ts-thumb-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}
[data-theme="dark"] .ts-thumb-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.menu-theme-item {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px 4px;
  margin-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  width: 100%;
}
[data-theme="dark"] .menu-theme-item {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.menu-theme-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}
[data-theme="dark"] .menu-theme-label {
  color: #f1f5f9;
}
.menu-theme-label svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
  flex-shrink: 0;
}
[data-theme="dark"] .menu-theme-label svg {
  fill: #38bdf8;
}

/* --------------------------------------------------------------------------
   5. Hero Banner Section
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 74px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero_light_banner.jpg');
  background-size: cover;
  background-position: center;
  filter: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: background-image 0.4s ease, filter 0.4s ease;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(248, 250, 252, 0.18) 35%,
    rgba(248, 250, 252, 0.6) 75%,
    var(--navy-deep) 100%
  );
  transition: background 0.4s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 960px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.25) 60%, transparent 85%);
  border-radius: var(--radius-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-blue);
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #070d18;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 0 2px #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.hero-title .highlight {
  color: var(--primary-blue);
  display: block;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: #1e3a8a;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9), 0 0 1px #ffffff;
}
.hero-sub span {
  color: var(--primary-blue);
  padding: 0 8px;
}

.hero-desc {
  font-size: 1.12rem;
  color: #0f172a;
  font-weight: 500;
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9), 0 0 1px #ffffff;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.stat-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.stat-item:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  display: block;
  margin-bottom: 4px;
}
.stat-item:nth-child(2) .stat-num {
  color: var(--accent-gold);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. Statistics Counter Strip
   -------------------------------------------------------------------------- */
.ctr-section {
  background: var(--navy-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.ctr-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ctr-item {
  text-align: center;
  padding: 16px;
}
.ctr-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--sky-blue);
  line-height: 1.1;
  display: block;
  margin-bottom: 8px;
}
.ctr-label {
  font-size: 0.92rem;
  color: var(--text-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. About Academy Section
   -------------------------------------------------------------------------- */
#about {
  background: var(--navy-deep);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}
.ab-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--navy-card);
  border: 2px solid var(--sky-blue);
  color: var(--text-main);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.ab-badge .n {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  line-height: 1.1;
}
.ab-badge .t {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.about-text p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text p strong {
  color: var(--text-main);
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   8. Programs & Pre-Medical Banner
   -------------------------------------------------------------------------- */
#programs {
  background: var(--navy-alt);
}
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.prog-card {
  display: flex;
  flex-direction: column;
}
.prog-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-card);
}
.prog-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prog-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 14px 0 10px;
}
.prog-desc {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}
.prog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.prog-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.prog-list li::before {
  content: '✓';
  color: var(--sky-blue);
  font-weight: 700;
  flex-shrink: 0;
}

.premedical-banner {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 340px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--navy-card);
  box-shadow: var(--shadow-card);
}
.premedical-banner img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.premedical-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.premedical-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}
.premedical-body p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   9. Selection Timeline Section
   -------------------------------------------------------------------------- */
#process {
  background: var(--navy-deep);
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--sky-blue), var(--primary-blue));
}
.tl-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.tl-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.tl-num {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--navy-card);
  border: 2px solid var(--sky-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sky-blue);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.tl-content {
  flex: 1;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.tl-content:hover {
  background: var(--navy-card-hover);
  border-color: var(--sky-blue);
  transform: translateX(4px);
}
.tl-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tl-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. Campus Facilities
   -------------------------------------------------------------------------- */
#facilities {
  background: var(--navy-alt);
}
.fac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.fac-card {
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fac-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: inline-block;
}
.fac-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.fac-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. Why SDA Section
   -------------------------------------------------------------------------- */
#why-sda {
  background: var(--navy-deep);
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  opacity: 0;
  transform: translateX(20px);
}
.why-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.why-item:hover {
  background: var(--navy-card-hover);
  border-color: var(--sky-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.why-t {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.why-d {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}
.why-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   12. Filterable Responsive Gallery Grid & Lightbox Modal
   -------------------------------------------------------------------------- */
#gallery {
  background: var(--navy-deep);
  position: relative;
}

/* Category Tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 40px;
}
.gtab-btn {
  background: var(--navy-card);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}
.gtab-btn:hover {
  color: var(--sky-blue);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.gtab-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Responsive Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--navy-card);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: var(--transition);
}
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--sky-blue);
  box-shadow: var(--shadow-hover);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: var(--sky-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 13, 24, 0.9) 0%, rgba(7, 13, 24, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  z-index: 1;
}
.gallery-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}
.gallery-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.88);
  border: 2px solid #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}
.gallery-card:hover .gallery-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-blue);
}
.gallery-play-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  margin-left: 2px;
}

/* Load More Button Wrapper */
.gallery-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.btn-load-more {
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Lightbox Modal */
#gallery-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 13, 24, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 24px;
}
#gallery-lb.active {
  opacity: 1;
  pointer-events: all;
}
.lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}
.lb-close {
  position: fixed;
  top: 24px;
  right: 28px;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  background: rgba(17, 30, 51, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10000;
}
.lb-close:hover {
  background: var(--primary-blue);
  transform: scale(1.1);
}
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  background: rgba(17, 30, 51, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10000;
}
.lb-arrow:hover {
  background: var(--primary-blue);
  border-color: var(--sky-blue);
}
#lb-prev { left: 20px; }
#lb-next { right: 20px; }
.lb-caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(17, 30, 51, 0.85);
  border: 1px solid var(--border-card);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. Reviews & Testimonials
   -------------------------------------------------------------------------- */
#reviews {
  background: var(--navy-alt);
}
.rev-badge-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 30px;
  max-width: fit-content;
  margin: 0 auto 48px;
}
.rev-big-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}
.stars {
  color: var(--accent-gold);
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.rev-meta-txt {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 4px;
}
.rev-meta-sub {
  font-size: 0.85rem;
  color: var(--sky-blue);
  margin-top: 2px;
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rev-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.rev-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.rev-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
  font-style: italic;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.rev-av {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.rev-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
}
.rev-role {
  font-size: 0.82rem;
  color: var(--sky-blue);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   14. Admission Form & Contact
   -------------------------------------------------------------------------- */
#contact {
  background: var(--navy-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.ci-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}
.ci-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.ci-val {
  font-size: 1.02rem;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.6;
}
.ci-val a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}
.ci-val a:hover {
  color: var(--sky-blue);
}

.soc-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}
.soc-btn:hover {
  background: var(--navy-card-hover);
  border-color: var(--sky-blue);
  color: var(--sky-blue);
  transform: translateY(-2px);
}

/* Form Styles */
.cf {
  padding: 36px 32px;
}
.cf-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}
.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fg {
  margin-bottom: 18px;
}
.fg label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  outline: none;
  transition: var(--transition);
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.fg select option {
  background: #ffffff;
  color: #0f172a;
}
.fg textarea {
  resize: vertical;
  min-height: 95px;
}

/* --------------------------------------------------------------------------
   15. Google Maps Container
   -------------------------------------------------------------------------- */
#map-sec {
  background: var(--navy-deep);
}
.map-wrap {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 400px;
  position: relative;
  background: var(--navy-card);
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
  background: var(--navy-card);
  z-index: 1;
  transition: opacity 0.4s ease;
}
.map-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-card);
  border-top-color: var(--sky-blue);
  border-radius: 50%;
  animation: mapSpin 0.8s linear infinite;
}
@keyframes mapSpin {
  to { transform: rotate(360deg); }
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
  filter: none;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   16. Footer & Floating CTA
   -------------------------------------------------------------------------- */
footer {
  background: #050912;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.ft {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.ft-brand .lt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.ft-brand .lt span {
  color: var(--sky-blue);
}
.ft-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 320px;
}
.ft-col h3,
.ft-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ft-col ul a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.ft-col ul a:hover {
  color: var(--sky-blue);
  padding-left: 4px;
}
.fb {
  border-top: 1px solid var(--border-subtle);
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
.fb .g {
  color: var(--sky-blue);
  font-weight: 600;
}

.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fbtn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}
.fbtn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.fbtn:hover svg {
  transform: scale(1.08);
}
.fcall {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.fcall:hover {
  background: #1d4ed8;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.6);
}
.fwa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.fwa:hover {
  background: #20ba59;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}
.fwa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: fwa-pulse 2.2s infinite;
  pointer-events: none;
}
@keyframes fwa-pulse {
  0% { transform: scale(1); opacity: 0.85; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
.fbtn-tooltip {
  position: absolute;
  right: 68px;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.fbtn:hover .fbtn-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .fbtn-tooltip { display: none; }
  .float-cta { bottom: 20px; right: 18px; }
  .fbtn { width: 50px; height: 50px; }
  .fbtn svg { width: 24px; height: 24px; }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1260px) {
  nav {
    padding: 0 24px;
  }
  .nav-brand {
    font-size: 1rem;
  }
  .nav-tag {
    font-size: 0.74rem;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 0.88rem;
    padding: 6px 10px;
  }
  .nav-cta {
    padding: 8px 18px !important;
  }
}

@media (max-width: 1024px) {
  nav {
    padding: 0 20px;
    height: 66px;
  }
  .nav-brand { font-size: 0.98rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 24px 20px;
    gap: 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .nav-right .theme-switch-btn {
    display: inline-flex !important;
  }

  .prog-grid { grid-template-columns: 1fr 1fr; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .ft { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .premedical-banner { grid-template-columns: 1fr; }
  .about-grid, .why-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .sc { padding: 60px 20px; }
  #hero { padding-top: 66px; min-height: 100svh; }
  .hero-content { padding: 30px 16px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .stat-num { font-size: 1.8rem; }

  .ctr-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 20px; }
  .ctr-num { font-size: 2.2rem; }

  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-img { height: 280px; }
  .why-img { height: 300px; }
  .ab-badge { bottom: -12px; right: -12px; padding: 12px 18px; }

  .prog-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .rev-badge-wrap { flex-direction: column; text-align: center; gap: 12px; }

  .timeline::before { left: 24px; }
  .tl-num { width: 50px; height: 50px; font-size: 1.05rem; }
  .tl-item { gap: 16px; }
  .tl-content { padding: 18px 20px; }

  .gallery-item { width: 260px; height: 180px; }
  .gallery-track { gap: 14px; animation-duration: 24s; }

  .cf { padding: 26px 20px; }
  .fg-row { grid-template-columns: 1fr; }

  .ft { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .fb { padding: 16px 20px; font-size: 0.82rem; }

  .float-cta { bottom: 20px; right: 18px; }
  .fbtn { width: 50px; height: 50px; font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .fac-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .ctr-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
}
