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

/* ===== VARIABLES ===== */
:root {
  --primary: #2a7d4f;
  --primary-dark: #1e5c3a;
  --accent: #f4a623;
  --light-bg: #f0f9f4;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 12px;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.highlight { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,125,79,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-donate { background: var(--accent); color: var(--white); padding: 10px 24px; }
.btn-donate:hover { background: #d4891a; transform: translateY(-2px); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 45px; width: auto; object-fit: contain; }
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.nav { display: flex; gap: 28px; }
.nav a { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--text); transition: color 0.3s; }
.nav a:hover { color: var(--primary); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* ===== MOBILE MENU ===== */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5);
}
.mobile-overlay.active { display: flex; justify-content: flex-end; }
.mobile-menu {
  background: var(--white); width: 280px; height: 100%;
  padding: 40px 30px; display: flex; flex-direction: column; gap: 20px;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-link { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--text); padding: 10px 0; border-bottom: 1px solid #eee; }
.mobile-link:hover { color: var(--primary); }
.close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); align-self: flex-end; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden; margin-top: 70px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,92,58,0.82) 0%, rgba(42,125,79,0.65) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 680px; }
.hero-content h1 { font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; opacity: 0.95; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-block; background: var(--light-bg); color: var(--primary);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 2px; padding: 6px 16px;
  border-radius: 50px; margin-bottom: 12px;
}
.section-tag.center { display: block; text-align: center; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 450px; object-fit: cover; }
.about-text h2 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.about-text h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: var(--primary-dark); margin: 20px 0 8px; }
.about-text p { line-height: 1.8; color: var(--text-light); }

/* ===== EVENTS ===== */
.events { background: var(--light-bg); }
.events h2 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 40px; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 50px; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.event-card:hover { transform: translateY(-6px); }
.event-card img { width: 100%; height: 200px; object-fit: cover; }
.event-body { padding: 20px; }
.event-date { font-size: 0.82rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.event-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.event-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); }

.involve-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.involve-box h3 { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 30px; }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-item { padding: 20px; }
.involve-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 12px; }
.involve-item h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.involve-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: #1a3a2a; color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-col a { display: block; font-size: 0.9rem; color: #ccc; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-email { color: var(--accent) !important; font-size: 1rem !important; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 0.85rem; }
.scroll-top { background: var(--primary); color: var(--white); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: background 0.3s; }
.scroll-top:hover { background: var(--accent); }

/* ===== MODALS ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.6); align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; max-width: 500px; width: 90%; position: relative;
  animation: fadeUp 0.3s ease;
}
.modal-small { max-width: 380px; text-align: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; }
.modal p { color: var(--text-light); margin-bottom: 20px; }
.modal .close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.3rem; color: var(--text-light); }
.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal input, .modal textarea {
  border: 1.5px solid #ddd; border-radius: 8px; padding: 12px 16px;
  font-family: 'Open Sans', sans-serif; font-size: 0.95rem; outline: none;
  transition: border-color 0.3s;
}
.modal input:focus, .modal textarea:focus { border-color: var(--primary); }
.success-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 16px; }
.thank-you-content { display: flex; flex-direction: column; align-items: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 300px; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-donate { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 2rem; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 0.9rem; }
}
