/* ==========================================================================
   GUIDANCE CLASSES - Executive Academic Distinction Design System
   Palette: Dark Royal Navy, Midnight Obsidian, Imperial Gold & Radiant Amber
   Designed with Stitch MCP System Architecture
   ========================================================================== */

:root {
  /* Surface Tiers */
  --bg-base: #07111E;
  --bg-surface-dim: #050F1C;
  --bg-surface-card: #0D1B2E;
  --bg-surface-hover: #132238;
  --bg-surface-active: #162A45;
  --bg-glass: rgba(13, 27, 46, 0.78);
  --bg-glass-nav: rgba(7, 17, 30, 0.92);

  /* Gold & Accent Hierarchy */
  --gold-primary: #D4AF37;
  --gold-light: #F2CA50;
  --gold-bright: #FCD34D;
  --gold-dark: #B48A1E;
  --amber-secondary: #F59E0B;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --cyan-tertiary: #38BDF8;
  --cyan-glow: rgba(56, 189, 248, 0.2);

  /* Text & Contrast Hierarchy */
  --text-high: #F8FAFC;
  --text-medium: #CBD5E1;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;

  /* Borders & Glass Dividers */
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-medium: rgba(148, 163, 184, 0.22);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-glow: rgba(212, 175, 55, 0.6);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(2, 6, 23, 0.5), 0 2px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 48px -8px rgba(2, 6, 23, 0.7), 0 4px 14px -2px rgba(0, 0, 0, 0.3);
  --shadow-gold-hover: 0 16px 40px -4px rgba(0, 0, 0, 0.6), 0 0 24px -2px rgba(212, 175, 55, 0.25);

  /* Typography */
  --font-serif: 'Playfair Display', 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --section-padding: 96px 24px;
  --header-height: 82px;
  --border-radius-sm: 6px;
  --border-radius: 12px;
  --border-radius-lg: 18px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-medium);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(56, 189, 248, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold-primary);
  color: var(--bg-base);
  padding: 12px 22px;
  z-index: 99999;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 20px var(--gold-glow);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* Focus states for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Headings with Gold Metallic Hairline */
.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.eyebrow-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 0.78125rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  box-shadow: 0 0 16px -2px rgba(212, 175, 55, 0.2);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: var(--amber-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber-secondary);
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 700;
  color: var(--text-high);
  line-height: 1.22;
  letter-spacing: -0.015em;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--amber-secondary));
  margin-top: 18px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.section-subtitle {
  margin-top: 18px;
  font-size: 1.0625rem;
  color: var(--text-medium);
  max-width: 680px;
  line-height: 1.65;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
  color: #07111E;
  border-color: #FCD34D;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F2CA50 0%, #FBBF24 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.5), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background: rgba(22, 42, 69, 0.5);
  color: var(--gold-bright);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.btn-teal {
  background: var(--bg-surface-active);
  color: var(--cyan-tertiary);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-teal:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #FFFFFF;
  border-color: var(--cyan-tertiary);
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--cyan-glow);
}

.btn-brass {
  background: linear-gradient(135deg, #D4AF37 0%, #B48A1E 100%);
  color: #07111E;
  font-weight: 700;
  border-color: #FCD34D;
}

.btn-brass:hover {
  background: linear-gradient(135deg, #F2CA50 0%, #D4AF37 100%);
  color: #07111E;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

/* ==========================================================================
   STICKY HEADER & STREAMLINED NAVBAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--bg-glass-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background-color: rgba(5, 15, 28, 0.96);
  border-bottom-color: rgba(212, 175, 55, 0.32);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0D1B2E 0%, #162A45 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-link:hover .brand-crest {
  transform: scale(1.05);
  border-color: var(--gold-bright);
}

.brand-crest svg {
  width: 24px;
  height: 24px;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-high);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav Menu: Clean, Spaced, NO WORD-WRAPPING */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.8875rem;
  font-weight: 600;
  color: var(--text-medium);
  text-decoration: none;
  position: relative;
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  white-space: nowrap; /* PREVENTS UGLY MULTI-LINE BREAKING */
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--amber-secondary));
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text-high);
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.phone-cta-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
  color: #07111E;
  border: 1px solid #FCD34D;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  white-space: nowrap;
}

.phone-cta-btn:hover {
  background: linear-gradient(135deg, #F2CA50 0%, #FBBF24 100%);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.55);
  transform: translateY(-2px);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--gold-light);
  line-height: 1;
}

.nav-toggle:focus {
  outline: 2px solid var(--gold-light);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ==========================================================================
   HERO SECTION - Dark Navy & Radiant Ambient Glow
   ========================================================================== */

.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 80px;
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-high);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-headline .text-brass {
  background: linear-gradient(135deg, #FCD34D 0%, #D4AF37 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-medium);
  line-height: 1.68;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

/* Hero Media Frame */
.hero-media-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  background: var(--bg-surface-card);
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius-lg);
  border: 1.5px solid var(--gold-primary);
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-badge-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 17, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius);
  padding: 14px 18px;
  color: var(--text-high);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.hero-badge-icon svg {
  width: 20px;
  height: 20px;
}

.hero-badge-text {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.hero-badge-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.875rem;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  background: var(--bg-surface-card);
  color: var(--text-high);
  padding: 28px 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trust-summary-line {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 0 12px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-number .stat-suffix {
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   EXAM PROGRAMMES (6 Cards Grid)
   ========================================================================== */

.section-exams {
  padding: var(--section-padding);
  background-color: var(--bg-base);
  position: relative;
}

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

.exam-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.exam-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold-hover);
  border-color: var(--border-gold);
}

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

.exam-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.exam-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(22, 42, 69, 0.6);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.exam-card:hover .exam-icon {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #FFFFFF;
}

.exam-icon svg {
  width: 24px;
  height: 24px;
}

.exam-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.exam-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 12px;
  line-height: 1.25;
}

.exam-card-desc {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.62;
  margin-bottom: 22px;
  flex-grow: 1;
}

.exam-card-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 20px;
}

.exam-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.exam-card-features li svg {
  width: 14px;
  height: 14px;
  color: var(--cyan-tertiary);
  flex-shrink: 0;
}

.exam-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.exam-card-link:hover {
  color: #FFFFFF;
  gap: 10px;
}

.exam-card-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   PROGRAMMES / BATCHES SECTION
   ========================================================================== */

.section-programmes {
  padding: var(--section-padding);
  background-color: var(--bg-surface-dim);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.programmes-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.programme-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  align-items: center;
  transition: border-color var(--transition-fast);
}

.programme-row:hover {
  border-color: var(--border-gold);
}

.programme-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.programme-row.reverse .programme-info {
  order: 2;
}

.programme-row.reverse .programme-visual {
  order: 1;
}

.programme-info {
  padding: 40px;
}

.programme-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-tertiary);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}

.programme-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 14px;
  line-height: 1.25;
}

.programme-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.65;
  margin-bottom: 22px;
}

.programme-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.prog-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-high);
}

.prog-highlight-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.programme-visual {
  height: 100%;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.programme-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.programme-row:hover .programme-visual img {
  transform: scale(1.04);
}

/* Secondary 3-column subgrid */
.programmes-cards-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.programme-subcard {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.programme-subcard:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.programme-subcard-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 10px;
}

.programme-subcard-desc {
  font-size: 0.8875rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* ==========================================================================
   WHY GUIDANCE CLASSES (Amenities & Spotlight)
   ========================================================================== */

.section-why-us {
  padding: var(--section-padding);
  background-color: var(--bg-base);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.amenity-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold-hover);
}

.amenity-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.amenity-icon-box svg {
  width: 24px;
  height: 24px;
}

.amenity-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 10px;
  line-height: 1.3;
}

.amenity-desc {
  font-size: 0.9125rem;
  color: var(--text-medium);
  line-height: 1.62;
}

/* Spotlight Card */
.spotlight-card {
  background: var(--bg-surface-card);
  color: var(--text-high);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.spotlight-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-eyebrow {
  color: var(--gold-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.25;
}

.spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.65;
  margin-bottom: 24px;
}

.spotlight-bullets {
  list-style: none;
  margin-bottom: 28px;
}

.spotlight-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-high);
  margin-bottom: 12px;
}

.spotlight-bullets li svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.spotlight-image-wrap {
  position: relative;
  min-height: 320px;
}

.spotlight-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   HOW IT WORKS (4 Steps)
   ========================================================================== */

.section-process {
  padding: var(--section-padding);
  background-color: var(--bg-surface-dim);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.8875rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ==========================================================================
   ADMISSION ENQUIRY FORM - Dark Executive Aesthetic
   ========================================================================== */

.section-enquiry {
  padding: var(--section-padding);
  background-color: var(--bg-base);
  position: relative;
}

.enquiry-card-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg-surface-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.8), 0 0 24px rgba(212, 175, 55, 0.15);
  overflow: hidden;
}

.enquiry-header-banner {
  background: linear-gradient(135deg, #07111E 0%, #162A45 100%);
  color: var(--text-high);
  padding: 34px 44px;
  border-bottom: 2px solid var(--gold-primary);
}

.enquiry-header-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.enquiry-header-banner p {
  font-size: 0.9125rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.enquiry-form-body {
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

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

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

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-high);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required-star {
  color: #F87171;
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: #FFFFFF;
  background-color: #07111E;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #091729;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  outline: none;
}

.form-select option {
  background: #0D1B2E;
  color: #FFFFFF;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #F87171;
  margin-top: 4px;
  display: none;
  font-weight: 600;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select {
  border-color: #EF4444;
  background-color: rgba(239, 68, 68, 0.08);
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.form-privacy-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-privacy-note svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-tertiary);
  flex-shrink: 0;
}

/* Form Confirmation Box */
.form-confirmation-box {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10B981;
  border-radius: var(--border-radius);
  padding: 24px;
  margin-top: 24px;
  animation: fadeIn 0.4s ease;
}

.form-confirmation-box.active {
  display: block;
}

.confirmation-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.confirmation-icon {
  width: 38px;
  height: 38px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.confirmation-icon svg {
  width: 20px;
  height: 20px;
}

.confirmation-title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  color: #34D399;
  margin-bottom: 4px;
}

.confirmation-msg {
  font-size: 0.9125rem;
  color: #D1FAE5;
  line-height: 1.55;
}

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

/* ==========================================================================
   GALLERY (6 Curated Images)
   ========================================================================== */

.section-gallery {
  padding: var(--section-padding);
  background-color: var(--bg-surface-dim);
  border-top: 1px solid var(--border-subtle);
}

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

.gallery-item {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold-hover);
}

.gallery-img-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #050F1C;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  padding: 18px 20px;
  background: var(--bg-surface-card);
  border-top: 1px solid var(--border-subtle);
  flex-grow: 1;
}

.gallery-caption-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 4px;
}

.gallery-caption-desc {
  font-size: 0.8125rem;
  color: var(--text-medium);
  line-height: 1.45;
}

/* ==========================================================================
   FACULTY & TESTIMONIALS
   ========================================================================== */

.section-testimonials {
  padding: var(--section-padding);
  background-color: var(--bg-base);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.testimonial-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.testimonial-quote-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-light);
  opacity: 0.8;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-high);
  line-height: 1.68;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.author-avatar-initial {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.author-exam {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonials-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  font-style: italic;
}

/* ==========================================================================
   FAQ SECTION (5 Q&As)
   ========================================================================== */

.section-faq {
  padding: var(--section-padding);
  background-color: var(--bg-surface-dim);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.active {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-high);
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--gold-light);
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-surface-card);
}

.faq-item.active .faq-answer-panel {
  max-height: 400px;
}

.faq-answer-content {
  padding: 0 24px 22px 24px;
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ==========================================================================
   VISIT US / LOCATION / CONTACT
   ========================================================================== */

.section-contact {
  padding: var(--section-padding);
  background-color: var(--bg-base);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-content h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.contact-item-content p {
  font-size: 0.9125rem;
  color: var(--text-medium);
  line-height: 1.55;
}

.contact-item-content a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-item-content a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.landmarks-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.landmark-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(22, 42, 69, 0.6);
  color: var(--text-high);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.contact-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* 16:9 Map Container */
.map-card-wrapper {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.map-container-16-9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-subtle);
  background-color: #07111E;
}

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

.map-caption-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   FOOTER - Midnight Obsidian & Gold Line
   ========================================================================== */

.site-footer {
  background-color: var(--bg-surface-dim);
  color: var(--text-medium);
  padding-top: 76px;
  padding-bottom: 32px;
  border-top: 2px solid var(--gold-primary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand-col p {
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-top: 16px;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-primary);
  margin-top: 8px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.back-to-top-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--gold-primary);
  color: #07111E;
}

.back-to-top-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver)
   ========================================================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   MOBILE QUICK-ACTION BAR (Floating Bottom Bar on <= 768px)
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(5, 15, 28, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid var(--gold-primary);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  gap: 8px;
  justify-content: space-around;
  align-items: center;
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mobile-bar-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.mobile-bar-call {
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
  color: #07111E !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.mobile-bar-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.mobile-bar-enquire {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.mobile-bar-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 1200px) {
  .nav-menu {
    gap: 4px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1040px) {
  .exams-grid,
  .amenities-grid,
  .programmes-cards-subgrid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .programme-row,
  .programme-row.reverse {
    grid-template-columns: 1fr;
  }

  .programme-row.reverse .programme-info {
    order: 1;
  }

  .programme-row.reverse .programme-visual {
    order: 2;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hamburger Activation */
  .nav-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background-color: rgba(7, 17, 30, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px 24px;
    gap: 8px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link:hover,
  .nav-link:active {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
  }

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

  .drawer-phone-cta {
    display: block !important;
    margin-top: 14px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-image {
    height: 380px;
  }

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

@media (max-width: 768px) {
  /* Show Mobile Bottom Quick Action Bar */
  .mobile-bottom-bar {
    display: flex;
  }

  /* Add space at bottom of page so footer content is not obscured */
  body {
    padding-bottom: 68px;
  }

  .site-header {
    height: 72px;
  }

  :root {
    --header-height: 72px;
    --section-padding: 68px 18px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    padding: 14px 16px;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: 0.625rem;
  }

  .brand-crest {
    width: 38px;
    height: 38px;
  }

  .brand-crest svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 640px) {
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .exams-grid,
  .amenities-grid,
  .programmes-cards-subgrid,
  .gallery-grid,
  .testimonials-grid,
  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .programme-info,
  .spotlight-content,
  .contact-card,
  .enquiry-form-body,
  .enquiry-header-banner {
    padding: 24px 18px;
  }

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

  .programme-highlights {
    grid-template-columns: 1fr;
  }

  .hero-badge-floating {
    position: static;
    margin-top: 14px;
  }

  .hero-image {
    height: 280px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Reduced Motion Support */
@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;
  }

  .hero-image {
    animation: none;
  }

  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
