/* ==========================================================================
   FALCON SCHOOL - DESIGN SYSTEM & STYLESHEET
   Clean • Minimal • Premium • Trustworthy • Responsive
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Brand Primary: Deep Navy */
  --primary-950: #061324;
  --primary-900: #0b2240;
  --primary-800: #12345e;
  --primary-700: #19467d;
  --primary-600: #20599c;
  --primary-50: #f0f5fa;

  /* Brand Secondary: Sky Blue */
  --sky-700: #0369a1;
  --sky-600: #0284c7;
  --sky-500: #0ea5e9;
  --sky-400: #38bdf8;
  --sky-200: #bae6fd;
  --sky-100: #e0f2fe;
  --sky-50: #f0f9ff;

  /* Accent: Warm Gold / Amber (CTA, Highlights, Crest Gold) */
  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --gold-50: #fffbeb;

  /* Brand Aqua & Caribbean Aqua (Crest Wings & Educational Energy) */
  --aqua-950: #023047;
  --aqua-900: #005f73;
  --aqua-800: #0a9396;
  --aqua-700: #007791;
  --aqua-600: #00a896;
  --aqua-500: #00b4d8;
  --aqua-400: #48cae4;
  --aqua-300: #90e0ef;
  --aqua-200: #ade8f4;
  --aqua-100: #caf0f8;
  --aqua-50: #e0faff;
  
  /* Caribbean Aqua Specials */
  --caribbean-aqua-deep: #004d61;
  --caribbean-aqua: #00b4d8;
  --caribbean-aqua-glow: rgba(0, 180, 216, 0.35);
  --caribbean-aqua-light: #e0faff;

  /* Nature Green (Crest Green Accent) */
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;

  /* Neutrals: Slate / Clean Gray */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Functional / Status */
  --error: #dc2626;
  --error-bg: #fef2f2;
  --success: #059669;
  --success-bg: #ecfdf5;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(11, 34, 64, 0.05);
  --shadow-sm: 0 2px 4px -1px rgba(11, 34, 64, 0.06), 0 1px 2px -1px rgba(11, 34, 64, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(11, 34, 64, 0.08), 0 2px 6px -2px rgba(11, 34, 64, 0.04);
  --shadow-lg: 0 10px 24px -4px rgba(11, 34, 64, 0.1), 0 4px 8px -4px rgba(11, 34, 64, 0.04);
  --shadow-xl: 0 20px 32px -6px rgba(11, 34, 64, 0.12), 0 8px 16px -6px rgba(11, 34, 64, 0.06);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --border-subtle: 1px solid rgba(11, 34, 64, 0.08);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--sky-600);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
}

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

.text-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--slate-600);
  line-height: 1.7;
}

.text-muted {
  color: var(--slate-500);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--slate-50);
}

.section-navy {
  background-color: var(--primary-900);
  color: var(--slate-200);
}

.section-navy h1, .section-navy h2, .section-navy h3 {
  color: var(--white);
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-primary {
  background-color: var(--sky-100);
  color: var(--primary-800);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-gold {
  background-color: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.badge-navy {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--sky-200);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-navy .section-subtitle {
  color: var(--slate-300);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--gold-500);
  color: var(--primary-950);
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-navy {
  background-color: var(--primary-900);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(11, 34, 64, 0.2);
}

.btn-navy:hover {
  background-color: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(11, 34, 64, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-900);
  border: 1.5px solid var(--slate-200);
}

.btn-secondary:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-300);
  transform: translateY(-2px);
}

.btn-secondary-white {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary-white:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.1rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* --- NAVBAR --- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 34, 64, 0.06);
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(11, 34, 64, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  text-decoration: none;
}

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

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

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sky-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sky-600);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-900);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--primary-900);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  padding: 0.6rem;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary-900);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--slate-200);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-900);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-drawer-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- HERO SECTION (REDESIGNED HOME SECTION WITH CARIBBEAN AQUA) --- */
.hero-section {
  padding: 5.5rem 0 6.5rem 0;
  background: 
    radial-gradient(circle at 85% 15%, rgba(0, 180, 216, 0.22) 0%, rgba(10, 147, 150, 0.08) 45%, transparent 75%),
    radial-gradient(circle at 10% 85%, rgba(72, 202, 228, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, #e0faff 0%, rgba(224, 250, 255, 0.6) 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 1;
}

.hero-bg-glow-1 {
  top: -80px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.32) 0%, rgba(0, 119, 145, 0.08) 60%, transparent 80%);
}

.hero-bg-glow-2 {
  bottom: 20px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(72, 202, 228, 0.25) 0%, transparent 70%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 119, 145, 0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Modern Admissions Pill (Caribbean Aqua Accent) */
.hero-admissions-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(0, 180, 216, 0.4);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px -2px rgba(0, 180, 216, 0.18);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--green-500);
  border-radius: var(--radius-full);
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pillPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pillPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.hero-pill-text {
  font-size: 0.86rem;
  color: var(--aqua-950);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-pill-text strong {
  color: var(--aqua-900);
  font-weight: 700;
}

/* Headline & Text (Caribbean Aqua Gradient) */
.hero-headline {
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.35rem;
}

.hero-headline .text-aqua-gradient {
  background: linear-gradient(135deg, #004d61 0%, #007791 35%, #00b4d8 75%, #0a9396 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-lead strong {
  color: var(--primary-900);
  font-weight: 600;
}

/* Action Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--primary-950);
  box-shadow: 0 6px 18px 0 rgba(245, 158, 11, 0.38);
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(245, 158, 11, 0.48);
}

.btn-aqua-outline {
  background-color: var(--white);
  color: #004d61;
  border: 1.5px solid #00a896;
}

.btn-aqua-outline:hover {
  background-color: #e0faff;
  border-color: #007791;
  color: #023047;
  transform: translateY(-2px);
}

/* Feature Chips Row (Caribbean Aqua Glass) */
.hero-feature-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 180, 216, 0.28);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(0, 180, 216, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-900);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.hero-chip:hover {
  border-color: #00b4d8;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.2);
  transform: translateY(-1px);
}

.hero-chip-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Showcase Collage (Right Column) */
.hero-showcase {
  position: relative;
  width: 100%;
}

.hero-montage-container {
  position: relative;
  width: 100%;
  max-width: 530px;
  margin-left: auto;
}

/* Main Card */
.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 50px -10px rgba(0, 95, 115, 0.25), 0 8px 20px -6px rgba(11, 34, 64, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.95);
  background-color: var(--slate-100);
  z-index: 2;
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-main-card:hover .hero-showcase-img {
  transform: scale(1.03);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.25rem 1rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 48, 71, 0.88) 100%);
  color: var(--white);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #90e0ef;
}

.hero-card-caption {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* Secondary Inset Card (Smart Classroom) */
.hero-sub-card {
  position: absolute;
  bottom: -22px;
  left: -28px;
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px solid var(--white);
  box-shadow: 0 16px 32px -4px rgba(0, 95, 115, 0.28);
  overflow: hidden;
  z-index: 4;
  transition: transform var(--transition-normal);
}

.hero-sub-card:hover {
  transform: translateY(-4px);
}

.hero-sub-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.hero-sub-caption {
  padding: 0.45rem 0.65rem;
  background: #023047;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sub-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: #00b4d8;
  display: inline-block;
}

/* Floating Badges (Caribbean Aqua Glass) */
.hero-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0, 180, 216, 0.35);
  box-shadow: 0 12px 30px -4px rgba(0, 95, 115, 0.22);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: heroFloat 4.5s ease-in-out infinite;
}

.hero-badge-ac {
  top: -18px;
  right: -18px;
}

.hero-badge-robotics {
  bottom: 25px;
  right: -22px;
  animation-delay: 2.2s;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-icon {
  background: linear-gradient(135deg, #ade8f4 0%, #caf0f8 100%);
  color: #005f73;
  border: 1px solid #90e0ef;
}

.robotics-icon {
  background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-200) 100%);
  color: var(--gold-700);
  border: 1px solid var(--gold-300);
}

.hero-badge-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--primary-900);
  line-height: 1.2;
}

.hero-badge-info span {
  font-size: 0.72rem;
  color: var(--slate-500);
  display: block;
}

/* --- SECTION 7: TRUST / QUICK FACTS --- */
.facts-section {
  padding: 0 0 5rem 0;
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--sky-500);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-200);
}

.fact-card:hover::before {
  opacity: 1;
}

.fact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--primary-50);
  color: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  transition: all var(--transition-fast);
}

.fact-card:hover .fact-icon-wrap {
  background-color: var(--sky-100);
  color: var(--sky-600);
}

.fact-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.fact-label {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}

.fact-desc {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* --- SECTION 8: ABOUT FALCON SCHOOL --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
}

.about-quote-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 34, 64, 0.92);
  color: var(--white);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-text-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-900);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-text-body {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* --- SECTION 9: OUR APPROACH --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.approach-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-300);
}

.approach-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--sky-50);
  color: var(--sky-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--sky-100);
  transition: all var(--transition-fast);
}

.approach-card:hover .approach-icon-wrap {
  background-color: var(--primary-900);
  color: var(--gold-400);
  border-color: var(--primary-800);
}

.approach-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-900);
}

.approach-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* --- SECTION 10: ACADEMICS --- */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.academic-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.academic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-300);
}

.academic-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.academic-level-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 0.5rem;
}

.academic-title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.academic-grades {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-600);
}

.academic-focus-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.academic-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: auto;
}

.academic-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--slate-700);
}

.academic-item svg {
  color: var(--green-600);
  flex-shrink: 0;
}

.academics-cta-wrap {
  text-align: center;
}

/* --- SECTION 11: CAMPUS SECTION --- */
.campus-highlight-card {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.campus-highlight-content {
  max-width: 650px;
}

.campus-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(56, 189, 248, 0.18);
  color: var(--sky-400);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.campus-highlight-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--white);
  margin-bottom: 0.65rem;
}

.campus-highlight-desc {
  color: var(--slate-200);
  font-size: 1.02rem;
  line-height: 1.6;
}

.campus-highlight-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

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

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-300);
}

.gallery-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--slate-100);
}

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

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

.gallery-overlay-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 34, 64, 0.85);
  color: var(--white);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.gallery-body {
  padding: 1.5rem;
}

.gallery-title {
  font-size: 1.18rem;
  color: var(--primary-900);
  margin-bottom: 0.4rem;
}

.gallery-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* --- SECTION 12: WHY FALCON SCHOOL --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.why-item:hover {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.why-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--green-100);
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.25rem;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* --- SECTION 13: ADMISSIONS SECTION & FORM --- */
.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.admissions-info-panel {
  display: flex;
  flex-direction: column;
}

.admissions-highlights-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  margin: 1.85rem 0;
}

.admissions-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.95rem;
}

.admissions-highlight-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.admissions-highlight-row:first-child {
  padding-top: 0;
}

.admissions-label {
  color: var(--slate-500);
  font-weight: 500;
}

.admissions-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-900);
}

/* Enquiry Form Card */
.enquiry-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-800);
}

.form-label .required {
  color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--slate-900);
  background-color: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: var(--white);
  border-color: var(--sky-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.form-error-msg {
  font-size: 0.78rem;
  color: var(--error);
  display: none;
}

.form-input.is-invalid + .form-error-msg,
.form-select.is-invalid + .form-error-msg,
.form-textarea.is-invalid + .form-error-msg {
  display: block;
}

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

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 1rem;
  line-height: 1.4;
}

/* Success Confirmation State */
.form-success-state {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.form-success-state.is-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background-color: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid var(--green-100);
}

.success-title {
  font-size: 1.45rem;
  color: var(--primary-900);
  margin-bottom: 0.65rem;
}

.success-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 1.75rem;
}

/* --- SECTION 14: CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  margin-bottom: 0.35rem;
}

.contact-card-value {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary-900);
  word-break: break-word;
}

.contact-placeholder-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--slate-400);
  font-style: italic;
  margin-top: 0.25rem;
}

/* Map Embed Card */
.map-embed-card,
.map-placeholder-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  position: relative;
}

.map-iframe-container {
  flex: 1;
  width: 100%;
  min-height: 340px;
  position: relative;
  background-color: var(--slate-100);
}

.map-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.map-footer-bar {
  padding: 1.15rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--slate-600);
  gap: 1rem;
  flex-wrap: wrap;
}

.map-footer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  display: inline-block;
  flex-shrink: 0;
}

.map-info-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  max-width: 320px;
}

.map-info-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-900);
  font-size: 1.05rem;
}

.map-info-sub {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.map-footer-bar {
  padding: 1rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* --- SECTION 15: FOOTER --- */
.site-footer {
  background-color: var(--primary-950);
  color: var(--slate-300);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.35rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--slate-300);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: var(--gold-400);
  transform: translateX(3px);
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--gold-500);
  color: var(--primary-950);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 36, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.lightbox-modal.is-open .lightbox-content {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.5rem 2rem;
}

.lightbox-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sky-600);
}

.lightbox-title {
  font-size: 1.35rem;
  margin: 0.25rem 0 0.5rem 0;
}

.lightbox-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* --- TOAST NOTIFICATION --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--primary-900);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-left: 4px solid var(--gold-500);
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 380px;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .academics-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .admissions-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

  .campus-highlight-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.75rem;
    gap: 1.5rem;
  }

  .campus-highlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 3.75rem 0;
  }

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

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

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

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

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

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

  .enquiry-form-card {
    padding: 2rem 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-admissions-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-sub-card {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 0.85rem;
  }

  .hero-badge-ac,
  .hero-badge-robotics {
    position: static;
    margin-top: 0.75rem;
    width: 100%;
    animation: none;
  }

  .hero-montage-container {
    max-width: 100%;
  }
}

/* WhatsApp Action Button & Interactive Floating Widget */
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.35);
  font-weight: 600;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 211, 102, 0.45);
}

.contact-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-whatsapp-pill:hover {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-1px);
}

/* Floating WhatsApp Widget with Multi-Number Selector */
.whatsapp-float-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1500;
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background-color: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-popup-menu {
  position: absolute;
  bottom: calc(100% + 0.85rem);
  left: 0;
  width: 320px;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1600;
}

.whatsapp-popup-menu.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-popup-header {
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.whatsapp-popup-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-popup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #25d366;
  border: 2px solid #075e54;
  border-radius: 50%;
}

.whatsapp-popup-title-wrap {
  flex-grow: 1;
}

.whatsapp-popup-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.whatsapp-popup-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.whatsapp-popup-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.whatsapp-popup-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.whatsapp-popup-body {
  padding: 1rem 1.15rem;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp-popup-prompt {
  font-size: 0.82rem;
  color: var(--slate-600);
  margin-bottom: 0.15rem;
}

.whatsapp-line-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--slate-800);
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.whatsapp-line-item:hover {
  border-color: #25d366;
  background-color: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.whatsapp-line-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f0fdf4;
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.whatsapp-line-item:hover .whatsapp-line-icon {
  background-color: #25d366;
  color: #ffffff;
}

.whatsapp-line-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.whatsapp-line-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-900);
}

.whatsapp-line-phone {
  font-size: 0.8rem;
  color: var(--slate-600);
  font-family: var(--font-mono, monospace);
  letter-spacing: -0.2px;
}

.whatsapp-line-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #16a34a;
  background-color: #f0fdf4;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 580px) {
  .whatsapp-float-widget {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
  }

  .whatsapp-float-btn {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }

  .whatsapp-popup-menu {
    width: 285px;
    bottom: calc(100% + 0.65rem);
  }
}

/* ==========================================================================
   MOBILE-FRIENDLY QUICK ACTION STICKY BAR & ERGONOMIC TOUCH STYLES
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  background: rgba(11, 34, 64, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(6, 19, 36, 0.3);
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float-btn {
    bottom: calc(4.8rem + env(safe-area-inset-bottom, 0px));
  }

  /* Prevent iOS input auto-zoom */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Improved Touch Targets */
  .btn,
  .mobile-nav-link,
  .gallery-tab-btn,
  .faq-trigger {
    min-height: 46px;
  }
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--slate-300);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  flex: 1;
  text-align: center;
}

.mobile-bottom-item:active,
.mobile-bottom-item:hover {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-bottom-item.highlight-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

.mobile-bottom-item.highlight-action .mobile-bottom-label {
  color: var(--white);
  font-weight: 700;
}

.mobile-bottom-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-bottom-label {
  font-size: 0.68rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* --- PERFORMANCE RENDERING OPTIMIZATIONS --- */
.section-alt,
.campus-highlight-card,
.gallery-grid,
.why-grid,
.approach-grid,
.admissions-grid,
.contact-grid,
.gallery-features-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

/* Aspect Ratio & Zero Layout Shift (CLS) */
.gallery-thumb-wrap,
.gallery-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--slate-100);
}

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

/* --- PREFERS REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .map-pin-pulse,
  .hero-pulse-dot,
  .hero-badge {
    animation: none !important;
  }
}

/* ==========================================================================
   DEDICATED CAMPUS GALLERY PAGE STYLES
   ========================================================================== */

/* --- 1. Gallery Hero Section --- */
.gallery-hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 60%, var(--primary-800) 100%);
  color: var(--white);
  padding: 8.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-hero-bg-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.22) 0%, rgba(11, 34, 64, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gallery-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--slate-300);
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--slate-200);
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--gold-400);
}

.breadcrumb-separator {
  color: var(--slate-400);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--gold-400);
  font-weight: 600;
}

.gallery-hero-content {
  max-width: 820px;
}

.gallery-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.gallery-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-200);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.gallery-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.gallery-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-100);
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.gallery-stat-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--sky-400);
  transform: translateY(-1px);
}

.stat-pill-icon {
  color: var(--aqua-400);
  flex-shrink: 0;
}

/* --- 2. Gallery Main Section & Controls Toolbar --- */
.gallery-main-section {
  padding: 3.5rem 0 5rem;
  background-color: var(--slate-50);
}

.gallery-controls-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  margin-bottom: 2rem;
}

.gallery-controls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.gallery-controls-title {
  font-size: 1.35rem;
  color: var(--primary-900);
  margin-bottom: 0.25rem;
}

.gallery-controls-subtitle {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.gallery-search-box {
  position: relative;
  min-width: 280px;
  max-width: 360px;
  flex-grow: 1;
}

.search-box-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  pointer-events: none;
}

.gallery-search-box input[type="search"] {
  width: 100%;
  padding: 0.7rem 2.2rem 0.7rem 2.75rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--slate-800);
  background-color: var(--slate-50);
  transition: all var(--transition-fast);
}

.gallery-search-box input[type="search"]:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.clear-search-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

.clear-search-btn:hover {
  color: var(--slate-700);
}

/* Category Filter Tabs */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-tab-btn:hover {
  background: var(--slate-200);
  color: var(--primary-900);
  border-color: var(--slate-300);
}

.gallery-tab-btn.is-active {
  background: var(--primary-900);
  color: var(--white);
  border-color: var(--primary-900);
  box-shadow: 0 4px 12px rgba(11, 34, 64, 0.2);
}

.tab-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  min-width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
}

.gallery-tab-btn.is-active .tab-count-badge {
  background: var(--gold-500);
  color: var(--primary-950);
}

/* Status Bar */
.gallery-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 0 0.5rem;
  font-size: 0.92rem;
  color: var(--slate-600);
}

.gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--sky-700);
  background: var(--sky-50);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sky-100);
}

/* --- 3. Gallery Showcase Grid & Cards --- */
.gallery-grid-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-showcase-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.gallery-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sky-300);
}

.gallery-showcase-card:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 4px;
}

.gallery-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--slate-900);
}

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

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

.gallery-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 34, 64, 0.88);
  color: var(--gold-400);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 34, 64, 0.85) 0%, rgba(11, 34, 64, 0.3) 60%, rgba(11, 34, 64, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-showcase-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-action-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.gallery-showcase-card:hover .gallery-card-action-icon {
  transform: scale(1);
}

.gallery-card-action-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.gallery-card-content {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sky-600);
  margin-bottom: 0.35rem;
}

.gallery-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-top: auto;
}

/* Empty State */
.gallery-empty-state {
  text-align: center;
  padding: 4.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--slate-300);
  max-width: 540px;
  margin: 2rem auto;
}

.empty-state-icon {
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.empty-state-title {
  font-size: 1.4rem;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

/* --- 4. Campus Features Section --- */
.gallery-features-section {
  padding: 5rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
}

.gallery-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.gallery-feature-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gallery-feature-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  border-color: var(--sky-300);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  color: var(--primary-900);
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* --- 5. Campus Tour CTA Banner --- */
.gallery-cta-section {
  padding: 2rem 0 5rem;
  background-color: var(--white);
}

.gallery-cta-card {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 65%, var(--aqua-950) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 180, 216, 0.3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.gallery-cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gallery-cta-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gallery-cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.gallery-cta-desc {
  font-size: 1.05rem;
  color: var(--slate-200);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.gallery-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- 6. ADVANCED LIGHTBOX MODAL --- */
.gallery-advanced-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1.5rem;
}

.gallery-advanced-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 36, 0.94);
  backdrop-filter: blur(12px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1050px;
  max-height: 94vh;
  background: var(--primary-950);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lightboxZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(11, 34, 64, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  background: rgba(251, 191, 36, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Lightbox Stage */
.lightbox-stage {
  position: relative;
  background-color: #030a12;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  max-height: 58vh;
  overflow: hidden;
}

.lightbox-main-view {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img-full {
  max-width: 100%;
  max-height: 56vh;
  object-fit: contain;
  transition: opacity 0.25s ease-in-out;
}

.lightbox-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 10, 18, 0.7);
}

.loader-spinner {
  width: 42px;
  height: 42px;
  border: 3.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gold-400);
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 34, 64, 0.75);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: var(--gold-500);
  color: var(--primary-950);
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev-btn {
  left: 1.25rem;
}

.lightbox-next-btn {
  right: 1.25rem;
}

/* Lightbox Info Panel */
.lightbox-info-panel {
  padding: 1.35rem 1.75rem;
  background: var(--primary-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lightbox-info-left {
  max-width: 650px;
}

.lightbox-category-tag {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--aqua-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.lightbox-facility-title {
  font-size: 1.28rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.lightbox-facility-desc {
  font-size: 0.88rem;
  color: var(--slate-300);
  line-height: 1.5;
}

/* --- Responsive Breakpoints for Gallery Page --- */
@media (max-width: 1024px) {
  .gallery-grid-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

@media (max-width: 768px) {
  .gallery-hero-section {
    padding: 7rem 0 3.5rem;
  }

  .gallery-controls-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-search-box {
    max-width: 100%;
    width: 100%;
  }

  .gallery-grid-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-cta-card {
    padding: 2.5rem 1.5rem;
  }

  .lightbox-info-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-filter-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }

  .gallery-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab-btn {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.55rem 0.9rem;
  }

  .lightbox-container {
    max-height: 98vh;
    border-radius: var(--radius-lg);
  }

  .lightbox-stage {
    min-height: 260px;
    max-height: 48vh;
  }

  .lightbox-img-full {
    max-height: 46vh;
  }
}


