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

:root {
  --primary: #2db5aa;
  --primary-dark: #1a9b91;
  --primary-light: #4dd0c7;
  --secondary: #1a365d;
  --accent: #a78bfa;
  --accent-light: #c4b5fd;
  --text-dark: #2d3748;
  --text: #2d3748;
  /* Added for consistency */
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --white: #ffffff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-light: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  --success: #48bb78;
  --warning: #ed8936;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Increased from 10px */
}

.logo-image {
  height: 60px;
  /* Increased from 48px */
  width: 60px;
  /* Set explicit width for consistency */
  image-rendering: auto;
  border-radius: 50%;
  /* Changed from 12px to make it circular */
  transition: all 0.3s ease;
  /* Changed from just transform */
  object-fit: cover;
  /* Changed from contain to cover */
  filter: drop-shadow(0 2px 8px rgba(45, 181, 170, 0.4));
  /* Increased shadow opacity */
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  /* Better background */
  border: 3px solid rgba(255, 255, 255, 0.8);
  /* Added white border */
  padding: 8px;
  /* Added padding around the image */
}

.logo-image:hover {
  transform: scale(1.1);
  /* Increased hover scale */
  filter: drop-shadow(0 6px 20px rgba(45, 181, 170, 0.5));
  /* Enhanced hover shadow */
  border-color: rgba(255, 255, 255, 1);
  /* Solid white border on hover */
}

.brand-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4FC3F7;
  margin: 0;
  white-space: nowrap;
}

.brand-text p {
  font-size: 0.9rem;
  color: #008081;
  margin: 0;
}

/* Navigation */
nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(45, 181, 170, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
  transform: translateY(-2px);
}

.nav-btn.active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(45, 181, 170, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
  box-shadow: 0 2px 8px rgba(45, 181, 170, 0.2);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::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 100 20"><defs><radialGradient id="a" cx="50%" cy="0%" r="100%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-button {
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
  padding: 4rem 0;
}

.content-section {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 2rem;
  /* Offset scrolling so headers aren't hidden under the sticky site header */
  scroll-margin-top: 6rem;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
  border-left: 4px solid var(--primary);
}

.content-section.visible {
  transform: translateY(0);
  opacity: 1;
}

.content-section.active {
  box-shadow: var(--shadow-lg);
  border-left-width: 6px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  cursor: pointer;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.section-header:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.section-header:hover {
  background: rgba(0, 180, 166, 0.05);
}

.section-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(45, 181, 170, 0.3);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.chevron {
  margin-left: auto;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.content-section.active .chevron {
  transform: rotate(180deg);
}

/* Keep the section header visible when scrolling within an open section */
.content-section.active .section-header {
  position: sticky;
  top: 6rem;
  background: var(--white);
  z-index: 500;
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.content-section.active .section-content {
  max-height: 2000px;
  opacity: 1;
  padding-top: 1rem;
}

.section-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.section-content ul {
  list-style: none;
  padding: 0;
}

.section-content li {
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  margin: 0.5rem 0;
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-content li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.section-content li:hover {
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(45, 181, 170, 0.2);
}

.section-content li:hover::after {
  opacity: 1;
}

.section-content li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

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

.card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Project Cards */
.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(45, 181, 170, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-header {
  background: var(--gradient-light);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.project-header i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.project-header h4 {
  margin: 0;
  color: white;
  font-size: 1.3rem;
}

.project-body {
  padding: 1.5rem;
}

.project-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-active {
  background: rgba(72, 187, 120, 0.1);
  color: var(--success);
}

.status-planned {
  background: rgba(237, 137, 54, 0.1);
  color: var(--warning);
}

/* Partner logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-logo {
  width: 80px;
  height: 80px;
  background: var(--gradient-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

/* Enhanced Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-detail {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
}

/* Progress circles */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.progress-item {
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.progress-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.progress-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  position: relative;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 6;
}

.progress-bg {
  stroke: #e2e8f0;
}

.progress-fill {
  stroke: var(--primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.progress-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.progress-description {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.8;
}

/* Enhanced story cards */
.enhanced-story-card {
  position: relative;
  padding-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.enhanced-story-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.story-impact {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

.impact-stat {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.impact-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.8;
}

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

.contact-item {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Form Styling */
iframe {
  width: 100%;
  border: none;
  min-height: 800px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-image {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  transition: all 0.3s ease;
  object-fit: cover;
  filter: drop-shadow(0 2px 8px rgba(45, 181, 170, 0.4));
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 3px solid rgba(255, 255, 255, 0.3);
  padding: 8px;
}

.footer-logo .logo-image:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 20px rgba(45, 181, 170, 0.5));
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
}

.footer-logo strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4FC3F7;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-logo p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.3;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  nav.mobile-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .content-section {
    padding: 2rem 1.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .progress-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .progress-circle {
    width: 80px;
    height: 80px;
  }

  .progress-text {
    font-size: 1.1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 180, 166, 0.2);
  z-index: 1001;
}

.scroll-progress {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.1s ease;
}