﻿/* ==========================================================================
   NATARAJ NRITYA MANDIR (Code No.: HOW/62) - MULTI-COLOR BUTTON SYSTEM & SPA
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

/* --------------------------------------------------------------------------
   1. DYNAMIC COLOR PALETTES (LIGHT DAY MODE BY DEFAULT)
   -------------------------------------------------------------------------- */
:root {
  /* VIBRANT & LUXURIOUS PEARL CREAM LIGHT DAY THEME (DEFAULT) */
  --bg-deep: #FAF7F2;
  --bg-surface-1: #FFFFFF;
  --bg-surface-2: #F4EFE6;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #FFFFFF;

  --neon-gold: #D4AF37;
  --neon-gold-bright: #B8860B;
  --gold-glow: rgba(212, 175, 55, 0.35);
  
  --neon-pink: #E91E63;
  --neon-magenta: #C2185B;
  --pink-glow: rgba(233, 30, 99, 0.28);
  
  --neon-cyan: #00BCD4;
  --cyan-glow: rgba(0, 188, 212, 0.28);
  --neon-purple: #8E24AA;

  --text-main: #0D1B2A;
  --text-sub: #1B263B;
  --text-muted: #2B3A4A;
  --text-gold: #855507;

  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(212, 175, 55, 0.55);
  --glass-border-hover: rgba(142, 36, 170, 0.75);

  --marquee-bg: linear-gradient(90deg, rgba(212, 175, 55, 0.22) 0%, rgba(233, 30, 99, 0.18) 50%, rgba(0, 188, 212, 0.18) 100%);
  --modal-bg: #FFFFFF;

  /* Fonts */
  --font-royal: 'Cinzel', serif;
  --font-modern: 'Outfit', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --font-bengali-serif: 'Noto Serif Bengali', 'Vrinda', 'Kalpurush', 'Shonar Bangla', serif;
  --font-bengali-sans: 'Noto Sans Bengali', 'Vrinda', 'Kalpurush', 'Shonar Bangla', sans-serif;

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* COSMIC DARK MODE OPTION */
[data-theme="dark"] {
  --bg-deep: #04030F;
  --bg-surface-1: #0B0826;
  --bg-surface-2: #130D3A;
  --bg-card: rgba(18, 14, 52, 0.88);
  --bg-card-hover: rgba(30, 24, 80, 0.95);

  --neon-gold: #FFD700;
  --neon-gold-bright: #FFE566;
  --gold-glow: rgba(255, 215, 0, 0.45);
  
  --neon-pink: #FF2E93;
  --neon-magenta: #FF007F;
  --pink-glow: rgba(255, 46, 147, 0.45);
  
  --neon-cyan: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.45);
  --neon-purple: #A100FF;

  --text-main: #FFFFFF;
  --text-sub: #E2E8F0;
  --text-muted: #B8C0E0;
  --text-gold: #FFE680;

  --glass-bg: rgba(8, 6, 26, 0.92);
  --glass-border: rgba(255, 215, 0, 0.35);
  --glass-border-hover: rgba(0, 240, 255, 0.7);

  --marquee-bg: linear-gradient(90deg, rgba(255, 46, 147, 0.28) 0%, rgba(255, 215, 0, 0.28) 50%, rgba(0, 240, 255, 0.28) 100%);
  --modal-bg: #0B0826;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-gold) var(--bg-deep);
}

/* Silky Smooth Custom Scrollbar (Desktop & Mobile Chrome/Edge/Safari) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-gold) 0%, var(--neon-pink) 100%);
  border-radius: 9999px;
  border: 2px solid var(--bg-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-gold-bright) 0%, var(--neon-magenta) 100%);
  box-shadow: 0 0 10px var(--gold-glow);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFD700 0%, #FF2E93 100%);
  border-color: #04030F;
}

/* Touch Action Optimization & Elimination of 300ms Mobile Tap Delay */
a, button, input, select, textarea, .course-card, .gallery-photo-card, .style-option-card, .btn-futuristic, .mbar-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-modern);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

/* Multi-color Radiant Mesh Background for Light Mode */
body[data-theme="light"]::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.15), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(233, 30, 99, 0.12), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(0, 188, 212, 0.12), transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(142, 36, 170, 0.12), transparent 45%);
  pointer-events: none;
  z-index: -3;
}

/* Full-Screen Falling Lotus Canvas Engine Background */
#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  contain: layout style paint;
}

/* Cursor Glow Follower */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), rgba(233, 30, 99, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
  filter: blur(40px);
}

@media (pointer: coarse), (hover: none) {
  .cursor-glow {
    display: none !important;
  }
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --------------------------------------------------------------------------
   3. SPA PAGE VIEWS & STAGGERED ENTRANCE ANIMATIONS
   -------------------------------------------------------------------------- */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  min-height: auto;
  padding-bottom: 0;
}

.page-view.active {
  display: block;
  opacity: 1;
  animation: pageReveal 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.08s; }
.stagger-item:nth-child(2) { transition-delay: 0.16s; }
.stagger-item:nth-child(3) { transition-delay: 0.24s; }
.stagger-item:nth-child(4) { transition-delay: 0.32s; }
.stagger-item:nth-child(5) { transition-delay: 0.40s; }
.stagger-item:nth-child(6) { transition-delay: 0.48s; }

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--neon-pink);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-royal);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.section-description {
  color: var(--text-sub);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Gradient Shimmers */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-magenta) 0%, var(--neon-gold) 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, var(--neon-gold-bright) 0%, var(--neon-gold) 60%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cyan {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #008B8B 60%, #0288D1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Code Badge */
.code-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid var(--neon-gold);
  color: var(--neon-gold-bright);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 0 20px var(--gold-glow);
}

.code-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--neon-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-gold);
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.4; }
}

/* Board Affiliation Badge */
.board-affiliation-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--neon-gold);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  box-shadow: 0 10px 30px var(--gold-glow);
  margin-top: 1rem;
}

.board-affiliation-badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--neon-gold);
}

.board-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.board-badge-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--neon-gold-bright);
}

.board-badge-sub {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR & CINEMATIC MOBILE DRAWER
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   4. REBUILT SITE HEADER & NAVIGATION SYSTEM
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid var(--glass-border);
  z-index: 9999;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.music-controller-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1.4rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  cursor: pointer;
}

.site-header.scrolled {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.8rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Perfect 1:1 Circle Logo Emblem */
.logo-glow-wrapper {
  width: 90px !important;
  height: 90px !important;
  min-width: 90px !important;
  min-height: 90px !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0a0a14 !important;
  overflow: hidden !important;
}

.logo-glow-wrapper img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  filter: brightness(1.22) contrast(1.1) saturate(1.15) !important;
}

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

.brand-name {
  font-family: var(--font-royal);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--neon-gold-bright);
  font-weight: 700;
  font-family: var(--font-tech);
}

/* Desktop Navigation Menu Links */
.desktop-nav {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap !important;
}

.nav-links li {
  white-space: nowrap !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-gold-bright) !important;
  background: rgba(212, 175, 55, 0.12);
}

/* ==========================================================================
   MEDIUM / TABLET SCREEN RESPONSIVE SCALING (PREVENT NAVBAR TEXT WRAPPING)
   Targets tablets & medium screens (e.g., iPad Pro, tablets, small laptops)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1200px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-brand {
    gap: 10px;
  }

  .logo-glow-wrapper {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
  }

  .brand-name {
    font-size: 1.18rem !important;
  }

  .brand-sub {
    font-size: 0.72rem !important;
  }

  .desktop-nav .nav-links {
    gap: 0.68rem !important;
    flex-wrap: nowrap !important;
  }

  .desktop-nav .nav-link {
    font-size: 0.88rem !important;
    padding: 6px 9px !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .logo-glow-wrapper {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
  }

  .brand-name {
    font-size: 1.08rem !important;
  }

  .brand-sub {
    font-size: 0.7rem !important;
  }

  .desktop-nav .nav-links {
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
  }

  .desktop-nav .nav-link {
    font-size: 0.82rem !important;
    padding: 5px 7px !important;
    white-space: nowrap !important;
  }
}

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

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--neon-gold);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  transform: rotate(25deg) scale(1.1);
  border-color: var(--neon-pink);
  box-shadow: 0 0 28px var(--pink-glow);
}

.mobile-toggle-btn {
  display: none;
  background: rgba(212, 175, 55, 0.18);
  border: 2px solid var(--neon-gold);
  color: var(--neon-gold-bright);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px var(--gold-glow);
}

/* --------------------------------------------------------------------------
   FAIL-SAFE TOP-LEVEL MOBILE NAVIGATION DRAWER OVERLAY
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer-overlay.open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer-content {
  position: relative;
  width: 85%;
  max-width: 330px;
  height: 100%;
  background: linear-gradient(165deg, #0B0826 0%, #150A30 100%);
  border-left: 2.5px solid var(--neon-gold);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.4rem;
  z-index: 2;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.52s cubic-bezier(0.19, 1, 0.22, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

[data-theme="light"] .mobile-drawer-content {
  background: linear-gradient(165deg, #FFFFFF 0%, #FAF7F2 100%);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.25);
}

.mobile-drawer-overlay.open .mobile-drawer-content {
  transform: translate3d(0, 0, 0) !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--neon-gold);
}

.drawer-title {
  font-family: var(--font-royal);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.drawer-sub {
  font-size: 0.75rem;
  color: var(--neon-gold-bright);
  font-family: var(--font-tech);
  font-weight: 700;
}

.close-drawer-btn {
  background: rgba(233, 30, 99, 0.15);
  border: 1.5px solid var(--neon-pink);
  color: var(--neon-pink);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-drawer-btn:hover, .close-drawer-btn:active {
  background: var(--neon-pink);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* CINEMATIC ANIMATIONS & HOVER/TOUCH EFFECTS FOR MOBILE DRAWER LINKS */
.mobile-drawer-links {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(212, 175, 55, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Light Sweep Shimmer Pseudo Element */
.mobile-drawer-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.28), transparent);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Left Glowing Indicator Bar */
.mobile-drawer-link::after {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  width: 3.5px;
  height: 0%;
  background: linear-gradient(180deg, var(--neon-gold), var(--neon-pink));
  border-radius: 0 4px 4px 0;
  transition: height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-drawer-link i:first-child {
  font-size: 1.2rem;
  color: var(--neon-gold-bright);
  margin-right: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-drawer-link span {
  flex: 1;
  transition: color 0.3s ease;
}

.mobile-drawer-link .arrow-icon {
  font-size: 0.85rem;
  opacity: 0.5;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, color 0.3s ease;
}

/* Hover & Active Touch Trigger States */
.mobile-drawer-link:hover::before,
.mobile-drawer-link:active::before {
  left: 100%;
}

.mobile-drawer-link:hover::after,
.mobile-drawer-link:active::after,
.mobile-drawer-link.active::after {
  height: 80%;
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active,
.mobile-drawer-link.active {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.22) 0%, rgba(233, 30, 99, 0.15) 100%) !important;
  color: var(--neon-gold-bright) !important;
  border-color: var(--neon-gold) !important;
  transform: translate3d(6px, 0, 0) scale(1.02);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.mobile-drawer-link:hover i:first-child,
.mobile-drawer-link:active i:first-child,
.mobile-drawer-link.active i:first-child {
  transform: rotate(12deg) scale(1.2);
  color: #FFD700 !important;
}

.mobile-drawer-link:hover .arrow-icon,
.mobile-drawer-link:active .arrow-icon,
.mobile-drawer-link.active .arrow-icon {
  transform: translate3d(5px, 0, 0) scale(1.2);
  opacity: 1;
  color: var(--neon-gold-bright);
}

/* Touch Feedback Compression for Ultra-Smooth Feel */
.mobile-drawer-link:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s ease !important;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.drawer-action-btn:active {
  transform: scale(0.96) !important;
}

.btn-drawer-call {
  background: linear-gradient(135deg, #00C853 0%, #009688 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

.btn-drawer-email {
  background: linear-gradient(135deg, #E91E63 0%, #D4AF37 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.35);
}

/* Lock scrolling when mobile drawer is open */
body.drawer-body-lock {
  overflow: hidden !important;
}

/* ==========================================================================
   3D FUTURISTIC MOBILE NAVIGATION OVERHAUL — STRICTLY MOBILE ONLY
   All rules strictly scoped inside @media (max-width: 992px)
   ZERO desktop styles touched. ZERO routing/JS logic altered.
   ========================================================================== */
@media (max-width: 992px) {

  /* ── TASK 1: Advanced Glassmorphism Backdrop ─────────────────────────── */
  .mobile-drawer-content {
    background: linear-gradient(
      145deg,
      rgba(11, 8, 38, 0.82) 0%,
      rgba(21, 10, 48, 0.78) 100%
    ) !important;
    backdrop-filter: blur(22px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(165%) !important;
    border-left: 2px solid transparent !important;
    /* Animated glowing inner border via box-shadow layering */
    box-shadow:
      /* outer glow */ -6px 0 40px rgba(212, 175, 55, 0.18),
      /* inner gold rim */ inset 1px 0 0 rgba(212, 175, 55, 0.55),
      /* inner pink rim bottom */ inset 0 -1px 0 rgba(233, 30, 99, 0.3),
      /* deep shadow */ -24px 0 70px rgba(0, 0, 0, 0.9) !important;
    /* Faint rainbow-gold shimmer running down the left edge */
    outline: none;
  }

  [data-theme="light"] .mobile-drawer-content {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(250, 247, 242, 0.75) 100%
    ) !important;
    backdrop-filter: blur(22px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(165%) !important;
    box-shadow:
      -6px 0 40px rgba(212, 175, 55, 0.14),
      inset 1px 0 0 rgba(212, 175, 55, 0.45),
      inset 0 -1px 0 rgba(233, 30, 99, 0.2),
      -24px 0 60px rgba(0, 0, 0, 0.18) !important;
  }

  /* ── TASK 2: 3D Staggered Cascade Entrance ───────────────────────────── */

  /* Give the UL container the perspective origin so children can rotate in 3D */
  .mobile-drawer-links {
    perspective: 1000px;
    perspective-origin: center top;
  }

  /* Default / CLOSED state: each link is rotated away and invisible */
  .mobile-drawer-link {
    opacity: 0;
    transform: rotateX(-90deg) translateY(-20px);
    transform-origin: top center;
    transform-style: preserve-3d;
    /* Base transition for the 3D flip; delay is overridden per nth-child below */
    transition:
      opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.50s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease !important;
  }

  /* OPEN state: cascade each link in with nth-child stagger delays */
  .mobile-drawer-overlay.open .mobile-drawer-link {
    opacity: 1 !important;
    transform: rotateX(0deg) translateY(0) !important;
  }

  /* Stagger delays — domino-cascade from top to bottom */
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(1) .mobile-drawer-link { transition-delay: 0.08s !important; }
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(2) .mobile-drawer-link { transition-delay: 0.17s !important; }
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(3) .mobile-drawer-link { transition-delay: 0.26s !important; }
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(4) .mobile-drawer-link { transition-delay: 0.35s !important; }
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(5) .mobile-drawer-link { transition-delay: 0.44s !important; }
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(6) .mobile-drawer-link { transition-delay: 0.53s !important; }
  .mobile-drawer-overlay.open .mobile-drawer-links li:nth-child(7) .mobile-drawer-link { transition-delay: 0.62s !important; }

  /* When drawer CLOSES, collapse back quickly (no stagger needed on exit) */
  .mobile-drawer-links li .mobile-drawer-link {
    transition-delay: 0s !important;
  }

  /* ── TASK 3: Floating 3D Tactile Pill Menu Items ─────────────────────── */

  /* Upgrade each link to a floating tactile card/pill */
  .mobile-drawer-link {
    border-radius: 14px !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    background: rgba(212, 175, 55, 0.06) !important;
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.35),
      0 1px 0 rgba(255, 255, 255, 0.07) inset,
      0 -1px 0 rgba(0, 0, 0, 0.3) inset !important;
    /* Slight upward float for tactile depth */
    transform-style: preserve-3d;
  }

  [data-theme="light"] .mobile-drawer-link {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 -1px 0 rgba(0, 0, 0, 0.06) inset !important;
  }

  /* Active (pressed) tactile sink — simulates physical key press */
  .mobile-drawer-link:active {
    transform: scale(0.95) translateZ(-10px) !important;
    box-shadow:
      0 1px 6px rgba(0, 0, 0, 0.5),
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 2px 8px rgba(212, 175, 55, 0.08) inset !important;
    transition: transform 0.09s ease, box-shadow 0.09s ease !important;
  }

  /* Hover / touch-hold: elevate the card upward */
  .mobile-drawer-link:hover,
  .mobile-drawer-link.active {
    transform: translate3d(5px, -2px, 8px) scale(1.025) !important;
    box-shadow:
      0 10px 30px rgba(212, 175, 55, 0.25),
      0 4px 12px rgba(0, 0, 0, 0.5),
      0 1px 0 rgba(255, 255, 255, 0.1) inset !important;
    background: linear-gradient(
      95deg,
      rgba(212, 175, 55, 0.22) 0%,
      rgba(233, 30, 99, 0.14) 100%
    ) !important;
    border-color: var(--neon-gold) !important;
    color: var(--neon-gold-bright) !important;
  }

  /* Icon bounce keyframe — plays on active-link icon */
  @keyframes icon-bounce-3d {
    0%   { transform: rotate(0deg) scale(1); }
    30%  { transform: rotate(-15deg) scale(1.35) translateY(-3px); }
    55%  { transform: rotate(10deg) scale(1.15) translateY(-1px); }
    75%  { transform: rotate(-5deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
  }

  .mobile-drawer-link:hover i:first-child,
  .mobile-drawer-link:active i:first-child,
  .mobile-drawer-link.active i:first-child {
    animation: icon-bounce-3d 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    color: #FFD700 !important;
  }

  /* Arrow slide on active */
  .mobile-drawer-link:hover .arrow-icon,
  .mobile-drawer-link:active .arrow-icon,
  .mobile-drawer-link.active .arrow-icon {
    transform: translate3d(7px, 0, 0) scale(1.25) !important;
    opacity: 1 !important;
    color: var(--neon-gold-bright) !important;
  }

  /* ── Drawer header glow uplift (subtle, matches theme) ──────────────── */
  .mobile-drawer-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    padding-bottom: 1.4rem !important;
  }

  .drawer-logo-img {
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.5) !important;
  }

  /* ── Close button 3D press ───────────────────────────────────────────── */
  .close-drawer-btn:active {
    transform: scale(0.88) rotate(90deg) !important;
    transition: transform 0.1s ease !important;
  }

} /* END @media (max-width: 992px) — 3D Overhaul Block */

/* --------------------------------------------------------------------------
   5. GLOWING MARQUEE BANNER
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  background: var(--marquee-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(233, 30, 99, 0.3);
  backdrop-filter: blur(12px);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.6rem 0;
  margin-top: 110px;
  position: relative;
  z-index: 99;
  pointer-events: none; /* Prevents click/tap events from pausing or freezing the marquee */
  user-select: none;
}

.marquee-content {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
}

.marquee-content:hover,
.marquee-content:active,
.marquee-content:focus {
  animation-play-state: running !important;
}

.marquee-text {
  color: var(--text-main);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding-right: 4rem;
  display: inline-block;
}

.marquee-text strong {
  color: var(--neon-gold-bright);
}

@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION & MULTI-COLOR BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4rem 0 6rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-royal);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 1.2rem 0 1.5rem 0;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* Base Uiverse Futuristic Button */
.btn-futuristic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1.05rem 2.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-modern);
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  outline: none;
  overflow: hidden;
  transition: var(--transition-fast);
  z-index: 1;
}

/* Hero Primary Action Button - Flame Magenta Gradient */
.btn-primary-glow {
  background: linear-gradient(135deg, #E91E63 0%, #D4AF37 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4) !important;
  border: 1.5px solid #FF80AB !important;
}

[data-theme="dark"] .btn-primary-glow {
  background: linear-gradient(135deg, #FF2E93 0%, #FFD700 100%) !important;
  color: #04030F !important;
  border-color: #FFD700;
}

.btn-primary-glow:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(233, 30, 99, 0.6) !important;
}

/* Hero Secondary Action Button - Emerald Cyan & Amethyst Glass */
.btn-secondary-glass {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.18) 0%, rgba(142, 36, 170, 0.18) 100%) !important;
  color: var(--text-main) !important;
  border: 2px solid var(--neon-cyan) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.25) !important;
}

.btn-secondary-glass:hover {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%) !important;
  color: #FFFFFF !important;
  border-color: var(--neon-purple) !important;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(142, 36, 170, 0.45) !important;
}

/* --------------------------------------------------------------------------
   AFFILIATED BOARD EMBLEM LOGO - PROMINENT STANDARD FIT & FULL CONTAINER FILL
   -------------------------------------------------------------------------- */
.board-affiliation-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--neon-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  margin-top: 1.8rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
  max-width: 580px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-affiliation-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.28);
}

.board-affiliation-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(233, 30, 99, 0.08) 100%);
  border: 1.5px solid var(--neon-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.board-affiliation-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon-pink);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.22), 0 0 20px var(--pink-glow);
}

.board-emblem-container {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  min-height: 100px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2.5px solid var(--neon-gold) !important;
  box-shadow: 0 0 22px var(--gold-glow) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.board-emblem-img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  transform: scale(1.34) !important; /* Crops outer white JPEG padding, filling container with emblem text & details 100% unclipped! */
  mix-blend-mode: multiply !important; /* Seamlessly blends JPEG white background, making red text & artwork crystal clear! */
  filter: contrast(1.25) saturate(1.3) brightness(0.96) !important;
}

.board-badge-title, .board-card-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--neon-gold-bright) !important;
  font-family: var(--font-royal) !important;
  display: block !important;
}

.board-badge-sub, .board-card-details {
  font-size: 0.9rem !important;
  color: var(--text-sub) !important;
  margin-top: 4px !important;
  line-height: 1.5 !important;
}

/* PROMINENT SOCIAL MEDIA BRAND BUTTONS */
.btn-social-youtube {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.45) !important;
  border: 2px solid #FF4D4D !important;
  padding: 1.1rem 2.2rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

.btn-social-youtube i { font-size: 1.4rem !important; }

.btn-social-youtube:hover {
  transform: translateY(-4px) scale(1.06) !important;
  box-shadow: 0 16px 40px rgba(255, 0, 0, 0.65) !important;
}

.btn-social-facebook {
  background: linear-gradient(135deg, #1877F2 0%, #0D5CB6 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(24, 119, 242, 0.45) !important;
  border: 2px solid #5BA3FF !important;
  padding: 1.1rem 2.2rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

.btn-social-facebook i { font-size: 1.4rem !important; }

.btn-social-facebook:hover {
  transform: translateY(-4px) scale(1.06) !important;
  box-shadow: 0 16px 40px rgba(24, 119, 242, 0.65) !important;
}

.btn-social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(220, 39, 67, 0.45) !important;
  border: 2px solid #FF75A5 !important;
  padding: 1.1rem 2.2rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

.btn-social-instagram i { font-size: 1.4rem !important; }

.btn-social-instagram:hover {
  transform: translateY(-4px) scale(1.06) !important;
  box-shadow: 0 16px 40px rgba(220, 39, 67, 0.65) !important;
}

.hero-media-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --------------------------------------------------------------------------
   FOUNDER CLOUD-SHAPE PORTRAIT — SOLID, OPAQUE, PREMIUM ORGANIC BLOB SHAPE
   -------------------------------------------------------------------------- */

/* Outer wrapper — positions glow ring behind the image */
.founder-cloud-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

/* Continuous morphing glowing aura ring BEHIND the image */
.founder-cloud-glow-ring {
  position: absolute;
  inset: -14px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, var(--neon-gold), var(--neon-pink), var(--neon-cyan));
  animation: cloudMorphAura 8s ease-in-out infinite alternate;
  filter: blur(25px);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .founder-cloud-glow-ring {
  background: linear-gradient(135deg, var(--neon-gold), var(--neon-pink), rgba(0, 188, 212, 0.4));
  opacity: 0.5;
}

@keyframes cloudMorphAura {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  33% {
    border-radius: 40% 60% 70% 30% / 50% 60% 30% 60%;
  }
  66% {
    border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%;
  }
  100% {
    border-radius: 50% 50% 40% 60% / 60% 30% 70% 40%;
  }
}

/* Frame that morphs its cloud shape border-radius continuously */
.founder-cloud-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 3.5px;
  background: linear-gradient(135deg, var(--neon-gold), rgba(233, 30, 99, 0.8), rgba(0, 188, 212, 0.8));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  animation: cloudMorphFrame 8s ease-in-out infinite alternate;
  transition: transform 0.4s ease-in-out;
  cursor: default;
}

.founder-cloud-frame:hover {
  transform: scale(1.03);
}

@keyframes cloudMorphFrame {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  33% {
    border-radius: 40% 60% 70% 30% / 50% 60% 30% 60%;
  }
  66% {
    border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%;
  }
  100% {
    border-radius: 50% 50% 40% 60% / 60% 30% 70% 40%;
  }
}

/* The actual image cutout - 100% opaque, bright, crystal clear, unmoving */
.founder-cloud-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  background-color: #0b091a !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: none !important;
}

[data-theme="light"] .founder-cloud-img {
  background-color: #fdf8f0 !important;
}

/* Disabled shimmer overlay so subject's face is 100% clear with zero discoloration */
.founder-cloud-shimmer {
  display: none !important;
}

@keyframes shimmerFade {
  0%   { opacity: 0.4; }
  100% { opacity: 0.9; }
}

/* --------------------------------------------------------------------------
   7. FLUID ORGANIC SVG SHAPE DIVIDERS (PIXEL-PERFECT SEAMLESS MOBILE FIT)
   -------------------------------------------------------------------------- */
.fluid-shape-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 5;
  margin-bottom: -2px; /* Eliminates 1px-3px sub-pixel gaps on mobile screens */
  margin-top: -1px;
}

/* --------------------------------------------------------------------------
   ACADEMY HIGHLIGHTS SECTION - WHY CHOOSE US
   -------------------------------------------------------------------------- */
.academy-highlights-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-surface-1) 0%, var(--bg-deep) 100%);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -5px rgba(212, 175, 55, 0.15), 0 4px 15px -3px rgba(233, 30, 99, 0.1);
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-gold), var(--neon-pink), var(--neon-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px -5px rgba(212, 175, 55, 0.25), 0 8px 25px -3px rgba(233, 30, 99, 0.15);
  border-color: var(--neon-gold);
}

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

.highlight-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(233, 30, 99, 0.15));
  border: 1.5px solid var(--neon-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--neon-gold-bright);
  flex-shrink: 0;
}

.highlight-card-title {
  font-family: var(--font-royal);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.highlight-card-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   FEE BREAKDOWN PANEL
   -------------------------------------------------------------------------- */
.fee-breakdown-panel {
  background: rgba(20, 15, 50, 0.15);
  border: 1.5px solid var(--neon-gold);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-top: 1.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

[data-theme="light"] .fee-breakdown-panel {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--neon-gold);
}

[data-theme="dark"] .fee-breakdown-panel {
  background: linear-gradient(135deg, rgba(7, 5, 30, 0.7) 0%, rgba(11, 8, 38, 0.85) 100%);
}

.fee-panel-title {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--neon-gold-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fee-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}

.fee-panel-label {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 500;
}

.fee-panel-amount {
  font-size: 1.05rem;
  font-weight: 900;
  font-family: var(--font-modern);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fee-admission {
  color: var(--neon-gold-bright);
}

.fee-monthly {
  color: var(--neon-pink);
  font-size: 1.15rem;
}

.fee-tag {
  font-size: 0.62rem;
  font-weight: 900;
  font-family: var(--font-tech);
  letter-spacing: 0.5px;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--neon-gold-bright);
  padding: 2px 8px;
  border-radius: 50px;
  vertical-align: middle;
}

.fee-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  margin: 0.2rem 0;
}

/* Summary Card Premium Overrides */
.summary-card-premium {
  background: rgba(7, 5, 30, 0.35) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}

/* --------------------------------------------------------------------------
   VOUCHER NEXT-STEPS PANEL (REQUIRED DOCUMENTS)
   -------------------------------------------------------------------------- */
.voucher-next-steps {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.12) 0%, rgba(212, 175, 55, 0.12) 100%);
  border: 2px solid #FF9800;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin: 1.4rem 0;
  text-align: left;
}

.voucher-next-steps-icon {
  font-size: 2rem;
  color: #FF9800;
  flex-shrink: 0;
  margin-top: 2px;
}

.voucher-next-steps-title {
  font-family: var(--font-modern);
  font-size: 1rem;
  font-weight: 900;
  color: #FF9800;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.voucher-next-steps-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.65;
  margin: 0;
}

/* Mobile responsiveness for cloud wrapper */
@media (max-width: 768px) {
  .founder-cloud-wrapper {
    max-width: 300px;
  }
  .founder-cloud-img {
    max-height: 340px;
  }
}

.fluid-shape-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 70px;
  transform: scaleY(1.05);
  shape-rendering: geometricPrecision;
  transition: height 0.3s ease;
}

.fluid-shape-divider .shape-fill-surface {
  fill: var(--bg-surface-1);
}

.fluid-shape-divider .shape-fill-deep {
  fill: var(--bg-deep);
}

/* --------------------------------------------------------------------------
   8. ABOUT US SECTION & ANIMATED STATS COUNTERS
   -------------------------------------------------------------------------- */
.about-section {
  background: transparent;
  padding: 5rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card-glow {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 250, 242, 0.88) 50%, rgba(255, 245, 248, 0.9) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: 0 25px 60px -12px rgba(212, 175, 55, 0.2), 
              0 12px 30px -8px rgba(233, 30, 99, 0.15),
              0 0 35px rgba(212, 175, 55, 0.12),
              inset 0 1px 2px rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="dark"] .about-card-glow {
  background: linear-gradient(135deg, rgba(20, 15, 52, 0.92) 0%, rgba(13, 10, 36, 0.88) 50%, rgba(26, 14, 46, 0.9) 100%);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7), 
              0 12px 30px -8px rgba(255, 46, 147, 0.22),
              0 0 35px rgba(255, 215, 0, 0.15),
              inset 0 1px 1px rgba(255, 215, 0, 0.25);
}

.about-card-glow:hover {
  box-shadow: 0 30px 70px -10px rgba(212, 175, 55, 0.28), 
              0 15px 35px -5px rgba(233, 30, 99, 0.22),
              0 0 45px rgba(212, 175, 55, 0.2);
  border-color: var(--neon-gold);
}

.about-card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-gold) 0%, var(--neon-pink) 50%, var(--neon-cyan) 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: 0 0 16px var(--gold-glow);
}

.about-card-glow::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.12), transparent 70%);
  pointer-events: none;
  border-radius: 0 var(--radius-lg) 0 0;
}

.about-highlight-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .highlight-item {
  background: rgba(18, 14, 52, 0.5);
  border-color: rgba(255, 215, 0, 0.18);
}

.highlight-item:hover {
  transform: translateY(-3px);
  border-color: var(--neon-gold);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.15), 0 3px 8px rgba(233, 30, 99, 0.1);
}

[data-theme="dark"] .highlight-item:hover {
  background: rgba(28, 20, 72, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(233, 30, 99, 0.12) 100%);
  border: 1.5px solid var(--neon-gold);
  color: var(--neon-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--gold-glow);
}

.highlight-text h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.highlight-text p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.stat-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 251, 245, 0.9) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 2.4rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px -5px rgba(212, 175, 55, 0.16), 0 5px 15px -3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .stat-box {
  background: linear-gradient(145deg, rgba(22, 16, 56, 0.92) 0%, rgba(13, 10, 36, 0.9) 100%);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.1);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-gold) 0%, var(--neon-pink) 60%, var(--neon-cyan) 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0.85;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--neon-pink);
  box-shadow: 0 20px 45px var(--pink-glow), 0 0 25px rgba(212, 175, 55, 0.25);
}

.stat-box:hover::before {
  height: 5px;
  opacity: 1;
}

.stat-number {
  font-family: var(--font-royal);
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-gold-bright) 0%, var(--neon-gold) 50%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 2px 8px var(--gold-glow));
  display: inline-block;
}

.stat-label {
  color: var(--text-sub);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. COURSES & SYLLABUS SECTION - DISCIPLINE-SPECIFIC MULTI-COLOR BUTTONS
   -------------------------------------------------------------------------- */
.courses-section {
  padding: 5rem 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
}

.course-card {
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px -5px rgba(212, 175, 55, 0.15), 0 4px 15px -3px rgba(233, 30, 99, 0.1);
}

.course-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 15px 50px -5px rgba(212, 175, 55, 0.25), 0 8px 25px -3px rgba(233, 30, 99, 0.15);
}

.course-img-container {
  height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.15) 0%, rgba(233, 30, 99, 0.08) 55%, transparent 100%);
}

[data-theme="dark"] .course-img-container {
  background: radial-gradient(circle at 50% 35%, rgba(255, 215, 0, 0.16) 0%, rgba(255, 46, 147, 0.1) 55%, rgba(13, 10, 36, 0.5) 100%);
}

/* Subtle Stage Bottom Gradient Blend Overlay (intersects & blends with card structure/text) */
.course-img-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background: linear-gradient(to top, var(--bg-card) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 3;
  transition: background 0.3s ease;
}

[data-theme="dark"] .course-img-container::after {
  background: linear-gradient(to top, var(--bg-card) 0%, rgba(18, 14, 52, 0) 100%);
}

.course-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Premium 3D Transparent Character Styling */
.discipline-character-img {
  width: auto !important;
  max-width: 90% !important;
  height: 100% !important;
  max-height: 245px !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  display: block !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.38)) drop-shadow(0 4px 10px rgba(212, 175, 55, 0.28)) contrast(1.06) brightness(1.02);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  transform-origin: bottom center;
  z-index: 2;
  pointer-events: none;
}

/* Hover 3D Pop Out & Floating Animation */
.course-card:hover .discipline-character-img {
  transform: scale(1.06) translateY(-6px);
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.48)) drop-shadow(0 6px 18px rgba(212, 175, 55, 0.45)) contrast(1.09) brightness(1.05);
}

.course-card:hover .course-img-container img:not(.discipline-character-img) {
  transform: scale(1.12);
}

.course-category-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-surface-1);
  border: 1px solid var(--neon-gold);
  color: var(--neon-gold-bright);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.course-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-family: var(--font-royal);
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.course-desc {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-meta-item i {
  color: var(--neon-pink);
}

/* Distinct Multi-Color Course Action Buttons */
.btn-card-action {
  width: 100%;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-modern);
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-card-action-kathak {
  background: linear-gradient(135deg, #D4AF37 0%, #E91E63 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
  border: 1px solid #FFE680 !important;
}

.btn-card-action-kathak:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(233, 30, 99, 0.45) !important;
}

.btn-card-action-rabindra {
  background: linear-gradient(135deg, #00BCD4 0%, #8E24AA 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.35) !important;
  border: 1px solid #80DEEA !important;
}

.btn-card-action-rabindra:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(142, 36, 170, 0.45) !important;
}

.btn-card-action-folk {
  background: linear-gradient(135deg, #FF9800 0%, #E91E63 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.35) !important;
  border: 1px solid #FFE082 !important;
}

.btn-card-action-folk:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(233, 30, 99, 0.45) !important;
}

.btn-card-action-tabla {
  background: linear-gradient(135deg, #8E24AA 0%, #D4AF37 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(142, 36, 170, 0.35) !important;
  border: 1px solid #CE93D8 !important;
}

.btn-card-action-tabla:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45) !important;
}

/* --------------------------------------------------------------------------
   10. PERFORMANCE GALLERY (ADVANCED CSS GRID MASONRY & LIGHTNING FAST LIGHTBOX)
   -------------------------------------------------------------------------- */
.gallery-section {
  background: transparent;
  padding: 4.5rem 0;
  position: relative;
}

/* Uniform CSS Grid with 20px Row & Column Breathing Room */
.performance-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; /* Equal uniform breathing room between both rows AND columns */
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

@media (min-width: 1920px) {
  .performance-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .performance-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .performance-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 320px) {
  .performance-gallery-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
}

/* Photo Card - Elevated Z-Index & Instant Hit Testing */
.gallery-photo-card {
  position: relative;
  z-index: 12 !important;
  pointer-events: auto !important;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--glass-border, rgba(212, 175, 55, 0.22));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  outline: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  will-change: transform, box-shadow;
}

.gallery-photo-card:focus-visible {
  outline: none;
  border-color: var(--neon-gold, #D4AF37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.65), 0 16px 38px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.3);
  transform: translateY(-4px) scale(1.01) translate3d(0, 0, 0);
  z-index: 15 !important;
}

.gallery-photo-card:hover {
  transform: translateY(-4px) scale(1.01) translate3d(0, 0, 0);
  border-color: var(--neon-gold, #D4AF37);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.3), 0 4px 12px rgba(233, 30, 99, 0.18);
  z-index: 15 !important;
}

.gallery-photo-card:active {
  transform: translateY(-1px) scale(0.995) translate3d(0, 0, 0);
  transition-duration: 0.1s;
}

/* Translucent Glass Card Wrapper (Zero Black Background) */
.gallery-photo-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: auto !important;
}

/* Instantaneous Zero-Delay Image Display Directly from Cache */
.gallery-photo-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1 !important; /* Instant 0-second display on refresh without waiting for JS */
  filter: brightness(0.97) contrast(1.02);
  transform: scale(1) translate3d(0, 0, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s ease;
  will-change: transform, filter;
  pointer-events: auto !important;
}

.gallery-photo-card:hover .gallery-photo-wrapper img,
.gallery-photo-card:focus-visible .gallery-photo-wrapper img {
  transform: scale(1.03) translate3d(0, 0, 0);
  filter: brightness(1.04) contrast(1.04) saturate(1.08);
}

/* Frosted Glassmorphism Overlay (Zero Pointer Event Interference) */
.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 4, 15, 0.92) 0%, rgba(6, 4, 15, 0.45) 50%, rgba(6, 4, 15, 0.05) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1rem;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity;
}

.gallery-photo-card:hover .gallery-photo-overlay,
.gallery-photo-card:focus-visible .gallery-photo-overlay {
  opacity: 1;
}

.gallery-card-content {
  transform: translateY(8px) translateZ(0);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none !important;
}

.gallery-photo-card:hover .gallery-card-content,
.gallery-photo-card:focus-visible .gallery-card-content {
  transform: translateY(0) translateZ(0);
}

.gallery-card-caption {
  font-family: var(--font-royal, 'Cinzel', serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  line-height: 1.35;
  pointer-events: none !important;
}

.gallery-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-tech, 'Space Grotesk', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon-gold-bright, #FFE680);
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 3px 10px;
  border-radius: 14px;
  letter-spacing: 0.5px;
  pointer-events: none !important;
}

/* Fullscreen Modern Modal / Lightbox */
.gallery-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(6, 4, 15, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.2s ease-out;
  will-change: opacity;
  touch-action: manipulation;
  overflow: hidden;
}

.gallery-lightbox-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Stylized High-Contrast Close Button Fixed to Viewport Top-Right */
.gallery-lightbox-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.75) !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  color: #FFFFFF !important;
  font-size: 2.2rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease !important;
  z-index: 9999999 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.3) !important;
  touch-action: manipulation;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  background: rgba(233, 30, 99, 0.95) !important;
  border-color: #FFFFFF !important;
  transform: scale(1.1) rotate(90deg) !important;
  box-shadow: 0 0 25px rgba(233, 30, 99, 0.9) !important;
}

.gallery-lightbox-container {
  position: relative;
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto;
  height: auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: auto !important;
  pointer-events: auto;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.96) translate3d(0, 0, 0);
  transition: opacity 0.2s ease-out, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  min-height: 0 !important;
  min-width: 0 !important;
}

.gallery-lightbox-backdrop.active .gallery-lightbox-container {
  opacity: 1 !important;
  transform: scale(1) translate3d(0, 0, 0);
}

.gallery-lightbox-media {
  position: relative;
  max-width: 90vw !important;
  max-height: calc(90vh - 54px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.25);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  background: #000000;
  flex: 0 1 auto;
  min-height: 0 !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.gallery-lightbox-media img,
#lightbox-img {
  max-width: 90vw !important;
  max-height: calc(90vh - 54px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  flex-shrink: 1 !important;
  border-radius: inherit;
  transform: translate3d(0, 0, 0);
  will-change: opacity;
}

.gallery-lightbox-info {
  margin-top: 0.75rem;
  width: 100%;
  max-width: 90vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.35rem;
  gap: 1rem;
  flex-shrink: 0;
  box-sizing: border-box;
}

.gallery-lightbox-title {
  font-family: var(--font-royal, 'Cinzel', serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.gallery-lightbox-year {
  font-family: var(--font-tech, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neon-gold-bright, #FFE680);
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Mobile & Touch Responsiveness */
@media (max-width: 768px) {
  .gallery-photo-card {
    border-radius: 12px;
  }
  .gallery-photo-wrapper img {
    filter: none !important;
  }
  .gallery-photo-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(6, 4, 15, 0.88) 0%, rgba(6, 4, 15, 0.3) 45%, transparent 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0.75rem 0.65rem;
  }
  .gallery-card-content {
    transform: none !important;
  }
  .gallery-card-caption {
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
  }
  .gallery-card-tag {
    font-size: 0.68rem;
    padding: 2px 7px;
  }
  .gallery-lightbox-backdrop {
    padding: 0.75rem !important;
  }
  .gallery-lightbox-close {
    top: max(14px, env(safe-area-inset-top, 14px)) !important;
    right: max(14px, env(safe-area-inset-right, 14px)) !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.25rem !important;
  }
  .gallery-lightbox-container {
    max-width: 94vw !important;
    max-height: 92vh !important;
  }
  .gallery-lightbox-media {
    max-width: 94vw !important;
    max-height: calc(92vh - 46px) !important;
  }
  .gallery-lightbox-media img,
  #lightbox-img {
    max-width: 94vw !important;
    max-height: calc(92vh - 46px) !important;
    object-fit: contain !important;
  }
  .gallery-lightbox-title {
    font-size: 1.05rem;
  }
  .gallery-lightbox-year {
    font-size: 0.82rem;
    padding: 2px 8px;
  }
}

@media (max-width: 320px) {
  .gallery-photo-card {
    border-radius: 10px;
    margin-bottom: 8px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .gallery-photo-card:hover {
    transform: none !important;
  }
  .gallery-photo-card:hover .gallery-photo-wrapper img {
    transform: none !important;
  }
  .gallery-lightbox-backdrop {
    padding: 6px !important;
  }
  .gallery-lightbox-close {
    top: 8px !important;
    right: 8px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }
  .gallery-lightbox-container {
    max-width: 96vw !important;
    max-height: 94vh !important;
  }
  .gallery-lightbox-media {
    max-width: 96vw !important;
    max-height: calc(94vh - 38px) !important;
    border-radius: 8px;
  }
  .gallery-lightbox-media img,
  #lightbox-img {
    max-width: 96vw !important;
    max-height: calc(94vh - 38px) !important;
    object-fit: contain !important;
  }
  .gallery-lightbox-title {
    font-size: 0.95rem;
  }
}

/* --------------------------------------------------------------------------
   11. ADMISSION SYSTEM - FIXED NON-BLUR, NON-TILTING SOLID FORM CARD
   -------------------------------------------------------------------------- */
.form-section, .admission-section {
  padding: 5rem 0;
}

.admission-container-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

/* FIXED Crisp Solid Background Form Card - NO 3D TILT, NO BLUR, NO DISTORTION */
.form-glass-card, .summary-card {
  transform: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  background: #FFFFFF !important;
  border: 2px solid var(--neon-gold) !important;
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  box-shadow: 0 10px 40px -5px rgba(212, 175, 55, 0.15), 0 4px 15px -3px rgba(233, 30, 99, 0.1) !important;
}

[data-theme="dark"] .form-glass-card, 
[data-theme="dark"] .summary-card {
  background: #0B0826 !important;
  border-color: var(--neon-gold) !important;
  box-shadow: 0 10px 40px -5px rgba(212, 175, 55, 0.2), 0 4px 15px -3px rgba(233, 30, 99, 0.15) !important;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
  margin-bottom: 1.1rem;
}

.floating-group {
  position: relative;
  margin-bottom: 0;
}

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

/* CRISP INPUT BOXES WITH CLEAR NATIVE DATE PICKER CALENDAR INDICATOR */
.floating-input, .floating-select, .floating-textarea {
  width: 100%;
  background: #FAF7F2 !important;
  border: 2px solid rgba(212, 175, 55, 0.6) !important;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem 0.65rem 1.4rem;
  color: #0D1B2A !important;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-modern);
  outline: none;
  transition: var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Prominent Native Calendar Picker Icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  display: block;
  background: transparent;
  color: var(--neon-gold-bright);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 4px;
  filter: invert(45%) sepia(80%) saturate(1500%) hue-rotate(10deg);
  opacity: 0.9;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.1);
}

[data-theme="dark"] .floating-input, 
[data-theme="dark"] .floating-select, 
[data-theme="dark"] .floating-textarea {
  background: rgba(19, 13, 58, 0.85) !important;
  border-color: rgba(255, 215, 0, 0.4) !important;
  color: #FFFFFF !important;
}

.floating-input:focus, .floating-select:focus, .floating-textarea:focus {
  border-color: var(--neon-pink) !important;
  box-shadow: 0 0 20px var(--pink-glow) !important;
  background: #FFFFFF !important;
}

[data-theme="dark"] .floating-input:focus, 
[data-theme="dark"] .floating-select:focus, 
[data-theme="dark"] .floating-textarea:focus {
  background: #130D3A !important;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 1.4rem;
  transform: translateY(-50%);
  color: #1B263B !important;
  font-size: 0.98rem;
  pointer-events: none;
  transition: all 0.25s ease;
  font-weight: 700;
}

[data-theme="dark"] .floating-label {
  color: #B8C0E0 !important;
}

.floating-textarea {
  resize: none !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  overflow-y: auto;
  line-height: 1.35;
  padding: 1.2rem 1.4rem 0.5rem 1.4rem !important;
}

.floating-textarea + .floating-label,
.floating-textarea ~ .floating-label {
  top: 1.15rem;
  transform: none;
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
.floating-select:focus ~ .floating-label,
.floating-select:valid ~ .floating-label,
.floating-textarea:focus ~ .floating-label,
.floating-textarea:not(:placeholder-shown) ~ .floating-label {
  top: 0.45rem;
  transform: none;
  font-size: 0.78rem;
  color: #B8860B !important;
  font-weight: 800;
}

[data-theme="dark"] .floating-input:focus ~ .floating-label,
[data-theme="dark"] .floating-input:not(:placeholder-shown) ~ .floating-label,
[data-theme="dark"] .floating-select:focus ~ .floating-label,
[data-theme="dark"] .floating-select:valid ~ .floating-label,
[data-theme="dark"] .floating-textarea:focus ~ .floating-label,
[data-theme="dark"] .floating-textarea:not(:placeholder-shown) ~ .floating-label {
  color: #FFD700 !important;
}

.dance-style-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

/* DANCE STYLE CARDS - HIGH CONTRAST UNSELECTED & ACTIVE NEON GLOW */
.style-option-card {
  background: #FAF7F2;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: manipulation;
}

[data-theme="dark"] .style-option-card {
  background: rgba(19, 13, 58, 0.85);
  border-color: rgba(255, 215, 0, 0.35);
}

.style-option-card:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--neon-gold);
}

.style-option-card:active {
  transform: scale(0.96) !important;
}

.style-option-card[data-value="kathak"].selected {
  border-color: #D4AF37 !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(233, 30, 99, 0.18)) !important;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5) !important;
  transform: scale(1.02);
}

.style-option-card[data-value="rabindra"].selected {
  border-color: #00BCD4 !important;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.25), rgba(142, 36, 170, 0.18)) !important;
  box-shadow: 0 0 25px rgba(0, 188, 212, 0.5) !important;
  transform: scale(1.02);
}

.style-option-card[data-value="nazrul"].selected {
  border-color: #FF9800 !important;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.25), rgba(212, 175, 55, 0.2)) !important;
  box-shadow: 0 0 25px rgba(255, 152, 0, 0.5) !important;
  transform: scale(1.02);
}

.style-option-card[data-value="creative"].selected {
  border-color: #E91E63 !important;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.25), rgba(255, 46, 147, 0.18)) !important;
  box-shadow: 0 0 25px rgba(233, 30, 99, 0.5) !important;
  transform: scale(1.02);
}

.style-option-card i {
  font-size: 1.8rem;
  color: var(--neon-gold-bright);
  margin-bottom: 0.5rem;
  display: block;
  transition: transform 0.3s ease;
}

.style-option-card:hover i,
.style-option-card.selected i {
  transform: scale(1.18);
}

.style-option-card span {
  font-size: 0.92rem;
  font-weight: 800;
  display: block;
  color: #0D1B2A;
  line-height: 1.2;
}

[data-theme="dark"] .style-option-card span {
  color: #FFFFFF;
}

/* Pulsing Multi-Color Form Submit Button */
.btn-submit-multicolor {
  background: linear-gradient(135deg, #E91E63 0%, #8E24AA 50%, #D4AF37 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1.5px solid #FFD700 !important;
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4) !important;
}

.btn-submit-multicolor:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 16px 45px rgba(142, 36, 170, 0.5) !important;
}

.summary-card {
  position: sticky;
  top: 105px;
}

.summary-header {
  border-bottom: 1px dashed var(--glass-border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.summary-label {
  color: var(--text-sub);
}

.summary-value {
  font-weight: 800;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   12. SLIM & SLEEK FLOATING MUSIC CONTROLLER WIDGET
   -------------------------------------------------------------------------- */
.music-controller-widget {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1500;
  background: var(--glass-bg);
  border: 1.5px solid var(--neon-gold);
  backdrop-filter: blur(18px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px var(--gold-glow);
  cursor: pointer;
  transition: var(--transition-fast);
}

.music-controller-widget:hover {
  transform: scale(1.05);
  box-shadow: 0 0 28px var(--pink-glow);
  border-color: var(--neon-pink);
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 12px;
}

.eq-bar {
  width: 2.5px;
  background: var(--neon-gold);
  border-radius: 2px;
  height: 3px;
  transition: height 0.2s ease;
}

.music-controller-widget.playing .eq-bar:nth-child(1) { animation: eqAnim 0.8s infinite alternate; }
.music-controller-widget.playing .eq-bar:nth-child(2) { animation: eqAnim 1.2s infinite alternate 0.2s; }
.music-controller-widget.playing .eq-bar:nth-child(3) { animation: eqAnim 0.9s infinite alternate 0.4s; }
.music-controller-widget.playing .eq-bar:nth-child(4) { animation: eqAnim 1.1s infinite alternate 0.1s; }

@keyframes eqAnim {
  0% { height: 3px; }
  100% { height: 12px; }
}

.music-label {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   13. CONTACT SECTION & INTERACTIVE GOOGLE MAPS HIGH-CONTRAST CARD
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 5rem 0;
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.contact-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 188, 212, 0.12);
  border: 1.5px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.contact-details h5 {
  color: var(--text-sub);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p {
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Map Card Container */
.map-box {
  background: var(--bg-card);
  border: 2px solid var(--neon-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25), 0 8px 25px rgba(233, 30, 99, 0.15);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.map-box:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 28px 65px var(--pink-glow);
  transform: translateY(-5px);
}

.map-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  width: 100%;
}

.google-map-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--neon-gold);
  box-shadow: 0 10px 30px var(--gold-glow);
  margin-bottom: 1.6rem;
  transition: var(--transition-fast);
}

.google-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 340px;
}

.google-map-wrapper:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 15px 50px -5px rgba(212, 175, 55, 0.25), 0 8px 25px -3px rgba(233, 30, 99, 0.15);
}

.map-box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  flex-wrap: wrap;
}

/* Distinct Multi-Color Google Maps Action Buttons */
.btn-map-action {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-family: var(--font-modern) !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  box-shadow: 0 8px 25px var(--gold-glow) !important;
  border: 1px solid var(--neon-gold-bright) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: var(--transition-fast) !important;
}

.btn-map-action:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 14px 35px var(--gold-glow) !important;
}

.btn-helpline-action {
  background: linear-gradient(135deg, #00BCD4 0%, #008B8B 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-family: var(--font-modern) !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4) !important;
  border: 1px solid #80DEEA !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: var(--transition-fast) !important;
}

.btn-helpline-action:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 14px 35px rgba(0, 188, 212, 0.6) !important;
}

/* SYMMETRICAL PYRAMID BUTTON GRID (2 TOP, 1 CENTERED BOTTOM - EQUAL BUTTON SIZES) */
.pyramid-button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.btn-pyramid-item {
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius-md) !important;
  padding: 0 1.2rem !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  cursor: pointer !important;
}

/* Bottom Centered Button directly beneath top two buttons */
.btn-pyramid-bottom {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  width: 85% !important;
}

@media (max-width: 768px) {
  .btn-pyramid-item {
    height: 48px !important;
    font-size: 0.85rem !important;
    padding: 0 0.8rem !important;
  }
  .btn-pyramid-bottom {
    width: 92% !important;
  }
}

/* Contact Action Buttons Grid & Buttons (Balanced, Clean & Fully Responsive across Desktop and Mobile) */
.contact-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1.4rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-action-buttons a.btn-futuristic {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0.75rem 0.8rem !important;
  height: 48px !important;
  min-height: 48px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.btn-direct-call {
  background: linear-gradient(135deg, #00C853 0%, #00E676 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35) !important;
  border: 1.5px solid #69F0AE !important;
}

.btn-direct-call:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(0, 200, 83, 0.55) !important;
}

.btn-direct-call:active {
  transform: scale(0.96) !important;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4) !important;
}

.btn-direct-call i {
  animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  15% { transform: scale(1.2) rotate(-12deg); }
  30% { transform: scale(1.2) rotate(12deg); }
  45% { transform: scale(1.2) rotate(-12deg); }
  60% { transform: scale(1) rotate(0deg); }
}

.btn-direct-email {
  background: linear-gradient(135deg, #E91E63 0%, #FF9800 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.35) !important;
  border: 1.5px solid #FF80AB !important;
}

.btn-direct-email:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(233, 30, 99, 0.55) !important;
}

.btn-direct-email:active {
  transform: scale(0.96) !important;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.4) !important;
}

.btn-direct-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
  border: 1.5px solid #69F0AE !important;
}

.btn-direct-whatsapp:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55) !important;
}

.btn-direct-whatsapp:active {
  transform: scale(0.96) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
}

/* Responsive Fair-Ratio Breakpoints for All Mobile and Tablet Screens */
@media (max-width: 900px) {
  .contact-action-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 1.25rem;
  }
  .contact-action-buttons a.btn-futuristic {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.86rem !important;
    gap: 6px !important;
  }
}

@media (max-width: 768px) {
  .contact-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-top: 1.25rem !important;
    margin-bottom: 15px !important;
    width: 100% !important;
  }
  .contact-action-buttons a.btn-futuristic {
    flex: 1 1 calc(33.333% - 15px) !important;
    min-width: 100px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.84rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  .contact-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
  }
  .contact-action-buttons a.btn-futuristic {
    flex: 1 1 calc(50% - 15px) !important;
    min-width: 120px !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 320px) {
  .contact-action-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .contact-action-buttons a.btn-futuristic {
    width: 100% !important;
    flex: 1 1 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 0.75rem !important;
  }
}

/* Interactive Smartphone Dial Pad UI Styles */
.dialpad-modal-box {
  max-width: 440px !important;
  padding: 1.8rem 1.4rem !important;
  border-radius: 28px !important;
}

.dialpad-screen {
  font-family: var(--font-royal);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
  border: 1.5px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.6rem 1rem;
  margin: 0.8rem auto 1.1rem auto;
  max-width: 310px;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .dialpad-screen {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
}

.dialpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 270px;
  margin: 0 auto 1.3rem auto;
}

.dialpad-key {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1.5px solid var(--glass-border);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

[data-theme="dark"] .dialpad-key {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.dialpad-key:hover {
  background: rgba(0, 200, 83, 0.18);
  border-color: #00E676;
  transform: translateY(-2px);
}

.dialpad-key:active {
  background: rgba(0, 200, 83, 0.35);
  border-color: #00C853;
  transform: scale(0.92);
}

.dialpad-key .key-num {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-modern);
}

.dialpad-key .key-letters {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.simple-contact-text {
  color: var(--text-main);
  text-decoration: none;
  transition: opacity 0.2s;
}

.simple-contact-text:hover {
  opacity: 0.8;
}

.btn-email-action {
  background: linear-gradient(135deg, #E91E63 0%, #8E24AA 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-family: var(--font-modern) !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4) !important;
  border: 1px solid #FF80AB !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: var(--transition-fast) !important;
}

.btn-email-action:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 14px 35px rgba(233, 30, 99, 0.6) !important;
}

/* --------------------------------------------------------------------------
   14. FOOTER (PROMINENT & ENLARGED SOCIAL ICONS)
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-surface-2);
  border-top: 1.5px solid var(--glass-border);
  padding: 5rem 0 2.5rem 0;
}

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

.footer-brand p {
  color: var(--text-sub);
  margin: 1.2rem 0;
  max-width: 340px;
}

.footer-title {
  font-family: var(--font-royal);
  color: var(--text-main);
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-gold-bright);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  font-size: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: var(--transition-fast) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.social-icon-facebook {
  background: linear-gradient(135deg, #1877F2, #0D5CB6) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45) !important;
}

.social-icon-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(220, 39, 67, 0.45) !important;
}

.social-icon-youtube {
  background: linear-gradient(135deg, #FF0000, #CC0000) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.45) !important;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.14) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3) !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-sub);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   15. MODAL WINDOWS & RECEIPT VOUCHER
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.82);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none !important;
  visibility: hidden !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-backdrop:not(.active) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.modal-backdrop:not(.active) * {
  pointer-events: none !important;
}

.modal-box {
  background: var(--modal-bg);
  border: 1.5px solid var(--neon-gold);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 2.8rem;
  position: relative;
  box-shadow: 0 0 60px var(--gold-glow);
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(233, 30, 99, 0.12);
  border: 1.5px solid var(--neon-pink);
  color: var(--neon-pink);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.modal-close-btn:hover {
  background: var(--neon-pink);
  color: #FFFFFF;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 15px var(--pink-glow);
}

.modal-close-btn:active {
  transform: scale(0.92);
}

/* Symmetrical Modal Footer Action Bar & Internal Close Tab */
.modal-footer-action-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-close-modal-action {
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid var(--glass-border) !important;
  color: var(--text-main) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.btn-close-modal-action:hover {
  background: rgba(233, 30, 99, 0.15) !important;
  border-color: var(--neon-pink) !important;
  color: var(--neon-pink) !important;
  transform: translateY(-2px) !important;
}

.btn-close-modal-action:active {
  transform: scale(0.96) !important;
}

[data-theme="dark"] .btn-close-modal-action {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 215, 0, 0.3) !important;
}

@media (max-width: 480px) {
  .modal-footer-action-bar {
    flex-direction: column;
    gap: 8px;
  }
  .modal-footer-action-bar a,
  .modal-footer-action-bar button {
    width: 100% !important;
  }
  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
}

.receipt-card {
  background: var(--bg-surface-2);
  border: 2px dashed var(--neon-gold);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  margin: 1.8rem 0;
}

/* --------------------------------------------------------------------------
   16. UNIVERSAL MULTI-DEVICE RESPONSIVENESS (320px - 1400px+)
   -------------------------------------------------------------------------- */

/* Global Anti-Overflow & Touch Target Protocol */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, iframe, canvas, video, svg {
  max-width: 100% !important;
}

/* Tier 1: Tablets & All Mobile Screens (<= 1024px) - Seamless Mobile Drawer Navigation */
@media (max-width: 1024px) {
  .container {
    width: 94%;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .site-header {
    height: 95px;
  }

  .marquee-wrapper {
    margin-top: 95px;
    padding: 0.45rem 0;
  }

  .logo-glow-wrapper {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
  }

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

  .brand-sub {
    font-size: 0.75rem !important;
  }

  .nav-container {
    padding: 0 0.8rem;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
  }

  .hero-grid, .about-grid, .admission-container-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .summary-card {
    position: static;
  }

  /* CINEMATIC NEXT-LEVEL MOBILE SIDE NAVIGATION DRAWER (LUXURIOUS 0.65s TRANSITION) */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 85% !important;
    max-width: 320px !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background: linear-gradient(165deg, rgba(13, 27, 42, 0.98) 0%, rgba(20, 10, 45, 0.99) 100%) !important;
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border-left: 2px solid var(--neon-gold) !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.3) !important;
    padding: 5.5rem 1.6rem 2.5rem 1.6rem !important;
    gap: 0.75rem !important;
    transition: right 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1200 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  [data-theme="light"] .nav-links {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 242, 0.99) 100%);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.18);
  }

  .nav-links.active {
    right: 0 !important;
  }

  /* Mobile Nav Links with Animated Hover/Tap Shimmers & Micro-Interactions */
  .nav-link {
    font-size: 1.12rem;
    font-weight: 800;
    padding: 13px 16px;
    width: 100%;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.22), transparent);
    transition: left 0.6s ease;
  }

  .nav-link:hover::before,
  .nav-link:active::before {
    left: 100%;
  }

  .nav-link:hover,
  .nav-link:active,
  .nav-link.active {
    color: var(--neon-gold-bright) !important;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(233, 30, 99, 0.12) 100%) !important;
    transform: translateX(-5px) scale(1.02);
    padding-left: 22px;
  }

  .nav-arrow {
    font-size: 0.82rem;
    opacity: 0.6;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
  }

  .nav-link:hover .nav-arrow,
  .nav-link:active .nav-arrow,
  .nav-link.active .nav-arrow {
    transform: translateX(4px) scale(1.15);
    opacity: 1;
    color: var(--neon-gold-bright);
  }

  .section-header {
    margin-bottom: 2.2rem;
  }

  .hero-section, .about-section, .courses-section, .gallery-section, .testimonials-section, .admission-section, .form-section, .contact-section {
    padding: 3rem 0;
  }

  /* Fluid Shape Divider Seam Seal for Mobile Displays */
  .fluid-shape-divider {
    margin-bottom: -2px !important;
    margin-top: -1px !important;
  }

  .fluid-shape-divider svg {
    height: 48px !important;
    width: 100% !important;
    transform: scaleY(1.06) !important;
  }

  /* Universal 16px Font Size on Form Inputs to Prevent iOS Auto-Zoom */
  .floating-input, .floating-select, .floating-textarea {
    font-size: 16px !important;
    padding: 1.1rem 1.1rem 0.55rem 1.1rem !important;
    border-radius: 12px !important;
  }

  .form-glass-card, .summary-card {
    padding: 1.8rem 1.2rem !important;
    border-radius: var(--radius-md) !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
  }

  .floating-group {
    margin-bottom: 0;
  }

  .floating-label {
    left: 1.1rem !important;
    font-size: 0.92rem !important;
  }

  .dance-style-picker {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.95rem !important;
    margin-bottom: 1.2rem !important;
  }

  .style-option-card {
    padding: 1.1rem 0.7rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    border-radius: var(--radius-md) !important;
  }

  .style-option-card i {
    font-size: 1.75rem !important;
    margin-bottom: 0.3rem !important;
  }

  .style-option-card span {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  .btn-submit-multicolor {
    padding: 1.05rem 1.5rem !important;
    font-size: 1rem !important;
    border-radius: var(--radius-full) !important;
  }

  .receipt-card {
    padding: 1.4rem 1rem !important;
  }

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

  body {
    padding-bottom: calc(85px + env(safe-area-inset-bottom)) !important;
  }

  .music-controller-widget {
    bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    right: 14px;
    padding: 6px 12px;
    font-size: 0.75rem;
    z-index: 9998;
  }

  .map-box-footer {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* Tier 3: Compact Phones & Androids (<= 480px) */
@media (max-width: 480px) {
  .site-header, .header-wrapper {
    height: 86px !important;
  }

  .marquee-wrapper {
    margin-top: 86px !important;
  }

  .logo-glow-wrapper {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
  }

  .logo-glow-wrapper img {
    width: 68px !important;
    height: 68px !important;
  }

  .nav-container {
    padding: 0 0.6rem;
  }

  .brand-name {
    font-size: 1.05rem !important;
  }

  .brand-sub {
    font-size: 0.7rem !important;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .about-card-glow {
    padding: 1.8rem 1.2rem;
  }

  .about-highlight-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .stat-box {
    padding: 1.6rem 1.2rem;
    min-height: 150px;
  }

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

  .btn-futuristic {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
  }

  .form-glass-card {
    padding: 1.4rem 0.9rem !important;
  }

  .modal-box {
    padding: 1.4rem 0.9rem !important;
    width: 94% !important;
  }

  .social-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
  }

  .spotlight-avatar-img {
    width: 110px !important;
    height: 110px !important;
  }

  .testimonial-spotlight-card {
    padding: 1.8rem 1.2rem !important;
  }

  .testimonial-card {
    padding: 1.5rem 1.1rem !important;
  }
}

/* Tier 4: Ultra-Small Legacy Mobiles & Folded Displays (<= 359px - e.g. iPhone SE 1st Gen, 320px) */
@media (max-width: 359px) {
  .site-header, .header-wrapper {
    height: 78px !important;
  }

  .marquee-wrapper {
    margin-top: 78px !important;
  }

  .logo-glow-wrapper {
    width: 58px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
  }

  .logo-glow-wrapper img {
    width: 60px !important;
    height: 60px !important;
  }

  .brand-name {
    font-size: 0.92rem !important;
  }

  .brand-sub {
    font-size: 0.62rem !important;
  }

  .hero-title {
    font-size: 1.6rem !important;
  }

  .section-title {
    font-size: 1.45rem !important;
  }

  .btn-pyramid-item {
    height: 44px !important;
    font-size: 0.8rem !important;
    padding: 0 0.6rem !important;
  }

  .btn-pyramid-bottom {
    width: 100% !important;
  }

  .form-glass-card, .summary-card {
    padding: 1.2rem 0.75rem !important;
  }

  .qr-modal-container canvas, .qr-modal-container img {
    max-width: 160px !important;
    max-height: 160px !important;
  }
}

/* Custom Luxurious Flatpickr Interactive Calendar Styling */
.flatpickr-calendar {
  background: #FFFFFF !important;
  border: 2px solid var(--neon-gold) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22) !important;
  font-family: var(--font-modern) !important;
  padding: 8px !important;
}

[data-theme="dark"] .flatpickr-calendar {
  background: #0B0826 !important;
  border-color: var(--neon-gold) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

.flatpickr-months {
  background: transparent !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
  padding-bottom: 6px !important;
}

.flatpickr-months .flatpickr-month {
  color: var(--text-main) !important;
  fill: var(--text-main) !important;
  font-weight: 800 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: var(--bg-deep) !important;
  color: var(--text-main) !important;
  font-weight: 800 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

.flatpickr-current-month input.cur-year {
  color: var(--neon-gold-bright) !important;
  font-weight: 800 !important;
}

.flatpickr-weekday {
  color: var(--neon-pink) !important;
  font-weight: 800 !important;
}

.flatpickr-day {
  color: var(--text-main) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.flatpickr-day:hover {
  background: rgba(212, 175, 55, 0.25) !important;
  border-color: var(--neon-gold) !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected:hover, 
.flatpickr-day.selected:focus {
  background: linear-gradient(135deg, #D4AF37 0%, #E91E63 100%) !important;
  border-color: #D4AF37 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

.flatpickr-day.today {
  border-color: var(--neon-pink) !important;
  font-weight: 800 !important;
}

/* --------------------------------------------------------------------------
   ARTISTIC TESTIMONIALS SECTION (5 DEMO REVIEWS WITH AVATARS & STAR RATINGS)
   -------------------------------------------------------------------------- */
.testimonials-section {
  position: relative;
}

.testimonial-spotlight-card {
  position: relative;
  background: #FFFFFF !important;
  border: 2px solid var(--neon-gold) !important;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15) !important;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] .testimonial-spotlight-card {
  background: #0B0826 !important;
  border-color: var(--neon-gold) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

.testimonial-spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25) !important;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(233, 30, 99, 0.15));
  color: var(--neon-gold-bright);
  border: 1px solid var(--neon-gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
}

.spotlight-content-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .spotlight-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
}

.spotlight-avatar-box {
  text-align: center;
}

.spotlight-avatar-img {
  width: 150px !important;
  height: 150px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 4px solid var(--neon-gold) !important;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important;
  margin: 0 auto 1rem auto !important;
}

.spotlight-rating {
  color: #FFD700;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.spotlight-text-box {
  position: relative;
}

.quote-watermark {
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.spotlight-quote {
  font-family: var(--font-royal), var(--font-bengali-serif);
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.spotlight-author .author-name {
  font-family: var(--font-royal);
  font-size: 1.4rem;
  color: var(--neon-gold-bright);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.spotlight-author .author-role {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  position: relative;
  background: #FFFFFF !important;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: 0 10px 40px -5px rgba(212, 175, 55, 0.15), 0 4px 15px -3px rgba(233, 30, 99, 0.1) !important;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="dark"] .testimonial-card {
  background: #0B0826 !important;
  border-color: rgba(255, 215, 0, 0.25) !important;
  box-shadow: 0 10px 40px -5px rgba(212, 175, 55, 0.2), 0 4px 15px -3px rgba(233, 30, 99, 0.15) !important;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-gold) !important;
  box-shadow: 0 15px 50px -5px rgba(212, 175, 55, 0.25), 0 8px 25px -3px rgba(233, 30, 99, 0.15) !important;
}

.card-quote-icon {
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 0.8rem;
}

.card-rating {
  color: #FFD700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 4px;
}

.card-quote {
  font-family: var(--font-bengali-sans), var(--font-modern);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.card-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.2rem;
}

.card-avatar {
  width: 58px !important;
  height: 58px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 2px solid var(--neon-gold) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  flex-shrink: 0 !important;
}

.profile-name {
  font-family: var(--font-royal);
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.profile-role {
  font-size: 0.82rem;
  color: var(--neon-gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   PRINT MEDIA — SINGLE PAGE VOUCHER ONLY (FIX: NO DUPLICATE PAGES)
   ========================================================================== */
@media print {
  /* STEP 1: Hide the entire page body content */
  body * {
    visibility: hidden !important;
    display: none !important;
  }

  /* STEP 2: Reset page layout */
  html, body {
    background: #FFFFFF !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* STEP 3: Show ONLY the confirmation modal and its contents */
  #confirmation-modal,
  #confirmation-modal *,
  #confirmation-modal .modal-box,
  #confirmation-modal .modal-box *,
  #confirmation-modal .receipt-card,
  #confirmation-modal .receipt-card * {
    visibility: visible !important;
    display: revert !important;
  }

  /* STEP 4: Voucher modal positioning — full page, no chrome */
  #confirmation-modal {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    z-index: 99999 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  /* STEP 5: Modal box fills the page */
  #confirmation-modal .modal-box {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 15mm !important;
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* STEP 6: Hide non-print elements inside the modal */
  #confirmation-modal .modal-close-btn,
  #confirmation-modal .voucher-next-steps,
  #confirmation-modal button,
  #confirmation-modal [onclick],
  #confirmation-modal .modal-box > h2,
  #confirmation-modal .modal-box > p,
  #confirmation-modal .modal-box > div:first-of-type {
    display: none !important;
    visibility: hidden !important;
  }

  /* STEP 7: Force single page print */
  @page {
    size: A4 portrait;
    margin: 0mm;
  }

  /* STEP 8: Ensure receipt card colors print correctly */
  .receipt-card {
    background: #FAFAF5 !important;
    border: 1.5px solid #D4AF37 !important;
    color: #000000 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-shadow: none !important;
  }

  /* STEP 9: Make QR code box visible and print-ready */
  #receipt-qr-box {
    display: flex !important;
    visibility: visible !important;
    background: #FFFFFF !important;
    border: 2px solid #D4AF37 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* ==========================================================================
   DUAL FORM & EXAM FORM (PURBI SANGEET-O-KALA KENDRA REPLICA)
   ========================================================================== */

/* Form Tabs */
.form-tabs-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.form-tab-btn {
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  color: var(--text-main);
  padding: 16px 36px;
  font-family: var(--font-royal);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 35px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 220px;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-tab-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--neon-gold);
  transform: translateY(-2px);
}

.form-tab-btn.active {
  background: linear-gradient(135deg, var(--neon-gold) 0%, #B8860B 100%);
  color: #000;
  border-color: var(--neon-gold-bright);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

button:disabled,
button[disabled] {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* Form Wrapper Active State */
.form-wrapper {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.form-wrapper.active-form {
  display: block;
}

/* Board Form Replica Styles */
.board-form-replica {
  background: #ffffff !important;
  border: 2px solid #003366 !important;
  color: #003366 !important;
}

.board-form-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
  border-bottom: 2px solid #003366;
  padding-bottom: 1rem;
}

.board-logo-img {
  width: 80px;
  height: 80px;
}

.board-header-text h3 {
  font-family: Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #003366;
  margin: 0;
}

.board-header-text p {
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #003366;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.board-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #003366 !important;
  border-radius: 0 !important;
  color: #003366 !important;
  padding: 8px 0 !important;
  font-weight: bold !important;
  font-family: Arial, sans-serif !important;
}

.board-input:focus {
  border-bottom: 2px solid #00509e !important;
  background: #f0f8ff !important;
}

.board-label {
  color: #003366 !important;
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
  left: 0 !important;
}

.board-section-title {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #003366;
  margin: 1.5rem 0 1rem 0;
  text-decoration: underline;
}

.e-signature-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #003366;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 5px;
  transform: scale(1.2);
  accent-color: #003366;
}

.checkbox-wrapper label {
  color: #003366;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Captcha UI */
.captcha-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  text-align: center;
}

.captcha-question {
  font-size: 1.3rem;
  font-weight: 900;
  color: #003366;
  font-family: var(--font-tech);
  letter-spacing: 1px;
}

.captcha-input {
  padding: 12px;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 8px;
  border: 2px solid rgba(0, 51, 102, 0.2);
  background: #ffffff;
  color: #333;
  width: 160px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.captcha-input:focus {
  outline: none;
  border-color: var(--neon-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.captcha-input.success {
  border-color: #00C853;
  background: rgba(0, 200, 83, 0.05);
  color: #00C853;
}

.captcha-input.error {
  border-color: #ff1744;
  background: rgba(255, 23, 68, 0.05);
  color: #ff1744;
}

.captcha-status {
  font-size: 1rem;
  font-weight: 800;
}

/* ==========================================================================
   DEDICATED MOBILE QUICK-ACTION CALL & CONTACT BAR (ULTRA-SMOOTH MOBILE APPS FEEL)
   ========================================================================== */
.mobile-quick-call-bar {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-quick-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1.5px solid var(--neon-gold);
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.12), 0 0 15px rgba(212, 175, 55, 0.2);
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom)) 12px;
    transform: translateZ(0);
  }

  [data-theme="dark"] .mobile-quick-call-bar {
    background: rgba(11, 8, 38, 0.95);
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.25);
  }

  .mobile-bar-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding: 2px 8px;
  }

  .mbar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-main);
    padding: 6px 6px;
    flex: 1 1 65px;
    min-width: 60px;
    max-width: 110px;
    border-radius: var(--radius-sm);
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mbar-btn:active {
    transform: scale(0.92);
  }

  .mbar-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .mbar-call .mbar-icon-wrap {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.5);
    animation: phonePulse 2s infinite;
  }

  .mbar-whatsapp .mbar-icon-wrap {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  }

  .mbar-email .mbar-icon-wrap {
    background: linear-gradient(135deg, #E91E63 0%, #FF4081 100%);
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.4);
  }

  .mbar-apply .mbar-icon-wrap {
    background: linear-gradient(135deg, #D4AF37 0%, #FFA000 100%);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  }

  .mbar-btn span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.1;
    color: var(--text-main);
  }
}

/* ==========================================================================
   SLEEK FLOATING SCROLL-TO-TOP BUTTON
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 26px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--neon-gold);
  color: var(--neon-gold-bright);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 12px var(--gold-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: var(--neon-gold);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px var(--gold-glow);
}

.scroll-to-top-btn:active {
  transform: scale(0.92);
}

@media (max-width: 1024px) {
  .scroll-to-top-btn {
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 14px;
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   WORLD-CLASS MODERN LIGHT SWEEP SHIMMER & ANIMATIONS
   ========================================================================== */
.btn-primary-glow, .btn-submit-multicolor {
  position: relative;
  overflow: hidden;
}

.btn-primary-glow::after, .btn-submit-multicolor::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: buttonLightSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes buttonLightSweep {
  0% { left: -60%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

/* Real-Time Draft Protection Indicator */
.draft-status-pill {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.draft-status-pill.saving {
  opacity: 1 !important;
  animation: pulseGreen 1.2s ease-in-out infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
  50% { transform: scale(1.04); box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
}

/* ==========================================================================
   RAZOR-SHARP TEXT RENDERING & HARDWARE 3D CARD STABILIZATION
   ========================================================================== */
.course-card,
.about-card-glow,
.highlight-card,
.testimonial-card,
.stat-box,
.diploma-roadmap-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.course-card h3,
.course-card p,
.course-card span,
.course-card .course-category-tag,
.course-card .btn-card-action,
.about-card-glow h3,
.about-card-glow p,
.about-card-glow span,
.highlight-card h3,
.highlight-card p,
.testimonial-card .card-quote,
.testimonial-card .author-name,
.testimonial-card .author-role,
.stat-box .stat-number,
.stat-box .stat-label {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: translateZ(0.01px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ==========================================================================
   UNIVERSAL ACCESSIBILITY: D-PAD KEYPAD & SMART TV FOCUS ENGINE
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.mbar-btn:focus-visible,
.course-card:focus-visible,
.gallery-photo-card:focus-visible,
.mobile-drawer-link:focus-visible,
.close-drawer-btn:focus-visible,
.theme-toggle-btn:focus-visible,
.mobile-toggle-btn:focus-visible {
  outline: 3px solid var(--neon-gold) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 15px var(--gold-glow), 0 0 30px rgba(212, 175, 55, 0.4) !important;
  border-radius: 6px;
}

/* ==========================================================================
   MICRO-SCREEN OPTIMIZATION (<= 320px & <= 240px, e.g. JioPhone 2 / KaiOS)
   ========================================================================== */
@media (max-width: 320px) {
  /* Prevent horizontal screen bleeding */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Compact Container Spacing */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  section {
    padding: 1.6rem 0 !important;
  }

  /* Compact Header and Marquee */
  .site-header, .header-wrapper {
    height: 68px !important;
  }

  .marquee-wrapper {
    margin-top: 68px !important;
  }

  .nav-container {
    padding: 0 4px !important;
    gap: 4px !important;
  }

  .logo-glow-wrapper {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .logo-glow-wrapper img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-name {
    font-size: 0.78rem !important;
    line-height: 1.1 !important;
  }

  .brand-sub {
    font-size: 0.54rem !important;
  }

  .theme-toggle-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  .mobile-toggle-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  /* Full-Screen Mobile Drawer for Keypad Micro Screens */
  .mobile-drawer-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 0.6rem !important;
  }

  .mobile-drawer-brand {
    gap: 6px !important;
  }

  .drawer-logo-img {
    width: 36px !important;
    height: 36px !important;
  }

  .drawer-title {
    font-size: 0.88rem !important;
  }

  .drawer-sub {
    font-size: 0.56rem !important;
  }

  .mobile-drawer-link {
    font-size: 0.82rem !important;
    padding: 0.65rem 0.5rem !important;
  }

  .mobile-drawer-footer {
    padding-top: 0.8rem !important;
    gap: 6px !important;
  }

  .drawer-action-btn {
    font-size: 0.76rem !important;
    padding: 0.6rem 0.5rem !important;
  }

  /* Micro Typography with fluid clamp limits */
  .hero-title {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
  }

  .section-title {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }

  .hero-subtitle, .section-subtitle {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }

  .hero-badge {
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
  }

  /* STACK ALL FLEX & GRID CONTAINERS TO 1-COLUMN */
  .hero-grid,
  .courses-grid,
  .about-grid,
  .stats-grid,
  .gallery-grid,
  .testimonials-grid,
  .contact-grid,
  .hero-buttons-pyramid,
  .btn-pyramid-top,
  .btn-pyramid-bottom,
  .form-row,
  .style-options-grid,
  .admission-summary-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .btn-pyramid-item {
    width: 100% !important;
    height: 40px !important;
    font-size: 0.74rem !important;
    padding: 0 6px !important;
    justify-content: center !important;
  }

  /* Founder Cloud Frame Micro Sizing */
  .founder-cloud-wrapper {
    max-width: 210px !important;
    margin: 1rem auto !important;
  }

  .founder-cloud-img {
    max-height: 240px !important;
  }

  /* Micro Cards Spacing & Padding */
  .about-card-glow,
  .course-card,
  .highlight-card,
  .testimonial-card,
  .testimonial-spotlight-card,
  .contact-info-card,
  .form-glass-card,
  .summary-card,
  .stat-box,
  .diploma-roadmap-card {
    padding: 0.8rem 0.5rem !important;
    width: 100% !important;
    border-radius: 12px !important;
  }

  .course-img-container {
    height: 150px !important;
  }

  .discipline-character-img {
    max-height: 145px !important;
  }

  .course-body {
    padding: 0.75rem 0.5rem !important;
  }

  .course-title {
    font-size: 1.05rem !important;
  }

  .course-desc {
    font-size: 0.76rem !important;
  }

  .course-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .btn-card-action {
    width: 100% !important;
    height: 38px !important;
    font-size: 0.74rem !important;
  }

  .gallery-photo-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  /* Admission Form on Micro Screens */
  .form-glass-card {
    padding: 0.8rem 0.5rem !important;
  }

  .form-group {
    margin-bottom: 7px !important;
    width: 100% !important;
  }

  .form-group label {
    font-size: 0.74rem !important;
    margin-bottom: 3px !important;
  }

  .form-input {
    height: 38px !important;
    font-size: 0.8rem !important;
    padding: 6px 8px !important;
    width: 100% !important;
  }

  .style-option-card {
    padding: 6px 8px !important;
    font-size: 0.76rem !important;
  }

  .btn-submit-multicolor {
    height: 42px !important;
    font-size: 0.8rem !important;
    width: 100% !important;
  }

  /* Hide 4-Button Sticky Action Bar strictly on micro-screens (<= 320px) to restore screen real estate */
  .mobile-quick-call-bar,
  #mobile-quick-call-bar,
  .mobile-bar-container {
    display: none !important;
  }

  /* Music Button MUST remain visible, fully functional, and comfortably positioned near bottom right */
  .music-controller-widget {
    display: flex !important;
    position: fixed !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    right: 10px !important;
    z-index: 9999 !important;
    padding: 5px 11px !important;
    font-size: 0.72rem !important;
  }

  .scroll-to-top-btn {
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  /* Modals on Micro Screens */
  .custom-modal-box, .dialpad-modal-box, .qr-modal-container {
    width: 96% !important;
    max-width: 96% !important;
    padding: 0.8rem 0.5rem !important;
  }
}

/* JioPhone 2 Ultra-Micro View (<= 240px) */
@media (max-width: 240px) {
  .container {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .site-header, .header-wrapper {
    height: 64px !important;
  }

  .marquee-wrapper {
    margin-top: 64px !important;
  }

  .logo-glow-wrapper {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .logo-glow-wrapper img {
    width: 34px !important;
    height: 34px !important;
  }

  .brand-name {
    font-size: 0.72rem !important;
  }

  .brand-sub {
    display: none !important;
  }

  .hero-title {
    font-size: 1.15rem !important;
  }

  .section-title {
    font-size: 1.05rem !important;
  }

  .founder-cloud-wrapper {
    max-width: 180px !important;
  }

  .founder-cloud-img {
    max-height: 200px !important;
  }

  .about-card-glow,
  .course-card,
  .form-glass-card,
  .contact-info-card {
    padding: 0.65rem 0.35rem !important;
  }

  .form-input {
    height: 36px !important;
    font-size: 0.76rem !important;
    padding: 4px 6px !important;
  }

  .btn-submit-multicolor, .btn-pyramid-item, .btn-card-action {
    height: 38px !important;
    font-size: 0.72rem !important;
  }

  .discipline-character-img {
    max-height: 130px !important;
  }

  /* Enforce hidden action bar and visible music button on ultra-micro 240px */
  .mobile-quick-call-bar,
  #mobile-quick-call-bar,
  .mobile-bar-container {
    display: none !important;
  }

  .music-controller-widget {
    display: flex !important;
    position: fixed !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    right: 8px !important;
    z-index: 9999 !important;
  }

  .scroll-to-top-btn {
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    left: 8px !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

/* ==========================================================================
   MACRO-SCREEN OPTIMIZATION (>= 1920px & >= 2560px, e.g. 42"+ 4K ANDROID TVs)
   ========================================================================== */
@media (min-width: 1920px) {
  .container,
  .nav-container,
  .marquee-wrapper,
  .footer-container,
  .main-content {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
  }

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

  .course-img-container {
    height: 290px;
  }

  .discipline-character-img {
    max-height: 285px;
  }

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

  /* TV D-Pad / Remote Control Focus State */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  .mbar-btn:focus-visible,
  .course-card:focus-visible,
  .gallery-photo-card:focus-visible {
    outline: 4px solid var(--neon-gold) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 25px var(--gold-glow), 0 0 45px rgba(212, 175, 55, 0.45) !important;
    transform: scale(1.03) !important;
    transition: transform 0.2s ease, outline-color 0.2s ease !important;
  }
}

@media (min-width: 2560px) {
  .container,
  .nav-container,
  .marquee-wrapper,
  .footer-container,
  .main-content {
    max-width: 1800px !important;
  }
}

/* ==========================================================================
   ULTRA-OPTIMIZED "REVEAL ON SCROLL" (FADE-IN-UP) & PREMIUM CROSS-DEVICE UX
   - Hardware accelerated (transform & opacity only)
   - 60fps buttery smooth performance from 42" 4K TVs down to 240px JioPhone
   - Strict "Once" UX: Revealed elements stay permanently visible
   - Cascading grid stagger delays
   - Universal smooth scrolling & royal theme scrollbar
   ========================================================================== */

/* Task 3: Universal Smooth Scrolling & Royal Custom Scrollbar */
html {
  scroll-behavior: smooth !important;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-gold, #D4AF37) var(--bg-deep, #04030F);
}

[data-theme="light"] html {
  scrollbar-color: #C5A028 #F8F6F0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep, #04030F);
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #F7F5F0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-gold, #D4AF37) 0%, var(--neon-pink, #E91E63) 100%);
  border-radius: 9999px;
  border: 2px solid var(--bg-deep, #04030F);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37 0%, #D81B60 100%);
  border: 2px solid #F7F5F0;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-gold-bright, #FFD700) 0%, var(--neon-magenta, #FF007F) 100%);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

/* Mobile & Touch Viewport Integrity Guard: Zero Horizontal Overflow */
@media (max-width: 768px), (pointer: coarse) {
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
}

/* Task 1: Hardware-Accelerated Fade-In-Up Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* While not yet revealed, ensure it remains hidden even inside active tabs */
.scroll-reveal:not(.revealed),
.page-view.active .scroll-reveal:not(.revealed) {
  opacity: 0 !important;
  transform: translateY(30px) translateZ(0) !important;
}

/* Once revealed: Permanently lock in place and release GPU composite layer */
.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) translateZ(0);
  will-change: auto;
}

/* Task 2: Cascading Stagger Delays for Grids */
.courses-grid .scroll-reveal:nth-child(1),
.highlights-grid .scroll-reveal:nth-child(1),
.stats-grid .scroll-reveal:nth-child(1),
.testimonials-grid .scroll-reveal:nth-child(1) {
  transition-delay: 0.08s;
}

.courses-grid .scroll-reveal:nth-child(2),
.highlights-grid .scroll-reveal:nth-child(2),
.stats-grid .scroll-reveal:nth-child(2),
.testimonials-grid .scroll-reveal:nth-child(2) {
  transition-delay: 0.16s;
}

.courses-grid .scroll-reveal:nth-child(3),
.highlights-grid .scroll-reveal:nth-child(3),
.stats-grid .scroll-reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.highlights-grid .scroll-reveal:nth-child(4),
.stats-grid .scroll-reveal:nth-child(4) {
  transition-delay: 0.32s;
}

/* 3-Column Cascading Pattern for Performance Gallery Grid (Desktop / Tablet) */
.performance-gallery-grid .scroll-reveal:nth-child(3n+1) {
  transition-delay: 0.06s;
}
.performance-gallery-grid .scroll-reveal:nth-child(3n+2) {
  transition-delay: 0.14s;
}
.performance-gallery-grid .scroll-reveal:nth-child(3n+3) {
  transition-delay: 0.22s;
}

/* 2-Column Responsive Stagger for Mobile Tablets & Phones (<= 768px) */
@media (max-width: 768px) {
  .performance-gallery-grid .scroll-reveal:nth-child(2n+1) {
    transition-delay: 0.06s;
  }
  .performance-gallery-grid .scroll-reveal:nth-child(2n+2) {
    transition-delay: 0.14s;
  }
}

/* Low-End Device Performance (JioPhone 240px Rule & Small Mobile Screens <= 480px) */
@media (max-width: 480px) {
  .scroll-reveal {
    transition-duration: 0.45s !important;
  }
  .scroll-reveal:not(.revealed),
  .page-view.active .scroll-reveal:not(.revealed) {
    transform: translateY(18px) translateZ(0) !important;
  }
  .performance-gallery-grid .scroll-reveal,
  .courses-grid .scroll-reveal,
  .testimonials-grid .scroll-reveal,
  .stats-grid .scroll-reveal,
  .highlights-grid .scroll-reveal {
    transition-delay: 0.04s !important;
  }
}

/* Accessibility: Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .scroll-reveal,
  .scroll-reveal:not(.revealed),
  .page-view.active .scroll-reveal:not(.revealed) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   GLOBAL TABLET SCREEN CARD CENTERING FIX (ORPHANED CARDS CENTERING)
   - Targets tablet viewports (iPad / iPad Pro: @media (max-width: 1080px))
   - Converts multi-card auto-fit grids into flexbox with wrap & justify-content: center
   - Ensures balanced 2-column layout and that ANY wrapped/orphaned card is centered globally
   ========================================================================== */
@media (max-width: 1080px) {
  /* 1. Dance Disciplines & Courses Sections (3 Cards) */
  .courses-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem !important;
  }

  .courses-grid > .course-card,
  .courses-grid > * {
    flex: 0 1 calc(50% - 1rem) !important;
    width: calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
    min-width: 280px !important;
    box-sizing: border-box !important;
  }

  /* 2. "Why Choose Nataraj Nritya Mandir" Section (4 Cards on Home Page) */
  .highlights-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.8rem !important;
  }

  .highlights-grid > .highlight-card,
  .highlights-grid > * {
    flex: 0 1 calc(50% - 0.9rem) !important;
    width: calc(50% - 0.9rem) !important;
    max-width: calc(50% - 0.9rem) !important;
    min-width: 250px !important;
    box-sizing: border-box !important;
  }

  /* 3. Academic Curriculum & Diploma Progression Section (4 Cards on Courses Page) */
  .diploma-roadmap-card > div:last-child,
  .diploma-roadmap-card div[style*="grid"] {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.4rem !important;
  }

  .diploma-roadmap-card > div:last-child > div,
  .diploma-roadmap-card div[style*="grid"] > div {
    flex: 0 1 calc(50% - 0.7rem) !important;
    width: calc(50% - 0.7rem) !important;
    max-width: calc(50% - 0.7rem) !important;
    min-width: 230px !important;
    box-sizing: border-box !important;
  }

  /* 4. Testimonials Grid */
  .testimonials-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem !important;
  }

  .testimonials-grid > .testimonial-card,
  .testimonials-grid > * {
    flex: 0 1 calc(50% - 1rem) !important;
    width: calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
    min-width: 280px !important;
    box-sizing: border-box !important;
  }

  /* Universal Fallback for any orphaned card on odd-numbered rows */
  .courses-grid > *:last-child:nth-child(odd),
  .highlights-grid > *:last-child:nth-child(odd),
  .diploma-roadmap-card > div:last-child > div:last-child:nth-child(odd),
  .diploma-roadmap-card div[style*="grid"] > div:last-child:nth-child(odd),
  .testimonials-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }
}

/* ==========================================================================
   MOBILE SMOOTHNESS, EXTRA LOGO HIDE & SYMMETRICAL TESTIMONIALS
   ========================================================================== */
@media (max-width: 768px) {
  .about-card-glow .about-extra-logo {
    display: none !important;
  }

  .testimonials-grid,
  .testimonials-grid > .testimonial-card,
  .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

/* Release GPU tile memory once scroll reveal completes */
.scroll-reveal.revealed,
.reveal-item.is-visible {
  will-change: auto !important;
}
