/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --primary: #2d6a4f;
  --accent: #f4a261;
  --light: #f0faf4;
  --dark: #1b4332;
  --text: #555;
  --white: #fff;
  --shadow: 0 4px 24px rgba(45,106,79,0.13);
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(27,67,50,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  transition: background 0.3s;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 1.8rem; color: #74c69d; }
.logo-main { display: block; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.05rem; color: #fff; }
.logo-sub { display: block; font-size: 0.68rem; color: #95d5b2; letter-spacing: 1px; text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a { color: #b7e4c7; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.btn-join {
  background: var(--accent); color: #fff; padding: 10px 22px;
  border-radius: 30px; font-weight: 700; font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-join:hover { background: #e07b3a; transform: scale(1.05); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ===== MOBILE MENU ===== */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(27,67,50,0.98);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-overlay.active { display: flex; }
.mobile-menu { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.close-menu { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; margin-bottom: 12px; }
.mobile-link { color: #fff; font-size: 1.4rem; font-weight: 700; font-family: 'Playfair Display', serif; transition: color 0.2s; }
.mobile-link:hover { color: var(--accent); }
.btn-join-mobile { background: var(--accent); padding: 12px 36px; border-radius: 30px; margin-top: 12px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(27,67,50,0.85) 0%, rgba(45,106,79,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; max-width: 820px;
}
.hero-badge {
  display: inline-block; background: rgba(116,198,157,0.25); color: #74c69d;
  border: 1px solid #74c69d; padding: 6px 18px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800; color: #fff; margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content p { font-size: 1.1rem; color: #b7e4c7; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; padding: 14px 32px;
  border-radius: 30px; font-weight: 700; font-size: 1rem;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #e07b3a; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff; padding: 14px 32px;
  border-radius: 30px; font-weight: 700; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.section-label.light { color: #95d5b2; }
.section-label.center { display: block; text-align: center; }

/* ===== ABOUT ===== */
.about { padding: 96px 0 80px; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }
.img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: #fff; border-radius: 16px;
  padding: 20px 24px; text-align: center; box-shadow: 0 8px 24px rgba(244,162,97,0.4);
}
.badge-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; }
.badge-text { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 18px; }
.about-text > p { color: var(--text); line-height: 1.8; margin-bottom: 16px; font-size: 1rem; }
.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item i { font-size: 1.4rem; color: var(--primary); margin-top: 4px; flex-shrink: 0; }
.value-item h4 { font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.value-item p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }

/* ===== IMPACT ===== */
.impact { padding: 80px 0; background: var(--light); }
.center-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 48px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.impact-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.impact-card:hover { transform: translateY(-8px); }
.impact-card img { width: 100%; height: 220px; object-fit: cover; }
.impact-info { padding: 24px; }
.impact-info h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; }
.impact-info p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }

/* ===== EVENTS ===== */
.events { padding: 80px 0; background: #fff; }
.events h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 40px; }
.events-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.event-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 24px; align-items: center; padding: 28px 0;
  border-bottom: 1px solid #e8f5e9;
  transition: background 0.2s;
}
.event-item:hover { background: var(--light); padding-left: 16px; border-radius: 12px; }
.event-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: #c8e6c9; }
.event-body h3 { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 1.05rem; }
.event-body p { color: var(--text); font-size: 0.93rem; line-height: 1.6; margin-bottom: 10px; }
.tag { display: inline-block; background: var(--light); color: var(--primary); border-radius: 20px; padding: 3px 12px; font-size: 0.78rem; font-weight: 700; margin-right: 6px; }
.event-freq { font-size: 0.82rem; font-weight: 700; color: var(--accent); white-space: nowrap; background: #fff3e0; padding: 6px 14px; border-radius: 20px; }
.volunteer-cta {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: 20px; padding: 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 40px; color: #fff;
}
.vcta-text h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.vcta-text p { color: #b7e4c7; line-height: 1.7; }

/* ===== DONATE ===== */
.donate { padding: 80px 0; background: var(--dark); }
.donate-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.donate-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.donate-text p { color: #95d5b2; line-height: 1.7; margin-bottom: 28px; }
.donate-tiers { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.tier { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.07); border-radius: 12px; padding: 16px 20px; }
.tier-amt { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800
; color: var(--accent); min-width: 60px; }
.tier-desc { color: #b7e4c7; font-size: 0.95rem; }
.btn-donate-cta {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 16px 40px; border-radius: 30px; font-weight: 700; font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-donate-cta:hover { background: #e07b3a; transform: translateY(-2px); }
.donate-img-wrap img { border-radius: 16px; width: 100%; height: 400px; object-fit: cover; opacity: 0.8; }

/* ===== FOOTER ===== */
.footer { background: #0d2818; color: #95d5b2; padding: 64px 0 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.footer-col h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col h4 i { margin-right: 8px; color: var(--accent); }
.footer-col p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 8px; }
.footer-email a { color: #74c69d; font-size: 1.05rem; font-weight: 600; }
.footer-email a:hover { color: #fff; }
.footer-col a { display: block; color: #95d5b2; font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 0.85rem; }
.scroll-top {
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== POPUPS ===== */
.popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.6); align-items: center; justify-content: center;
}
.popup-overlay.active { display: flex; }
.popup-box {
  background: #fff; border-radius: 20px; padding: 40px;
  max-width: 480px; width: 90%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popIn 0.3s ease;
}
@keyframes popIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #888; }
.popup-box h3 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.5rem; color: var(--dark); margin-bottom: 24px; }
.popup-box form { display: flex; flex-direction: column; gap: 14px; }
.popup-box input, .popup-box textarea {
  border: 1.5px solid #ddd; border-radius: 8px; padding: 12px 16px;
  font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.popup-box input:focus, .popup-box textarea:focus { border-color: var(--primary); }
.popup-box textarea { resize: vertical; }
.popup-thanks { text-align: center; }
.popup-thanks i { font-size: 4rem; color: #22c55e; margin-bottom: 16px; }
.popup-thanks p { color: var(--text); margin-bottom: 24px; }
.popup-policy { max-width: 600px; max-height: 80vh; overflow-y: auto; }
.policy-content { margin-bottom: 24px; }
.policy-content h4 { font-weight: 700; color: var(--dark); margin: 16px 0 8px; }
.policy-content p { color: var(--text); line-height: 1.7; font-size: 0.95rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-img img { height: 280px; }
  .img-badge { bottom: -10px; right: 10px; }
  .impact-grid { grid-template-columns: 1fr; }
  .donate-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 40px 1fr; }
  .event-freq { display: none; }
  .volunteer-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .nav, .btn-join { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2rem; }
}
