/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--emerald-900);
  background-image: url('../images/bg-hero.jpg'); /* Background Image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 8rem 0 4rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Dark overlay so text is readable */
  backdrop-filter: blur(8px); /* Blurs the background image */
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background-color: rgba(217, 119, 6, 0.2);
  color: var(--gold-400);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.title-highlight {
  color: var(--gold-500);
}

.subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Quick Info */
.quick-info {
  padding: 4rem 0;
  background-color: var(--white);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-100);
}

.stat-value {
  font-family: var(--font-poppins);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--emerald-600);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 500;
  color: var(--text-700);
}

/* Section Common */
.section {
  padding: 6rem 0;
}

.section-light {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--cream-50);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-500);
  font-size: 1.125rem;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.program-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
}

.program-card:hover::before {
  transform: scaleY(1);
}

.program-icon {
  width: 48px;
  height: 48px;
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.program-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.program-desc {
  color: var(--text-500);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.timeline-number {
  font-family: var(--font-poppins);
  font-size: 3rem;
  font-weight: 800;
  color: var(--emerald-50);
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 0;
}

.timeline-content {
  position: relative;
  z-index: 1;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-900);
  margin-top: 1rem;
}

/* Call to Action */
.cta {
  background-color: var(--emerald-900);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  border-radius: var(--radius-xl);
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
  .title { font-size: 2.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .title { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions button, .hero-actions a { width: 100%; }
  .programs-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
