/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a5f2a;
  --primary-dark: #0d3d18;
  --secondary: #2d8a4e;
  --accent: #f4a261;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --dark: #212529;
  --text: #333333;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 150px 20px 100px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1.1rem;
}

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

.btn-primary:hover {
  background: #e9a04e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
}

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

/* Section Styling */
section {
  padding: 100px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.mission {
  background: var(--light-gray);
}

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

.mission-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

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

.mission-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.mission-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.about-image {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  height: 400px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5rem;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

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

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

.program-header {
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  font-size: 2rem;
}

.program-content {
  padding: 30px;
}

.program-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Stats */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  color: var(--accent);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--white);
  font-size: 1.1rem;
}

/* Donate Section */
.donate {
  background: var(--light-gray);
}

.donate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.donate-info h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.donate-methods {
  margin-top: 30px;
}

.donate-method {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
}

.donate-method h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Funds Usage */
.funds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.fund-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
}

.fund-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.percentage {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* 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;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 2;
  display: block;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* Privacy Policy & Legal Pages */
.legal-page {
  padding-top: 150px;
  min-height: 100vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s;
  }

  .nav-links.active {
    left: 0;
  }

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

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

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }

  .about-preview,
  .donate-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 250px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}