:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --secondary: #27ae60;
  --accent: #f39c12;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --white: #ffffff;
  --text: #34495e;
  --text-light: #7f8c8d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
}

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

/* Header */
header {
  background: var(--primary);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  margin-left: 15px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Mission Statement */
.mission {
  background: var(--light);
  padding: 80px 20px;
  text-align: center;
}

.mission h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.mission-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  background: var(--white);
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
  margin-top: 10px;
}

/* Programs Section */
.programs {
  padding: 80px 20px;
  background: var(--light);
}

.programs h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.program-icon {
  background: var(--primary);
  color: var(--white);
  padding: 30px;
  text-align: center;
  font-size: 3rem;
}

.program-content {
  padding: 30px;
}

.program-content h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

.program-content p {
  color: var(--text-light);
}

/* Impact Section */
.impact {
  padding: 80px 20px;
  background: var(--white);
}

.impact h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.impact-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 50px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.impact-card {
  padding: 40px;
  background: var(--light);
  border-radius: 10px;
  border-left: 5px solid var(--secondary);
}

.impact-card h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.impact-card p {
  line-height: 1.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #219a52 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p, .footer-col a {
  color: #bdc3c7;
  text-decoration: none;
  line-height: 2;
  display: block;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 30px;
  text-align: center;
  color: var(--text-light);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

/* Content Sections */
.content-section {
  padding: 80px 20px;
}

.content-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 30px;
}

.content-section p {
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: var(--light);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
}

.about-image .org-icon {
  font-size: 6rem;
  color: var(--primary);
}

.team-list {
  list-style: none;
}

.team-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--light);
}

.team-list li strong {
  color: var(--primary);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-card {
  background: var(--light);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-card p {
  line-height: 2;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Donate Page */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.donate-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}

.donate-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.donate-amount {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: bold;
  margin-bottom: 15px;
}

.donate-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

.donate-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Privacy Page */
.privacy-content {
  max-width: 900px;
}

.privacy-content h3 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 1.4rem;
}

.privacy-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.privacy-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 20px;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .btn {
    display: block;
    margin: 10px auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }
}
