/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

body{
  -webkit-fonts-smoothing: smooth;  
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  margin: 0 0 10px;
  line-height: 1.6;
  font-family: "DM Sans", sans-serif;
  color: #111;
  background-color: #052e16;
  color: #f8fafc;
}


html {
   scroll-behavior: smooth; 
}
img {
  width: 100px;
}
/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #ddd;
}

/* Container layout */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 0;
}

/* =========================
   LOGO
========================= */
.logo img {
  width: 280px;
  height: auto;
  font-size: 40px;
}

/* =========================
   NAV (DESKTOP)
========================= */
.navLinks {
  margin-top: 10px;
}

.navLinks ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navLinks a {
  text-decoration: none;
  color: #111;
  font-size: 18px;
  transition: color 0.2s ease;
}

.navLinks a:hover {
  color: #166534;
}

/* =========================
   HAMBURGER BUTTON
========================= */
.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  color: #111;
}

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

  /* show menu button */
  .menu-btn {
    display: block;
  }

  /* hide nav by default */
  .navLinks {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    width: 100%;
  }

  /* dropdown OPEN state */
  .navLinks.active {
    max-height: 400px;
    opacity: 1;
  }

  /* stack links vertically */
  .navLinks ul {
    flex-direction: column;
    gap: 15px;
    padding: 0px 0;
  }

  .navLinks a {
    font-size: 18px;
    display: block;
    padding: 8px;
  }
}

/* =========================
   SMALL MOBILE FIX
========================= */
@media (max-width: 480px) {
  .navLinks a {
    font-size: 16px;
  }
}

/* HERO LAYOUT */
.heroSection .container {
  display: flex; /* vertical layout */
  flex-direction: column; /* stack items */
  align-items: center; /* center horizontally */
  text-align: center; /* center text */
  gap: 14px; /* spacing between elements */
  max-width: 800px; /* readable width */
  margin: 0 auto; /* center section */
  padding: 80px 20px; /* top/bottom spacing */
}

/* REMOVE DEFAULT SPACING */
.heroSection h1 {
  margin: 0; /* removes default margin */
  font-size: 48px; /* desktop size */
}

.heroSection p {
  margin: 0; /* removes default paragraph spacing */
  line-height: 1.6; /* readability */
  font-size: 16px; /* base text size */
}

#btn-hero {
  display: inline-block; /* makes it behave like a button */
  padding: 12px 22px; /* button size */
  background: #000; /* black background */
  color: #fff; /* white text */
  text-decoration: none; /* removes underline */
  border-radius: 6px; /* smooth corners */
  transition: all 0.3s ease; /* smooth hover animation */
  font-weight: 600; /* slightly bold */
}

/* hover effect */
#btn-hero:hover {
  background: #222; /* lighter black */
  transform: translateY(-2px); /* lift effect */
  opacity: 0.95; /* slight fade */
}

/*   TABLET*/

@media (max-width: 900px) {
  .heroSection .container {
    padding: 60px 20px; /* slightly smaller spacing */
    gap: 12px; /* tighter spacing */
  }

  .heroSection h1 {
    font-size: 36px; /* smaller heading */
  }

  .heroSection p {
    font-size: 15px; /* slightly smaller text */
  }
}


/*   MOBILE*/

@media (max-width: 600px) {
  .heroSection .container {
    padding: 50px 15px; /* compact spacing */
    gap: 10px; /* tighter stacking */
  }

  .heroSection h1 {
    font-size: 28px; /* mobile heading */
  }

  .heroSection p {
    font-size: 14px; /* mobile text */
  }

  #btn-hero {
    width: 100%; /* full width button */
    text-align: center;
  }
}
/* GREEN + WHITE THEME (UPGRADED) */

.causesSection {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf5 100%);
  text-align: center;
}

/* TITLE */
.causesSection h3 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1b5e20;
}

/* GRID → 5 BOXES IN A ROW */
.causesGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 across */
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

/* CARD */
.boxSection {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
  border: 1px solid #e6f5ea;
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

/* hover effect */
.boxSection:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(27, 94, 32, 0.2);
}

/* IMAGE */
.boxSection img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* TITLE */
.boxSection h3 {
  font-size: 1.2rem;
  margin: 15px 10px 10px;
  color: #2e7d32;
}

/* TEXT */
.boxSection p {
  font-size: 0.9rem;
  padding: 0 15px;
  color: #4f6b52;
  line-height: 1.5;
}

/* BUTTON */
.btn-causes {
  margin-top: auto;
  margin-bottom: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: #2e7d32;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

.btn-causes:hover {
  background: #1b5e20;
  transform: scale(1.05);
}

/* RESPONSIVE DESIGN */

/* laptop / medium screens */
@media (max-width: 1200px) {
  .causesGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* tablet */
@media (max-width: 992px) {
  .causesGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 600px) {
  .causesGrid {
    grid-template-columns: 1fr;
  }

  .causesSection h3 {
    font-size: 1.8rem;
  }

  .boxSection img {
    height: 150px;
  }
}

/* RESOURCES SECTION (GREEN + WHITE THEME) */

.resourcesSection {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f3fbf5 0%, #ffffff 100%);
  text-align: center;
}

.resourcesSection h2 {
  font-size: 2.3rem;
  margin-bottom: 40px;
  color: #1b5e20;
  font-weight: 700;
}

/*  GRID  */
.resourcesGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.resourceBox {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
  border: 1px solid #e6f5ea;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.resourceBox:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(27, 94, 32, 0.2);
}

/*IMAGE */
.resourceBox img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/*TITLE */
.resourceBox h3 {
  font-size: 1.25rem;
  margin: 15px 10px 10px;
  color: #2e7d32;
}

/* TEXT */
.resourceBox p {
  font-size: 0.95rem;
  padding: 0 15px;
  color: #4f6b52;
  line-height: 1.5;
}

/*BUTTON */
.btn-resources {
  margin-top: auto;
  margin-bottom: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: #2e7d32;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

.btn-resources:hover {
  background: #1b5e20;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .resourcesGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .resourcesGrid {
    grid-template-columns: 1fr;
  }

  .resourcesSection h2 {
    font-size: 1.8rem;
  }

  .resourceBox img {
    height: 160px;
  }
}


/* SUCCESS STORIES SECTION (GREEN + WHITE THEME) */

.storiesSection {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

.storiesSection h2 {
  font-size: 2.3rem;
  margin-bottom: 40px;
  color: #1b5e20;
  font-weight: 700;
}

/* GRID */
.storiesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* STORY CARD */
.storyCard {
  background: #f3fbf5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6f5ea;
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.storyCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(27, 94, 32, 0.18);
}

/* IMAGE */
.storyCard img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* NAME */
.storyCard h3 {
  font-size: 1.4rem;
  margin: 15px 10px 8px;
  color: #2e7d32;
}

/* TEXT */
.storyCard p {
  font-size: 0.95rem;
  padding: 0 15px;
  color: #4f6b52;
  line-height: 1.6;
  text-align: left;
}

/*RESPONSIVE */
@media (max-width: 992px) {
  .storiesGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .storiesGrid {
    grid-template-columns: 1fr;
  }

  .storiesSection h2 {
    font-size: 1.8rem;
  }

  .storyCard img {
    height: 180px;
  }
}


/* FORCE CONSISTENT FONT IN SUPPORT SECTION */
.supportSection,
.supportSection * {
  font-family: inherit;
}

/* INPUTS + TEXTAREA OVERRIDE (important) */
.supportForm input,
.supportForm textarea,
.supportForm button {
  font-family: inherit;
}

/* SUPPORT SECTION (FIXED - NO GREEN STRIP ISSUE) */
.supportSection {
  padding: 80px 20px;
  background: #ffffff; /* FIX: removed gradient causing bottom green strip */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* TEXT + FORM WRAPPER */
.supportText {
  flex: 1;
  max-width: 550px;
}

.supportText h2 {
  font-size: 2.3rem;
  color: #1b5e20;
  margin-bottom: 15px;
}

.supportText p {
  font-size: 1rem;
  color: #4f6b52;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* FORM */
.supportForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* LABELS */
.supportForm label {
  font-size: 0.95rem;
  color: #2e7d32;
  font-weight: 600;
}

/* INPUTS + TEXTAREA */
.supportForm input,
.supportForm textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfe8d4;
  outline: none;
  font-size: 0.95rem;
  background: #ffffff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.supportForm input:focus,
.supportForm textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* BUTTON */
.btn-support {
  margin-top: 10px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: #2e7d32;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

.btn-support:hover {
  background: #1b5e20;
  transform: scale(1.05);
}

/* SIDE IMAGE */
.supportImage {
  flex: 1;
  max-width: 450px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(27, 94, 32, 0.15);
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .supportSection {
    flex-direction: column;
    text-align: center;
  }

  .supportText {
    max-width: 100%;
  }

  .supportImage {
    max-width: 100%;
  }
}

/* FOOTER (GREEN + WHITE THEME)  */


.siteFooter {
  background: #0b0f0c;
  color: #ffffff;
  padding: 60px 20px 30px;
  margin-top: 0; /* FIX: removes bottom green gap/bar */
}
/* CONTAINER */
.footerContainer {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* GRID */
.footerGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* FOOTER CARD */
.footerCard {
  background: #111814;
  color: #ffffff;
  border-radius: 16px;
  padding: 25px 15px;
  border: 1px solid #1f2a23;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footerCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  border-color: #2e7d32;
}

/* ICON */
.footerIcon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* TITLE */
.footerCard h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #ffffff;
}

/* TEXT */
.footerCard p {
  font-size: 0.95rem;
  color: #b7c7bc;
  margin-bottom: 15px;
}

/* BUTTON */
.footerBtn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #2e7d32;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

.footerBtn:hover {
  background: #145a1a;
  transform: scale(1.05);
}

/* TEXT BELOW GRID */
.footerText {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footerSubText {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footerGrid {
    grid-template-columns: 1fr;
  }
}
