/* Hero Section */
.hero {
  --bg1: #f7e9ff;   /* soft lavender */
  --bg2: #e6f7ff;   /* gentle sky blue */
  --bg3: #eaffe6;   /* mint green */
  background: 
    radial-gradient(1000px 500px at 10% 20%, var(--bg1) 0, transparent 60%),
    radial-gradient(800px 400px at 90% 10%, var(--bg2) 0, transparent 60%),
    radial-gradient(900px 450px at 50% 90%, var(--bg3) 0, transparent 60%);
  border-radius: 1.5rem;
  padding: 5rem 2rem;
  margin: 0 0 2rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero__content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #2d3748;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Button with Dropdown */
.hero-button-container {
  position: relative;
  display: inline-block;
}

.hero-button {
  background: rgba(255, 255, 255, 0.9);
  color: #4a5568;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-button:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-button::after {
  content: '▼';
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.hero-button:hover::after {
  transform: rotate(180deg);
}

/* Dropdown Menu - More Compact */
.hero-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0.75rem;
  min-width: 260px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.hero-button-container:hover .hero-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hero-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.95);
}

.hero-dropdown h4 {
  color: #667eea;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.75rem 0 0.375rem 0;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
  text-align: center;
  list-style: none;
}

.hero-dropdown h4:first-child {
  margin-top: 0;
}

.hero-dropdown ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-dropdown li {
  margin: 0.1rem 0 !important;
  list-style: none !important;
  padding-left: 0 !important;
}

/* Force override for hero dropdown */
.hero-dropdown ul,
.hero-dropdown ol {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-dropdown li,
.hero-dropdown ul li,
.hero-dropdown ol li {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0.1rem 0 !important;
}

.hero-dropdown a {
  display: block;
  padding: 0.25rem 0.375rem;
  color: #4a5568;
  text-decoration: none;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  text-align: center;
}

.hero-dropdown a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-left-color: #667eea;
  transform: translateX(2px);
}

/* Cards Section */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(247, 233, 255, 0.6) 0%, rgba(230, 247, 255, 0.6) 50%, rgba(234, 255, 230, 0.6) 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.card h3 {
  color: #667eea;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero__content h1 {
    font-size: 2.5rem;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-dropdown {
    min-width: 180px;
  }
  
  .cards {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .pathway-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .learning-pathway,
  .features-highlight {
    padding: 2rem 1rem;
  }
}

/* Learning Pathway Section */
.learning-pathway {
  background: linear-gradient(135deg, #f6f9fc 0%, #eef7ff 100%);
  padding: 4rem 2rem;
  margin: 3rem 0;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.pathway-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.pathway-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pathway-step {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  text-align: left;
}

.pathway-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.95);
}

.pathway-step h3 {
  color: #667eea;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pathway-step p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Features Highlight Section */
.features-highlight {
  background: linear-gradient(135deg, #fef7e6 0%, #fff2e6 100%);
  padding: 4rem 2rem;
  margin: 3rem 0;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.features-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.feature {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid rgba(247, 144, 9, 0.1);
  transition: all 0.3s ease;
  text-align: left;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #f79009;
  background: rgba(255, 255, 255, 0.95);
}

.feature h4 {
  color: #f79009;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}
