/* ==========================================================================
   SCHOLAR'S SENIOR SECONDARY SCHOOL, KASIA - MODERN REDESIGN SYSTEM
   Mobile-First, Desktop-Ready | 60fps Micro-Interactions | Academic Royal Palette
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --primary-navy: #0B2545;
  --primary-dark: #06182D;
  --royal-navy: #012758;
  --indigo-accent: #133E87;
  --indigo-light: #1E4E9E;
  
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --accent-amber: #F8C62F;
  --gold-glow: rgba(248, 198, 47, 0.45);
  --gold-gradient: linear-gradient(135deg, #F8C62F 0%, #F59E0B 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(248, 198, 47, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);

  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-ivory: #FFFDF7;
  --bg-cream: #FFF9EF;
  --bg-dark-glass: rgba(11, 37, 69, 0.92);
  --bg-light-glass: rgba(255, 255, 255, 0.88);

  --text-main: #0B2545;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.25);
  --border-gold: rgba(248, 198, 47, 0.4);

  --shadow-sm: 0 2px 4px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 8px 20px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 24px 50px rgba(11, 37, 69, 0.16);
  --shadow-gold: 0 10px 25px rgba(245, 158, 11, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --bottom-bar-height: 64px;
  --header-height: 82px;
}

/* --------------------------------------------------------------------------
   2. Base Typography & Resets
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body) !important;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.site-title, .it-section-title, .hero-title {
  font-family: var(--font-heading) !important;
  color: var(--primary-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Scroll progress bar at top of viewport */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #F8C62F, #F59E0B, #EF4444);
  z-index: 100000;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* Smooth Touch and Tap Feedback */
.btn-tactile,
.nav-link,
.card-tactile,
.mobile-bottom-item,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

.btn-tactile:active,
.mobile-bottom-item:active {
  transform: scale(0.95);
  transition: transform 0.12s ease;
}

/* --------------------------------------------------------------------------
   3. Top Bar & Glassmorphic Sticky Header
   -------------------------------------------------------------------------- */
.topbar-modern {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-modern a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar-modern a:hover {
  color: var(--accent-amber);
}

.topbar-modern .badge-affiliation {
  background: rgba(248, 198, 47, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(248, 198, 47, 0.35);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
}

/* Main Navbar Glassmorphic Header */
.header-glass-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 37, 69, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.04);
}

.header-glass-wrapper.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.1);
  padding: 4px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  transition: padding 0.3s ease;
}

.header-glass-wrapper.is-scrolled .header-inner {
  padding: 6px 0;
}

.school-brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.school-brand-logo {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.header-glass-wrapper.is-scrolled .school-brand-logo {
  max-height: 46px;
}

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

.school-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-navy);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.school-brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold-hover);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop Navigation Menu */
.desktop-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.desktop-nav-item {
  position: relative;
}

.desktop-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  position: relative;
}

.desktop-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.desktop-nav-link:hover,
.desktop-nav-item.active .desktop-nav-link {
  color: var(--royal-navy);
  background: rgba(1, 39, 88, 0.04);
}

.desktop-nav-link:hover::after,
.desktop-nav-item.active .desktop-nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown styling */
.desktop-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 8px 0;
  box-shadow: 0 16px 36px rgba(1, 39, 88, 0.15);
  border: 1px solid rgba(11, 37, 69, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  list-style: none;
}

.desktop-nav-item:hover .desktop-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s ease;
}

.desktop-dropdown a:hover {
  background: #F8FAFC;
  color: var(--royal-navy);
  padding-left: 22px;
}

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

.btn-header-pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(248, 198, 47, 0.15);
  border: 1.5px solid var(--accent-amber);
  color: var(--primary-navy);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-header-pay:hover {
  background: var(--accent-amber);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px var(--gold-glow);
  transform: translateY(-1px);
}

.btn-header-admission {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-header-admission:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

/* Mobile Toggle Hamburger */
.mobile-drawer-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(1, 39, 88, 0.06);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-drawer-toggle:hover {
  background: rgba(1, 39, 88, 0.12);
}

@media (max-width: 991px) {
  .desktop-nav-menu,
  .btn-header-pay,
  .btn-header-admission {
    display: none !important;
  }
  .mobile-drawer-toggle {
    display: flex !important;
  }
  .school-brand-title {
    font-size: 15px;
  }
  .school-brand-subtitle {
    font-size: 9.5px;
  }
  .school-brand-logo {
    max-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   4. Live Notice Ticker Bar (Below Navbar)
   -------------------------------------------------------------------------- */
.live-notice-ticker-bar {
  background: linear-gradient(90deg, #0B2545 0%, #012758 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 998;
}

.ticker-badge-box {
  background: var(--accent-amber);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.ticker-pulse-dot {
  width: 8px;
  height: 8px;
  background: #DC2626;
  border-radius: 50%;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.ticker-marquee-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: smoothMarquee 32s linear infinite;
  padding-left: 20px;
}

.ticker-marquee-track:hover .ticker-marquee-content {
  animation-play-state: paused;
}

.ticker-item-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.ticker-item-link:hover {
  color: var(--accent-amber);
}

.ticker-item-date {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-amber);
}

.ticker-view-all {
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-amber);
  text-decoration: none;
  white-space: nowrap;
  z-index: 2;
  background: #012758;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.ticker-view-all:hover {
  color: #FFFFFF;
  padding-right: 18px;
}

@keyframes smoothMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .live-notice-ticker-bar {
    height: 38px;
  }
  .ticker-badge-box {
    font-size: 10.5px;
    padding: 0 10px;
  }
  .ticker-item-link {
    font-size: 12px;
  }
  .ticker-view-all {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section (Kinetic Text, Mesh Gradient & 60fps CTA)
   -------------------------------------------------------------------------- */
.modern-hero-section {
  position: relative;
  min-height: calc(90vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-navy);
  padding: 80px 0 100px;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 10s ease-out;
  opacity: 0.28;
}

.hero-mesh-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(19, 62, 135, 0.8) 0%, rgba(1, 39, 88, 0.95) 60%, rgba(6, 24, 45, 0.98) 100%);
  mix-blend-mode: multiply;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  color: #FFFFFF;
}

/* Floating Admission Badge */
.hero-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(248, 198, 47, 0.12);
  border: 1.5px solid rgba(248, 198, 47, 0.5);
  border-radius: var(--radius-full);
  color: var(--accent-amber);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(248, 198, 47, 0.2);
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.hero-headline {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.14;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.hero-headline .highlight-gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #F8C62F 60%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead-text {
  font-size: 18px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

/* Pulsing Primary CTA Button */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold-gradient);
  color: var(--primary-dark) !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  position: relative;
  transition: all 0.3s ease;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  opacity: 0.5;
  z-index: -1;
  animation: pulseAura 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseAura {
  0% { transform: scale(0.96); opacity: 0.6; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.55);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Floating Bottom Hero Cards (School Highlights) */
.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.hero-highlight-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.hero-highlight-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--accent-amber);
}

.hero-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(248, 198, 47, 0.18);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hero-highlight-info h6 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.hero-highlight-info span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
  .modern-hero-section {
    padding: 50px 0 70px;
    min-height: auto;
  }
  .hero-headline {
    font-size: 36px;
    line-height: 1.2;
  }
  .hero-lead-text {
    font-size: 15px;
  }
  .hero-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .hero-headline {
    font-size: 28px;
  }
  .hero-floating-badge {
    font-size: 12px;
    padding: 6px 14px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-primary, .btn-hero-secondary {
    justify-content: center;
    width: 100%;
  }
  .hero-highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   6. School at a Glance (Animated Stat Counters Bar)
   -------------------------------------------------------------------------- */
.stats-glance-bar {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(1, 39, 88, 0.08);
  border: 1px solid var(--border-light);
  margin-top: -45px;
  position: relative;
  z-index: 30;
  padding: 30px 24px;
}

.stat-item-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 14px;
}

.stat-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(1, 39, 88, 0.06);
  color: var(--royal-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-item-wrap:hover .stat-icon-bubble {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  transform: scale(1.1) rotate(6deg);
}

.stat-number-box {
  display: flex;
  flex-direction: column;
}

.stat-counter-value {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-counter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

@media (max-width: 991px) {
  .stats-glance-bar {
    margin-top: 24px;
    padding: 20px 16px;
  }
  .stat-counter-value {
    font-size: 28px;
  }
  .stat-item-wrap {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   7. 3 Core Pillar Cards (Quality Education, Faculty, Holistic Development)
   -------------------------------------------------------------------------- */
.core-pillars-section {
  padding: 85px 0 65px;
  background: var(--bg-page);
}

.pillar-glass-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: 0 10px 28px rgba(1, 39, 88, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pillar-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.pillar-glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 42px rgba(1, 39, 88, 0.12);
  border-color: rgba(248, 198, 47, 0.4);
}

.pillar-glass-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(1, 39, 88, 0.08) 0%, rgba(19, 62, 135, 0.14) 100%);
  color: var(--royal-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.pillar-glass-card:hover .pillar-icon-box {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  transform: scale(1.08);
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 20px;
  flex: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--royal-navy);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.pillar-link:hover {
  color: var(--accent-gold-hover);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   8. Management Messages (Director & MD Split Executive Cards)
   -------------------------------------------------------------------------- */
.management-executive-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  position: relative;
}

.management-split-card {
  background: var(--royal-navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #FFFFFF;
  box-shadow: 0 20px 48px rgba(1, 39, 88, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.management-watermark {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  line-height: 1;
}

.mgmt-photo-frame {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.mgmt-photo-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(248, 198, 47, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease;
}

.mgmt-photo-frame:hover .mgmt-photo-circle {
  transform: scale(1.04);
}

.mgmt-designation-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.mgmt-name {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.mgmt-quote-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}

/* Expandable content for mobile */
.mgmt-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.35s ease;
}

.mgmt-text-clamp.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.btn-mgmt-expand {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent-amber);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-mgmt-expand:hover {
  background: var(--accent-amber);
  color: var(--primary-dark);
}

.mgmt-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.mgmt-tab-pill {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--royal-navy);
  background: transparent;
  color: var(--royal-navy);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mgmt-tab-pill.active,
.mgmt-tab-pill:hover {
  background: var(--royal-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(1, 39, 88, 0.18);
}

@media (max-width: 767px) {
  .management-split-card {
    padding: 26px 20px;
  }
  .mgmt-photo-circle {
    width: 160px;
    height: 160px;
  }
  .mgmt-name {
    font-size: 21px;
  }
  .mgmt-quote-text {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   9. Toppers Showcase (Spotlight Cards with Golden Shimmer)
   -------------------------------------------------------------------------- */
.toppers-modern-section {
  padding: 85px 0;
  background: linear-gradient(135deg, #06182D 0%, #012758 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.toppers-slider-wrapper {
  position: relative;
  margin-top: 30px;
}

.topper-spotlight-card {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(248, 198, 47, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.topper-spotlight-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(248, 198, 47, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.topper-spotlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-amber);
  box-shadow: 0 16px 40px rgba(248, 198, 47, 0.25);
}

.topper-spotlight-card:hover::before {
  opacity: 1;
}

.topper-crown-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(248, 198, 47, 0.2);
  border-radius: 50%;
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.topper-class-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.topper-avatar-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  padding: 4px;
  background: var(--gold-gradient);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.topper-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
}

.topper-name-text {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.topper-marks-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* --------------------------------------------------------------------------
   10. Touch-Friendly Mobile Snap Carousel (Mobile First)
   -------------------------------------------------------------------------- */
.mobile-snap-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.mobile-snap-slider::-webkit-scrollbar {
  display: none;
}

.mobile-snap-slider > * {
  scroll-snap-align: start;
  flex: 0 0 280px;
}

@media (max-width: 575px) {
  .mobile-snap-slider > * {
    flex: 0 0 82%;
  }
}

/* --------------------------------------------------------------------------
   11. Academic Calendar & Key Dates Section
   -------------------------------------------------------------------------- */
.calendar-events-section {
  padding: 85px 0;
  background: var(--bg-card);
}

.calendar-date-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 22px rgba(1, 39, 88, 0.05);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.calendar-date-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 30px rgba(1, 39, 88, 0.1);
  border-color: var(--accent-amber);
}

/* Mini Calendar Tear-Off Badge */
.calendar-tearoff-badge {
  width: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  text-align: center;
}

.calendar-tearoff-month {
  background: #DC2626;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 0;
  letter-spacing: 0.04em;
}

.calendar-tearoff-day {
  background: #F8FAFC;
  color: var(--primary-navy);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  padding: 6px 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
}

.calendar-event-body {
  flex: 1;
}

.calendar-event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.calendar-category-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

.pill-academic { background: #DBEAFE; color: #1E40AF; }
.pill-sports { background: #DCFCE7; color: #166534; }
.pill-holiday { background: #FEE2E2; color: #991B1B; }
.pill-event { background: #FEF3C7; color: #92400E; }

.calendar-event-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.calendar-event-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. Photo Gallery & Campus Life Enhancements
   -------------------------------------------------------------------------- */
.gallery-zoom-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(1, 39, 88, 0.08);
  height: 240px;
}

.gallery-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 39, 88, 0.85) 0%, rgba(1, 39, 88, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-zoom-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-amber);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.gallery-zoom-card:hover .gallery-zoom-btn {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. Sticky Mobile Bottom Action Bar (Mobile First)
   -------------------------------------------------------------------------- */
.mobile-bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid rgba(248, 198, 47, 0.35);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 8px 10px max(10px, env(safe-area-inset-bottom));
  height: var(--bottom-bar-height);
}

@media (max-width: 991px) {
  .mobile-bottom-action-bar {
    display: flex;
  }
  body {
    padding-bottom: calc(var(--bottom-bar-height) + 10px) !important;
  }
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all 0.2s ease;
  min-width: 58px;
}

.mobile-bottom-item i {
  font-size: 19px;
  margin-bottom: 3px;
  transition: transform 0.2s ease;
}

.mobile-bottom-item.active,
.mobile-bottom-item:hover {
  color: var(--accent-amber);
}

.mobile-bottom-item.active i {
  transform: translateY(-2px);
}

/* Special High-Contrast Pay Fees Button in Bottom Bar */
.mobile-bottom-item.item-pay-upi {
  color: var(--primary-dark);
  background: var(--gold-gradient);
  border-radius: 16px;
  padding: 6px 10px;
  margin-top: -16px;
  box-shadow: 0 4px 16px var(--gold-glow);
  border: 2px solid #FFFFFF;
}

.mobile-bottom-item.item-pay-upi i {
  font-size: 21px;
}

.mobile-bottom-item.item-pay-upi span {
  font-weight: 800;
  color: var(--primary-dark);
}

.notice-badge-dot {
  position: absolute;
  top: 4px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  border: 1.5px solid var(--primary-navy);
}

/* --------------------------------------------------------------------------
   14. Slide-Out App-Style Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 45, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-app-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #FFFFFF;
  z-index: 99999;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.drawer-header {
  padding: 20px;
  background: var(--primary-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent-amber);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
}

.drawer-logo {
  max-height: 42px;
  width: auto;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}

/* Staggered Navigation Links */
.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav-item {
  margin-bottom: 6px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  background: rgba(1, 39, 88, 0.08);
  color: var(--royal-navy);
  padding-left: 18px;
}

.drawer-submenu {
  list-style: none;
  padding: 6px 0 6px 14px;
  margin: 0;
  display: none;
}

.drawer-submenu.show {
  display: block;
}

.drawer-submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid var(--border-light);
  transition: all 0.2s ease;
}

.drawer-submenu a:hover {
  color: var(--royal-navy);
  border-left-color: var(--accent-amber);
  padding-left: 16px;
}

.drawer-footer-actions {
  padding: 16px 18px 20px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-drawer-apply {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-full);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-drawer-upi {
  background: var(--primary-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px;
  border-radius: var(--radius-full);
  text-align: center;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   15. Interactive UPI Quick Pay Modal
   -------------------------------------------------------------------------- */
.upi-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 45, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.upi-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.upi-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 26px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.upi-modal-backdrop.is-open .upi-modal-card {
  transform: scale(1);
}

.upi-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.upi-close-btn:hover {
  background: #E2E8F0;
  color: var(--primary-navy);
}

.upi-header-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 4px;
  text-align: center;
}

.upi-header-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.upi-qr-box {
  background: #F8FAFC;
  border: 2px dashed rgba(248, 198, 47, 0.8);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.upi-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.upi-id-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F5F9;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
}

.btn-copy-upi {
  background: var(--royal-navy);
  color: #FFFFFF;
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-upi:hover {
  background: var(--accent-amber);
  color: var(--primary-dark);
}

.upi-apps-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.upi-app-pill {
  flex: 1;
  padding: 9px 6px;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  color: var(--primary-navy);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.upi-app-pill:hover {
  background: rgba(1, 39, 88, 0.05);
  border-color: var(--royal-navy);
  transform: translateY(-2px);
}

.upi-bank-details {
  background: #FFFDF7;
  border: 1px solid rgba(248, 198, 47, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-body);
}

.upi-bank-details table {
  width: 100%;
  margin: 0;
}

.upi-bank-details td {
  padding: 3px 0;
}

.upi-bank-details td:first-child {
  font-weight: 700;
  color: var(--primary-navy);
  width: 40%;
}

/* --------------------------------------------------------------------------
   16. Floating Back to Top Button
   -------------------------------------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 80px;
  right: 22px;
  width: 46px;
  height: 46px;
  background: var(--royal-navy);
  color: var(--accent-amber);
  border-radius: 50%;
  border: 2px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9991;
}

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

#back-to-top:hover {
  background: var(--accent-amber);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

@media (max-width: 991px) {
  #back-to-top {
    bottom: calc(var(--bottom-bar-height) + 16px);
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   17. WhatsApp Float Adjustment for Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .whatsapp-float {
    bottom: calc(var(--bottom-bar-height) + 16px) !important;
    left: 16px !important;
    right: auto !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 24px !important;
  }
}

/* --------------------------------------------------------------------------
   18. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-marquee-content {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   19. Social Media Badges, Buttons & Floating Social Dock
   -------------------------------------------------------------------------- */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #FFFFFF !important;
}

.social-icon-btn.btn-facebook {
  background: #1877F2;
}

.social-icon-btn.btn-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon-btn.btn-youtube {
  background: #FF0000;
}

.social-icon-btn.btn-whatsapp {
  background: #25D366;
}

.social-icon-btn.btn-twitter {
  background: #0F1419;
}

.social-icon-btn.btn-linkedin {
  background: #0A66C2;
}

/* Floating Left Desktop Social Ribbon */
.floating-social-dock {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9992;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.floating-social-pill {
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 12px;
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 16px;
  border-radius: 0 24px 24px 0;
  box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-5px);
  width: 44px;
  overflow: hidden;
  white-space: nowrap;
}

.floating-social-pill i {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.floating-social-pill span {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  margin-left: 10px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.25s ease;
}

.floating-social-pill:hover {
  width: 140px;
  transform: translateX(0);
}

.floating-social-pill:hover span {
  opacity: 1;
  transform: translateX(0);
}

.floating-social-pill.dock-facebook { background: #1877F2; }
.floating-social-pill.dock-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.floating-social-pill.dock-youtube { background: #FF0000; }
.floating-social-pill.dock-whatsapp { background: #25D366; }

@media (max-width: 991px) {
  .floating-social-dock {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   20. Blinking Sister Branch Links (Kidzee & Raghav Nagar)
   -------------------------------------------------------------------------- */
.blinking-branches-strip {
  background: linear-gradient(135deg, #06182D 0%, #012758 50%, #0B2545 100%);
  border-top: 2px solid var(--accent-amber);
  border-bottom: 2px solid var(--accent-amber);
  padding: 14px 0;
  position: relative;
  z-index: 25;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.branches-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.branches-strip-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.blinking-radar-dot {
  position: relative;
  width: 12px;
  height: 12px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  display: inline-block;
  flex-shrink: 0;
}

.blinking-radar-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #EF4444;
  animation: radarBlinkPulse 1.4s ease-out infinite;
}

@keyframes radarBlinkPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.blinking-branches-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Branch Button with Dual Neon Blinking Aura */
.blinking-branch-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Kidzee specific gradient & blink */
.blinking-branch-link.branch-kidzee {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 45%, #DC2626 100%);
  border: 2px solid #FEF08A;
  animation: kidzeeBlinkAura 2s infinite ease-in-out;
}

@keyframes kidzeeBlinkAura {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6), 0 4px 14px rgba(0, 0, 0, 0.3);
    border-color: #FEF08A;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px 6px rgba(245, 158, 11, 0.95), 0 0 35px rgba(220, 38, 38, 0.6);
    border-color: #FFFFFF;
    transform: scale(1.025);
  }
}

/* Raghav Nagar specific gradient & blink */
.blinking-branch-link.branch-raghav {
  background: linear-gradient(135deg, #133E87 0%, #012758 50%, #1E40AF 100%);
  border: 2px solid #F8C62F;
  animation: raghavBlinkAura 2s infinite ease-in-out 0.8s;
}

@keyframes raghavBlinkAura {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(248, 198, 47, 0.6), 0 4px 14px rgba(0, 0, 0, 0.3);
    border-color: #F8C62F;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px 6px rgba(248, 198, 47, 0.95), 0 0 35px rgba(19, 62, 135, 0.7);
    border-color: #FFFFFF;
    transform: scale(1.025);
  }
}

/* Light shimmer sweep animation */
.blinking-branch-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: branchShimmerSweep 3s infinite;
}

@keyframes branchShimmerSweep {
  0% { left: -100%; }
  40%, 100% { left: 180%; }
}

.branch-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.branch-badge-content {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.branch-badge-name {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.branch-badge-url {
  font-size: 11px;
  font-weight: 600;
  color: #FEF08A;
  letter-spacing: 0.02em;
}

.branch-raghav .branch-badge-url {
  color: #F8C62F;
}

.branch-arrow-icon {
  font-size: 13px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.blinking-branch-link:hover {
  transform: translateY(-3px) scale(1.05) !important;
  color: #FFFFFF !important;
}

.blinking-branch-link:hover .branch-arrow-icon {
  transform: translate(3px, -3px);
}

/* Blinking tag on mobile */
.branch-live-blink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  color: #0B2545;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 6px;
  animation: liveBadgeBlink 1.2s infinite alternate;
}

@keyframes liveBadgeBlink {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.35; transform: scale(0.92); }
}

@media (max-width: 767px) {
  .branches-strip-inner {
    justify-content: center;
  }
  .blinking-branches-group {
    width: 100%;
    flex-direction: column;
  }
  .blinking-branch-link {
    width: 100%;
    justify-content: space-between;
    padding: 10px 16px;
  }
}



