* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #27ae60;
  --dark-green: #1e8449;
  --light-green: #d5f4e6;
  --accent-gold: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f8f9fa;
  --border-gray: #e0e0e0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Navigation */
nav {
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-green);
}

.logo {
  font-weight: bold;
  color: var(--primary-green);
  font-size: 1.3rem;
  margin-right: auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 800px;
  line-height: 1.8;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--accent-gold);
  color: white;
  font-weight: 600;
}

.btn-primary:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: white;
  color: var(--primary-green);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

section h3 {
  color: var(--dark-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

section p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 5px solid var(--primary-green);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card p {
  color: var(--text-dark);
}

/* About Section */
.about-content {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-box, .vision-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border-top: 4px solid var(--primary-green);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mission-box h4, .vision-box h4 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-green);
  border-radius: 10px;
}

.value-item h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Impact Section */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.stat-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-top: 4px solid var(--accent-gold);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary-green);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Programs Page */
.program-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-green);
}

.program-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.program-section {
  margin-bottom: 1.5rem;
}

.program-section strong {
  color: var(--dark-green);
  display: block;
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-gray);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-box h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-links a {
  color: white;
  background: var(--primary-green);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--dark-green);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

footer p {
  color: white;
  margin-bottom: 0.5rem;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.partner-logo {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-green);
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 400px;
}

.carousel-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(39, 174, 96, 0.8);
  color: white;
  border: none;
  padding: 12px 18px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 3px;
}

.carousel-prev:hover, .carousel-next:hover {
  background: var(--primary-green);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: white;
}

.carousel-dot:hover {
  background: rgba(255,255,255,0.8);
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 2rem 1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    height: 250px;
  }

  .carousel-prev, .carousel-next {
    padding: 8px 12px;
    font-size: 14px;
  }
}
