/* =========================
   ROOT VARIABLES
========================= */
:root {
  --green: #0a7d3b;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --light: #f7f9f8;
}

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* font-family: "Segoe UI", system-ui, Arial, sans-serif; */
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #ffffff;
  scroll-behavior: smooth;

  /* 🔥 FIX for sticky navbar overlap */
  padding-top: 80px;
}

/* =========================
   HEADER / NAVBAR
========================= */
header {
  position: fixed; /* 🔥 changed from sticky */
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo img {
  height: 38px;
  width: auto;
}

.logo h1 {
  margin: 0;
  font-size: 1.3rem;
  color: rgb(21,67,67);
  font-weight: 700;
  line-height: 1;
}

/* NAV LINKS */
nav {
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: rgb(21,67,67);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a.active {
  border-bottom: 2px solid rgb(21,67,67);
}

nav a:hover {
  color: #064d24;
}

h3 a {
  color: #064e3b; /* EALS green */
  text-decoration: none;
}

h3 a:hover {
  color: #047857; /* lighter green on hover */
  text-decoration: underline;
}
/* =========================
   HERO
========================= */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(120deg, rgba(10,125,59,0.75), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1501004318641-b39e6451bec6')
    center/cover no-repeat;

  color: white;
  padding: 20px;
}

.hero h1 {
  font-size: 2.5rem;
}
/* ===========================
IMPACT
============================= */

.hero-impact {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(10,125,59,0.75), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae')
    center/cover no-repeat;
    color: white;
  padding: 20px;
}
.hero-impact h1 {
  font-size: 2.5rem;
}

/* ===========================
ABOUT
============================= */
.hero-about {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(10,125,59,0.75), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d')
    center/cover no-repeat;
    color: white;
  padding: 20px;
}
.hero-about h1 {
  font-size: 2.5rem;
}

/* ===========================
PROJECTS
============================= */
.hero-project {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(10,125,59,0.75), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1581091012184-7c5b8e3f3c7d')
    center/cover no-repeat;
    color: white;
  padding: 20px;
}
.hero-project h1 {
  font-size: 2.5rem;
}

/* ===========================
TEAM
============================= */
.hero-team {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(10,125,59,0.75), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c')
    center/cover no-repeat;
    color: white;
  padding: 20px;
}
.hero-team h1 {
  font-size: 2.5rem;
}

/* ===========================
CONTACT
============================= */
.hero-contact {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(10,125,59,0.75), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216')
    center/cover no-repeat;
    color: white;
  padding: 20px;
}
.hero-contact h1 {
  font-size: 2.5rem;
}

/* =========================
   SECTIONS
========================= */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
}

.alt {
  background: var(--light);
}

h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 20px;
}

p {
  color: var(--white); /* 🔥 FIXED */
  font-size: larger;
}

/* =========================
   LISTS
========================= */
ul {
  list-style: none;
  padding-left: 0;
}

li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: larger;
}

li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

/* =========================
   CONTACT
========================= */
.contact-card {
  background: #f3faf6;
  border-left: 5px solid var(--green);
  padding: 25px;
  border-radius: 10px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: rgb(21,67,67);
  color: white;
  text-align: center;
  padding: 20px;
}

/* =========================
   SLIDESHOW
========================= */
.slideshow {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.slide.active {
  display: block;
}

/* controls */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--green);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* =========================
   TEAM SLIDER
========================= */
.team-slider {
  position: relative;
  max-width: 400px;
  margin: auto;
  text-align: center;
}

.team-slide {
  display: none;
}

.team-slide.active {
  display: block;
}

.team-slide img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--green);
}

/* =========================
   MOBILE
========================= */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--green);
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    width: 200px;
    padding: 10px;
  }

  nav.show {
    display: flex;
  }
}



  /* SVG responsiveness */
  .org-chart {
    width: 100%;
    height: auto;
  }

  /* Node styling */
  .node {
    cursor: pointer;
    transition: 0.2s ease;
  }

  .node:hover {
    opacity: 0.85;
    transform: scale(1.02);
  }

  text {
    font-size: 12px;
    fill: white;
    font-weight: bold;
  }

  .section {
    padding: 60px 20px;
    border-bottom: 1px solid #ddd;
  }

  .section h2 {
    color: #0b3d2e;
  }

  /* PARTNERS */
.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* responsive */
  gap: 40px;
  margin-top: 30px;
}

.partner img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

.partner img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}


.section-title {  
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--green);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* subtle top border accent */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #064e3b;
}

/* hover effect */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* icon styling */
.icon {
  font-size: 32px;
  margin-bottom: 10px;
}

/* numbers */
.card h3 {
  font-size: 32px;
  color: #064e3b;
  margin-bottom: 10px;
}

/* text */
.card p {
  font-size: 14px;
  color: #555;
}

/*========================
MISSION SECTION
==========================*/

.mission-intro {  
  margin: 0 auto 30px;
  font-size: larger;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.mission-item {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  text-align: left;
}

/* hover effect */
.mission-item:hover {
  transform: translateY(-5px);
  background: #064e3b;
  color: #fff;
}

/* footer line */
.mission-footer {
  font-weight: 500;
  color: #064e3b;
  max-width: 600px;
  margin: 0 auto;
}


/*==================
GOALS
====================*/


.goals-intro {
  
  
  font-size: larger;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.goal-item {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  text-align: left;
}

/* hover effect */
.goal-item:hover {
  transform: translateY(-5px);
  background: #064e3b;
  color: #fff;
}