/* Tommy Books School - Premium Mobile-First CSS Framework */
/* Billion Dollar Aesthetics - Enhanced with Animations */
:root {
    /* Premium Color Palette */
    --royal-blue: #1e40af;
    --royal-blue-light: #3b82f6;
    --royal-blue-bright: #2563eb;
    --royal-blue-glow: #60a5fa;
    --royal-red: #dc2626;
    --royal-red-light: #ef4444;
    --royal-red-bright: #e11d48;
    --royal-red-glow: #f87171;
    --luxury-gold: #fbbf24;
    --luxury-purple: #8b5cf6;
    
    /* Enhanced Luxury Gradients */
    --gradient-primary: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-red) 100%);
    --gradient-primary-reverse: linear-gradient(135deg, var(--royal-red) 0%, var(--royal-blue) 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #7e22ce 50%, #dc2626 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-luxury: linear-gradient(135deg, #1e40af 0%, #7e22ce 50%, #dc2626 100%);
    
    /* Premium Typography Scale */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    
    /* Enhanced Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Luxury Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 3rem;
    --radius-full: 9999px;
    
    /* Premium Shadows & Glows */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 40px 80px rgba(0, 0, 0, 0.25);
    --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.3);
    --shadow-glow-red: 0 0 40px rgba(239, 68, 68, 0.3);
    --shadow-glow-gold: 0 0 40px rgba(251, 191, 36, 0.3);
    
    /* Premium Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-magic: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reset & Base Styles - Billion Dollar Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: #1f2937;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* PWA Install Banner - Clean Design */
.pwa-install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 90%;
  max-width: 600px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(30, 58, 138, 0.4);
  z-index: 10000;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.pwa-install-banner.show {
  transform: translateX(-50%) translateY(0);
}

.pwa-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pwa-app-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.pwa-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: white;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.pwa-app-details {
  flex: 1;
}

.app-name {
  color: white;
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.app-description {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px 0;
  font-size: 0.95rem;
}

.app-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-not-now-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pwa-not-now-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pwa-install-btn {
  background: white;
  color: #1e3a8a;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.pwa-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pwa-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* iOS Guide Modal */
.ios-install-guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.ios-install-guide-modal.show {
  opacity: 1;
  visibility: visible;
}

.ios-modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ios-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f1f1;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ios-modal-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.ios-modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.ios-app-icon {
  width: 80px;
  height: 80px;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 15px;
  margin: 0 auto 15px;
  border: 2px solid #e9ecef;
}

.ios-modal-title {
  color: #333;
  font-size: 1.5rem;
  margin: 0 0 8px 0;
}

.ios-modal-subtitle {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.ios-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.ios-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 15px;
}

.step-number {
  width: 36px;
  height: 36px;
  background: #1e3a8a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  color: #333;
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
}

.step-description {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

.android-install-guide {
  text-align: center;
  margin-bottom: 30px;
}

.android-icon {
  font-size: 3rem;
  color: #3ddc84;
  margin-bottom: 15px;
}

.android-text {
  color: #333;
  margin: 10px 0;
  line-height: 1.5;
}

.ios-actions {
  display: flex;
  gap: 15px;
}

.ios-remind-btn {
  flex: 1;
  background: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
  padding: 15px;
  border-radius: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ios-got-it-btn {
  flex: 1;
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Toast Notifications */
.pwa-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  z-index: 10002;
  opacity: 0;
  animation: toastFadeIn 0.3s ease forwards;
}

@keyframes toastFadeIn {
  to { opacity: 1; }
}

.pwa-toast-success {
  background: #10b981;
}

.pwa-toast-info {
  background: #3b82f6;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .pwa-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .pwa-app-info {
    flex-direction: column;
  }
  
  .pwa-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .ios-actions {
    flex-direction: column;
  }
}

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================= */
/* PREMIUM NAVIGATION - FIXED HAMBURGER MENU */
/* ============================================= */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    width: 100%;
    transition: all var(--transition-smooth);
    margin-top: 60px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(60px);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10001;
}

/* Logo - Premium Design */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 10001;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--royal-blue);
    box-shadow: var(--shadow-glow-blue);
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.logo-img:hover {
    border-color: var(--royal-red);
    box-shadow: var(--shadow-glow-red);
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.nav-logo:hover .logo-text::after {
    transform: scaleX(1);
}

/* Desktop Navigation - HIDDEN ON MOBILE */
.nav-menu {
    display: none;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-smooth);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--royal-blue);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

.portal-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.portal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s;
}

.portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.portal-btn:hover::before {
    left: 100%;
}

/* Mobile Menu Toggle Button - ALWAYS VISIBLE ON MOBILE */
.mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 10001;
}

.menu-toggle-btn {
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    color: var(--royal-blue);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    z-index: 10001;
}

.menu-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

.menu-toggle-btn.active {
    color: var(--royal-red);
}

/* ============================================= */
/* MOBILE MENU - FIXED SIDEBAR */
/* ============================================= */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    z-index: 9999;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-top: 70px; /* Space for fixed header */
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Header */
.mobile-menu-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-lg);
    z-index: 10000;
    border-bottom: 1px solid #e5e7eb;
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: var(--space-2xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1;
    overflow-y: auto;
    margin-top: 70px; /* Push content below fixed header */
}

/* Mobile Menu Links */
.mobile-nav-link {
    display: block;
    padding: var(--space-lg) var(--space-xl);
    color: #374151;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    text-align: center;
    background: rgba(249, 250, 251, 0.8);
    margin: var(--space-xs) 0;
}

.mobile-nav-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.mobile-nav-link i {
    margin-right: var(--space-sm);
    width: 24px;
    text-align: center;
}

/* Mobile Portal Button */
.mobile-portal-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: all var(--transition-smooth);
    margin-top: var(--space-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.mobile-portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.mobile-portal-btn i {
    margin-right: var(--space-sm);
}

/* Menu Close Button */
.menu-close-btn {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    font-size: var(--font-size-xl);
    color: var(--royal-red);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
}

.menu-close-btn:hover {
    background: var(--royal-red);
    color: white;
    transform: rotate(90deg);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
/* ============================================= */
/* HERO SECTION - ENHANCED BRIGHTNESS */
/* ============================================= */
/* ============================================= */
/* HERO SECTION - CRYSTAL CLEAR & SHARP */
/* ============================================= */

.hero-section {
    min-height: 100vh;
    position: relative;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Changed from gradient */
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
}

/* Remove the animated background glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 60%
    );
    animation: heroGlow 8s ease-in-out infinite alternate;
    z-index: 1;
    opacity: 0.3; /* Very subtle */
}

@keyframes heroGlow {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s var(--transition-smooth);
    transform: scale(1.05);
    filter: brightness(1) saturate(1.1) contrast(1.05); /* Removed darkening, enhanced sharpness */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.05) saturate(1.15) contrast(1.1); /* Slightly brighter active slide */
}

/* Very subtle gradient overlay for readability only */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.15) 0%,      /* Very transparent */
        rgba(126, 34, 206, 0.08) 50%,    /* Very transparent */
        rgba(220, 38, 38, 0.15) 100%     /* Very transparent */
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: var(--space-xl);
}

.hero-text-container {
    animation: heroEntrance 1.2s var(--transition-smooth) both;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: white;
    text-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.8),    /* Strong shadow for readability */
        0 4px 30px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -1px;
    animation: titleGlow 4s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 2px 20px rgba(0, 0, 0, 0.8),
            0 4px 30px rgba(0, 0, 0, 0.6),
            0 0 40px rgba(0, 0, 0, 0.4);
    }
    100% {
        text-shadow: 
            0 2px 25px rgba(0, 0, 0, 0.9),
            0 4px 35px rgba(0, 0, 0, 0.7),
            0 6px 45px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(59, 130, 246, 0.3); /* Subtle color glow */
    }
}

.hero-motto {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 300;
    color: white;
    text-shadow: 
        0 2px 15px rgba(0, 0, 0, 0.8),
        0 4px 25px rgba(0, 0, 0, 0.6);
    margin-bottom: var(--space-md);
    line-height: 1.3;
    animation: mottoBounce 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes mottoBounce {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotate(0deg);
        text-shadow: 
            0 2px 15px rgba(0, 0, 0, 0.8),
            0 4px 25px rgba(0, 0, 0, 0.6);
    }
    25% { 
        transform: translateY(-15px) scale(1.05) rotate(-1deg);
        text-shadow: 
            0 2px 20px rgba(0, 0, 0, 0.9),
            0 4px 30px rgba(0, 0, 0, 0.7);
    }
    50% { 
        transform: translateY(-8px) scale(1.03) rotate(1deg);
        text-shadow: 
            0 2px 18px rgba(0, 0, 0, 0.9),
            0 4px 28px rgba(0, 0, 0, 0.7);
    }
    75% { 
        transform: translateY(-12px) scale(1.04) rotate(-0.5deg);
        text-shadow: 
            0 2px 19px rgba(0, 0, 0, 0.9),
            0 4px 29px rgba(0, 0, 0, 0.7);
    }
}

.hero-slogan {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: white;
    text-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.8),
        0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: var(--space-2xl);
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: sloganBounce 4s ease-in-out infinite 0.5s both;
    transform-origin: center;
}

@keyframes sloganBounce {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotate(0deg);
        text-shadow: 
            0 2px 12px rgba(0, 0, 0, 0.8),
            0 4px 20px rgba(0, 0, 0, 0.6);
    }
    33% { 
        transform: translateY(-12px) scale(1.04) rotate(2deg);
        text-shadow: 
            0 2px 15px rgba(0, 0, 0, 0.9),
            0 4px 25px rgba(0, 0, 0, 0.7);
    }
    66% { 
        transform: translateY(-6px) scale(1.02) rotate(-2deg);
        text-shadow: 
            0 2px 14px rgba(0, 0, 0, 0.9),
            0 4px 24px rgba(0, 0, 0, 0.7);
    }
}

/* For ultra-clear display - OPTIONAL: Use this if you want NO overlay at all */
@media (min-width: 1024px) {
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(30, 64, 175, 0.1) 0%,      /* Almost invisible */
            rgba(126, 34, 206, 0.05) 50%,   /* Almost invisible */
            rgba(220, 38, 38, 0.1) 100%     /* Almost invisible */
        );
    }
    
    .slide,
    .slide.active {
        filter: brightness(1) saturate(1) contrast(1); /* No filter at all for desktop */
    }
}

/* Ensure text is always readable on any background */
.hero-title,
.hero-motto,
.hero-slogan {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.enroll-btn {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: var(--space-lg) var(--space-3xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: 
        var(--shadow-xl),
        var(--shadow-glow-blue);
    position: relative;
    overflow: hidden;
    animation: gradientShift 4s ease infinite, btnPulse 3s var(--transition-smooth) infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.enroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 1s;
}

.enroll-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        var(--shadow-2xl),
        var(--shadow-glow-red);
    animation: none;
}

.enroll-btn:hover::before {
    left: 100%;
}

/* ============================================= */
/* GLASS TILES SECTION */
/* ============================================= */

.glass-tiles-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.glass-tiles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite alternate;
}

@keyframes backgroundFloat {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.1) rotate(3deg);
    }
}

.glass-tiles-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.glass-tile {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--glass-shadow);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.glass-tile:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-2xl),
        0 0 60px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.tile-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.tile-icon {
    font-size: var(--font-size-5xl);
    color: var(--royal-blue);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-smooth);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    position: relative;
    display: block;
}

.glass-tile:hover .tile-icon {
    transform: scale(1.2) rotate(15deg);
    color: var(--royal-red);
}

.tile-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tile-description {
    font-size: var(--font-size-lg);
    color: #6b7280;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    line-height: 1.6;
}

.tile-note {
    font-size: var(--font-size-sm);
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

/* ============================================= */
/* COMMON SECTION STYLES */
/* ============================================= */

.section-title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================= */
/* ABOUT SECTION */
/* ============================================= */

.about-section {
    padding: var(--space-4xl) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: var(--font-size-xl);
    color: #4b5563;
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
    font-weight: 400;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal-blue);
}

.feature-icon {
    font-size: var(--font-size-2xl);
    color: var(--royal-red);
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.feature-item:hover .feature-icon {
    transform: scale(1.3) rotate(20deg);
    color: var(--royal-blue);
}

.feature-text {
    font-size: var(--font-size-lg);
    color: #1f2937;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-md);
    height: 400px;
    margin: var(--space-2xl) 0;
    position: relative;
}

.collage-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-magic);
    border: 3px solid white;
    position: relative;
    animation: collageFloat 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes collageFloat {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg)) scale(1);
    }
    25% {
        transform: translateY(-10px) rotate(calc(var(--rotation, 0deg) + 1deg)) scale(1.02);
    }
    50% {
        transform: translateY(-5px) rotate(calc(var(--rotation, 0deg) - 1deg)) scale(1.01);
    }
    75% {
        transform: translateY(-8px) rotate(calc(var(--rotation, 0deg) + 0.5deg)) scale(1.015);
    }
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-magic);
}

.collage-image:hover {
    z-index: 10;
    box-shadow: 
        var(--shadow-2xl),
        var(--shadow-glow-blue);
    transform: scale(1.05) rotate(0deg) !important;
    animation-play-state: paused;
}

.collage-image:hover img {
    transform: scale(1.1);
}

/* ============================================= */
/* ACTIVITIES SECTION */
/* ============================================= */

.activities-section {
    padding: var(--space-4xl) 0;
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.activities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.activity-card {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.activity-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(59, 130, 246, 0.15);
}

.activity-icon {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
    display: block;
}

.activity-card:hover .activity-icon {
    transform: scale(1.3) rotate(15deg);
}

.activity-icon.academic {
    color: var(--royal-blue);
    text-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.activity-icon.arts {
    color: var(--royal-red);
    text-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.activity-icon.sports {
    color: #10b981;
    text-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.activity-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: #1f2937;
    position: relative;
    z-index: 2;
}

.activity-description {
    font-size: var(--font-size-lg);
    color: #6b7280;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ============================================= */
/* VISION & MISSION SECTION */
/* ============================================= */

.vision-section {
    padding: var(--space-4xl) 0;
    background: white;
    position: relative;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.vision-mission-card {
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.vision-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.vision-image,
.mission-image {
    transition: transform var(--transition-magic);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-mission-card:hover .vision-image,
.vision-mission-card:hover .mission-image {
    transform: scale(1.1);
}

.card-content {
    padding: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: var(--radius-full);
    transition: width var(--transition-smooth);
}

.vision-mission-card:nth-child(1) .card-title {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-mission-card:nth-child(1) .card-title::after {
    background: var(--royal-blue);
}

.vision-mission-card:nth-child(2) .card-title {
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--royal-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-mission-card:nth-child(2) .card-title::after {
    background: var(--royal-red);
}

.vision-mission-card:hover .card-title::after {
    width: 80px;
}

.card-description {
    font-size: var(--font-size-lg);
    color: #4b5563;
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================= */
/* PROPRIETRESS SECTION */
/* ============================================= */

.proprietress-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.proprietress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
}

.proprietress-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
}

.proprietress-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.proprietress-image {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-smooth);
    position: relative;
}

.proprietress-card:hover .proprietress-image {
    transform: scale(1.05);
}

.proprietress-name {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--royal-blue);
    margin-bottom: var(--space-sm);
}

.proprietress-title {
    font-size: var(--font-size-xl);
    color: var(--royal-red);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.proprietress-message {
    font-size: var(--font-size-lg);
    color: #6b7280;
    line-height: 1.7;
    font-style: italic;
}

/* ============================================= */
/* DIRECTOR SECTION */
/* ============================================= */

.director-section {
    padding: var(--space-4xl) 0;
    background: white;
    position: relative;
}

.director-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
}

.director-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.director-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.director-image-container {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
    position: relative;
}

.director-card:hover .director-image-container {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.director-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-magic);
}

.director-card:hover .director-image {
    transform: scale(1.05);
}

.director-text {
    text-align: center;
}

.director-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
}

.director-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-smooth);
}

.director-card:hover .director-title::after {
    width: 100px;
}

.director-quote {
    font-size: var(--font-size-xl);
    color: #1f2937;
    font-style: italic;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    border-left: 4px solid var(--royal-blue);
    padding-left: var(--space-lg);
    text-align: left;
    position: relative;
}

.director-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: var(--font-size-6xl);
    color: var(--royal-blue);
    opacity: 0.2;
    font-family: serif;
}

.director-message {
    font-size: var(--font-size-lg);
    color: #6b7280;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    text-align: left;
}

.director-name {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--royal-red);
    text-align: left;
}

/* ============================================= */
/* CLASSES SECTION */
/* ============================================= */

.classes-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.classes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
}

.class-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.class-toggle {
    display: flex;
    background: white;
    padding: var(--space-sm);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    backdrop-filter: blur(20px);
}

.toggle-btn {
    padding: var(--space-md) var(--space-lg);
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-smooth);
    color: #6b7280;
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    min-width: 140px;
    text-align: center;
    z-index: 1;
}

.toggle-btn.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
}

.toggle-btn:hover:not(.active) {
    color: var(--royal-blue);
    transform: translateY(-2px);
}

.class-content {
    margin-top: var(--space-xl);
    position: relative;
    z-index: 2;
}

.class-panel {
    display: none;
    animation: panelSlideIn 0.6s var(--transition-smooth) both;
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.class-panel.active {
    display: block;
}

.class-panel-content {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all var(--transition-smooth);
}

.class-panel-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.class-image-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
    position: relative;
}

.class-panel-content:hover .class-image-container {
    transform: scale(1.02);
}

.class-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-magic);
}

.class-panel-content:hover .class-image {
    transform: scale(1.05);
}

.class-name {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: #1f2937;
    text-align: center;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.class-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    color: #6b7280;
    text-align: center;
}

.class-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.class-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-base);
    color: #4b5563;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.class-feature:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(8px);
}

.feature-check {
    color: #10b981;
    font-size: var(--font-size-xl);
    transition: all var(--transition-smooth);
    display: block;
}

.class-feature:hover .feature-check {
    transform: scale(1.3) rotate(15deg);
    color: var(--royal-blue);
}

/* ============================================= */
/* ENROLLMENT SECTION */
/* ============================================= */

.enrollment-section {
    padding: var(--space-4xl) 0;
    background: white;
    position: relative;
}

.enrollment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
}

.enrollment-form-container {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-3xl);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
}

.enrollment-form-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-blue);
}

.enrollment-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
    color: #1f2937;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    background: white;
    color: #1f2937;
    font-size: var(--font-size-base);
    transition: all var(--transition-smooth);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--royal-blue);
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.15),
        var(--shadow-sm);
    transform: translateY(-2px);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: var(--space-xl);
}

.submit-enroll-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-lg) var(--space-3xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.submit-enroll-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow-red);
}

/* ============================================= */
/* FOOTER */
/* ============================================= */

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.footer-section {
    text-align: center;
}

.footer-title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #cbd5e1;
    font-size: var(--font-size-lg);
    line-height: 1.6;
}

.footer-heading {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: all var(--transition-smooth);
    position: relative;
    padding-left: var(--space-md);
}

.footer-link::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--royal-red);
    transition: transform var(--transition-smooth);
}

.footer-link:hover {
    color: white;
    transform: translateX(8px);
}

.footer-link:hover::before {
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: #cbd5e1;
    font-size: var(--font-size-base);
    transition: color var(--transition-smooth);
}

.footer-contact li:hover {
    color: white;
}

.contact-icon {
    color: var(--royal-blue);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.social-link {
    color: #cbd5e1;
    font-size: var(--font-size-2xl);
    transition: all var(--transition-smooth);
    padding: var(--space-sm);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: white;
    background: var(--royal-blue);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: var(--space-lg);
    text-align: center;
    color: #94a3b8;
    font-size: var(--font-size-base);
    position: relative;
    z-index: 2;
}

/* ============================================= */
/* MODAL STYLES */
/* ============================================= */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.6s var(--transition-smooth) both;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--royal-blue);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    color: #6b7280;
    transition: all var(--transition-smooth);
    font-weight: 300;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.close:hover {
    color: var(--royal-red);
    background: #f3f4f6;
    transform: scale(1.1) rotate(90deg);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.cancel-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.cancel-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================= */
/* PORTAL MODAL */
/* ============================================= */

.portal-modal {
    max-width: 600px;
}

.portal-modal-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--royal-blue);
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.portal-modal-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.portal-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.portal-option {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    background: var(--gradient-card);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portal-option:hover {
    border-color: var(--royal-blue);
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portal-option-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 2;
}

.admin-portal .portal-option-title {
    color: var(--royal-blue);
}

.staff-portal .portal-option-title {
    color: var(--royal-red);
}

.student-portal .portal-option-title {
    color: #10b981;
}

.parent-portal .portal-option-title {
    color: #8b5cf6;
}

.portal-option-title i {
    font-size: var(--font-size-2xl);
}

.portal-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.portal-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    background: white;
    color: #1f2937;
    font-size: var(--font-size-base);
    transition: all var(--transition-smooth);
    font-family: inherit;
}

.portal-input:focus {
    border-color: var(--royal-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.portal-login-btn {
    width: 100%;
    padding: var(--space-md);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    box-shadow: var(--shadow-md);
}

.portal-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.admin-btn {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%);
}

.staff-btn {
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--royal-red-light) 100%);
}

.student-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.parent-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.portal-help {
    text-align: center;
    padding: var(--space-lg);
    background: #f0f9ff;
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--royal-blue);
}

.portal-help p {
    color: #6b7280;
    font-size: var(--font-size-base);
    margin: 0;
    line-height: 1.6;
}

/* ============================================= */
/* NOTIFICATION STYLES */
/* ============================================= */

.notification {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl);
    color: white;
    font-weight: 600;
    z-index: 30000;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.notification.info {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%);
}

/* ============================================= */
/* LOADING ANIMATION */
/* ============================================= */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: var(--space-sm);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================= */
/* TABLET STYLES (768px and up) */
/* ============================================= */

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    /* Navigation - Show desktop menu, hide mobile toggle */
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .logo-text {
        font-size: var(--font-size-xl);
        max-width: 180px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: var(--font-size-6xl);
    }
    
    .hero-motto {
        font-size: var(--font-size-3xl);
    }
    
    .hero-slogan {
        font-size: var(--font-size-2xl);
    }
    
    /* Glass Tiles */
    .glass-tiles-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Section Titles */
    .section-title {
        font-size: var(--font-size-5xl);
    }
    
    /* About Section */
    .about-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: var(--space-4xl);
    }
    
    .about-text {
        text-align: left;
        flex: 1;
    }
    
    .about-image-grid {
        flex: 1;
        height: 450px;
        margin: 0;
    }
    
    /* Activities */
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Vision & Mission */
    .vision-mission-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Director Section */
    .director-content {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3xl);
    }
    
    .director-text {
        text-align: left;
        flex: 1;
    }
    
    .director-image-container {
        flex: 1;
    }
    
    /* Classes Toggle */
    .class-toggle {
        flex-wrap: nowrap;
    }
    
    .toggle-btn {
        min-width: 150px;
    }
    
    .class-panel-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
        align-items: center;
        padding: var(--space-3xl);
    }
    
    .class-image-container {
        margin-bottom: 0;
    }
    
    .class-name,
    .class-description {
        text-align: left;
    }
    
    /* Enrollment Form */
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-contact li {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    /* Portal Modal */
    .portal-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================= */
/* DESKTOP STYLES (1024px and up) */
/* ============================================= */

@media (min-width: 1024px) {
    /* Glass Tiles */
    .glass-tiles-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Hero Section */
    .hero-title {
        font-size: var(--font-size-7xl);
    }
    
    /* About Image Grid */
    .about-image-grid {
        height: 500px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: var(--font-size-6xl);
    }
}

/* ============================================= */
/* ACCESSIBILITY & PERFORMANCE */
/* ============================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid var(--royal-blue);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --royal-blue: #000080;
        --royal-red: #800000;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--royal-blue);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--royal-red);
}

/* Selection Styling */
::selection {
    background: var(--royal-blue);
    color: white;
}

::-moz-selection {
    background: var(--royal-blue);
    color: white;
}

/* Print Styles */
@media print {
    .navbar,
    .glass-tiles-section,
    .enroll-btn,
    .modal,
    .footer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-section {
        height: auto;
        margin-top: 0;
    }
    
    .hero-content {
        position: static;
        color: black;
    }
    
    .hero-title,
    .hero-motto,
    .hero-slogan {
        color: black;
        text-shadow: none;
    }
}

/* ============================================= */
/* FIX FOR iOS SAFARI */
/* ============================================= */
/* Basic styling for the container */
.parent-register-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

/* Style for the paragraph */
.parent-register-link p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Style for the link */
.create-account-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    background-color: #e3f2fd;
    transition: all 0.3s ease;
}

/* Hover effect */
.create-account-link:hover {
    background-color: #2196F3;
    color: white;
    text-decoration: none;
}

/* Icon styling */
.create-account-link i {
    font-size: 14px;
}
/* ============================================= */
/* ANIMATED CONTACT BANNER - CAPTIVATING & EYE-CATCHING */
/* ============================================= */

/* ============================================= */
/* PREMIUM ANIMATED CONTACT BANNER - THIN & ELEGANT */
/* ============================================= */

.animated-contact-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.98) 0%,
        rgba(37, 99, 235, 0.98) 30%,
        rgba(220, 38, 38, 0.98) 70%,
        rgba(225, 29, 72, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    color: white;
    padding: 8px 0;
    z-index: 9999; /* Below mobile menu (10000) but above everything else */
    height: 50px; /* Fixed thin height */
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: bannerSlideIn 0.6s var(--transition-smooth) forwards;
    overflow: hidden;
}

@keyframes bannerSlideIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add subtle particles effect */
.animated-contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(248, 113, 113, 0.1) 0%, transparent 50%);
    animation: particleFloat 15s linear infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-20px) rotate(360deg);
    }
}

.contact-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-slide {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 30px;
    animation: marqueeScroll 45s linear infinite;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    will-change: transform;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s var(--transition-smooth);
    height: 32px;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 14px;
    animation: iconFloat 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon.phone {
    color: #93c5fd; /* Light blue */
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.5);
}

.contact-icon.map {
    color: #fca5a5; /* Light red */
    text-shadow: 0 0 10px rgba(252, 165, 165, 0.5);
}

.contact-icon.clock {
    color: #fde68a; /* Light gold */
    text-shadow: 0 0 10px rgba(253, 230, 138, 0.5);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-2px) rotate(5deg);
    }
}

.contact-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.contact-number {
    font-size: 13px;
    font-weight: 800;
    color: white;
    position: relative;
    padding: 0 4px;
    animation: numberGlow 4s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
    }
    50% {
        text-shadow: 
            0 0 10px rgba(96, 165, 250, 0.6),
            0 0 20px rgba(96, 165, 250, 0.3);
    }
}

.contact-address {
    font-size: 12px;
    font-weight: 600;
    color: white;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: addressShine 6s ease-in-out infinite;
}

@keyframes addressShine {
    0%, 100% {
        text-shadow: 0 0 5px rgba(248, 113, 113, 0.3);
    }
    50% {
        text-shadow: 
            0 0 8px rgba(248, 113, 113, 0.5),
            0 0 16px rgba(248, 113, 113, 0.2);
    }
}

.contact-time {
    font-size: 12px;
    font-weight: 600;
    color: white;
    animation: timePulse 5s ease-in-out infinite;
}

@keyframes timePulse {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(253, 230, 138, 0.4);
    }
}

/* Quick Action Icons (Compact) */
.banner-actions {
    display: flex;
    gap: 8px;
    padding: 0 15px;
    height: 100%;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.call-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.directions-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.action-btn i {
    font-size: 14px;
}

/* Scroll behavior */
.animated-contact-banner.scrolled-down {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s var(--transition-smooth), opacity 0.3s;
}

.animated-contact-banner.scrolled-up {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s var(--transition-smooth), opacity 0.3s;
}

/* Hover pause effect */
.animated-contact-banner:hover .contact-slide {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .animated-contact-banner {
        height: 46px;
        padding: 6px 0;
    }
    
    .contact-slide {
        gap: 25px;
        padding-left: 25px;
        animation-duration: 40s;
    }
    
    .contact-item {
        padding: 3px 10px;
        height: 30px;
        gap: 6px;
    }
    
    .contact-number, .contact-address, .contact-time {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .animated-contact-banner {
        height: 42px;
        padding: 5px 0;
    }
    
    .contact-slide {
        gap: 20px;
        padding-left: 20px;
        animation-duration: 35s;
    }
    
    .contact-item {
        padding: 2px 8px;
        height: 28px;
        gap: 5px;
    }
    
    .contact-text {
        font-size: 10px;
    }
    
    .contact-number, .contact-address, .contact-time {
        font-size: 10px;
    }
    
    .contact-address {
        max-width: 150px;
    }
    
    .banner-actions {
        gap: 6px;
        padding: 0 12px;
    }
    
    .action-btn {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 640px) {
    .animated-contact-banner {
        height: 38px;
        padding: 4px 0;
        flex-direction: column;
        height: auto;
        min-height: 38px;
    }
    
    .contact-marquee {
        width: 100%;
        height: 38px;
    }
    
    .contact-slide {
        gap: 15px;
        padding-left: 15px;
        animation-duration: 30s;
    }
    
    .contact-item {
        padding: 2px 6px;
        height: 26px;
        gap: 4px;
    }
    
    .contact-text {
        display: none; /* Hide labels on very small screens */
    }
    
    .contact-number, .contact-address, .contact-time {
        font-size: 9px;
    }
    
    .contact-address {
        max-width: 120px;
    }
    
    .banner-actions {
        width: 100%;
        justify-content: center;
        padding: 4px 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        gap: 10px;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
    }
}

/* Fix for mobile menu overlap */
@media (max-width: 640px) {
    .navbar {
        margin-top: 42px; /* Adjust for banner height on mobile */
    }
}

/* Pause animations when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
    .animated-contact-banner,
    .contact-slide,
    .contact-icon,
    .contact-number,
    .contact-address,
    .contact-time,
    .action-btn {
        animation: none !important;
        transition: none !important;
    }
    
    .animated-contact-banner::before {
        animation: none !important;
    }
}
/* ============================================= */
/* PREMIUM CONTACT BUTTONS - ENHANCED STYLING */
/* ============================================= */

/* Banner Actions Container - Fixed positioning */
.banner-actions {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    min-width: 200px;
    position: relative;
    z-index: 9999;
}

/* Base button styling */
.banner-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* WhatsApp Button - Floating */
.premium-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 0 30px rgba(37, 211, 102, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: whatsappFloat 3s ease-in-out infinite;
}

@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 30px rgba(37, 211, 102, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 
            0 6px 25px rgba(37, 211, 102, 0.6),
            0 0 40px rgba(37, 211, 102, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.premium-whatsapp .btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.premium-whatsapp .btn-icon {
    font-size: 24px;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.premium-whatsapp .btn-text {
    font-size: 10px;
    font-weight: 700;
    opacity: 0.9;
}

/* Call Now Button */
.banner-btn.call-now {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-btn.call-now:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(37, 99, 235, 0.4),
        0 0 40px rgba(37, 99, 235, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Get Directions Button */
.banner-btn.get-directions {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-btn.get-directions:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(220, 38, 38, 0.4),
        0 0 40px rgba(220, 38, 38, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Button icon styling */
.banner-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.banner-btn:hover i {
    transform: scale(1.2);
}

/* Ripple effect for all buttons */
.banner-btn::after,
.premium-whatsapp::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.banner-btn:active::after,
.premium-whatsapp:active::after {
    width: 200px;
    height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .banner-actions {
        gap: 8px;
        min-width: 180px;
    }
    
    .banner-btn {
        padding: 7px 14px;
        font-size: 11px;
        min-width: 90px;
    }
    
    .premium-whatsapp {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 768px) {
    .banner-actions {
        gap: 6px;
        min-width: 160px;
        padding: 0 10px;
    }
    
    .banner-btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: 80px;
        gap: 6px;
    }
    
    .premium-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .premium-whatsapp .btn-icon {
        font-size: 20px;
    }
    
    .premium-whatsapp .btn-text {
        font-size: 9px;
    }
}

@media (max-width: 640px) {
    .banner-actions {
        gap: 4px;
        min-width: auto;
        justify-content: center;
        width: 100%;
        padding: 8px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .banner-btn {
        padding: 5px 10px;
        font-size: 9px;
        min-width: 70px;
        gap: 4px;
    }
    
    .banner-btn i {
        font-size: 12px;
    }
    
    .premium-whatsapp {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .premium-whatsapp .btn-content {
        gap: 2px;
    }
    
    .premium-whatsapp .btn-icon {
        font-size: 18px;
    }
    
    .premium-whatsapp .btn-text {
        font-size: 8px;
    }
}

/* Ensure mobile menu appears above buttons */
@media (max-width: 768px) {
    .mobile-menu {
        z-index: 10000;
    }
    
    .premium-whatsapp {
        z-index: 9997; /* Below mobile menu */
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    .banner-btn:hover {
        transform: none;
    }
    
    .banner-btn:active {
        transform: scale(0.95);
    }
    
    .premium-whatsapp:hover {
        transform: none;
    }
    
    .premium-whatsapp:active {
        transform: scale(0.95);
    }
}