:root {
  /* Colors */
  --primary-color: #355872;
  --accent-color: #7AAACE;
  --secondary-color: #9CD5FF;
  --bg-color: #F7F8F0;
  --text-color: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  
  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  --font-headings: 'Poppins', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(53, 88, 114, 0.05);
  --shadow-md: 0 10px 20px rgba(53, 88, 114, 0.08);
  --shadow-lg: 0 20px 40px rgba(53, 88, 114, 0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}
body.dark-mode {
  --primary-color: #7AAACE; /* Lighter shade for text readability */
  --accent-color: #9CD5FF; /* Vivid highlight for dark mode */
  --bg-color: #0d1621; /* Richer, deep slate blue instead of pure black */
  --text-color: #FFFFFF; /* Pure white for primary text */
  --text-light: #E0E7FF; /* Very bright, slight blue-tinted off-white for secondary text */
  --white: #172434; /* Soft dark panel background */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(156, 213, 255, 0.2); /* New glow variable */
}
/* Header */
header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
  background: transparent;
}
 
header.sticky {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

body.dark-mode header {
    background-color: transparent !important;
    color: #fff;
}

body.dark-mode header.sticky {
    background-color: #0F172A !important;
    color: #fff;
}
/* Header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: all var(--transition-normal);
}

.mobile-enroll-btn {
  display: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (max-width: 920px) {
  .header-container {
    justify-content: space-between;
  }
  header a{
    color: #0d1621 !important;
  }
  body.dark-mode header a{
    color: #fff !important;
  }
  .mobile-enroll-btn {
    display: inline-flex;
    order: 2;
    align-items: center;
    margin-right: 20px;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    font-family: var(--font-headings);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(53, 88, 114, 0.25);
  }
  body.dark-mode .mobile-enroll-btn {
    background-color: var(--accent-color);
    color: #0d1621 !important;
  }
  .mobile-menu-btn {
    order: 3;
  }
  .logo {
    order: 1;
    margin-right: auto;
    margin-left: 12px;
  }
}
body.dark-mode .header-container {
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 150px;
  transition: opacity var(--transition-normal);
}

.logo-dark {
  display: none;
}

.logo-light {
  display: block;
}

body.dark-mode .logo-light {
  display: block;
}

body.dark-mode .logo-dark {
  display: none;
}

/* Sticky Header (Light Theme) */
header.sticky .logo-light {
  display: none;
}
header.sticky .logo-dark {
  display: block;
}

/* Dark Mode Sticky Header */
body.dark-mode header.sticky .logo-dark {
  display: none;
}
body.dark-mode header.sticky .logo-light {
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  font-weight: 500;
  color: var(--white);
  position: relative;
}

body.dark-mode .nav-links li a {
  color: #fff;
}

header.sticky .nav-links li a {
  color: var(--text-color);
}

body.dark-mode header.sticky .nav-links li a {
  color: var(--text-light);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-normal);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-enroll-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(53, 88, 114, 0.3);
}
