﻿/* ==========================================================================
   JUSTVIX - PREMIUM EDTECH LANDING WEBSITE
   DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* --- LIGHT THEME (DEFAULT) --- */
  --bg-color: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-color: #090d16;       /* Near black for maximum contrast and crispness */
  --text-secondary: #1e293b;   /* Deep slate for highly readable body copy */
  --text-muted: #475569;       /* Slate 600 for subtext */
  
  --primary-color: #4f46e5;     /* Indigo 600 */
  --primary-glow: rgba(79, 70, 229, 0.15);
  --secondary-color: #7c3aed;   /* Violet 600 */
  --secondary-glow: rgba(124, 58, 237, 0.15);
  --accent-color: #06b6d4;      /* Cyan 500 */
  --accent-glow: rgba(6, 182, 212, 0.15);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-text: linear-gradient(135deg, var(--text-color) 30%, var(--primary-color) 100%);
  
  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(15, 23, 42, 0.06);
  --glass-border-hover: rgba(79, 70, 229, 0.2);
  --border-color: rgba(15, 23, 42, 0.08);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 24px -10px rgba(0, 0, 0, 0.06), 0 4px 12px -5px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 30px -5px rgba(79, 70, 229, 0.03);
  --shadow-premium: 0 30px 60px -15px rgba(0, 0, 0, 0.08), 0 0 40px rgba(79, 70, 229, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  
  /* Fonts & Transitions */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] {
  /* --- DARK THEME --- */
  --bg-color: #03030c;
  --bg-secondary: #080812;
  --bg-tertiary: #0c0d21;
  
  --text-color: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --primary-color: #6366f1;     /* Indigo 500 */
  --primary-glow: rgba(99, 102, 241, 0.25);
  --secondary-color: #a855f7;   /* Purple 500 */
  --secondary-glow: rgba(168, 85, 247, 0.25);
  --accent-color: #22d3ee;      /* Cyan 400 */
  --accent-glow: rgba(34, 211, 238, 0.25);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  --gradient-light: linear-gradient(135deg, #080812 0%, #0c0d21 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, var(--primary-color) 100%);
  
  /* Glassmorphism & Borders */
  --glass-bg: rgba(8, 8, 18, 0.8);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(99, 102, 241, 0.3);
  --border-color: rgba(255, 255, 255, 0.08);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.1);
  --shadow-premium: 0 35px 70px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Background Gradients/Blobs for Premium Feel */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(120px);
  opacity: 0.15;
  transition: opacity 0.5s ease;
}

body::before {
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  top: -10%;
  left: -15%;
}

body::after {
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  bottom: -10%;
  right: -15%;
}

/* Grid overlay background */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: radial-gradient(circle, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  opacity: 0.4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.section {
  padding: 8rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--primary-glow);
  color: var(--primary-color);
  padding: 0.4rem 1.2rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Cards & Containers */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-premium);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 99px;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5), 0 0 20px var(--secondary-glow);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(6, 182, 212, 0.5);
}

/* Gradient Text */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom logo pill container to make the black logo look intentional */
.logo-badge {
  background: #03030c;
  padding: 0.4rem 1.2rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.logo-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-badge:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25), 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   1. LOADING SCREEN
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  background: #03030c; /* Deep premium black to match logo background */
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  animation: pulse 3s infinite alternate ease-in-out;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
}

.preloader-logo {
  width: 240px;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 10px 30px rgba(124, 58, 237, 0.3));
  animation: logo-bounce 2s infinite ease-in-out;
}

.preloader-progress-track {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 99px;
  box-shadow: 0 0 10px var(--primary-color);
  animation: fill-progress 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   2. STICKY NAVIGATION BAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo .logo-badge {
  padding: 0.3rem 1rem;
}

.nav-logo .logo-badge img {
  height: 30px;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--gradient-primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
}

.nav-btn-register {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Hide register button in navbar on mobile — it's in the bottom nav */
@media (max-width: 576px) {
  .nav-btn-register {
    display: none !important;
  }
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-color);
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-link:hover, .mobile-link.active {
  color: var(--primary-color);
  padding-left: 8px;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 12, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .desktop-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  padding: 9rem 0 5rem 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  width: 100%;
  max-width: 550px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
}

.hero-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 4s infinite alternate ease-in-out;
}

/* Hero Logo Visual */
.hero-logo-card {
  background: #03030c; /* Matches the black background of the logo */
  padding: 3.5rem;
  border-radius: 40px;
  box-shadow: var(--shadow-lg), 0 20px 50px rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite alternate;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.1;
}

.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 40px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.02), rgba(124, 58, 237, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.5));
}

@media (max-width: 992px) {
  .hero {
    padding-top: 8rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    margin: 0 auto;
  }
  .hero-logo-card {
    margin: 0 auto;
  }
}

/* Hide hero logo on mobile — saves space, keeps focus on CTA */
@media (max-width: 576px) {
  .hero-visual-desktop {
    display: none;
  }
}

/* ==========================================================================
   4. SCROLLING ANNOUNCEMENT BAR
   ========================================================================== */

.announcement-bar {
  background: #03030c; /* High contrast black background */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.marquee-track {
  display: flex;
  width: 100%;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  gap: 4rem;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.marquee-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

.marquee-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
  flex-shrink: 0;
}

.announcement-bar:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item:hover .marquee-text {
  color: var(--accent-color);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   5. ABOUT JUSTVIX & FOUNDER
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-tabs-nav {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.35rem;
  border-radius: 99px;
  width: fit-content;
}

.about-tab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 99px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.about-tab-btn:hover {
  color: var(--primary-color);
}

.about-tab-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.about-tab-content {
  min-height: 180px;
}

.about-panel {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.about-panel.active {
  display: block;
}

.about-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.about-panel p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Founder Card Styling */
.founder-card {
  padding: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.founder-avatar-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.founder-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
}

.founder-meta h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.founder-qualification {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  background: var(--secondary-glow);
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
}

.founder-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary-color);
}

.founder-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.founder-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* ==========================================================================
   PREMIUM NOTICE BOARD TICKER
   ========================================================================== */

.notice-board-ticker {
  position: fixed;
  top: 78px;
  left: 0;
  width: 100%;
  height: 46px;
  z-index: 999;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Dark glass base */
  background: rgba(3, 3, 18, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35), 0 0 40px rgba(79, 70, 229, 0.06);
}

/* Animated top-edge glow line */
.notice-board-ticker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6366f1 30%, #22d3ee 60%, #a855f7 85%, transparent 100%);
  background-size: 200% 100%;
  animation: glow-sweep 4s linear infinite;
}

@keyframes glow-sweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.navbar.scrolled + .notice-board-ticker {
  top: 62px;
}

/* LIVE badge */
.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 1.25rem;
  flex-shrink: 0;
  height: 100%;
}

.ticker-label-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

.ticker-label-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ef4444;
  text-transform: uppercase;
}

/* Divider between LIVE badge and marquee */
.ticker-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  margin-right: 1rem;
}

/* Marquee wrapper */
.notice-marquee {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}

/* Scrolling content */
.notice-marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

/* Pause on hover (desktop) */
.notice-board-ticker:hover .notice-marquee-content {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.notice-marquee-content span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
  letter-spacing: 0.01em;
}

.notice-marquee-content span strong {
  color: #22d3ee;
  font-weight: 800;
}

/* Diamond separator */
.ticker-sep {
  color: #4f46e5 !important;
  font-size: 0.65rem !important;
  opacity: 0.7;
}

/* Adjust Hero padding because of notice board */
.hero {
  padding-top: 12rem;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 11rem;
  }
}

/* ==========================================================================
   HERO WELCOME MESSAGE CARD
   ========================================================================== */

.hero-welcome-msg {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 20px;
  margin-top: 2.5rem;
  max-width: 580px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.hero-welcome-msg:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.welcome-msg-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-glow);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.welcome-msg-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. CLASSES HANDLED BY (FACULTY PROFILES)
   ========================================================================== */

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .faculty-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
}

.faculty-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.faculty-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faculty-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.faculty-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--primary-glow);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.faculty-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Faculty Statement Card */
.faculty-statement-card {
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.statement-glow {
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.statement-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.statement-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.4);
}

.statement-text-wrapper h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.statement-text-wrapper p {
  font-size: 1.15rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .faculty-statement-card {
    padding: 2rem 1.5rem;
  }
  .statement-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}


/* ==========================================================================
   7. WHY CHOOSE JUSTVIX
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  height: 100%;
}

.why-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-glow);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(79, 70, 229, 0.1);
  transition: var(--transition-bounce);
}

.why-card:hover .why-icon-wrapper {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: rotate(-8deg) scale(1.1);
}

.why-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. COURSES SECTION
   ========================================================================== */

.courses-filter-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.courses-filter-nav {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.4rem;
  border-radius: 99px;
  gap: 0.25rem;
}

.courses-filter-btn {
  background: none;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 99px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.courses-filter-btn:hover {
  color: var(--primary-color);
}

.courses-filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-badge-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.25rem 2.25rem 0 2.25rem;
}

.course-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.course-category-tag.school {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.course-category-tag.law {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.course-category-tag.commerce {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.course-type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.course-body {
  padding: 1.5rem 2.25rem 2rem 2.25rem;
  flex-grow: 1;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.course-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.course-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.course-feature-item i {
  color: #10b981;
  font-size: 1.1rem;
}

.course-footer {
  padding: 0 2.25rem 2.25rem 2.25rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
}

.course-price-info {
  display: flex;
  flex-direction: column;
}

.course-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.course-price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-color);
}

.course-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   9. CRASH COURSE SECTION
   ========================================================================== */

.crash-course-banner {
  background: var(--gradient-primary);
  border-radius: 40px;
  padding: 5rem 4rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.crash-course-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.crash-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.crash-content h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.crash-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.4rem 1.2rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.crash-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.crash-cta-btn {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.crash-cta-btn:hover {
  background: var(--bg-secondary);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.crash-timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 3rem 2.5rem;
}

.timer-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.timer-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0.5rem;
  border-radius: 18px;
  min-width: 70px;
}

.timer-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.timer-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

@media (max-width: 992px) {
  .crash-course-banner {
    padding: 4rem 2.5rem;
  }
  .crash-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .crash-timer-container {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   12. OFFLINE CAMPUS
   ========================================================================== */

.campus-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.campus-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.campus-card {
  width: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.campus-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.campus-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.campus-detail-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.campus-detail-content p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Premium Map Placeholder */
.map-container {
  height: 450px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.map-placeholder-bg {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  position: relative;
}

.map-placeholder-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(30px);
}

.map-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.map-card-logo {
  height: 28px;
  margin-bottom: 1rem;
}

.map-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.map-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .campus-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .map-container {
    height: 380px;
  }
}

/* ==========================================================================
   13. FREQUENTLY ASKED QUESTIONS
   ========================================================================== */

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-bg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  background: var(--bg-color);
}

.faq-trigger {
  width: 100%;
  padding: 1.75rem 2.25rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.faq-item:hover .faq-question {
  color: var(--primary-color);
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-box {
  background: var(--primary-color);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 0 2.25rem 2rem 2.25rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-panel {
  /* Dynamic height set in JS */
}

@media (max-width: 768px) {
  .faq-trigger {
    padding: 1.5rem 1.5rem;
  }
  .faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  .faq-question {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   14. CONTACT SECTION
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.contact-card-link:hover {
  transform: translateX(8px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

.contact-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-glow);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-bounce);
}

.contact-card-link:hover .contact-icon-wrapper {
  background: var(--gradient-primary);
  color: #ffffff;
}

.contact-card-details span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-card-details p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
  word-break: break-all;
}

/* Inline Enquiry Form */
.enquiry-form-card {
  padding: 3rem;
}

.enquiry-form-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.enquiry-form-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-color);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .enquiry-form-card {
    padding: 2.5rem;
  }
}

@media (max-width: 576px) {
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .enquiry-form-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.footer {
  background: #03030c; /* High-end dark footer to match logo */
  color: rgba(255, 255, 255, 0.75);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h3, .footer h4 {
  color: #ffffff;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .logo-badge {
  align-self: flex-start;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-contact-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-link:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* ==========================================================================
   POPUP SYSTEM (MODALS)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 12, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 1.5rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-color);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
  opacity: 0;
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: transparent;
  transform: rotate(90deg);
}

.modal-content {
  padding: 3.5rem 3rem;
}

.modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Success Confirmation Popup */
.success-visual {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem auto;
  border: 2px solid rgba(16, 185, 129, 0.2);
  animation: scaleUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-message-box {
  text-align: center;
}

.success-message-box h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.success-message-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .modal-content {
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */

.floating-actions-container {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: var(--transition-bounce);
  cursor: pointer;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

.floating-call {
  background: #3b82f6;
}

.floating-call:hover {
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.floating-email {
  background: #ea4335;
}

.floating-email:hover {
  box-shadow: 0 12px 30px rgba(234, 67, 53, 0.3);
}

.floating-scrolltop {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.floating-scrolltop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-scrolltop:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.3);
}

@media (max-width: 768px) {
  .floating-actions-container {
    bottom: 1.5rem;
    right: 1.5rem;
    gap: 0.65rem;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.45; }
  100% { transform: scale(0.95); opacity: 0.3; }
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes logo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fill-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* --- Scroll Animation Classes (AOS-like) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   MOBILE-FIRST PREMIUM EXPERIENCE
   ========================================================================== */

/* ── 0. Bottom nav: hidden on desktop ────────────────────────── */
.mobile-bottom-nav { display: none; }

/* ── MAIN MOBILE BREAKPOINT ──────────────────────────────────── */
@media (max-width: 576px) {

  /* 1. Base Typography */
  body {
    font-size: 1rem;
    line-height: 1.75;
    /* space for sticky bottom nav */
    padding-bottom: 70px;
  }

  p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
  }

  /* Hide grid background on mobile (too noisy) */
  .grid-bg { display: none; }

  /* 2. Container padding */
  .container { padding: 0 1.25rem; }

  /* 3. Section spacing */
  .section { padding: 4.5rem 0; }

  .section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .section-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* 4. Notice Ticker on mobile */
  .notice-board-ticker {
    top: 54px;
    height: 38px;
  }

  .navbar.scrolled + .notice-board-ticker {
    top: 46px;
  }

  .ticker-label {
    padding: 0 0.75rem;
  }

  .ticker-label-text {
    font-size: 0.6rem;
  }

  .notice-marquee-content span {
    font-size: 0.78rem;
  }

  /* 5. Sticky Navbar */
  .navbar { padding: 0.75rem 0; }
  .logo-badge img { height: 24px; }

  /* 6. Hero */
  .hero {
    padding-top: 9.5rem;
    padding-bottom: 3.5rem;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content { align-items: center; }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .hero-title {
    font-size: 2.6rem;
    line-height: 1.1;
  }

  .hero-tagline {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  /* Stack buttons, full width, large touch targets */
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    justify-content: center;
    min-height: 52px;
  }

  .hero-welcome-msg {
    padding: 1.25rem;
    margin-top: 2rem;
    border-radius: 16px;
    text-align: left;
  }

  .hero-welcome-msg p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* 7. Modal → Bottom Sheet */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-container {
    max-width: 100%;
    width: 100%;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
    max-height: 90vh;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
    margin-bottom: 0;
  }

  .modal-overlay.open .modal-container {
    transform: translateY(0);
  }

  /* Drag handle */
  .modal-container::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 4px;
    background: var(--border-color);
    border-radius: 99px;
  }

  .modal-close-btn {
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
  }

  .modal-content {
    padding: 2.75rem 1.25rem 1.5rem 1.25rem;
  }

  /* 8. About tabs — scrollable horizontal row */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-tabs-nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 14px;
    padding: 0.3rem;
    display: flex;
    scrollbar-width: none;
  }

  .about-tabs-nav::-webkit-scrollbar { display: none; }

  .about-tab-btn {
    flex-shrink: 0;
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
  }

  .about-panel h3 {
    font-size: 1.45rem;
  }

  .about-panel p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .founder-card { padding: 2rem 1.5rem; }

  /* 9. Horizontal Swipe Carousels */
  .courses-grid,
  .faculty-grid,
  .why-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    /* Bleed to screen edge */
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: 0.5rem 1.25rem 2rem 1.25rem !important;
  }

  .courses-grid::-webkit-scrollbar,
  .faculty-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar { display: none; }

  /* Course cards */
  .course-card {
    flex: 0 0 82% !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
    border-radius: 20px;
    height: auto;
  }

  .course-badge-container { padding: 1.5rem 1.5rem 0; }
  .course-body { padding: 1.25rem 1.5rem 1.5rem; }
  .course-title { font-size: 1.3rem; }
  .course-desc { font-size: 0.92rem; line-height: 1.6; }
  .course-feature-item { font-size: 0.88rem; }
  .course-footer { padding: 0 1.5rem 1.5rem; padding-top: 1rem; }

  /* Why cards */
  .why-card {
    flex: 0 0 82% !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .why-card-content h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
  .why-card-content p { font-size: 0.92rem; line-height: 1.6; }

  /* Faculty cards */
  .faculty-card {
    flex: 0 0 72% !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .faculty-name { font-size: 1.2rem; }
  .faculty-bio { font-size: 0.88rem; line-height: 1.5; }

  /* 10. Courses filter tabs — swipeable */
  .courses-filter-wrapper { justify-content: flex-start; overflow-x: auto; }

  .courses-filter-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 14px;
    padding: 0.3rem;
    gap: 0.2rem;
    scrollbar-width: none;
    width: 100%;
  }

  .courses-filter-nav::-webkit-scrollbar { display: none; }

  .courses-filter-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
  }

  /* 11. Crash Course */
  .crash-course-banner {
    border-radius: 28px;
    padding: 3rem 1.5rem;
  }

  .crash-grid, .mobile-single-col {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    text-align: center;
  }

  .crash-content h2 { font-size: 1.9rem; }
  .crash-desc { font-size: 1rem; }

  .crash-timer-container {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  /* 12. Campus */
  .campus-grid { grid-template-columns: 1fr; gap: 3rem; }
  .campus-card { padding: 2rem 1.5rem; }
  .map-container { height: 300px; border-radius: 20px; }
  .map-card { padding: 1.25rem; max-width: 95%; }

  /* 13. FAQ */
  .faq-trigger { padding: 1.25rem 1.25rem; min-height: 60px; }
  .faq-question { font-size: 1rem; line-height: 1.4; }
  .faq-content { padding: 0 1.25rem 1.5rem; font-size: 0.95rem; }

  /* 14. Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-card-link { padding: 1.25rem; border-radius: 16px; }
  .contact-icon-wrapper { width: 48px; height: 48px; }
  .contact-card-details p { font-size: 1rem; }
  .enquiry-form-card { padding: 2rem 1.25rem; }

  /* 15. Footer */
  .footer { padding: 4rem 0 2rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* 16. Faculty Statement Card */
  .faculty-statement-card { padding: 1.75rem 1.25rem; }
  .statement-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* ── BOTTOM NAVIGATION BAR ───────────────────────────────── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    z-index: 9999;
    justify-content: space-around;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.07);
  }

  [data-theme="dark"] .mobile-bottom-nav {
    background: rgba(5, 5, 14, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 -2px 30px rgba(0, 0, 0, 0.4);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-item i {
    font-size: 1.2rem;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .mobile-nav-item.active {
    color: var(--primary-color);
  }

  .mobile-nav-item.active i {
    transform: translateY(-3px) scale(1.1);
  }

  .mobile-nav-item.highlight { color: #25d366; }
  .mobile-nav-item.highlight.active { color: #25d366; }

  /* Active indicator dot above icon */
  .mobile-nav-item.active::before {
    content: "";
    position: absolute;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
  }

  /* Floating actions hidden on mobile */
  .floating-actions-container { display: none !important; }

  /* ── TACTILE FEEDBACK ──────────────────────────────────── */
  .btn:active,
  .mobile-nav-item:active,
  .courses-filter-btn:active,
  .about-tab-btn:active,
  .faq-trigger:active,
  .contact-card-link:active {
    transform: scale(0.94) !important;
    transition: transform 0.1s ease !important;
  }

  /* 17. Form fields — prevent iOS zoom (font-size ≥ 16px) */
  .form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
  }
}

/* ── Animation for mobile drawer links ──────────────────────── */
@keyframes mobileLinkFadeIn {
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 576px) {
  .mobile-menu-drawer.open .mobile-link {
    animation: mobileLinkFadeIn 0.45s ease forwards;
    opacity: 0;
    transform: translateX(18px);
  }

  .mobile-menu-drawer.open .mobile-link:nth-child(1) { animation-delay: 0.08s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(2) { animation-delay: 0.13s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(3) { animation-delay: 0.18s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(4) { animation-delay: 0.23s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(5) { animation-delay: 0.28s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(6) { animation-delay: 0.33s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(7) { animation-delay: 0.38s; }
  .mobile-menu-drawer.open .mobile-link:nth-child(8) { animation-delay: 0.43s; }
}
