/* ==========================================================================
   DRT KNOWLEDGEHUB INTERNATIONAL SCHOOL
   Homepage Premium CSS — "Royal Academic Dark" Theme
   ========================================================================== */

/* === Fonts & Base === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

:root {
  /* === Light Red-Tinted Palette === */
  --royal-dark: #FFF5F5; /* Very light pinkish-white base background */
  --royal-charcoal: #FFF0F0; /* Slightly deeper tint for contrast */
  --royal-surface: #FFFFFF; /* Pure white for cards to pop */
  --royal-elevated: #FFEBEB; /* Elevated sections with a bit more red tint */

  /* === Accent System === */
  /* Primary Accent: Signboard Red */
  --accent-gold: #E51A22; 
  --accent-gold-light: #FF3B43;
  --accent-gold-glow: rgba(229, 26, 34, 0.15);
  --accent-gold-subtle: rgba(229, 26, 34, 0.05);

  --accent-crimson: #B81C1C;
  --accent-crimson-light: #DF3333;
  --accent-crimson-glow: rgba(184, 28, 28, 0.15);

  --accent-emerald: #16BE45;
  --accent-emerald-light: #3FD668;
  --accent-emerald-glow: rgba(22, 190, 69, 0.15);

  /* Secondary Accent: Signboard Blue */
  --accent-sapphire: #8DB6E8; /* Light periwinkle blue */
  --accent-sapphire-light: #A5C8F2;
  --accent-sapphire-glow: rgba(141, 182, 232, 0.15);

  /* === Text System (Inverted for Light Theme) === */
  --text-primary: #2C1818; /* Dark reddish-charcoal for high contrast readability */
  --text-secondary: rgba(44, 24, 24, 0.85); /* Slightly muted dark red-charcoal */
  --text-muted: rgba(44, 24, 24, 0.55);
  --text-gold: var(--accent-gold);

  /* === Glassmorphism (Light Mode) === */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(229, 26, 34, 0.1);
  --glass-border-hover: rgba(229, 26, 34, 0.2);
  --glass-border-gold: rgba(229, 26, 34, 0.15);

  /* === Shadows & Glows (Softer for Light Theme) === */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-deep: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-gold-glow: 0 0 30px rgba(229, 26, 34, 0.1);
  --shadow-emerald-glow: 0 0 25px rgba(22, 190, 69, 0.1);
  --shadow-card: 0 8px 32px rgba(229, 26, 34, 0.04);
  --shadow-card-hover: 0 16px 48px rgba(229, 26, 34, 0.08);

  /* === Animation === */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.25s var(--ease-out-expo);
  --transition-mid: all 0.45s var(--ease-out-expo);
  --transition-slow: all 0.7s var(--ease-out-expo);

  /* === Radius === */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-circle: 50%;
}



/* --- Document Defaults --- */
*, *::before, *::after {
  box-sizing: border-box;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--royal-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-top: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

a {
  color: var(--accent-gold-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-gold);
}

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

/* --- Layout Components --- */
.container-xl {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* --- Reusable Section Components --- */
.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  padding: 7px 18px;
  border-radius: 30px;
  border: 1px solid var(--glass-border-gold);
  margin-bottom: 14px;
}

.section-heading {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-heading span {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-heading span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: rgba(212, 160, 23, 0.12);
  z-index: -1;
  border-radius: 3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ==========================================================================
   1. CINEMATIC PRELOADER — GOLD MONOGRAM
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--royal-dark);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
}

#preloader.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Ambient glow behind preloader */
#preloader::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 26, 34, 0.15) 0%, transparent 70%);
  animation: preloaderPulse 2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.splash-creative-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--accent-gold); /* Brand Red */
  text-shadow: 
    -1px -1px 0 #ffffff,  
     1px -1px 0 #ffffff,  
    -1px  1px 0 #ffffff,  
     1px  1px 0 #ffffff,
     0px  4px 20px rgba(0,0,0,0.8);
  letter-spacing: -2px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: creativeFadeUp 1s var(--ease-out-expo) forwards;
}

.splash-creative-title span {
  display: inline-block;
}

.splash-inline-logo {
  height: 56px;
  width: auto;
  margin: 0 10px;
  filter: drop-shadow(0 0 20px rgba(229, 26, 34, 0.5));
  transform: scale(0);
  animation: logoPopIn 1s var(--ease-spring) 0.3s forwards;
}

@keyframes logoPopIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes creativeFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.splash-creative-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: var(--accent-gold); /* Brand Red */
  text-shadow: 
    -1px -1px 0 #ffffff,  
     1px -1px 0 #ffffff,  
    -1px  1px 0 #ffffff,  
     1px  1px 0 #ffffff,
     0px  4px 20px rgba(0,0,0,0.8);
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: textFadeUp 0.8s ease 0.8s forwards;
}

.splash-divider {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  animation: lineExpand 1s var(--ease-out-expo) 1s forwards;
}

@keyframes lineExpand {
  0% { width: 0; opacity: 0; }
  100% { width: 220px; opacity: 1; }
}

.splash-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(10px);
  animation: textFadeUp 0.8s ease 1.2s forwards;
}

@keyframes textFadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. FLOATING GLASSMORPHISM NAVIGATION
   ========================================================================== */
#main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 980;
  padding: 10px 5%;
  transition: background-color 0.8s ease, backdrop-filter 0.8s ease, box-shadow 0.8s ease, padding 0.8s ease, transform 0.6s ease;
  border: none;
  border-radius: 0;
}

#main-navbar.sticky {
  padding: 5px 5%;
  background-color: rgba(229, 26, 34, 1); /* Glass morphed red with 100% opacity */
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(229, 26, 34, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  animation: none;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 160, 23, 0.3));
  transition: var(--transition-fast);
}

#main-navbar.sticky .navbar-brand-logo img {
  height: 42px;
}

.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list > li {
  position: relative;
  height: 100%;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  font-family: 'Montserrat', sans-serif; /* Changed to match theme */
  font-size: 14px; /* Increased font size */
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-fast);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4); /* Subtle white base glow */
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.7));
  transform: scaleX(0);
  transition: var(--transition-fast);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* White Glow on the underline indicator */
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: #FFFFFF !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9); /* Stronger white glow on hover/active */
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
  transform: scaleX(1);
}

/* CTA button in nav */
.nav-cta {
  background: var(--accent-gold); /* Solid red */
  color: #FFFFFF !important;
  border-radius: 30px;
  margin-left: 12px;
  padding: 10px 24px !important;
  align-self: center;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.35);
  border: none;
  text-shadow: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.5);
  color: var(--royal-dark) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Dropdown styling */
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: rgba(255, 245, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 2px solid var(--accent-gold);
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-mid);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
}

.nav-dropdown li a i {
  font-size: 10px;
  color: var(--text-muted);
  transform: translateX(-4px);
  opacity: 0;
  transition: var(--transition-fast);
}

.nav-dropdown li a:hover {
  background: var(--glass-bg-hover);
  color: var(--accent-gold-light);
  padding-left: 26px;
}

.nav-dropdown li a:hover i {
  transform: translateX(0);
  opacity: 1;
  color: var(--accent-gold);
}

.nav-dropdown li:last-child a {
  border-bottom: none;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-gold-light);
  margin-bottom: 5px;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-hamburger span:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. SCROLL-PINNED SPLIT HERO
   ========================================================================== */
#hero.hero-scroll-pinned {
  position: relative;
  height: 500vh; /* 5 viewport heights = 5 scroll-steps */
  background: var(--royal-dark);
}

.hero-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

/* ── Left: Pitch Dark Content Panel ── */
.hero-left {
  position: relative;
  width: 48%;
  height: 100%;
  background: transparent;
  z-index: 10;
  display: flex;
  align-items: center;
}

/* Subtle dot pattern on left */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-left-inner {
  position: relative;
  z-index: 2;
  padding: 0 60px 0 80px;
  width: 100%;
  height: 100%;
}

/* Trust badges — inline flow */
.hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-sapphire-light); /* Light blue for Trust Name */
  background: rgba(141, 182, 232, 0.1);
  border: 1px solid rgba(141, 182, 232, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-badge-gold {
  background: rgba(229, 26, 34, 0.08);
  border-color: rgba(229, 26, 34, 0.3);
  color: var(--text-primary); /* Dark text for light theme */
}

/* ── Slide Content (text blocks that swap on scroll) ── */
.hero-slide-content {
  position: absolute;
  top: 48%;
  left: 0;
  width: 140%; /* Intentionally bleed into the right image panel for a premium layered look */
  padding: 0 60px 0 80px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 10;
}

.hero-slide-content.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

/* Stagger animation for entering content */
.hero-slide-content.entering {
  animation: slideContentIn 0.7s var(--ease-out-expo) forwards;
}

@keyframes slideContentIn {
  from { opacity: 0; transform: translateY(-45%); }
  to { opacity: 1; transform: translateY(-50%); }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px; /* Larger to bleed across */
  font-weight: 900;
  line-height: 1.05;
  color: var(--accent-gold); /* Bright Red */
  text-shadow: 0px 4px 20px rgba(0,0,0,0.6);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -2px;
  word-spacing: 20px; /* Doubled space between words */
}

.hero-title span {
  display: block;
  font-weight: 300;
  font-size: 54px;
  color: var(--text-primary); /* Crisp White */
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  letter-spacing: 2px;
}

/* Slide 0 DRT text styling - matches the weight and font of Knowledge Hub */
.hero-slide-content[data-slide="0"] .hero-title span {
  display: inline;
  font-weight: 900;
  font-size: 64px;
  letter-spacing: -2px;
  color: var(--accent-gold);
  -webkit-text-fill-color: var(--accent-gold);
  text-shadow: 
    -1px -1px 0 #ffffff,  
     1px -1px 0 #ffffff,  
    -1px  1px 0 #ffffff,  
     1px  1px 0 #ffffff;
}

.hero-slide-content[data-slide="0"] .hero-title {
  text-shadow: 
    -1px -1px 0 #ffffff,  
     1px -1px 0 #ffffff,  
    -1px  1px 0 #ffffff,  
     1px  1px 0 #ffffff,
     0px  4px 20px rgba(0,0,0,0.8);
}

.hero-motto {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #FFFFFF !important;
  background: var(--accent-gold); /* Brand Red */
  padding: 10px 80px 10px 80px; /* Generous padding to align text and clear the right V-cut */
  margin-left: -80px; /* Pull to the very left edge of screen */
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 48px;
  margin-bottom: 20px;
  width: 75%; /* Extend long across to the right */
  min-width: 400px;
  box-shadow: 0 4px 15px rgba(229, 26, 34, 0.4);
  clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%);
}

.hero-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 18px; /* Increased from 14.5px */
  font-weight: 400;
  color: #FFFFFF !important; /* Force White color */
  text-shadow: 0px 2px 10px rgba(0,0,0,0.6); /* Added shadow for better legibility on video */
  line-height: 1.8;
  margin: 0;
  max-width: 600px; /* Widened to accommodate larger text */
}

/* CTA row pinned at bottom of left panel */
.hero-cta-row {
  position: absolute;
  bottom: 50px;
  left: 80px;
  display: flex;
  gap: 16px;
  z-index: 15;
}

/* ── Right: Image Panel with Gradient ── */
.hero-right {
  position: relative;
  width: 52%;
  height: 100%;
  overflow: hidden;
}

/* Gradient that blends image into the dark left panel */
.hero-right-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 25%; /* Reduced width to minimize gradient over image */
  height: 100%;
  background: linear-gradient(90deg, var(--royal-dark) 0%, rgba(28, 29, 31, 0) 100%);
  z-index: 5;
  pointer-events: none;
}

/* Top and bottom subtle vignettes */
.hero-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(28, 29, 31, 0.5) 0%, rgba(28, 29, 31, 0) 100%);
  z-index: 4;
  pointer-events: none;
}

.hero-right::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(0deg, rgba(28, 29, 31, 0.5) 0%, rgba(28, 29, 31, 0) 100%);
  z-index: 4;
  pointer-events: none;
}

/* Image slides stacked */
.hero-img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 8s linear;
}

.hero-img-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Progress Dots (vertical on right edge) ── */
.hero-progress-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.hero-dot.active {
  background: var(--accent-gold);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.5);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.5);
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.2);
}

/* ── Scroll Hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.hero-scroll-hint:hover {
  opacity: 1;
}

.hero-scroll-hint span {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Mouse indicator (reused) */
.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(212, 160, 23, 0.4);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--accent-gold);
  border-radius: 4px;
  animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ==========================================================================
   GLOBAL BUTTONS (used across hero, roadmap, CTA, etc.)
   ========================================================================== */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-gold); /* Solid red */
  color: #FFFFFF; /* White text */
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 34px;
  border-radius: 40px;
  box-shadow: 0 8px 30px var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-gold-glow);
  color: #FFFFFF;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--glass-bg);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 40px;
  border: 1px solid var(--glass-border-hover);
  cursor: pointer;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold-light);
  border-color: var(--glass-border-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   6. QUICK ACCESS FLOATING GLASS CARDS
   ========================================================================== */
#quick-access {
  position: relative;
  z-index: 20;
  margin-top: -60px;
  padding-bottom: 60px;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-mid);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Gold shimmer line at bottom on hover */
.quick-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
  transform: scaleX(0);
  transition: var(--transition-mid);
}

/* Corner glow effect */
.quick-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-mid);
}

.quick-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition-mid);
  border: 1px solid var(--glass-border-gold);
}

.quick-card:nth-child(2) .quick-card-icon {
  background: var(--accent-emerald-glow);
  color: var(--accent-emerald);
  border-color: rgba(22, 190, 69, 0.2);
}

.quick-card:nth-child(3) .quick-card-icon {
  background: var(--accent-sapphire-glow);
  color: var(--accent-sapphire-light);
  border-color: rgba(27, 58, 140, 0.2);
}

.quick-card:nth-child(4) .quick-card-icon {
  background: var(--accent-crimson-glow);
  color: var(--accent-crimson-light);
  border-color: rgba(184, 28, 28, 0.2);
}

.quick-card h5 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.quick-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-gold);
  background: var(--glass-bg-hover);
}

.quick-card:hover::after {
  transform: scaleX(1);
}

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

.quick-card:hover .quick-card-icon {
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  border-color: var(--accent-gold);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.quick-card:nth-child(2):hover .quick-card-icon {
  background: linear-gradient(135deg, var(--accent-emerald), #0d8a2e);
  border-color: var(--accent-emerald);
  box-shadow: 0 4px 20px rgba(22, 190, 69, 0.3);
}

.quick-card:nth-child(3):hover .quick-card-icon {
  background: linear-gradient(135deg, var(--accent-sapphire-light), var(--accent-sapphire));
  border-color: var(--accent-sapphire-light);
  box-shadow: 0 4px 20px rgba(27, 58, 140, 0.3);
}

.quick-card:nth-child(4):hover .quick-card-icon {
  background: linear-gradient(135deg, var(--accent-crimson-light), var(--accent-crimson));
  border-color: var(--accent-crimson-light);
  box-shadow: 0 4px 20px rgba(184, 28, 28, 0.3);
}

/* ==========================================================================
   7. ABOUT US / PHILOSOPHY SECTION
   ========================================================================== */
#about-section {
  padding: 100px 0;
  background: var(--royal-charcoal);
  border-bottom: 1px solid var(--glass-border);
}

.about-editorial-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

.about-mosaic {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  z-index: 5;
}

.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 160, 23, 0.15);
  z-index: 2;
  border-radius: var(--radius-lg);
}

/* Gold offset frame */
.about-mosaic::after {
  content: '';
  position: absolute;
  top: 30px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-lg);
  z-index: 1;
}

/* Established badge */
.about-badge {
  position: absolute;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(212, 160, 23, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.about-badge .badge-number {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--royal-dark);
  line-height: 1;
}

.about-badge .badge-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(11, 14, 26, 0.7);
}

/* About Tab Navigation */
.about-tabs {
  margin-top: 32px;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  gap: 4px;
  margin-bottom: 24px;
}

.tab-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition-fast);
}

.tab-nav-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.tab-nav-btn.active {
  color: var(--accent-gold-light);
}

.tab-nav-btn.active::after {
  transform: scaleX(1);
}

.tab-nav-btn:hover {
  color: var(--text-secondary);
}

.tab-pane {
  display: none;
  animation: tabFadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-pane p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   8. THE PRESIDENTIAL DESK (LEADERS)
   ========================================================================== */
#presidential-desk {
  padding: 100px 0;
  background: var(--royal-dark);
}

.desk-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.leader-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition-mid);
  overflow: hidden;
}

/* Top gold accent line */
.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-gold);
}

.leader-profile-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.leader-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.leader-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--royal-surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

/* Gold rotating ring */
.leader-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
  z-index: 1;
}

.leader-title-wrap h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.leader-title-wrap span {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

.leader-title-wrap small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.leader-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent-gold);
}

.leader-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.leader-signature {
  display: flex;
  justify-content: flex-end;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  font-style: italic;
}

/* ==========================================================================
   9. INTERACTIVE PILLARS OF EDUCATION
   ========================================================================== */
#pillars-excellence {
  padding: 100px 0;
  background: var(--royal-charcoal);
  border-bottom: 1px solid var(--glass-border);
}

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

.pillar-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Dynamic hover gradients */
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.15) 0%, rgba(184, 134, 11, 0.1) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-mid);
}

.pillar-card:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(22, 190, 69, 0.15) 0%, rgba(13, 138, 46, 0.1) 100%);
}

.pillar-card:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(68, 114, 235, 0.15) 0%, rgba(27, 58, 140, 0.1) 100%);
}

.pillar-card:nth-child(4)::before {
  background: linear-gradient(135deg, rgba(184, 28, 28, 0.15) 0%, rgba(120, 16, 16, 0.1) 100%);
}

.pillar-card-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-gold-subtle);
  border: 1px solid var(--glass-border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 24px auto;
  transition: var(--transition-mid);
  color: var(--accent-gold);
}

.pillar-card:nth-child(2) .pillar-card-icon {
  color: var(--accent-emerald);
  background: var(--accent-emerald-glow);
  border-color: rgba(22, 190, 69, 0.2);
}

.pillar-card:nth-child(3) .pillar-card-icon {
  color: var(--accent-sapphire-light);
  background: var(--accent-sapphire-glow);
  border-color: rgba(27, 58, 140, 0.2);
}

.pillar-card:nth-child(4) .pillar-card-icon {
  color: var(--accent-crimson-light);
  background: var(--accent-crimson-glow);
  border-color: rgba(184, 28, 28, 0.2);
}

.pillar-card h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.pillar-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
  transition: var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-gold);
}

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

.pillar-card:hover .pillar-card-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: var(--shadow-gold-glow);
}

.pillar-card:hover h4 {
  color: var(--accent-gold-light);
}

.pillar-card:hover p {
  color: var(--text-secondary);
}

/* ==========================================================================
   10. ADMISSIONS ROADMAP
   ========================================================================== */
#admissions-roadmap {
  padding: 100px 0;
  background: var(--royal-dark);
  border-bottom: 1px solid var(--glass-border);
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 40px;
}

/* Gold connecting line */
.roadmap-track::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed rgba(212, 160, 23, 0.3);
  z-index: 1;
}

.roadmap-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.roadmap-circle {
  width: 70px;
  height: 70px;
  background: var(--royal-surface);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-gold);
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition-mid);
}

.roadmap-circle i {
  position: relative;
  z-index: 2;
}

.roadmap-step:nth-child(even) .roadmap-circle {
  color: var(--accent-emerald);
}

.step-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3);
  border: 2px solid var(--royal-dark);
  transition: var(--transition-fast);
}

.roadmap-step:nth-child(even) .step-badge {
  background: linear-gradient(135deg, var(--accent-emerald), #0d8a2e);
}

.roadmap-step h5 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.roadmap-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  padding: 0 10px;
}

.roadmap-step:hover .roadmap-circle {
  transform: scale(1.12);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold-glow);
}

.roadmap-step:nth-child(even):hover .roadmap-circle {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-emerald-glow);
}

/* ==========================================================================
   11. CAMPUS SHOWCASE (MOSAIC GALLERY)
   ========================================================================== */
#campus-section {
  padding: 100px 0;
  background: var(--royal-charcoal);
  border-bottom: 1px solid var(--glass-border);
}

.campus-masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 240px 240px;
  gap: 20px;
}

.campus-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition-mid);
  border: 1px solid var(--glass-border);
}

.campus-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.campus-item.large {
  grid-column: span 6;
  grid-row: span 2;
}

.campus-item.medium {
  grid-column: span 3;
  grid-row: span 2;
}

.campus-item.small {
  grid-column: span 3;
  grid-row: span 1;
}

.campus-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 14, 26, 0.9) 100%);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-mid);
}

.campus-item-overlay span {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold-light);
  transform: translateY(15px);
  transition: var(--transition-mid);
}

.campus-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-gold);
}

.campus-item:hover img {
  transform: scale(1.1);
}

.campus-item:hover .campus-item-overlay {
  opacity: 1;
}

.campus-item:hover .campus-item-overlay span {
  transform: translateY(0);
}

/* ==========================================================================
   12. WORLD-CLASS FACILITIES
   ========================================================================== */
#facilities-section {
  padding: 100px 0;
  background: var(--royal-dark);
  border-bottom: 1px solid var(--glass-border);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.facility-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-mid);
}

.facility-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.facility-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 14, 26, 0.6) 100%);
  z-index: 1;
}

.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.facility-card:hover .facility-img img {
  transform: scale(1.1);
}

.facility-body {
  padding: 24px;
}

.facility-body h5 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.facility-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-gold);
}

/* ==========================================================================
   13. TESTIMONIALS SLIDER
   ========================================================================== */
#testimonials {
  padding: 100px 0;
  background: var(--royal-charcoal);
  border-bottom: 1px solid var(--glass-border);
}

.testimonials-carousel {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: var(--transition-slow);
  gap: 24px;
}

.testimonial-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-mid);
}

.testimonial-card:hover {
  border-color: var(--glass-border-gold);
}

.stars {
  color: var(--accent-gold);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Initials Avatar */
.avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
  border: 2px solid rgba(212, 160, 23, 0.3);
}

.testimonial-card:nth-child(even) .avatar-initials {
  background: linear-gradient(135deg, var(--accent-emerald), #0d8a2e);
  box-shadow: 0 4px 15px rgba(22, 190, 69, 0.2);
  border-color: rgba(22, 190, 69, 0.3);
  color: var(--royal-dark);
}

.testimonial-author-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 700;
}

.testimonial-author-info span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  border-color: var(--accent-gold);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

/* ==========================================================================
   14. CTA / NEWSLETTER SECTION
   ========================================================================== */
#cta-section {
  padding: 100px 0;
  background: var(--royal-dark);
}

.cta-inner {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12) 0%, rgba(184, 134, 11, 0.06) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-xl);
  padding: 64px 52px;
  color: var(--text-primary);
  box-shadow: var(--shadow-deep), inset 0 0 80px rgba(212, 160, 23, 0.03);
  position: relative;
  overflow: hidden;
}

/* Decorative pattern overlay */
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
  position: relative;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 480px;
  margin: 0 0 24px 0;
  position: relative;
}

.cta-form {
  display: flex;
  background: #ffffff;
  border: 1px solid rgba(229, 26, 34, 0.2);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 4px 20px rgba(229, 26, 34, 0.05);
  position: relative;
}

.cta-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus {
  outline: none;
}

.cta-form button {
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  border: none;
  border-radius: 6px;
  padding: 0 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-form button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
}

/* ==========================================================================
   15. PRESTIGIOUS DARK FOOTER
   ========================================================================== */
#main-footer {
  background: linear-gradient(180deg, #FFEBEB 0%, #FFF5F5 100%);
  color: var(--text-muted);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--glass-border-gold);
  font-size: 13.5px;
}



/* Footer Contact Strip */
.footer-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 48px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fci-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: 1px solid var(--glass-border-gold);
  flex-shrink: 0;
}

.fci-text small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.fci-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 3px;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 15px rgba(212, 160, 23, 0.2));
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--accent-gold), #B8860B);
  color: var(--royal-dark);
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.footer-col h5 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 13px;
  display: inline-block;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-gold-light);
  transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

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

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

.footer-badges {
  display: flex;
  gap: 12px;
}

.footer-badge {
  background: var(--accent-gold-subtle);
  border: 1px solid var(--glass-border-gold);
  padding: 5px 14px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   16. MISCELLANEOUS (Back to Top)
   ========================================================================== */
#back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-gold); /* Solid red */
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 20px rgba(229, 26, 34, 0.35); /* Red shadow */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: var(--transition-mid);
  z-index: 999;
  font-size: 16px;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#back-to-top:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(229, 26, 34, 0.5); /* Red shadow */
}

/* ==========================================================================
   17. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .section-heading { font-size: 32px; }
  .quick-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .desk-layout { grid-template-columns: 1fr; gap: 24px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .roadmap-track { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .roadmap-track::before { display: none; }
  .campus-masonry-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 180px); }
  .campus-item.large { grid-column: span 2; grid-row: span 2; }
  .campus-item.medium { grid-column: span 1; grid-row: span 2; }
  .campus-item.small { grid-column: span 1; grid-row: span 1; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-contact-strip { grid-template-columns: 1fr; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; }

  /* Navbar: mobile drawer navigation at 1024px */
  .nav-hamburger { display: block; margin-left: 20px; }

  .nav-list {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--royal-dark);
    box-shadow: -5px 0 30px rgba(229, 26, 34, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 60px 0 40px 0;
    overflow-y: auto;
    transition: right 0.4s var(--ease-out-expo);
    z-index: 999;
  }

  .nav-list.open {
    right: 0;
  }

  .nav-list > li {
    width: 100%;
    height: auto;
    text-align: left;
  }

  .nav-list > li > a {
    padding: 14px 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--glass-border);
    text-shadow: none;
  }

  /* Static down-arrow for tabs with sub-pages */
  .nav-list > li.has-dropdown > a::after {
    content: '\f107'; /* fa-angle-down */
    font-family: 'FontAwesome';
    font-size: 14px;
    color: var(--text-muted);
    display: inline-block !important;
    transform: none !important;
    position: static !important;
    margin-left: auto;
    line-height: 1;
  }

  /* All other li::after — hidden */
  .nav-list > li:not(.has-dropdown) > a::after { display: none !important; }

  /* Active/Hover states for mobile sidebar */
  .nav-list > li > a:hover {
    color: #e51a22 !important;
    text-shadow: none;
  }
  .nav-list > li > a.active {
    color: #e51a22 !important;
    text-shadow: none;
    background: rgba(229, 26, 34, 0.07);
  }

  .nav-cta {
    margin: 30px 30px;
    text-align: center;
    display: inline-block;
    width: calc(100% - 60px);
    padding: 16px 24px !important;
  }

  /* Mobile dropdown (accordion) */
  .nav-dropdown {
    display: none;
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(229, 26, 34, 0.03);
    border: none;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.02);
  }

  .has-dropdown.open .nav-dropdown {
    display: block;
  }

  .nav-dropdown li a {
    color: var(--text-secondary);
    padding: 14px 30px 14px 45px; /* Indent sub-items */
    justify-content: flex-start;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
    font-weight: 600;
  }

  .nav-dropdown li a i {
    opacity: 1;
    transform: none;
    margin-right: 10px;
    color: var(--accent-gold);
  }

  /* Hamburger Icon transforms for light theme */
  .nav-hamburger span {
    background: var(--text-primary);
  }
  #main-navbar.sticky .nav-hamburger span {
    background: #FFFFFF;
  }
  .nav-hamburger.open span {
    background: var(--text-primary) !important;
  }

  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav-actions-wrapper {
    position: relative;
    z-index: 1000; /* Must be above drawer */
  }
  .navbar-brand-logo {
    position: relative;
    z-index: 1000;
  }
}

@media (max-width: 768px) {
  /* Hero: stack vertically on mobile */
  #hero.hero-scroll-pinned { height: 500vh; }
  .hero-sticky-wrapper { flex-direction: column; }
  .hero-left { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
  .hero-right { display: none; } /* Removed since it's not used in the HTML */
  .hero-left-inner { padding: 40px 24px 80px 24px; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
  
  .hero-slide-content {
    padding: 0 24px;
    width: 100%;
    top: 38%;
    transform: translateY(-50%);
    text-align: center;
  }
  
  .hero-title { font-size: 28px; word-spacing: normal; letter-spacing: 0; }
  .hero-title span { font-size: 28px; }
  .hero-slide-content[data-slide="0"] .hero-title span { font-size: 28px; display: inline-block; margin-right: 8px; }
  
  .hero-motto {
    font-size: 14px;
    min-width: 0;
    width: 100%;
    margin-left: 0;
    padding: 8px 16px;
    clip-path: none;
    margin-top: 24px;
    margin-bottom: 12px;
  }
  
  .hero-desc { font-size: 13px; max-width: 100%; }
  
  /* Prevent overlap of buttons and absolute slide text */
  .hero-cta-row {
    position: absolute;
    bottom: 12vh;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: 0;
    z-index: 100;
  }
  .hero-cta-row a {
    flex: 1;
    text-align: center;
    font-size: 13px !important;
    padding: 14px 10px !important;
    white-space: nowrap;
  }
  .hero-cta-row .btn-primary-gold,
  .hero-cta-row .btn-outline-white { width: auto; }
  
  .hero-right-gradient { width: 100%; height: 40%; background: linear-gradient(180deg, var(--royal-dark) 0%, rgba(11,14,26,0.5) 60%, transparent 100%); top: 0; left: 0; }
  .hero-right::before { height: 80px; }
  .hero-right::after { height: 80px; }
  .hero-progress-dots { right: 16px; top: 50%; transform: translateY(-50%); gap: 10px; }
  .hero-dot { width: 8px; height: 8px; }
  .hero-scroll-hint { bottom: 16px; }

  .splash-creative-title { font-size: 28px; justify-content: center; width: 100%; }
  .splash-inline-logo { height: 32px; margin: 0 6px; }
  .splash-creative-subtitle { font-size: 11px; letter-spacing: 3px; text-align: center; }

  .quick-cards { grid-template-columns: 1fr; }
  .about-editorial-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-mosaic::after { display: none; }
  .about-badge { right: 10px; bottom: 10px; padding: 14px 18px; }
  
  /* Tabs layout */
  .tab-nav { flex-wrap: wrap; }
  .tab-nav-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
  }

  .pillars-grid { grid-template-columns: 1fr; gap: 20px; }
  .roadmap-track { grid-template-columns: 1fr; gap: 20px; }
  .campus-masonry-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 180px); }
  .campus-item.large, .campus-item.medium, .campus-item.small { grid-column: span 1; grid-row: span 1; }
  .facilities-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }

  .cta-inner { padding: 36px 24px; border-radius: var(--radius-lg); }
  .cta-inner h2 { font-size: 26px; }
  .cta-form { flex-direction: column; gap: 10px; background: none; border: none; padding: 0; box-shadow: none; }
  .cta-form input {
    background: #ffffff;
    border: 1px solid rgba(229, 26, 34, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
  }
  .cta-form button { padding: 16px; border-radius: var(--radius-sm); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 20px; word-spacing: normal; letter-spacing: 0; }
  .hero-title span { font-size: 20px; }
  .hero-slide-content[data-slide="0"] .hero-title span { font-size: 20px; margin-right: 6px; }
  .hero-motto { font-size: 12px; }
  .section-heading { font-size: 26px; }
  .hero-badge-row { gap: 6px; }
  .hero-badge { font-size: 8px; padding: 4px 10px; }
  .leader-card { padding: 28px 20px; }
  .leader-profile-area { flex-direction: column; text-align: center; }
  
  .splash-creative-title { font-size: 20px; justify-content: center; width: 100%; }
  .splash-inline-logo { height: 24px; margin: 0 4px; }
  .splash-creative-subtitle { font-size: 9px; letter-spacing: 2px; }

  .hero-left-inner { padding: 20px 16px 60px 16px; }
  .hero-cta-row { bottom: 12vh; left: 16px; right: 16px; gap: 8px; z-index: 100; }
  .hero-cta-row a { font-size: 11px !important; padding: 12px 8px !important; }
}
