:root {
  --soft-green: #A8D8B9;
  --warm-yellow: #FFD966;
  --pastel-blue: #D4E6F1;
  --cream: #FFF9F0;
  --text-dark: #333;
  --accent: #2c5e4a;
  --light-green: #C9E8D3;
  --orange: #FFB84D;
  --purple: #B699D8;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Segoe UI', 'Poppins', system-ui, sans-serif; 
}

body { 
  background: var(--cream); 
  color: var(--text-dark); 
  line-height: 1.6; 
}

.container { 
  width: 90%; 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 15px; 
}

section { 
  padding: 60px 0; 
}

h1, h2, h3 { 
  color: var(--accent); 
  margin-bottom: 16px; 
}

h1 { 
  font-size: 2.4rem; 
}

h2 { 
  font-size: 2rem; 
  text-align: center; 
}

p { 
  margin-bottom: 16px; 
}

.text-center { 
  text-align: center; 
}

.btn {
  display: inline-block;
  background: var(--soft-green);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 10px 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover { 
  background: #8ac6a6; 
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

img { 
  max-width: 100%; 
  border-radius: 12px; 
  margin: 20px 0; 
}

/* Header Styles */
header {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
  margin: 0;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text { 
  font-size: 1.5rem; 
  font-weight: bold; 
  color: var(--accent); 
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--soft-green);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--soft-green);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--soft-green), var(--warm-yellow));
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.hero h1 { 
  color: white; 
  font-size: 2.8rem; 
  animation: fadeInUp 1s ease;
}

.hero p { 
  max-width: 700px; 
  margin: 0 auto 30px; 
  font-size: 1.2rem; 
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Grid */
.stats-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); 
  gap: 30px; 
  margin-top: 40px;
}

.stat-item {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stat-item h3 { 
  font-size: 2.5rem; 
  color: var(--soft-green); 
  margin: 10px 0; 
}

.stat-item small { 
  display: block; 
  color: #666; 
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Pillars Grid */
.pillars-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); 
  gap: 20px; 
  margin-top: 30px;
}

.pillar { 
  background: white; 
  padding: 25px 20px; 
  border-radius: 15px; 
  font-size: 0.95rem; 
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 2px solid transparent;
}

.pillar:hover {
  border-color: var(--soft-green);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Timeline */
.timeline { 
  max-width: 800px; 
  margin: 40px auto; 
}

.time-slot { 
  display: flex; 
  padding: 20px; 
  background: white; 
  margin: 15px 0; 
  border-radius: 12px; 
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid var(--soft-green);
}

.time-slot:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.time { 
  min-width: 120px; 
  font-weight: bold; 
  color: var(--soft-green);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background: white; 
  padding: 30px;
  border-radius: 15px;
  font-style: italic;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.author { 
  display: block; 
  font-style: normal; 
  font-weight: bold; 
  margin-top: 15px; 
  color: var(--accent); 
}

/* Program Cards */
.program-card {
  background: white;
  padding: 40px;
  margin: 50px 0;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 6px solid var(--soft-green);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.program-card:nth-child(2) { border-left-color: var(--orange); }
.program-card:nth-child(3) { border-left-color: var(--pastel-blue); }
.program-card:nth-child(4) { border-left-color: var(--purple); }

.program-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.program-icon {
  font-size: 3rem;
}

.program-card h2 {
  text-align: left;
  margin: 0;
}

.program-card ul {
  list-style: none;
  padding-left: 0;
}

.program-card li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.program-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--soft-green);
  font-weight: bold;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-final {
  background: var(--soft-green);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 20s ease-in-out infinite;
}

.cta-final h2 { 
  color: white; 
  font-size: 2.5rem;
}

/* Footer */
footer {
  background: var(--accent);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--warm-yellow);
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  margin: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--warm-yellow);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--warm-yellow);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* Infographic Section */
.infographic-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0;
  margin: 60px 0;
}



.infographic-img {
  width: 100%;          /* New: Forces it to fill container on small screens */
  max-width: 900px;     /* Keeps original cap on large screens */
  height: auto;         /* Ensures aspect ratio preserved */
  margin: 30px auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  border-radius: 12px;  /* Optional: Add if you want rounded corners like other images */
}

.infographic-img:hover {
  transform: scale(1.02);
}

/* Feature Icons */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Responsive - Removed old flex-direction: column */
@media (max-width: 768px) {
  h1 { 
    font-size: 2rem; 
  }
  h2 { 
    font-size: 1.6rem; 
  }
  .hero { 
    padding: 60px 0; 
  }
  .hero h1 { 
    font-size: 2rem; 
  }
  .program-header {
    flex-direction: column;
    text-align: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Loading Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ==================== ANIMATED HAMBURGER TO X MENU ==================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  margin-left: auto;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
  left: 0;
}

.mobile-menu-toggle span::before {
  top: -8px;
}

.mobile-menu-toggle span::after {
  top: 8px;
}

/* Active state - turns into X */
.mobile-menu-toggle.active span {
  background: transparent;
}

.mobile-menu-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .header-content {
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 12px 0;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 1.1rem;
  }
}