/* ==========================================================================
   PRASHANT ACADEMY - DESIGN SYSTEM & STYLESHEET
   Competitive Exam Coaching in Mumbai (Railway, Bank, SSC, MPSC & UPSC)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette — Deep Rich Navies & Vivid Royal Blue */
  --color-bg-page: #FFFFFF;
  --color-navy: #0B2154;              /* Primary Deep Brand Navy */
  --color-navy-dark: #07163D;         /* Deepest Authoritative Navy */
  --color-navy-deepest: #040D26;      /* Obsidian Navy for hero/footer foundation */
  --color-navy-mid: #081A46;          /* Rich Middle Navy */
  --color-navy-light: #12286B;        /* Lighter Navy Tone */
  --color-navy-border: rgba(255, 255, 255, 0.12);
  --color-royal-blue: #183FA8;        /* Vivid Royal Blue (accents, focus rings) */
  --color-royal-blue-vibrant: #2455D6;
  --color-royal-blue-hover: #152C80;
  --color-primary-blue: #183FA8;      /* Backward compatibility */
  --color-primary-blue-hover: #152C80;
  --color-cta-yellow: #FFD45A;        /* Luminous Accent */
  --color-cta-yellow-hover: #E6A900;

  /* Rich Luminous Metallic Gold System */
  --color-gold: #E6A900;              /* Base Warm Golden Accent */
  --color-gold-bright: #FFD45A;       /* Luminous Gold Peak Highlight */
  --color-gold-rich: #F4C430;         /* Warm Luminous Amber Core */
  --color-gold-deep: #D89A00;         /* Deep Antique Gold Foundation */
  --color-gold-hover: #C98200;
  --color-gold-light: #FFFDF7;        /* Warm Ivory Surface Tint */
  --color-heading-gold: #C98200;      /* High-Contrast Editorial Amber Gold for Headings */
  --color-heading-gold-rich: #E6A900; /* Radiant Gold for Highlights */
  --color-bank-gold: #C98200;         /* High-Contrast Gold for Bank Card Header */

  /* Communication Accents */
  --color-whatsapp: #25D366;          /* Official WhatsApp Green */
  --color-whatsapp-dark: #1EBE5D;
  --color-whatsapp-border: rgba(37, 211, 102, 0.4);
  
  /* Metallic & Atmospheric Gradients */
  --gradient-gold-metallic: linear-gradient(135deg, #D89A00 0%, #E6A900 28%, #FFD45A 52%, #F4C430 78%, #D89A00 100%);
  --gradient-gold-line: linear-gradient(90deg, #D89A00 0%, #E6A900 25%, #FFD45A 50%, #F4C430 75%, #D89A00 100%);
  --gradient-gold-text: linear-gradient(135deg, #C98200 0%, #E6A900 35%, #FFD45A 60%, #E6A900 100%);
  --gradient-hero: linear-gradient(135deg, #040D26 0%, #07163D 50%, #0B2154 100%);
  --gradient-banner: linear-gradient(135deg, #040D26 0%, #07163D 55%, #183FA8 100%);
  --gradient-contact: linear-gradient(135deg, #040D26 0%, #07163D 55%, #152B79 100%);
  
  /* Exam Category Subtle Accent Colors */
  --color-accent-railway: #1D4ED8;    /* Royal Blue */
  --color-accent-bank: #E6A900;       /* Gold Accent */
  --color-accent-ssc: #07163D;        /* Deep Navy */
  --color-accent-mpsc: #15803D;       /* Emerald */
  --color-accent-upsc: #0D9488;       /* Teal */
  
  /* Neutral Palette & High-Contrast Surfaces (zero washed-out gray) */
  --color-white: #FFFFFF;
  --color-bg-light: #F8FAFD;          /* Soft cool branded surface */
  --color-bg-card: #FFFFFF;
  --color-surface-warm: #FFFDF7;      /* Subtle warm ivory surface */
  --color-surface-cool: #F7FAFF;      /* Subtle cool white surface */
  --color-border-card: rgba(7, 22, 61, 0.09);
  --color-border-subtle: rgba(7, 22, 61, 0.06);
  --color-border-input: #CBD5E1;
  --color-text-body: #26344D;         /* Deep slate neutral body text for superior effortless reading */
  --color-text-dark: #07163D;         /* Deepest Navy for crisp authoritative headings */
  --color-text-subtitle: #0F172A;     /* Rich dark slate for subtitles */
  --color-text-muted: #3B4B66;        /* High-contrast secondary text */
  --color-text-light: #94A3B8;
  --color-placeholder-bg: #EAECF0;
  
  /* ==========================================================================
     Curated 5-Font Premium Typography System
     ========================================================================== */
  --font-section-title: 'DM Serif Display', Georgia, serif;       /* Editorial institutional gravitas for Exams & Achievements */
  --font-heading-why-us: 'Playfair Display', Georgia, serif;     /* Powerful high-contrast serif display for Why Choose Us */
  --font-heading-testimonials: 'Playfair Display', Georgia, serif;/* Elegant literary serif for What Students Say */
  --font-heading-gallery: 'Urbanist', -apple-system, sans-serif;  /* Sleek architectural modern display for Classroom Gallery */
  --font-exam-category: 'Oswald', sans-serif;                    /* Authoritative condensed power-display for BANK, SSC, UPSC */
  --font-exam-subtitle: 'Urbanist', sans-serif;                  /* Sleek architectural geometric sans for program subtitles */
  --font-card-title: 'Urbanist', sans-serif;                     /* Confident modern geometric sans for card headings & features */
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* Supreme readability body */
  --font-btn: 'Urbanist', sans-serif;                            /* Contemporary, sharp, decisive UI button font */
  --font-label: 'Oswald', sans-serif;                            /* Strong condensed uppercase labels & tags */
  --font-number: 'Urbanist', sans-serif;                         /* Distinctive geometric numerals for phone & statistics */
  --font-quote: 'Manrope', sans-serif;                           /* Highly legible, authentic quote font */
  --font-nav: 'Urbanist', sans-serif;                            /* Refined precision UI font for navigation */

  /* General aliases */
  --font-display: var(--font-section-title);
  --font-heading: var(--font-card-title);
  --font-ui: var(--font-btn);
  
  /* Multi-Layered Elevations & Shadows */
  --shadow-card: 0 4px 18px rgba(7, 19, 63, 0.06), 0 1px 3px rgba(7, 19, 63, 0.04);
  --shadow-card-hover: 0 16px 36px rgba(7, 19, 63, 0.12), 0 0 20px rgba(240, 183, 27, 0.10);
  --shadow-header: 0 4px 24px rgba(7, 19, 63, 0.07);
  --shadow-button-cta: 0 4px 16px rgba(255, 212, 0, 0.38);
  --shadow-button-cta-hover: 0 8px 24px rgba(255, 212, 0, 0.52);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-card: 14px;
  --radius-banner: 16px;
  --radius-pill: 9999px;
  
  /* Layout Dimensions */
  --container-max-width: 1360px;
  --header-height: 80px;
  --transition-default: 0.25s ease;

  /* Lean, compact spacing scale — Density strictly preserved */
  --space-section: 48px;
  --space-section-tight: 40px;
  --space-title-block: 20px;
  --space-heading: 6px;
  --space-grid: 16px;
  --space-card: 14px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
  background: none;
}

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

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

/* Section Header Shared Styles */
.section-title-wrap,
.section-header {
  text-align: center;
  margin-bottom: var(--space-title-block);
  position: relative;
}

.section-title {
  font-family: var(--font-section-title);
  font-size: clamp(2.45rem, 3.5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.16;
  text-transform: uppercase;
  color: var(--color-navy-dark);
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(4, 13, 38, 0.08);
}

/* 1. OUR EXAM PROGRAMS (Editorial Serif Display) */
.section-title.heading-exams {
  font-family: var(--font-section-title);
  font-weight: 400;
  letter-spacing: 0.025em;
}

/* 2. WHY STUDENTS CHOOSE US (Powerful High-Contrast Playfair Serif) */
.section-title.heading-why-us {
  font-family: var(--font-heading-why-us);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: clamp(2.35rem, 3.3vw, 3.15rem);
}

/* 3. OUR CLASSROOM GALLERY (Modern Architectural Urbanist Display) */
.section-title.heading-gallery {
  font-family: var(--font-heading-gallery);
  font-weight: 800;
  letter-spacing: 0.045em;
  font-size: clamp(2.3rem, 3.2vw, 3.1rem);
}

/* 4. WHAT OUR STUDENTS SAY (Literary Editorial Playfair Serif) */
.section-title.heading-testimonials {
  font-family: var(--font-heading-testimonials);
  font-weight: 700;
  letter-spacing: 0.025em;
  font-size: clamp(2.35rem, 3.3vw, 3.15rem);
  position: relative;
}

/* 5. OUR ACHIEVEMENTS (Prestigious Monumental Serif Display) */
.section-title.heading-achievements {
  font-family: var(--font-section-title);
  font-weight: 400;
  letter-spacing: 0.035em;
  font-size: clamp(2.45rem, 3.5vw, 3.25rem);
}

.section-title .highlight {
  color: var(--color-heading-gold);
  text-shadow: 0 2px 10px rgba(201, 130, 0, 0.32), 0 1px 2px rgba(7, 22, 61, 0.14);
  display: inline-block;
  letter-spacing: 0.035em;
  margin: 0 0.28em;
  transform: scale(1.04);
  transform-origin: center baseline;
  filter: drop-shadow(0 1px 2px rgba(244, 196, 48, 0.38));
}

.section-title .highlight.highlight-end {
  margin-right: 0;
}

/* Gold Underline */
.section-divider,
.title-underline {
  width: 58px;
  height: 3.5px;
  background: var(--gradient-gold-line);
  margin: 10px auto 0 auto;
  border-radius: 9999px;
  box-shadow: 0 1px 12px rgba(255, 212, 90, 0.65), 0 0 18px rgba(216, 154, 0, 0.35);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-body);
  max-width: 680px;
  margin: 10px auto 0 auto;
  line-height: 1.58;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   3. Section A: Sticky Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-image: radial-gradient(ellipse 75% 26px at 50% 0%, rgba(255, 212, 0, 0.10) 0%, rgba(240, 183, 27, 0.02) 60%, transparent 100%);
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(7, 19, 63, 0.07);
  transition: box-shadow var(--transition-default), background-color var(--transition-default), border-color var(--transition-default);
}

/* Subtle Golden Top Shine / Gradient Accent with slow moving highlight */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 154, 0, 0.35) 15%,
    #FFD400 45%,
    #FFF8D6 50%,
    #FFD400 55%,
    rgba(217, 154, 0, 0.35) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: headerGoldShimmer 10s ease-in-out infinite alternate;
  box-shadow: 0 1px 8px rgba(255, 212, 0, 0.35), 0 3px 12px rgba(240, 183, 27, 0.16);
  pointer-events: none;
  z-index: 10;
}

@keyframes headerGoldShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.08), 0 1px 4px rgba(7, 19, 63, 0.04);
  border-bottom-color: rgba(7, 19, 63, 0.10);
}

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

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  box-shadow: 0 2px 8px rgba(11, 23, 77, 0.12);
  transition: transform var(--transition-default), box-shadow var(--transition-default);
}

.brand-logo:hover .brand-logo-img {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 23, 77, 0.2);
}

.brand-icon-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-section-title);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-navy);
  letter-spacing: 0.035em;
}

.brand-tagline {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-nav);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  color: var(--color-navy);
  position: relative;
  padding: 8px 2px;
  transition: color var(--transition-default);
}

.nav-link:hover {
  color: var(--color-primary-blue);
}

.nav-link.active {
  color: var(--color-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Contact Pill Buttons */
.btn-pill-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--color-navy);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  min-height: 44px;
}

.btn-pill-contact:hover {
  transform: translateY(-2px);
}

.btn-pill-contact .btn-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-pill-contact:hover .btn-icon-box {
  transform: scale(1.08);
}

.btn-pill-contact .btn-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.btn-pill-contact .btn-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-pill-contact .btn-value {
  font-family: var(--font-number);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* Call Button - Navy fill, Gold outline */
.btn-call {
  border: 1.5px solid rgba(255, 212, 0, 0.65);
  color: var(--color-gold);
  background: linear-gradient(135deg, #07133F 0%, #0B174D 100%);
  box-shadow: 0 4px 14px rgba(7, 19, 63, 0.25), 0 0 10px rgba(240, 183, 27, 0.15);
}

.btn-call .btn-label {
  color: rgba(255, 255, 255, 0.92);
}

.btn-call .btn-value {
  color: var(--color-gold-bright);
}

.btn-call:hover {
  box-shadow: 0 8px 22px rgba(7, 19, 63, 0.35), 0 0 18px rgba(255, 212, 0, 0.40);
  border-color: #FFD400;
}

/* WhatsApp Button - Navy fill, Green outline */
.btn-whatsapp {
  border: 1.5px solid rgba(37, 211, 102, 0.65);
  color: var(--color-whatsapp);
  background: linear-gradient(135deg, #07133F 0%, #0B174D 100%);
  box-shadow: 0 4px 14px rgba(7, 19, 63, 0.25), 0 0 10px rgba(37, 211, 102, 0.18);
}

.btn-whatsapp .btn-label {
  color: rgba(255, 255, 255, 0.92);
}

.btn-whatsapp .btn-value {
  color: #25D366;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 22px rgba(7, 19, 63, 0.35), 0 0 18px rgba(37, 211, 102, 0.40);
  border-color: #25D366;
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-card);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-nav-menu {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 2.5px solid var(--color-gold);
  box-shadow: 0 10px 30px rgba(11, 23, 77, 0.15);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-menu.active {
  display: flex;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-nav);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-navy);
  display: block;
  padding: 6px 0;
}

.mobile-nav-link.active {
  color: var(--color-primary-blue);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-card);
}

/* --------------------------------------------------------------------------
   4. Section B: Hero Section (Clean 16:9 Banner Image Only)
   -------------------------------------------------------------------------- */
.hero-section {
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
}

.hero-image-only {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: 
    0 14px 40px rgba(7, 19, 63, 0.16),
    0 0 32px rgba(240, 183, 27, 0.12),
    0 2px 6px rgba(7, 19, 63, 0.08);
  display: block;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

/* --------------------------------------------------------------------------
   5. Section C: Exam Category Cards
   -------------------------------------------------------------------------- */
.exams-section {
  padding: var(--space-section) 0;
  background-color: #F4F8FD;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(24, 63, 168, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(255, 212, 0, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(7, 19, 63, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #F0F5FD 40%, #E8F0FA 80%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.exams-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 63, 168, 0.15) 0%, rgba(24, 63, 168, 0.03) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloatGlow 24s ease-in-out infinite alternate;
}

.exams-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.14) 0%, rgba(217, 154, 0, 0.04) 50%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloatGlow 28s ease-in-out infinite alternate-reverse;
}

@keyframes ambientFloatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 18px) scale(1.06); }
  100% { transform: translate(-18px, -15px) scale(0.96); }
}

.exams-section .container {
  position: relative;
  z-index: 1;
}

/* Enhanced "OUR EXAM PROGRAMS" Heading */
.exams-section .section-title {
  font-size: clamp(2.45rem, 3.5vw, 3.25rem);
  letter-spacing: 0.025em;
  color: var(--color-navy-dark);
  text-shadow: 0 2px 12px rgba(4, 13, 38, 0.09);
}

.exams-section .section-title .highlight {
  color: var(--color-heading-gold);
  font-weight: 400;
  letter-spacing: 0.035em;
  text-shadow: 0 2px 10px rgba(201, 130, 0, 0.35), 0 1px 2px rgba(7, 22, 61, 0.15);
  position: relative;
  display: inline-block;
  transform: scale(1.05);
  transform-origin: center baseline;
  filter: drop-shadow(0 1px 2px rgba(244, 196, 48, 0.40));
}

.exam-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.exam-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid rgba(7, 19, 63, 0.07);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Subtle moving light sweep reflection */
.exam-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 212, 0, 0.12) 46%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(24, 63, 168, 0.10) 54%,
    transparent 65%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 180% 0;
  animation: cardLightSweep 8s infinite ease-in-out;
  pointer-events: none;
  z-index: 3;
}

.exam-marquee-slot .exam-card::after {
  animation-delay: 0s;
}

.exam-programs-grid > .exam-card.ssc::after {
  animation-delay: 2s;
}

.exam-programs-grid > .exam-card.upsc::after {
  animation-delay: 4s;
}

.exam-programs-grid > .exam-card.mpsc::after {
  animation-delay: 6s;
}

@keyframes cardLightSweep {
  0% {
    background-position: 180% 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  28% {
    background-position: -80% 0;
    opacity: 0;
  }
  100% {
    background-position: -80% 0;
    opacity: 0;
  }
}

.exam-card .exam-icon-badge {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* Subtle theme indicator line across top edge */
.exam-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  opacity: 0.95;
  transition: opacity 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.exam-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* Studio Crafted Circular Icon Badge */
.exam-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.55), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 6px 18px rgba(7, 19, 63, 0.22);
}

.exam-icon-badge::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 9px;
  right: 9px;
  height: 16px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.exam-icon-badge .studio-icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
}

.exam-title-group {
  display: flex;
  flex-direction: column;
}

.exam-category-name {
  font-family: var(--font-exam-category);
  font-size: clamp(1.75rem, 2.2vw, 2.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.10;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.exam-subtitle {
  font-family: var(--font-exam-subtitle);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text-subtitle);
  margin-top: 4px;
  line-height: 1.30;
  letter-spacing: 0.015em;
  transition: color 0.3s ease;
}

.exam-card-divider {
  width: 38px;
  height: 2.5px;
  background: var(--gradient-gold-line);
  margin-top: 6px;
  margin-bottom: 8px;
  border-radius: 2px;
}

.exam-desc {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--color-text-body);
  line-height: 1.58;
  margin: 0;
}

/* Category Accent Gradients & Theme Effects */

/* 1. BANK: Warm Gold Financial Theme */
.exam-card.bank {
  background: linear-gradient(155deg, rgba(255, 212, 0, 0.16) 0%, rgba(255, 253, 245, 0.98) 50%, #FFFFFF 100%);
  border: 1.5px solid rgba(233, 185, 28, 0.42);
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.06), 0 0 18px rgba(255, 212, 0, 0.14);
}
.exam-card.bank::before {
  background: linear-gradient(90deg, #B87503 0%, #E9B91C 50%, #FFD400 100%);
}
.exam-card.bank .exam-icon-badge {
  background: linear-gradient(135deg, #07133F 0%, #2E240D 40%, #D99A00 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(233, 185, 28, 0.40);
  border-color: rgba(255, 212, 0, 0.55);
}
.exam-card.bank .exam-category-name {
  color: var(--color-bank-gold);
}
.exam-card.bank:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 185, 28, 0.75);
  box-shadow: 0 16px 38px rgba(7, 19, 63, 0.12), 0 0 30px rgba(255, 212, 0, 0.35);
  background: linear-gradient(155deg, rgba(255, 212, 0, 0.22) 0%, rgba(255, 252, 240, 0.98) 60%, #FFFFFF 100%);
}
.exam-card.bank:hover::before {
  opacity: 1;
  height: 4.5px;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.6);
}
.exam-card.bank:hover .exam-icon-badge {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(233, 185, 28, 0.60);
}

/* 2. SSC: Official Navy Theme */
.exam-card.ssc {
  background: linear-gradient(155deg, rgba(24, 63, 168, 0.14) 0%, rgba(244, 248, 255, 0.98) 50%, #FFFFFF 100%);
  border: 1.5px solid rgba(24, 63, 168, 0.32);
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.06), 0 0 18px rgba(24, 63, 168, 0.14);
}
.exam-card.ssc::before {
  background: linear-gradient(90deg, #050B24 0%, #07133F 50%, #183FA8 100%);
}
.exam-card.ssc .exam-icon-badge {
  background: linear-gradient(135deg, #050B24 0%, #07133F 50%, #183FA8 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(7, 19, 63, 0.42);
  border-color: rgba(24, 63, 168, 0.55);
}
.exam-card.ssc .exam-category-name {
  color: var(--color-navy-dark);
}
.exam-card.ssc:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 63, 168, 0.65);
  box-shadow: 0 16px 38px rgba(7, 19, 63, 0.14), 0 0 30px rgba(24, 63, 168, 0.30);
  background: linear-gradient(155deg, rgba(24, 63, 168, 0.20) 0%, rgba(238, 244, 255, 0.98) 60%, #FFFFFF 100%);
}
.exam-card.ssc:hover::before {
  opacity: 1;
  height: 4.5px;
  box-shadow: 0 0 10px rgba(24, 63, 168, 0.6);
}
.exam-card.ssc:hover .exam-icon-badge {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(7, 19, 63, 0.60);
}

/* 3. UPSC: Deep Teal Civil Services Prestige Theme */
.exam-card.upsc {
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.14) 0%, rgba(240, 251, 249, 0.98) 50%, #FFFFFF 100%);
  border: 1.5px solid rgba(13, 148, 136, 0.35);
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.06), 0 0 18px rgba(13, 148, 136, 0.14);
}
.exam-card.upsc::before {
  background: linear-gradient(90deg, #0D9488 0%, #14B8A6 50%, #2DD4BF 100%);
}
.exam-card.upsc .exam-icon-badge {
  background: linear-gradient(135deg, #07133F 0%, #0A3C38 45%, #0D9488 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(13, 148, 136, 0.40);
  border-color: rgba(20, 184, 166, 0.55);
}
.exam-card.upsc .exam-category-name {
  color: #0F766E;
}
.exam-card.upsc:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.68);
  box-shadow: 0 16px 38px rgba(7, 19, 63, 0.12), 0 0 30px rgba(13, 148, 136, 0.30);
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.20) 0%, rgba(235, 249, 246, 0.98) 60%, #FFFFFF 100%);
}
.exam-card.upsc:hover::before {
  opacity: 1;
  height: 4.5px;
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.6);
}
.exam-card.upsc:hover .exam-icon-badge {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(13, 148, 136, 0.60);
}

/* 4A. RAILWAY: Royal Indigo Transport Theme */
.exam-card.railway {
  background: linear-gradient(155deg, rgba(29, 78, 216, 0.14) 0%, rgba(242, 247, 255, 0.98) 50%, #FFFFFF 100%);
  border: 1.5px solid rgba(29, 78, 216, 0.32);
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.06), 0 0 18px rgba(29, 78, 216, 0.14);
}
.exam-card.railway::before {
  background: linear-gradient(90deg, #183FA8 0%, #1D4ED8 50%, #3B82F6 100%);
}
.exam-card.railway .exam-icon-badge {
  background: linear-gradient(135deg, #07133F 0%, #183FA8 50%, #2563EB 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(29, 78, 216, 0.40);
  border-color: rgba(59, 130, 246, 0.55);
}
.exam-card.railway .exam-category-name {
  color: #1D4ED8;
}
.exam-card.railway:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.65);
  box-shadow: 0 16px 38px rgba(7, 19, 63, 0.14), 0 0 30px rgba(29, 78, 216, 0.30);
  background: linear-gradient(155deg, rgba(29, 78, 216, 0.20) 0%, rgba(236, 242, 255, 0.98) 60%, #FFFFFF 100%);
}
.exam-card.railway:hover::before {
  opacity: 1;
  height: 4.5px;
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.6);
}
.exam-card.railway:hover .exam-icon-badge {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(29, 78, 216, 0.60);
}

/* 4B. MPSC: Deep Emerald State Service Theme */
.exam-card.mpsc {
  background: linear-gradient(155deg, rgba(21, 128, 61, 0.14) 0%, rgba(240, 252, 243, 0.98) 50%, #FFFFFF 100%);
  border: 1.5px solid rgba(21, 128, 61, 0.35);
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.06), 0 0 18px rgba(21, 128, 61, 0.14);
}
.exam-card.mpsc::before {
  background: linear-gradient(90deg, #15803D 0%, #16A34A 50%, #22C55E 100%);
}
.exam-card.mpsc .exam-icon-badge {
  background: linear-gradient(135deg, #07133F 0%, #0F3A22 45%, #15803D 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(21, 128, 61, 0.40);
  border-color: rgba(34, 197, 94, 0.55);
}
.exam-card.mpsc .exam-category-name {
  color: #15803D;
}
.exam-card.mpsc:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 128, 61, 0.68);
  box-shadow: 0 16px 38px rgba(7, 19, 63, 0.12), 0 0 30px rgba(21, 128, 61, 0.30);
  background: linear-gradient(155deg, rgba(21, 128, 61, 0.20) 0%, rgba(234, 250, 238, 0.98) 60%, #FFFFFF 100%);
}
.exam-card.mpsc:hover::before {
  opacity: 1;
  height: 4.5px;
  box-shadow: 0 0 10px rgba(21, 128, 61, 0.6);
}
.exam-card.mpsc:hover .exam-icon-badge {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(21, 128, 61, 0.60);
}

/* --------------------------------------------------------------------------
   Marquee Slot: 1st Column Position (Bank & Railway Looping Animation)
   -------------------------------------------------------------------------- */
.exam-marquee-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  min-height: 310px;
  height: 100%;
  contain: paint;
}

.exam-marquee-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  will-change: transform, opacity;
}

/* Card A: BANK - Front / Initial Visible Card */
.exam-marquee-card.card-a {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  animation: marqueeCycleA 7.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Card B: RAILWAY - Hidden to the Right Initially */
.exam-marquee-card.card-b {
  transform: translateX(112%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: marqueeCycleB 7.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Pause on hover or touch */
.exam-marquee-slot:hover .exam-marquee-card,
.exam-marquee-slot.is-paused .exam-marquee-card,
.exam-marquee-slot:active .exam-marquee-card {
  animation-play-state: paused;
}

/* Keyframes: Card A (BANK) */
@keyframes marqueeCycleA {
  0%, 41.7% {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }
  50% {
    transform: translateX(-112%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }
  50.01% {
    transform: translateX(112%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }
  91.7% {
    transform: translateX(112%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }
}

/* Keyframes: Card B (RAILWAY) */
@keyframes marqueeCycleB {
  0%, 41.7% {
    transform: translateX(112%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }
  50%, 91.7% {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }
  100% {
    transform: translateX(-112%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }
}

/* Marquee Slot Rotating Indicator */
.marquee-slot-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 23, 77, 0.05);
  border: 1px solid rgba(11, 23, 77, 0.1);
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-blue);
  z-index: 10;
  pointer-events: none;
}

.marquee-slot-indicator .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 0 0 rgba(233, 185, 28, 0.7);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(233, 185, 28, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(233, 185, 28, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(233, 185, 28, 0);
  }
}

/* --------------------------------------------------------------------------
   5b. Section C2: Our Classroom Gallery (4-up Desktop, 1-up Mobile Carousel)
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: var(--space-section) 0;
  background-color: #F8F7F2;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(255, 212, 0, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 8% 85%, rgba(28, 56, 158, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 92% 75%, rgba(11, 23, 77, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F8FD 30%, #FAF8F2 70%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.12) 0%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.gallery-section .container {
  position: relative;
  z-index: 1;
}

.gallery-carousel-viewport {
  width: 100%;
  position: relative;
  padding: 6px 0 12px 0;
}

.gallery-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.gallery-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1.5px solid rgba(240, 183, 27, 0.32);
  box-shadow: 0 6px 20px rgba(11, 23, 77, 0.08), 0 2px 8px rgba(240, 183, 27, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card.is-clone {
  display: none !important;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 23, 77, 0.14), 0 0 26px rgba(255, 212, 0, 0.24);
  border-color: #FFD400;
}

.gallery-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background-color: #E5E7EB;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-top: 3.5px solid var(--color-gold);
  background: #FFFFFF;
}

.gallery-card-body h3 {
  font-family: var(--font-card-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin-bottom: 5px;
  line-height: 1.25;
}

.gallery-card-body p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text-body);
  line-height: 1.54;
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Section D: Why Students Choose Us
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: var(--space-section) 0;
  background-color: #EDF4FD;
  background-image: 
    radial-gradient(circle at 10% 25%, rgba(24, 63, 168, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(255, 212, 0, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(7, 19, 63, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #EDF4FD 35%, #E3EDFB 70%, #FFFFFF 100%);
  border-top: 1px solid rgba(24, 63, 168, 0.10);
  border-bottom: 1px solid rgba(24, 63, 168, 0.10);
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -70px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 63, 168, 0.14) 0%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloatGlow 26s ease-in-out infinite alternate;
}

.why-us-section .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
}

.feature-card {
  border-radius: 14px;
  padding: 22px 14px 18px 14px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Individual subtle brand tints for each feature card */
.feature-card:nth-child(1) {
  background: linear-gradient(160deg, rgba(24, 63, 168, 0.10) 0%, #FFFFFF 55%, rgba(240, 246, 255, 0.98) 100%);
  border: 1.5px solid rgba(24, 63, 168, 0.25);
  box-shadow: 0 4px 18px rgba(7, 19, 63, 0.05), 0 0 12px rgba(24, 63, 168, 0.08);
}

.feature-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 212, 0, 0.12) 0%, #FFFFFF 55%, rgba(255, 250, 235, 0.98) 100%);
  border: 1.5px solid rgba(240, 183, 27, 0.35);
  box-shadow: 0 4px 18px rgba(7, 19, 63, 0.05), 0 0 12px rgba(255, 212, 0, 0.12);
}

.feature-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(29, 78, 216, 0.10) 0%, #FFFFFF 55%, rgba(238, 244, 255, 0.98) 100%);
  border: 1.5px solid rgba(29, 78, 216, 0.25);
  box-shadow: 0 4px 18px rgba(7, 19, 63, 0.05), 0 0 12px rgba(29, 78, 216, 0.08);
}

.feature-card:nth-child(4) {
  background: linear-gradient(160deg, rgba(240, 183, 27, 0.12) 0%, #FFFFFF 55%, rgba(255, 251, 238, 0.98) 100%);
  border: 1.5px solid rgba(240, 183, 27, 0.35);
  box-shadow: 0 4px 18px rgba(7, 19, 63, 0.05), 0 0 12px rgba(240, 183, 27, 0.12);
}

.feature-card:nth-child(5) {
  background: linear-gradient(160deg, rgba(7, 19, 63, 0.10) 0%, #FFFFFF 55%, rgba(242, 245, 255, 0.98) 100%);
  border: 1.5px solid rgba(7, 19, 63, 0.25);
  box-shadow: 0 4px 18px rgba(7, 19, 63, 0.05), 0 0 12px rgba(7, 19, 63, 0.08);
}

.feature-card:nth-child(6) {
  background: linear-gradient(160deg, rgba(255, 212, 0, 0.14) 0%, #FFFFFF 55%, rgba(255, 249, 232, 0.98) 100%);
  border: 1.5px solid rgba(240, 183, 27, 0.35);
  box-shadow: 0 4px 18px rgba(7, 19, 63, 0.05), 0 0 12px rgba(255, 212, 0, 0.14);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--gradient-gold-line);
  opacity: 0.9;
  transition: opacity 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 19, 63, 0.12), 0 0 22px rgba(240, 183, 27, 0.22);
  border-color: #FFD400;
}

.feature-card:hover::before {
  opacity: 1;
  height: 4.5px;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.6);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 63, 168, 0.14) 0%, rgba(255, 212, 0, 0.25) 100%);
  border: 1.8px solid rgba(240, 183, 27, 0.65);
  color: #07133F;
  box-shadow: 0 4px 14px rgba(7, 19, 63, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
  transition: transform 0.35s ease;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg, #050B24 0%, #15256B 100%);
  color: #FFD400;
  box-shadow: 0 8px 22px rgba(7, 19, 63, 0.28);
  border-color: #FFD400;
}

.feature-title {
  font-family: var(--font-card-title);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-navy-dark);
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 8px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--color-text-body);
  line-height: 1.54;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. Section E: Learn From Best Faculty Banner (Rich Navy Feature Section)
   -------------------------------------------------------------------------- */
.faculty-banner-section {
  padding: 42px 0;
  background-color: #0B174D;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(255, 212, 0, 0.20) 0%, transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(28, 56, 158, 0.40) 0%, transparent 50%),
    radial-gradient(circle at 10% 85%, rgba(7, 15, 53, 0.50) 0%, transparent 50%),
    linear-gradient(135deg, #070F35 0%, #0B174D 50%, #1C389E 100%);
  position: relative;
  overflow: hidden;
  border-top: 2.5px solid rgba(255, 212, 0, 0.40);
  border-bottom: 2.5px solid rgba(255, 212, 0, 0.40);
}

.faculty-banner-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.16) 0%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.faculty-banner-section .container {
  position: relative;
  z-index: 1;
}

.faculty-banner-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 212, 0, 0.50);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(255, 212, 0, 0.18);
  background-color: transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.faculty-banner-wrapper:hover {
  transform: translateY(-4px);
  border-color: #FFD400;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55), 0 0 45px rgba(255, 212, 0, 0.32);
}

.faculty-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Section F: Testimonials ("What Our Students Say" - Premium Gold Marquee)
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: var(--space-section) 0;
  background-color: #FAF6ED;
  background-image: 
    radial-gradient(circle at 15% 40%, rgba(28, 56, 158, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(255, 212, 0, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(11, 23, 77, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF6ED 40%, #F8F3E5 75%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -70px;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.14) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonials-container-fluid {
  max-width: 100%;
  padding: 0;
}

/* Viewport with subtle edge gradient fades */
.testimonials-marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 6px 0 10px 0;
}

.testimonials-marquee-viewport:active {
  cursor: grabbing;
}

/* Edge fade gradients for polished editorial look */
.testimonials-marquee-viewport::before,
.testimonials-marquee-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 10;
  pointer-events: none;
}

.testimonials-marquee-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(250, 246, 237, 0.95) 0%, rgba(250, 246, 237, 0) 100%);
}

.testimonials-marquee-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(250, 246, 237, 0.95) 0%, rgba(250, 246, 237, 0) 100%);
}

.testimonials-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* Premium Gold-Tinted Testimonial Card */
.testimonial-card {
  background: linear-gradient(160deg, #FFFFFF 0%, #FDFCF7 50%, #FAF5EA 100%);
  border: 1.8px solid rgba(233, 185, 28, 0.55);
  border-radius: var(--radius-banner);
  padding: 18px 20px 16px 20px;
  box-shadow: 0 8px 24px rgba(7, 19, 63, 0.07), 0 0 20px rgba(233, 185, 28, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 350px;
  max-width: 350px;
  min-width: 310px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #FFD400;
  box-shadow: 0 16px 40px rgba(7, 19, 63, 0.14), 0 0 32px rgba(233, 185, 28, 0.30);
}

/* Soft Diagonal Gold Light Sweep / Shimmer */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 212, 0, 0.15) 45%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(233, 185, 28, 0.2) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 180% 0;
  animation: goldShimmerSweep 7s infinite ease-in-out;
  pointer-events: none;
  z-index: 3;
}

/* Stagger shimmer timing across cards */
.testimonial-card:nth-child(2n)::after {
  animation-delay: 2.3s;
}

.testimonial-card:nth-child(3n)::after {
  animation-delay: 4.6s;
}

@keyframes goldShimmerSweep {
  0% {
    background-position: 180% 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  32% {
    background-position: -80% 0;
    opacity: 0;
  }
  100% {
    background-position: -80% 0;
    opacity: 0;
  }
}

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

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.quote-icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(233, 185, 28, 0.25));
}

.star-rating {
  display: flex;
  gap: 4px;
  color: var(--color-gold);
}

.star-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(233, 185, 28, 0.3));
}

.testimonial-quote {
  font-family: var(--font-quote);
  font-size: 1.02rem;
  font-weight: 500;
  font-style: normal;
  color: #1E293B;
  line-height: 1.58;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.author-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-placeholder-bg);
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(233, 185, 28, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.author-avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  z-index: 2;
  border-radius: 50%;
}

.author-avatar-placeholder svg {
  width: 24px;
  height: 24px;
}

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

.author-name {
  font-family: var(--font-exam-subtitle);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.author-exam {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-royal-blue);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8b. Section F2: Our Achievements (Single Showcase Image / Placeholder)
   -------------------------------------------------------------------------- */
.achievements-section {
  padding: var(--space-section) 0;
  background-color: #EFF5FD;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(24, 63, 168, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 10% 85%, rgba(255, 212, 0, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(7, 19, 63, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #FFFFFF 0%, #EFF5FD 45%, #E5EFFB 85%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.achievements-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 63, 168, 0.16) 0%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloatGlow 28s ease-in-out infinite alternate;
}

.achievements-section .container {
  position: relative;
  z-index: 1;
}

.achievements-showcase {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.achievements-gold-bar-top,
.achievements-gold-bar-bottom {
  height: 3.5px;
  background: var(--gradient-gold-line);
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.55);
  border-radius: 2px;
}

.achievements-gold-bar-bottom {
  margin-top: 0;
}

.achievements-frame {
  border-left: 2px solid rgba(240, 183, 27, 0.65);
  border-right: 2px solid rgba(240, 183, 27, 0.65);
  background: #050B24;
  padding: 6px;
  box-shadow: 0 18px 48px rgba(7, 19, 63, 0.22), 0 0 28px rgba(24, 63, 168, 0.14);
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.achievements-frame:hover {
  transform: translateY(-4px);
  border-left-color: #FFD400;
  border-right-color: #FFD400;
  box-shadow: 0 24px 55px rgba(7, 19, 63, 0.30), 0 0 36px rgba(255, 212, 0, 0.22);
}

.achievements-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gradient-gold-metallic);
  color: #050B24;
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.achievements-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #050B24;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.achievements-single-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  display: block;
}

.achievements-single-img:not([src]),
.achievements-single-img[src=""] {
  display: none !important;
}

.achievements-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8A8FA3;
  pointer-events: none;
}

.achievements-placeholder-inner svg {
  width: 44px;
  height: 44px;
  color: #8A8FA3;
  stroke-width: 1.5;
}

.achievements-placeholder-inner span {
  font-family: var(--font-label);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8A8FA3;
}

/* --------------------------------------------------------------------------
   9. Section G: Contact / Enquiry CTA
   -------------------------------------------------------------------------- */
.contact-cta-section {
  background: linear-gradient(135deg, #050B24 0%, #07133F 50%, #152B79 100%);
  color: var(--color-white);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  border-top: 2.5px solid rgba(255, 212, 0, 0.40);
}

.contact-cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 63, 168, 0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: ambientFloatGlow 24s ease-in-out infinite alternate;
}

.contact-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: ambientFloatGlow 30s ease-in-out infinite alternate-reverse;
}

.contact-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Contact Info */
.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-heading {
  font-family: var(--font-section-title);
  font-size: clamp(1.85rem, 3.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-heading-white {
  display: block;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(5, 11, 36, 0.5);
}

.contact-heading-orange {
  display: block;
  color: #FFD400;
  text-shadow: 0 2px 14px rgba(255, 212, 0, 0.40);
}

.contact-divider {
  width: 54px;
  height: 3.5px;
  background: var(--gradient-gold-line);
  margin: 10px 0 14px 0;
  border-radius: 9999px;
  box-shadow: 0 1px 10px rgba(255, 212, 0, 0.55);
}

.contact-paragraph {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 400px;
}

.contact-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 270px;
}

/* Large Stacked CTA Buttons */
.cta-button-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: transform var(--transition-default), background-color var(--transition-default), box-shadow var(--transition-default), border-color var(--transition-default);
}

.cta-button-card:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.09);
}

.cta-button-card.call {
  border: 1.5px solid #FFD400;
  color: #FFD400;
  background-color: rgba(255, 212, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 212, 0, 0.15);
}

.cta-button-card.call:hover {
  background-color: rgba(255, 212, 0, 0.16);
  border-color: #FFD400;
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.35);
}

.cta-button-card.whatsapp {
  border: 1.5px solid var(--color-whatsapp);
  color: var(--color-whatsapp);
  background-color: rgba(37, 211, 102, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 12px rgba(37, 211, 102, 0.15);
}

.cta-button-card.whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.16);
  border-color: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.cta-btn-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cta-btn-label {
  font-family: var(--font-label);
  font-size: 0.70rem;
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-btn-number {
  font-family: var(--font-number);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.cta-button-card.call .cta-btn-number {
  color: #FFD400;
}

.cta-button-card.whatsapp .cta-btn-number {
  color: var(--color-whatsapp);
}

/* Right Enquiry Form Card */
.contact-form-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(5, 11, 36, 0.40), 0 0 32px rgba(24, 63, 168, 0.16);
  padding: 26px 24px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.form-label {
  font-family: var(--font-card-title);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-navy-dark);
  background-color: #F8FAFC;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9CA3AF;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--color-royal-blue);
  box-shadow: 0 0 0 3.5px rgba(24, 63, 168, 0.18), 0 0 10px rgba(24, 63, 168, 0.10);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5F6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}

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

.btn-submit-enquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-gold-metallic);
  color: #050B24;
  font-family: var(--font-btn);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 212, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-default);
}

.btn-submit-enquiry svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-default);
}

.btn-submit-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.60);
}

.btn-submit-enquiry:hover svg {
  transform: translateX(4px);
}

.btn-submit-enquiry:active {
  transform: translateY(1px);
}

/* Form Success & Error Alerts */
.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  animation: fadeIn 0.3s ease;
}

.form-feedback.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

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

/* --------------------------------------------------------------------------
   9b. Section G2: Campus Location & Interactive Map
   -------------------------------------------------------------------------- */
.location-section {
  background: linear-gradient(180deg, #F8FAFD 0%, #F1F5FA 100%);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(230, 169, 0, 0.45);
}

.location-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 63, 168, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.location-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 169, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-title.heading-location {
  font-family: var(--font-section-title);
  font-weight: 400;
  letter-spacing: 0.025em;
}

.location-section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 10px auto 0;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
}

.location-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

/* Left: Address Info Card */
.location-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(7, 22, 61, 0.10);
  border-top: 3.5px solid var(--color-gold);
  box-shadow: 0 12px 32px rgba(7, 22, 61, 0.07), 0 2px 6px rgba(7, 22, 61, 0.03);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  box-shadow: 0 16px 40px rgba(7, 22, 61, 0.11), 0 4px 10px rgba(7, 22, 61, 0.05);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(11, 33, 84, 0.06);
  color: var(--color-navy);
  font-family: var(--font-exam-category);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(11, 33, 84, 0.12);
  width: fit-content;
}

.location-badge-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  color: var(--color-gold-deep);
}

.location-academy-name {
  font-family: var(--font-section-title);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-navy-dark);
  margin: 12px 0 6px 0;
  line-height: 1.2;
}

.location-landmark-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 169, 0, 0.12);
  color: #996500;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(230, 169, 0, 0.25);
  margin-bottom: 6px;
  width: fit-content;
}

.landmark-chip-icon {
  width: 12px !important;
  height: 12px !important;
  max-width: 12px !important;
  max-height: 12px !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  color: var(--color-gold-deep);
}

/* Clickable Address Link */
.location-address-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #F8FAFD;
  border: 1.5px solid rgba(24, 63, 168, 0.12);
  border-radius: 12px;
  padding: 16px 14px;
  margin: 18px 0;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.location-address-link:hover {
  background: #EEF4FD;
  border-color: rgba(24, 63, 168, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 33, 84, 0.08);
}

.address-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: var(--color-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 212, 90, 0.35);
}

.address-icon-wrap svg {
  width: 19px;
  height: 19px;
  stroke: var(--color-gold-bright);
}

.address-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.address-building {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.35;
}

.address-landmark {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy-light);
  line-height: 1.3;
}

.address-city {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-body);
  line-height: 1.3;
}

.address-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-gold-deep);
  margin-top: 4px;
}

/* Quick Action Buttons */
.location-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-location-directions {
  flex: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: var(--color-gold-bright);
  border: 1.5px solid rgba(255, 212, 90, 0.40);
  padding: 11px 14px;
  border-radius: 9px;
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(7, 22, 61, 0.15);
}

.btn-location-directions svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-gold-bright);
}

.btn-location-directions:hover {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-royal-blue) 100%);
  border-color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 22, 61, 0.25);
  color: #FFFFFF;
}

.btn-location-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--color-navy-dark);
  border: 1.5px solid rgba(7, 22, 61, 0.20);
  padding: 11px 12px;
  border-radius: 9px;
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-location-call svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-navy);
}

.btn-location-call:hover {
  border-color: var(--color-navy-dark);
  background: #F8FAFD;
  color: var(--color-navy);
  transform: translateY(-2px);
}

/* Right: Map Container */
.location-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(7, 22, 61, 0.12);
  box-shadow: 0 12px 36px rgba(7, 22, 61, 0.08), 0 2px 6px rgba(7, 22, 61, 0.03);
  height: 420px;
  min-height: 420px;
  background: #E5E9F0;
}

.academy-map {
  width: 100%;
  height: 420px;
  min-height: 420px;
  display: block;
  position: relative;
  z-index: 1;
}

.location-map-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1000;
  background: rgba(7, 22, 61, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 212, 90, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.map-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: 0 0 6px var(--color-whatsapp);
}

/* Fallback box when JS is disabled or Leaflet fails */
.map-fallback-box {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 380px;
  color: var(--color-navy-dark);
}

.map-error-fallback {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  background: #F8FAFD;
  border-radius: 12px;
}

.map-error-fallback .fallback-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1.5px solid rgba(255, 212, 90, 0.4);
}

.map-error-fallback .fallback-msg {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 12px;
  max-width: 280px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Custom Leaflet Coaching Pin Marker (Graduation Cap - NO RED PIN!)
   -------------------------------------------------------------------------- */
.academy-custom-marker-wrap {
  background: transparent !important;
  border: none !important;
}

.custom-marker-pin {
  width: 48px;
  height: 56px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 8px 16px rgba(4, 13, 38, 0.50));
  cursor: pointer;
  animation: markerBounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes markerBounceIn {
  0% {
    opacity: 0;
    transform: translateY(-24px) scale(0.6);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-marker-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #07163D 0%, #0B2154 50%, #183FA8 100%);
  border: 2.5px solid var(--color-gold-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 212, 90, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-marker-pin:hover .custom-marker-badge {
  transform: scale(1.1);
  box-shadow: 0 0 22px rgba(255, 212, 90, 0.9), inset 0 1px 3px rgba(255, 255, 255, 0.7);
}

.marker-cap-svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block !important;
  stroke: var(--color-gold-bright);
  fill: rgba(255, 212, 90, 0.22);
}

.custom-marker-tip {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--color-gold-bright);
  margin-top: -3px;
  position: relative;
  z-index: 1;
}

.custom-marker-pulse {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(230, 169, 0, 0.45);
  animation: academyMarkerPulse 2.4s infinite ease-out;
  z-index: 0;
  pointer-events: none;
}

@keyframes academyMarkerPulse {
  0% {
    transform: translateX(-50%) scale(0.4);
    opacity: 0.95;
  }
  65% {
    transform: translateX(-50%) scale(2.2);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) scale(2.2);
    opacity: 0;
  }
}

/* Leaflet Popup Styling Matching Website Theme */
.leaflet-popup-content-wrapper {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(7, 22, 61, 0.15) !important;
  box-shadow: 0 10px 28px rgba(7, 22, 61, 0.20) !important;
  padding: 2px !important;
}

.leaflet-popup-tip {
  background: #FFFFFF !important;
}

.academy-map-popup {
  padding: 4px 6px;
  text-align: left;
}

.popup-title {
  font-family: var(--font-section-title);
  font-size: 1.15rem;
  color: var(--color-navy-dark);
  margin-bottom: 4px;
  font-weight: 700;
  line-height: 1.2;
}

.popup-address {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 0.80rem;
  color: var(--color-text-body);
  line-height: 1.45;
  margin-bottom: 10px;
}

.popup-direction-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-navy-dark);
  color: var(--color-gold-bright) !important;
  border: 1px solid rgba(255, 212, 90, 0.3);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.popup-direction-btn:hover {
  background: var(--color-royal-blue);
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   Location Section Responsive Breakpoints
   -------------------------------------------------------------------------- */
/* Tablet (768px to 991px): Retain full desktop/tablet visual presence */
@media (min-width: 768px) and (max-width: 991px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .location-card {
    padding: 24px 20px;
  }

  .location-map-wrap {
    height: 360px;
    min-height: 360px;
  }

  .academy-map {
    height: 360px;
    min-height: 360px;
  }
}

/* Mobile Screens (<= 767px): Minimized footprint, compact spacing, hidden capsule */
@media (max-width: 767px) {
  /* 1. Remove map capsule on mobile */
  .location-map-tag {
    display: none !important;
  }

  /* 2. Minimized section vertical footprint */
  .location-section {
    padding: 24px 0 26px 0;
  }

  .location-section .section-title-wrap {
    margin-bottom: 0;
  }

  /* 3. Refined mobile typography & tight vertical rhythm */
  .location-section .section-title.heading-location {
    font-size: clamp(1.65rem, 5.5vw, 1.95rem);
    line-height: 1.15;
    margin-bottom: 3px;
  }

  .location-section .section-divider {
    width: 44px;
    height: 3px;
    margin: 4px auto 0 auto;
  }

  .location-section-desc {
    font-size: 0.84rem;
    line-height: 1.38;
    margin: 6px auto 0 auto;
    padding: 0 8px;
  }

  /* 4. Reduced gap before location card */
  .location-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 14px;
  }

  /* 5. Compact, balanced location card */
  .location-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .location-card-header {
    margin-bottom: 0;
  }

  .location-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
    gap: 5px;
  }

  .location-badge-icon {
    width: 12px;
    height: 12px;
  }

  .location-academy-name {
    font-size: 1.45rem;
    margin: 5px 0 2px 0;
    line-height: 1.2;
  }

  .location-landmark-chip {
    font-size: 0.76rem;
    padding: 3px 8px;
    gap: 5px;
    margin-bottom: 0;
  }

  .landmark-chip-icon {
    width: 11px;
    height: 11px;
  }

  .location-address-link {
    padding: 10px 10px;
    margin: 9px 0 10px 0;
    gap: 10px;
    border-radius: 9px;
  }

  .address-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .address-icon-wrap svg {
    width: 16px;
    height: 16px;
  }

  .address-lines {
    gap: 2px;
  }

  .address-building {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .address-landmark,
  .address-city {
    font-size: 0.80rem;
    line-height: 1.25;
  }

  .address-hint {
    font-size: 0.68rem;
    margin-top: 2px;
    gap: 4px;
  }

  /* Quick action buttons on mobile */
  .location-actions {
    flex-direction: row;
    gap: 8px;
    margin-top: 0;
  }

  .btn-location-directions {
    flex: 1.2;
    padding: 9px 10px;
    font-size: 0.80rem;
    border-radius: 8px;
    gap: 5px;
  }

  .btn-location-directions svg {
    width: 13px;
    height: 13px;
  }

  .btn-location-call {
    flex: 1;
    padding: 9px 10px;
    font-size: 0.80rem;
    border-radius: 8px;
    gap: 5px;
  }

  .btn-location-call svg {
    width: 13px;
    height: 13px;
  }

  /* 6. Moderately reduced map height */
  .location-map-wrap {
    height: 230px;
    min-height: 230px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(7, 22, 61, 0.08);
  }

  .academy-map {
    height: 230px;
    min-height: 230px;
  }
}

/* Ultra-small screens (<= 380px) */
@media (max-width: 380px) {
  .location-section {
    padding: 20px 0 22px 0;
  }

  .location-section .section-title.heading-location {
    font-size: 1.55rem;
  }

  .location-section-desc {
    font-size: 0.80rem;
  }

  .location-card {
    padding: 13px 11px;
  }

  .location-academy-name {
    font-size: 1.35rem;
  }

  .location-actions {
    flex-direction: column;
    gap: 6px;
  }

  .btn-location-directions,
  .btn-location-call {
    width: 100%;
    padding: 8px 10px;
  }

  .location-map-wrap {
    height: 210px;
    min-height: 210px;
  }

  .academy-map {
    height: 210px;
    min-height: 210px;
  }
}

/* --------------------------------------------------------------------------
   10. Section H: Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #09133F 0%, #050B24 100%);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 44px 0 24px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 24px;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 300px;
  line-height: 1.6;
}

/* Footer Navigation & Exams Group (Column 2) */
.footer-nav-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Footer Column Headers */
.footer-column-title {
  font-family: var(--font-section-title);
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFD400;
  margin-bottom: 6px;
  line-height: 1.25;
}

.footer-title-divider {
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, #FFD400 0%, #F0B71B 100%);
  margin-bottom: 14px;
  border-radius: 9999px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-nav-link {
  font-family: var(--font-nav);
  font-size: 0.90rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: #FFD400;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.footer-contact-item.call:hover {
  border-color: rgba(233, 185, 28, 0.5);
  box-shadow: 0 4px 14px rgba(233, 185, 28, 0.15);
}

.footer-contact-item.whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
}

.footer-contact-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.footer-contact-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.footer-contact-item.call .footer-contact-icon-wrap svg {
  color: #E9B91C;
}

.footer-contact-item.whatsapp .footer-contact-icon-wrap svg {
  color: #25D366;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-contact-label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-val {
  font-family: var(--font-number);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #FFFFFF;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   10b. Floating Contact Actions: Call & WhatsApp
   -------------------------------------------------------------------------- */
.floating-contact-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-btn);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-btn:hover {
  transform: translateY(-4px);
}

.floating-btn:active {
  transform: translateY(1px);
}

/* Call Button: Navy base + Gold accent */
.floating-btn-call {
  background-color: #07133F;
  border: 1.5px solid #FFD400;
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(7, 19, 63, 0.40), 0 0 16px rgba(255, 212, 0, 0.22);
}

.floating-btn-call:hover {
  box-shadow: 0 12px 30px rgba(7, 19, 63, 0.52), 0 0 24px rgba(255, 212, 0, 0.38);
  background-color: #0F1E5E;
  border-color: #FFD400;
}

.floating-btn-call .floating-btn-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 212, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-btn-call .floating-btn-svg {
  width: 16px;
  height: 16px;
}

.floating-btn-call .floating-btn-label {
  color: #FFD400;
}

.floating-btn-call .floating-btn-val {
  color: #FFFFFF;
}

/* WhatsApp Button: WhatsApp Green */
.floating-btn-whatsapp {
  background-color: #25D366;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40), 0 0 16px rgba(37, 211, 102, 0.25);
}

.floating-btn-whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 0 24px rgba(37, 211, 102, 0.45);
  background-color: #1EBE5D;
}

.floating-btn-whatsapp .floating-btn-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.floating-btn-whatsapp .floating-btn-label {
  color: rgba(255, 255, 255, 0.92);
}

.floating-btn-whatsapp .floating-btn-val {
  color: #FFFFFF;
}

/* Text Meta within Floating Buttons */
.floating-btn-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-btn-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-btn-val {
  font-family: var(--font-number);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints & Media Queries
   -------------------------------------------------------------------------- */

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  
  .hero-section {
    padding: 0;
  }

  .brand-logo-img {
    height: 54px;
    max-width: 160px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.82rem;
  }
  
  .header-actions {
    gap: 6px;
  }

  .header-actions .btn-pill-contact {
    padding: 4px 8px;
    gap: 5px;
    min-height: 34px;
  }

  .header-actions .btn-pill-contact .btn-icon-box svg {
    width: 14px;
    height: 14px;
  }

  .header-actions .btn-pill-contact .btn-label {
    display: none;
  }

  .header-actions .btn-pill-contact .btn-value {
    font-size: 0.74rem;
  }

  .exam-programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .exam-marquee-slot {
    min-height: 310px;
  }

  .gallery-carousel-viewport {
    overflow: visible;
  }

  .gallery-carousel-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    transform: none !important;
    width: 100% !important;
  }

  .gallery-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .gallery-card.is-clone {
    display: none !important;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .faculty-heading-large {
    font-size: 1.7rem;
  }

  .testimonial-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 290px;
  }

  .achievements-ribbon {
    top: 10px;
    left: 10px;
    font-size: 0.68rem;
    padding: 5px 10px;
  }

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

  .contact-buttons-stack {
    flex-direction: row;
    max-width: 100%;
  }

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

/* Mobile: <= 767px */
@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header Mobile: Keep Logo + Call + WhatsApp neatly side-by-side */
  .mobile-nav-toggle,
  .mobile-nav-menu {
    display: none !important;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 130px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .header-actions .btn-pill-contact {
    padding: 5px 9px;
    gap: 5px;
    min-height: 36px;
    border-radius: var(--radius-pill);
  }

  .header-actions .btn-pill-contact .btn-icon-box svg {
    width: 15px;
    height: 15px;
  }

  .header-actions .btn-pill-contact .btn-meta {
    line-height: 1.1;
  }

  .header-actions .btn-pill-contact .btn-label {
    font-size: 0.58rem;
  }

  .header-actions .btn-pill-contact .btn-value {
    font-size: 0.72rem;
  }

  /* Hero Mobile */
  .hero-section {
    padding: 0;
  }

  /* Sections Spacing */
  .exams-section,
  .gallery-section,
  .why-us-section,
  .testimonials-section,
  .achievements-section,
  .contact-cta-section {
    padding: 32px 0;
  }

  .faculty-banner-section {
    padding: 24px 0;
  }

  .section-title-wrap,
  .section-header {
    margin-bottom: 14px;
  }

  .section-title {
    font-size: clamp(1.88rem, 6.8vw, 2.25rem);
    letter-spacing: -0.01em;
    line-height: 1.22;
  }

  .exams-section .section-title {
    font-size: clamp(1.88rem, 6.8vw, 2.25rem);
    letter-spacing: -0.01em;
  }

  /* Exam Cards Mobile */
  .exam-programs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Rotating Railway/MPSC Slot Mobile: Naturally derived height matching UPSC */
  .exam-marquee-slot {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 0;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
  }

  .exam-marquee-card {
    grid-area: 1 / 1;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .exam-card {
    padding: 16px 14px;
  }

  .exam-icon-badge {
    width: 48px;
    height: 48px;
  }

  .exam-icon-badge .studio-icon {
    width: 28px;
    height: 28px;
  }

  .exam-category-name {
    font-size: clamp(1.65rem, 6.2vw, 1.88rem) !important;
    letter-spacing: 0.04em;
    line-height: 1.15;
  }

  .exam-subtitle {
    font-size: clamp(0.95rem, 3.8vw, 1.05rem) !important;
    line-height: 1.35;
  }

  .exam-desc {
    font-size: clamp(0.94rem, 3.6vw, 1.02rem) !important;
    line-height: 1.48;
    color: #26344D;
  }

  /* Classroom Gallery Mobile: Exactly 1 complete card visible with 0 gap */
  .gallery-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 4px 0 8px 0;
  }

  .gallery-carousel-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    will-change: transform;
  }

  .gallery-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  /* Features Grid Mobile */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-card {
    padding: 16px 10px 14px;
    border-radius: 10px;
  }

  .feature-icon-wrap {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px auto;
    border-radius: 10px;
  }

  .feature-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .feature-title {
    font-size: 0.82rem;
    min-height: auto;
    margin-bottom: 4px;
  }

  .feature-desc {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  /* Testimonials Mobile */
  .testimonial-card {
    flex: 0 0 300px;
    max-width: 300px;
    min-width: 270px;
    padding: 14px 14px;
    min-height: auto;
  }

  .testimonials-marquee-viewport::before,
  .testimonials-marquee-viewport::after {
    width: 24px;
  }

  /* Achievements Mobile */
  .achievements-ribbon {
    top: 8px;
    left: 8px;
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  .achievements-image-wrap {
    aspect-ratio: 3 / 2;
  }

  /* Contact CTA Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-heading {
    font-size: clamp(1.75rem, 6.2vw, 2.15rem);
  }

  .contact-paragraph {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .contact-buttons-stack {
    max-width: 100%;
  }

  .contact-form-card {
    padding: 16px 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-submit-enquiry {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 32px 0 16px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 16px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    gap: 10px;
  }

  .footer-brand-desc {
    margin: 0 auto;
    font-size: 0.84rem;
    max-width: 280px;
    line-height: 1.5;
  }

  .footer-nav-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    text-align: center;
  }

  .footer-column-title {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .footer-title-divider {
    margin: 4px auto 10px auto;
  }

  .footer-nav-list {
    align-items: center;
    gap: 8px;
  }

  .footer-nav-link {
    font-size: 0.82rem;
  }

  .footer-contact-list {
    align-items: center;
    gap: 8px;
  }

  .footer-contact-item {
    justify-content: center;
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    padding: 6px 10px;
  }

  .footer-bottom {
    padding-top: 14px;
  }

  .footer-copyright {
    font-size: 0.78rem;
  }

  /* Floating Contact Bar Mobile */
  .floating-contact-bar {
    transform: none;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .floating-btn {
    justify-content: center;
    padding: 8px 10px;
    min-height: 44px;
    gap: 8px;
  }

  .floating-btn-call .floating-btn-icon-wrap,
  .floating-btn-whatsapp .floating-btn-icon-wrap {
    width: 26px;
    height: 26px;
  }

  .floating-btn-call .floating-btn-svg {
    width: 14px;
    height: 14px;
  }

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

  .floating-btn-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .floating-btn-val {
    font-size: 0.74rem;
  }
}

/* Extra-small screens (<= 360px, e.g. 320px) */
@media (max-width: 360px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .section-title {
    font-size: clamp(1.58rem, 6.8vw, 1.78rem);
    letter-spacing: 0.01em;
    line-height: 1.22;
  }

  .exams-section .section-title {
    font-size: clamp(1.58rem, 6.8vw, 1.78rem);
    letter-spacing: 0.01em;
  }

  .exam-category-name {
    font-size: 1.55rem !important;
  }

  .exam-subtitle {
    font-size: 0.92rem !important;
  }

  .exam-desc {
    font-size: 0.90rem !important;
  }

  .contact-heading {
    font-size: 1.55rem;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 95px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .btn-pill-contact {
    padding: 4px 6px;
    gap: 4px;
    min-height: 32px;
  }

  .header-actions .btn-pill-contact .btn-icon-box svg {
    width: 13px;
    height: 13px;
  }

  .header-actions .btn-pill-contact .btn-label {
    font-size: 0.52rem;
  }

  .header-actions .btn-pill-contact .btn-value {
    font-size: 0.65rem;
  }

  .floating-contact-bar {
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    right: 8px;
    gap: 6px;
  }

  .floating-btn {
    padding: 6px 6px;
    gap: 6px;
    min-height: 40px;
  }

  .floating-btn-call .floating-btn-icon-wrap,
  .floating-btn-whatsapp .floating-btn-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .floating-btn-call .floating-btn-svg {
    width: 12px;
    height: 12px;
  }

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

  .floating-btn-label {
    font-size: 0.52rem;
  }

  .floating-btn-val {
    font-size: 0.68rem;
  }
}

/* --------------------------------------------------------------------------
   12. Luxury Branded Scrollbar & Ambient Motion
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #050B24;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #183FA8 0%, #D99A00 100%);
  border-radius: 9999px;
  border: 2px solid #050B24;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2455D6 0%, #FFD400 100%);
}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(16px, 12px);
  }
}

/* --------------------------------------------------------------------------
   13. 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;
  }
}





