/* Enhanced CSS with Dynamic Color Scheme */
:root {
  /* Primary Color Palette - Blue Focus */
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --primary-dark: #1e40af;
  --primary-light: #e7ecf4;
  
  /* Secondary Colors */
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --orange-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  
  /* Neutral Colors */
  --neutral-900: #1a1a2e;
  --neutral-800: #16213e;
  --neutral-700: #0f3460;
  --neutral-600: #533483;
  --neutral-500: #7c7c8a;
  --neutral-400: #a1a1aa;
  --neutral-300: #d4d4d8;
  --neutral-200: #e4e4e7;
  --neutral-100: #f4f4f5;
  --neutral-50: #fafafa;
  
  /* Glass Effect */
  --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);
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', 'Lato', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--neutral-800);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Global hyperlink styles */
a {
  color: white;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: white;
}

/* Enhanced Button Styles */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(240, 147, 251, 0.4);
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(254, 79, 137, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.4);
}

section {
  padding: 80px 0;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  line-height: 1.2;
  background: var(--primary-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h4, h5, h6 {
  background: var(--neutral-900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  margin-bottom: 20px;
}

/* Header Styles with Blue Gradient Background for ALL Pages */
.header {
  background: var(--neutral-800);
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  position: sticky;
  top: 0;
  z-index: 1000;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo h1 {
  font-size: 28px;
  color: white !important;
  margin: 0;
  font-weight: 800;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.logo a {
  color: white !important;
  text-decoration: none;
}

.logo a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: white !important;
  font-weight: 600;
  transition: var(--transition-smooth);
  padding: 10px 18px;
  border-radius: 10px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-button span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* Enhanced Footer - All text white */
.footer {
  background: var(--neutral-900);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: white !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  color: white !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 50px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.social-links a {
  color: white !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 5px 0;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--primary-light) !important;
  transform: translateX(5px);
}

.footer-contact p {
  color: white !important;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.social-links a {
  color: white !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 5px 0;
}

.social-links a:hover {
  color: var(--primary-light) !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--neutral-800);
  color: white !important;
}

/* Hero Section with Blue Primary */
.hero {
  
  color: white;
  text-align: left;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-800);
  background-size: cover;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 25px;
  font-weight: 600;
  color: rgb(255, 255, 255) !important;
  text-align: left;
  /* text-shadow: 0 4px 20px hwb(188 62% 9% / 0.3); */
  animation: fadeInUp 1s ease-out;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.hero .emphasis {
  color: rgb(202, 238, 255);
  font-weight: 400;
  font-style: italic;
}

.hero h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9) !important;
  animation: fadeInUp 1s ease-out 0.2s both;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.hero-buttons {
  display: flex;
  justify-content: left;
  gap: 25px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Card Styles */
.impact-section {
   text-align: center;
  }

  .impact-stats {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
   margin-top: 40px;
  }

  .stat {
   background-color: white;
   border-radius: 8px;
   padding: 30px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .stat h3 {
   font-size: 36px;
   color: #2a5298;
   margin-bottom: 10px;
  }

.mission-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.mission-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-dark);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-card h3 {
  /* background: var(--primary-gradient); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  margin-bottom: 15px;
}

.mission-item h3 {
  background: var(--neutral-800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.table-container {
            display: inline-block;
            border-collapse: collapse;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        table {
            border-collapse: collapse;
            width: 100%;
        }
        
        .header-row {
            background-color: #333;
            height: 40px;
        }
        
        .course-headers {
            background-color: #d0d0d0;
            color: #333;
            font-weight: bold;
            text-align: center;
            padding: 12px;
            border: 2px solid white;
        }
        
        .experience-label {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            padding: 15px;
            text-align: center;
            vertical-align: middle;
            border: 2px solid white;
            width: 150px;
        }
        
        .subcategory {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            padding: 15px;
            text-align: center;
            vertical-align: middle;
            border: 2px solid white;
            width: 150px;
        }
        
        .beginner-label {
            background-color: #2196F3;
            color: white;
            font-weight: bold;
            padding: 15px;
            text-align: center;
            vertical-align: middle;
            border: 2px solid white;
            width: 150px;
        }
        
        .beginner-cell {
            background-color: #2196F3;
            color: white;
            font-weight: bold;
            text-align: center;
            padding: 20px;
            border: 2px solid white;
            font-size: 18px;
        }
        
        .experience-cell {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            text-align: center;
            padding: 20px;
            border: 2px solid white;
            font-size: 18px;
        }
        
        .main-category {
            writing-mode: vertical-lr;
            text-orientation: mixed;
            transform: rotate(180deg);
            font-size: 18px;
            font-weight: bold;
        }
.calendar-section {
  padding: 60px 0;
  background-color: #f9fafb;
  text-align: center;
}

.calendar-table {
  overflow-x: auto;
  margin-top: 20px;
}

.calendar-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 700px;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #d1d5db;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
}

.calendar-table th {
  background-color: #1d4ed8;
  color: white;
  font-weight: 600;
}

.calendar-table td {
  background-color: white;
}

.calendar-table td:empty::after {
  content: '—';
  color: #9ca3af;
}
/* Stats Section */
.stats-section {
  text-align: center;
  background: var(--neutral-900);
  color: white;
}

.stats-buttons {
  text-align: center;
  margin-top: 50px;
}

/* --- Stats layout: 2 columns x 2 rows, centered --- */
/* ensure grid cells in each row stretch to the same height */
.stats-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 32px 48px;
  justify-items: center;
  /* make grid items stretch to fill their row's track */
  align-items: stretch;
  margin: 50px 30px;
}

/* let wrappers disappear so .stat-item are direct grid items */
.stat-row { display: contents; }

/* fill the grid cell and use flex column so content can be aligned inside */
.stat-item {
  height: 100%;                 /* fill the grid cell (important) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px;
  border-radius: 12px;
  width: 100%;
  background-color: #e0ebfa;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* make paragraph take remaining space or push footer/buttons to bottom */
.stat-item p {
  margin-top: 12px;
  flex: 0 1 auto;      /* default - keeps paragraph natural size */
}

/* if you keep .stat-row wrappers, let them disappear into the grid */
.stat-row {
  display: contents; /* lets children (.stat-item) become direct grid items */
}

/* title + copy */
.stat-item h3 {
  font-size: 48px;
  margin: 6px 0 10px;
  font-weight: 800;
  color: white;                /* big number color */
  line-height: 1;
}

.stat-item p {
  color: var(--neutral-900);
  font-size: 16px;
  max-width: 440px;
  margin: 0;
  font-weight: 600;
}

/* Responsive: single column on small screens */
@media (max-width: 640px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stat-item h3 { font-size: 40px; }
}


/* CTA Section */
.cta-section {
  background: var(--secondary-gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.1)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.05)" cx="800" cy="800" r="150"/></svg>');
  background-size: cover;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--neutral-900);
}

/* Page Header - Now uses the same gradient background as main header */
.page-header {
  background: var(--neutral-900) !important;
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,0 1000,210 0,300"/></svg>');
  background-size: cover;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: white !important;
  font-size: 48px;
  margin-bottom: 20px;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* Team Page Styles - Reverted to Simple Format */
.team-intro {
  text-align: center;
}

.team-intro p {
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: white;
  border-radius: 8px;
  height: fit-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 45rem;
}

.member-image {
  width: 100%;
  height: 250px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
}

.placeholder-image{
  width: 100%;
  min-height: 250px;
  background-color: #ddd;
}



.team-card h3,
.team-card h4,
.team-card p {
  padding: 0 20px;
}

.team-card h3 {
  margin-top: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card h4 {
  color: #777;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-card p {
  padding-bottom: 20px;
  color: var(--neutral-700);
}

.join-team {
  background-color: #f9f9f9;
  text-align: center;
}

.join-team p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Enhanced Card Components */
.course-card, .blog-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.course-card:hover, .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Course Card Enhancements */
.course-content {
  padding: 20px;
  flex: 1;
}

.course-content h4 {
  margin: 20px 0 10px;
}

.course-content ul {
  padding-left: 20px;
}

.course-content li {
  margin-bottom: 10px;
}

.course-content a {
  color: var(--primary-dark);
  text-decoration: none;
}

.course-content a:hover {
  color: var(--primary-light);
}

.course-footer {
  padding: 20px;
  display: flex;
  gap: 15px;
}

/* Courses Page Styles - Enhanced with Color Variety */
.curriculum-intro {
  text-align: center;
}

.curriculum-intro p {
  max-width: 800px;
  margin: 0 auto 20px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

.course-header {
  background: var(--primary-gradient);
  color: white;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

/* Varied gradient colors for different courses */
.course-card:nth-child(1) .course-header {
  background: var(--primary-gradient);
}

.course-card:nth-child(2) .course-header {
  background: var(--secondary-gradient);
}

.course-card:nth-child(3) .course-header {
  background: var(--accent-gradient);
}

.course-card:nth-child(4) .course-header {
  background: var(--success-gradient);
}

.course-card:nth-child(5) .course-header {
  background: var(--warning-gradient);
}

.course-card:nth-child(6) .course-header {
  background: var(--purple-gradient);
}

.course-card:nth-child(n+7) .course-header {
  background: var(--orange-gradient);
}

.course-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

/* Fix for course header h3 - Make them white and override gradient */
.course-header h3 {
  color: white !important;
  font-size: 24px;
  margin-bottom: 15px;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.level, .age {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Add visual interest with subtle patterns */
.course-card:nth-child(odd) .course-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.course-card:nth-child(even) .course-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 40px auto 0;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.newsletter-form button {
  border-radius: 12px;
  padding: 16px 24px;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-nav button {
  padding: 12px 24px;
  margin: 0 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tab-nav button.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(199, 212, 239, 0.3);
}

.tab-nav button:not(.active):hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
}

/* Add subtle alternating backgrounds to sections */
section:nth-child(odd) {
  background: rgba(223, 236, 255, 0.5);
}

section:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--neutral-800);
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 0 0 0px 20px;
    box-shadow: rgba(220, 214, 214, 0.1) 0px 22px 30px;
    max-height: 0;
    font-size: larger;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);;
    text-align: right;
    max-width: auto;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 30px;
    gap: 22px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-container {
    gap: 40px;
  }

  .stat-item h3 {
    font-size: 48px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-form input {
    margin-bottom: 0;
  }

  .tab-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* Enhanced CSS with Dynamic Color Scheme */
:root {
  /* Primary Color Palette - Blue Focus */
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --primary-dark: #1e40af;
  --primary-light: #e7ecf4;
  
  /* Secondary Colors */
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --orange-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  
  /* Neutral Colors */
  --neutral-900: #1a1a2e;
  --neutral-800: #16213e;
  --neutral-700: #0f3460;
  --neutral-600: #533483;
  --neutral-500: #7c7c8a;
  --neutral-400: #a1a1aa;
  --neutral-300: #d4d4d8;
  --neutral-200: #e4e4e7;
  --neutral-100: #f4f4f5;
  --neutral-50: #fafafa;
  
  /* Glass Effect */
  --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);
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', 'Lato', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--neutral-800);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Global hyperlink styles */
a {
  color: white;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: white;
}

/* Enhanced Button Styles */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(240, 147, 251, 0.4);
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(254, 79, 137, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.4);
}

section {
  padding: 80px 0;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  line-height: 1.2;
  background: var(--primary-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h4, h5, h6 {
  background: var(--neutral-900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  margin-bottom: 20px;
}

/* Header Styles with Blue Gradient Background for ALL Pages */
.header {
  background: var(--neutral-800);
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  position: sticky;
  top: 0;
  z-index: 1000;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo h1 {
  font-size: 28px;
  color: white !important;
  margin: 0;
  font-weight: 800;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.logo a {
  color: white !important;
  text-decoration: none;
}

.logo a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: white !important;
  font-weight: 600;
  transition: var(--transition-smooth);
  padding: 10px 18px;
  border-radius: 10px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-button span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* Enhanced Footer - All text white */
.footer {
  background: var(--neutral-900);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: white !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  color: white !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 50px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.social-links a {
  color: white !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 5px 0;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--primary-light) !important;
  transform: translateX(5px);
}

.footer-contact p {
  color: white !important;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.social-links a {
  color: white !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 5px 0;
}

.social-links a:hover {
  color: var(--primary-light) !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--neutral-800);
  color: white !important;
}

/* Hero Section with Blue Primary */
.hero {
  
  color: white;
  text-align: left;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-800);
  background-size: cover;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 25px;
  font-weight: 600;
  color: rgb(255, 255, 255) !important;
  text-align: left;
  /* text-shadow: 0 4px 20px hwb(188 62% 9% / 0.3); */
  animation: fadeInUp 1s ease-out;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.hero .emphasis {
  color: rgb(202, 238, 255);
  font-weight: 400;
  font-style: italic;
}

.hero h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9) !important;
  animation: fadeInUp 1s ease-out 0.2s both;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.hero-buttons {
  display: flex;
  justify-content: left;
  gap: 25px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Card Styles */
.impact-section {
   text-align: center;
  }

  .impact-stats {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
   margin-top: 40px;
  }

  .stat {
   background-color: white;
   border-radius: 8px;
   padding: 30px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .stat h3 {
   font-size: 36px;
   color: #2a5298;
   margin-bottom: 10px;
  }

.mission-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.mission-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-dark);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-card h3 {
  /* background: var(--primary-gradient); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  margin-bottom: 15px;
}

.mission-item h3 {
  background: var(--neutral-800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.table-container {
            display: inline-block;
            border-collapse: collapse;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        table {
            border-collapse: collapse;
            width: 100%;
        }
        
        .header-row {
            background-color: #333;
            height: 40px;
        }
        
        .course-headers {
            background-color: #d0d0d0;
            color: #333;
            font-weight: bold;
            text-align: center;
            padding: 12px;
            border: 2px solid white;
        }
        
        .experience-label {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            padding: 15px;
            text-align: center;
            vertical-align: middle;
            border: 2px solid white;
            width: 150px;
        }
        
        .subcategory {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            padding: 15px;
            text-align: center;
            vertical-align: middle;
            border: 2px solid white;
            width: 150px;
        }
        
        .beginner-label {
            background-color: #2196F3;
            color: white;
            font-weight: bold;
            padding: 15px;
            text-align: center;
            vertical-align: middle;
            border: 2px solid white;
            width: 150px;
        }
        
        .beginner-cell {
            background-color: #2196F3;
            color: white;
            font-weight: bold;
            text-align: center;
            padding: 20px;
            border: 2px solid white;
            font-size: 18px;
        }
        
        .experience-cell {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            text-align: center;
            padding: 20px;
            border: 2px solid white;
            font-size: 18px;
        }
        
        .main-category {
            writing-mode: vertical-lr;
            text-orientation: mixed;
            transform: rotate(180deg);
            font-size: 18px;
            font-weight: bold;
        }
.calendar-section {
  padding: 60px 0;
  background-color: #f9fafb;
  text-align: center;
}

.calendar-table {
  overflow-x: auto;
  margin-top: 20px;
}

.calendar-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 700px;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #d1d5db;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
}

.calendar-table th {
  background-color: #1d4ed8;
  color: white;
  font-weight: 600;
}

.calendar-table td {
  background-color: white;
}

.calendar-table td:empty::after {
  content: '—';
  color: #9ca3af;
}
/* Stats Section */
.stats-section {
  text-align: center;
  background: var(--neutral-900);
  color: white;
}

.stats-buttons {
  text-align: center;
  margin-top: 50px;
}

/* --- Stats layout: 2 columns x 2 rows, centered --- */
/* ensure grid cells in each row stretch to the same height */
.stats-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 32px 48px;
  justify-items: center;
  /* make grid items stretch to fill their row's track */
  align-items: stretch;
  margin: 50px 30px;
}

/* let wrappers disappear so .stat-item are direct grid items */
.stat-row { display: contents; }

/* fill the grid cell and use flex column so content can be aligned inside */
.stat-item {
  height: 100%;                 /* fill the grid cell (important) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px;
  border-radius: 12px;
  width: 100%;
  background-color: #e0ebfa;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* make paragraph take remaining space or push footer/buttons to bottom */
.stat-item p {
  margin-top: 12px;
  flex: 0 1 auto;      /* default - keeps paragraph natural size */
}

/* if you keep .stat-row wrappers, let them disappear into the grid */
.stat-row {
  display: contents; /* lets children (.stat-item) become direct grid items */
}

/* title + copy */
.stat-item h3 {
  font-size: 48px;
  margin: 6px 0 10px;
  font-weight: 800;
  color: white;                /* big number color */
  line-height: 1;
}

.stat-item p {
  color: var(--neutral-900);
  font-size: 16px;
  max-width: 440px;
  margin: 0;
  font-weight: 600;
}

/* Responsive: single column on small screens */
@media (max-width: 640px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stat-item h3 { font-size: 40px; }
}


/* CTA Section */
.cta-section {
  background: var(--secondary-gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.1)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.05)" cx="800" cy="800" r="150"/></svg>');
  background-size: cover;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--neutral-900);
}

/* Page Header - Now uses the same gradient background as main header */
.page-header {
  background: var(--neutral-900) !important;
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,0 1000,210 0,300"/></svg>');
  background-size: cover;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: white !important;
  font-size: 48px;
  margin-bottom: 20px;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* Team Page Styles - Reverted to Simple Format */
.team-intro {
  text-align: center;
}

.team-intro p {
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: white;
  border-radius: 8px;
  height: fit-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 45rem;
}

.member-image {
  width: 100%;
  height: 250px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
}

.placeholder-image{
  width: 100%;
  min-height: 250px;
  background-color: #ddd;
}



.team-card h3,
.team-card h4,
.team-card p {
  padding: 0 20px;
}

.team-card h3 {
  margin-top: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card h4 {
  color: #777;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-card p {
  padding-bottom: 20px;
  color: var(--neutral-700);
}

.join-team {
  background-color: #f9f9f9;
  text-align: center;
}

.join-team p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Enhanced Card Components */
.course-card, .blog-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.course-card:hover, .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Course Card Enhancements */
.course-content {
  padding: 20px;
  flex: 1;
}

.course-content h4 {
  margin: 20px 0 10px;
}

.course-content ul {
  padding-left: 20px;
}

.course-content li {
  margin-bottom: 10px;
}

.course-content a {
  color: var(--primary-dark);
  text-decoration: none;
}

.course-content a:hover {
  color: var(--primary-light);
}

.course-footer {
  padding: 20px;
  display: flex;
  gap: 15px;
}

/* Courses Page Styles - Enhanced with Color Variety */
.curriculum-intro {
  text-align: center;
}

.curriculum-intro p {
  max-width: 800px;
  margin: 0 auto 20px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

.course-header {
  background: var(--primary-gradient);
  color: white;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

/* Varied gradient colors for different courses */
.course-card:nth-child(1) .course-header {
  background: var(--primary-gradient);
}

.course-card:nth-child(2) .course-header {
  background: var(--secondary-gradient);
}

.course-card:nth-child(3) .course-header {
  background: var(--accent-gradient);
}

.course-card:nth-child(4) .course-header {
  background: var(--success-gradient);
}

.course-card:nth-child(5) .course-header {
  background: var(--warning-gradient);
}

.course-card:nth-child(6) .course-header {
  background: var(--purple-gradient);
}

.course-card:nth-child(n+7) .course-header {
  background: var(--orange-gradient);
}

.course-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

/* Fix for course header h3 - Make them white and override gradient */
.course-header h3 {
  color: white !important;
  font-size: 24px;
  margin-bottom: 15px;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.level, .age {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Add visual interest with subtle patterns */
.course-card:nth-child(odd) .course-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.course-card:nth-child(even) .course-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 40px auto 0;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.newsletter-form button {
  border-radius: 12px;
  padding: 16px 24px;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-nav button {
  padding: 12px 24px;
  margin: 0 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tab-nav button.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(199, 212, 239, 0.3);
}

.tab-nav button:not(.active):hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
}

/* Add subtle alternating backgrounds to sections */
section:nth-child(odd) {
  background: rgba(223, 236, 255, 0.5);
}

section:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--neutral-800);
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 0 0 0px 20px;
    box-shadow: rgba(220, 214, 214, 0.1) 0px 22px 30px;
    max-height: 0;
    font-size: larger;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);;
    text-align: right;
    max-width: auto;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 30px;
    gap: 22px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-container {
    gap: 40px;
  }

  .stat-item h3 {
    font-size: 48px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-form input {
    margin-bottom: 0;
  }

  .tab-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* Dropdown parent */
.dropdown {
  position: relative;
}

/* Dropdown content — vertical menu & slow fade */
.dropdown-content {
  position: absolute;
  top: calc(100% + 30px);  /* Floats further below nav bar */
  left: 0;
  background-color: #16213e;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  min-width: 220px;
  border-radius: 8px;
  overflow: hidden;
  z-index: 2000;
  padding: 10px 0;
  display: flex;
  flex-direction: column;  /* Makes menu vertical */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Increase fade time for slow effect */
}

/* Show dropdown when hovered/focused */
.dropdown:hover > .dropdown-content,
.dropdown:focus-within > .dropdown-content,
.dropdown-content:hover,
.dropdown-content.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Each dropdown item */
.dropdown-content li {
  width: 100%;
}
.dropdown-content li a {
  display: block;
  width: 100%;
  padding: 14px 24px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-content li a:hover {
  background-color: #1e2d5c;
  color: #fff;
}
