
    body {
      margin: 0;
      font-family: serif;
      background-color: #fdf9f5;
      color: #12310d;
    }

    /* Navbar */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 50px;
      background-color: #fff;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .logo {
      font-size: 28px;
      font-weight: bold;
      color: #1d3d12;
    }

    nav {
      display: flex;
      gap: 25px;
    }

    nav a {
      background-color: #164714;
      color: white;
      padding: 10px 30px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }

    nav a:hover {
      background-color: #246b22;
    }

    /* Hero section */
    .hero {
      background: url(images/classroom2.jpg) center/cover no-repeat;
      height: 90vh;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 80px;
      color: #1d3d12;
    }

    .hero-text {
      font-size: 80px;
      font-weight: bold;
      line-height: 1.1;
    }

    .hero-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
      background: rgba(255, 255, 255, 0.8);
      padding: 20px;
    }

    .hero-form input {
      padding: 12px;
      border: none;
      width: 250px;
      font-size: 16px;
    }

    .hero-form button {
      background-color: #333;
      color: white;
      border: none;
      padding: 15px;
      font-size: 18px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .hero-form button:hover {
      background-color: #111;
    }

    /* Events section */
    .events {
      text-align: center;
      padding: 50px 20px;
    }

    .events h2 {
      font-size: 40px;
      margin-bottom: 40px;
    }

    .event-grid {
      display: flex;
      justify-content: center;
      gap: 40px;
    }

    .event-card {
      width: 250px;
      height: 350px;
      background-color: #0b2e0c;
    }

    .event-card {
      width: 250px;
      height: 350px;
      background-color: #0b2e0c;
      position: relative;      /* allows overlay text inside */
      border-radius: 10px;     /* optional rounded corners */
      overflow: hidden;        /* ensures text or background doesn't spill */
    }
    
    /* Text overlay */
    .event-text {
      position: absolute;      /* sit on top of the card */
      top: 50%;                /* vertical center */
      left: 50%;               /* horizontal center */
      transform: translate(-50%, -50%); /* center exactly */
      color: white;            /* text color */
      text-align: center;
      padding: 10px 15px;
      background: rgba(0, 0, 0, 0.4); /* optional semi-transparent background */
      border-radius: 5px;      /* optional */
    }
    
    .event-text h3 {
      margin: 0 0 5px 0;
      font-size: 20px;
    }
    
    .event-text p {
      margin: 0;
      font-size: 16px;
    }
    

/* ---------- Programs, Mission, Donations ---------- */
.AboutUs-container,
.mission-container,
.programs-container {
  display: flex;
  align-items: center;      /* vertically center text and image */
  justify-content: flex-start;
  gap: 20px;                /* space between text and image */
  padding: 0;
  margin: 0;
  width: 100%;              /* full width of page */
}

/* Text styling consistent across all three sections */
.AboutUs-text,
.mission-text,
.programs-text {
  font-size: 22px;
  text-align: center;
  line-height: 1.5;
  flex: 1;
  margin-top: -300px; /* moves both title and subtitle up slightly */
}

/* Image styling consistent across all three sections */
.AboutUs-container img,
.mission-container img,
.programs-container img {
  height: auto;             /* maintain original aspect ratio */
  width: auto;              /* natural width */
  max-width: 100%;          /* scale down if needed, but allow large images */
  display: block;           /* removes inline spacing */
  object-fit: contain;      /* preserves proportions */
}




/*move classroom.jpg to right*/
.move-right {
    margin-left: auto;
  }



/* ---------- TEAM PAGE ---------- */
.page-banner {
  background-color: #00390c;
  color: #f3ede5;
  text-align: center;
  padding: 100px 20px;
  font-size: 48px;
  font-weight: bold;
}

.team-banner {
  background: url('images/teams.PNG') center/cover no-repeat;
}

.team-section {
  text-align: center;
  padding: 40px 20px;
}

.team-section h2 {
  font-size: 26px;
  color: #0b2e0c;
  margin-bottom: 40px;
  font-weight: bold;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-content: center;
  padding: 0 100px;
}

.team-card {
  background-color: #032707;
  border-radius: 10px;
  height: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-member .profile-pic {
  width: 180px;      /* adjust this number to make it bigger or smaller */
  height: 180px;     /* keep it proportional to width if needed */
  object-fit: cover; /* keeps proportions while filling the box */
  border-radius: 10px;
  display: block;
  margin: 0 auto 10px; /* centers image */
}



/* ---------- CONTACT PAGE ---------- */
.contact-banner {
  background: url('images/contact info.PNG') center/cover no-repeat;
  background-size: cover;
  color: white;
}

.contact-info {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1d3d12;
}

.contact-info p {
  font-size: 20px;
  margin: 5px 0;
}

/* ---------- DONATE PAGE ---------- */
.donate-banner {
  background: url('images/donations.PNG') center/cover no-repeat;
  background-size: cover;
  color: white;
}

.donation-info {
  text-align: center;
  padding: 80px 20px;
  font-size: 20px;
  background-color: #f9f7f2;
  color: #12310d;
}

.donate-btn {
  margin-top: 20px;
  padding: 15px 40px;
  background-color: #164714;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.donate-btn:hover {
  background-color: #256b22;
}

/* ---------- GENERAL PAGE FORMATTING ---------- */
.page-banner h1 {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

section {
  scroll-margin-top: 100px; /* fixes navbar overlap on anchor links */
}

.content {
  text-align: center;
  margin-top: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 30px; /* space between boxes */
  margin: 50px auto;
  max-width: 1200px;
  justify-items: center;
}

.team-member {
  background-color: #164714; /* green background */
  width: 250px;
  height: 300px;
  border-radius: 10px;
  color: white;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* text appears at bottom */
  transition: transform 0.3s;
  transform: translate(50px, -90px);
}

.team-member h3 {
  margin: 5px 0 3px; /* reduce gaps above/below name */
  font-size: 1rem;   /* slightly smaller */
}

.team-member p {
  margin: 2px 0;     /* tighten paragraph spacing */
  font-size: 0.9rem; /* smaller font */
}



.team-member:hover {
  transform: translate(50px, -95px);
}


 


  

  