/* RESET & BASE */
* { margin:0; padding:0; box-sizing:border-box; font-family: 'Poppins', sans-serif; }
body { color:#333; line-height:1.6; }
.container { width:90%; max-width:1200px; margin:auto; }

/* HEADER */
.header {
  background:white;
  padding:15px 0;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

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

/* LOGO */
.header .logo {
  display:flex;
  align-items:center;
}

.header .logo img {
  width:180px;
  max-width:100%;
  height:auto;
  display:block;
}

/* NAV */
.nav-links {
  list-style:none;
  display:flex;
  gap:25px;
}

.nav-links a {
  text-decoration:none;
  color:#333;
  font-weight:500;
}

.nav-links a.active,
.nav-links a:hover {
  color:#2e7d32;
}

.menu-toggle {
  display:none;
  font-size:1.8rem;
  cursor:pointer;
}

/* HERO (FIXED) */
.hero {
  min-height: 90vh; /* FIXED */
  background:url('../images/hero.jpeg') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  text-align:center;
  overflow:hidden; /* prevents overlay overflow */
}

.hero-overlay {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%; /* FIXED */
  background:rgba(0,0,0,0.6);
  z-index:1;
}

.hero-content {
  position:relative;
  z-index:2;
}

.hero h1 {
  font-size:2.5rem;
  margin-bottom:20px;
}

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

.hero-buttons {
  margin-top:20px;
}

.btn-primary {
  background:#2e7d32;
  color:white;
  padding:12px 25px;
  border-radius:30px;
  text-decoration:none;
  margin:5px;
  display:inline-block;
}

.btn-secondary {
  background:white;
  color:#2e7d32;
  padding:12px 25px;
  border-radius:30px;
  text-decoration:none;
  margin:5px;
}

/* GENERAL SECTION SPACING */
.section {
  padding:60px 0;
}

/* MISSION */
.mission {
  background:#f0f8f5;
  text-align:center;
}

.mission p {
  max-width:900px;
  margin:20px auto;
  line-height:1.7;
  font-size:1.05rem;
}

.mission h2 {
  color:#2e7d32;
  margin-bottom:20px;
}

/* IMPACT */
.impact {
  background:#2e7d32;
  color:white;
  text-align:center;
}

.impact-grid {
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  gap:20px;
}

.impact h2 {
  font-size:2.5rem;
}

/* CTA */
.cta {
  padding:60px 0;
  text-align:center;
  background:#f5f5f5;
}

/* FOOTER */
.footer {
  background:#111;
  color:white;
  padding:40px 0;
}

.footer-grid {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
}

.footer a {
  color:#ccc;
  text-decoration:none;
}

.footer-bottom {
  text-align:center;
  margin-top:20px;
  font-size:14px;
  color:#aaa;
}

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

.project-card {
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  text-decoration:none;
  color:#333;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  transition:0.3s;
}

.project-card:hover {
  transform:translateY(-6px);
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.project-card img {
  width:100%;
  height:220px;
  object-fit:cover;
}

.project-card h3 {
  padding:15px 20px 5px;
}

.project-card p {
  padding:0 20px 20px;
  font-size:0.95rem;
}

/* MODAL */
.modal {
  display:none;
  position:fixed;
  z-index:10000;
  left:0;
  top:0;
  width:100%;
  height:100%;
  overflow-y:auto;
  background-color:rgba(0,0,0,0.8);
}

.modal-content {
  background:white;
  margin:50px auto;
  padding:30px;
  max-width:700px;
  border-radius:15px;
  position:relative;
}

.close-modal {
  position:absolute;
  top:15px;
  right:20px;
  font-size:1.5rem;
  cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){

  .nav-links {
    flex-direction:column;
    position:absolute;
    top:70px;
    right:-100%;
    background:#fff;
    width:100%;
    text-align:center;
    transition:0.3s;
  }

  .nav-links.mobile-menu {
    right:0;
  }

  .menu-toggle {
    display:block;
  }

  .impact-grid {
    flex-direction:column;
    align-items:center;
  }

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

  .header .logo img {
    width:140px;
  }
}

@media(max-width:480px){
  .header .logo img {
    width:100px;
  }
}