/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

:root{
  --primary-color: #239423;
}
body {
  background-color:  #94beda;
  color: #333;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  flex-wrap: wrap;
}

.logo img {
  width: 140px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #00c853; /* Green */
  border: 2px solid #00c853;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #00c853;
  color: white;
}

nav ul li a.active {
  background-color: #00c853;
  color: white;
}

.menu-icon {
  font-size: 30px;
  cursor: pointer;
  display: none;
  color: green;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem;
  background-color: #2b7bda; /* Dark Blue Box */
  border-radius: 10px;
  width: 90%;
  max-width: 1200px;
}

.hero-text h2 {
  color: #32CD32; /* Bright Green */
  font-size: 28px;
  margin-bottom: 1rem;
}

.hero-text p {
  color: white;
  font-size: 16px;
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero-image img {
  width: 350px;
  border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  }

  nav ul li {
    margin: 15px 0;
  }

  nav ul li a {
    color: #00c853;
    border: 2px solid #00c853;
    padding: 10px 20px;
    border-radius: 30px;
  }

  .menu-icon {
    display: block;
  }

  nav ul.show {
    right: 0;
  }

  .hero-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 80%;
    margin-top: 1.5rem;
  }
}

.about-section {
  padding: 3rem 2rem;
  text-align: center;
}

.about-section h1 {
  color: #239423;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-description {
  max-width: 1100px; /* increased width */
  margin: 0 auto;
  font-size: 17px;   /* slightly larger font */
  color: #333;
  line-height: 1.8;  /* more line spacing */
  text-align: justify;
  padding: 0 1rem;
}

.ceo-name {
  margin-top: 1rem;
  font-style: italic;
  font-size: 1.2rem;
  color: #555;
}

.about-section h2 {
  color: #239423;
  margin-top: 2.5rem;
  font-size: 2rem;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  
  gap: 3rem;                
  margin: 3rem auto 0 auto;
  max-width: 1400px;   /* wider container */
  padding: 0 2rem;
}
.team-cards .card {
  flex: 1 1 48%;       /* allow 2 in a row but give more room */
  max-width: 600px; 
}
.team-cards .card:nth-child(1),
.team-cards .card:nth-child(2) {
  flex: 1 1 48%;
  max-width: 600px;   /* ✅ matches above for balance */
}

.team-cards .card:last-child {
  flex: 1 1 48%;
  max-width: 600px;
  margin: 0 auto;     /* center content inside */
}

.card {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  width: 100%;              /* make responsive inside flex */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  word-wrap: break-word;    /* ensures long words don’t cut out */
}

.card-break {
  flex-basis: 100%;
  height: 0;
}

.team-photo {
  width: 100%;
  max-width: 400px;
  height: 800px;              /* keeps consistent size */       
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1rem auto; 
}

.team-photo1 {
  width: 90%;
  max-width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1rem auto; 
}

@media (max-width: 500px) {
  .team-photo {
    max-width: 100%;
    height: auto;
  }
  .team-photo1 {
    max-width: 100%;
    height: auto;
  }
}


.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.role {
  color: #00c853;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bio {
  font-size: 0.95rem;
  color: #555;
  text-align: justify;
  line-height: 1.6;
  word-break: normal;      
  white-space: normal;     
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
  hyphens: none;             
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card {
    width: 90% !important;
    max-width: 90% !important;
  }

  .team-cards .card:nth-child(1),
  .team-cards .card:nth-child(2),
  .team-cards .card:nth-child(3) {
    flex-basis: 100%;
    justify-content: center;
  }
}


/*gallery section designs*/

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2rem;
    color: var(--primary-color);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    position: relative; 
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px var(--primary-color);
    margin: 10px;
    width: 100%;            /* take full width of grid cell */
    max-width: 500px;       /* ✅ increased from 400px */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); /* dark transparent overlay */
    color: #fff;
    font-size: 1rem;
    padding: 8px;
    text-align: center;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 per row */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    max-width: none;
    width: 95%;
  }
}

/* contact page designs*/
.contact-container {
    max-width: 700px;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: center;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.contact-container h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.subtitle {
    margin-bottom: 20px;
    color: #555;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}
.responsive-iframe {
  position: relative;
  width: 100%;
  padding-bottom: 150%; /* Adjust this based on form height ratio */
  height: 0;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*Programs Page styling*/
.program-section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  margin: 6rem 1rem;;
}
.program-box{
  justify-content: center;
  align-items: center;
  padding: 2rem 20%;
  background-color: white;
  border-radius: 10px;
  text-align: center;
}

.expand-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 1rem 0;
  transition: all 0.3s ease;
}
        
.expand-icon {
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
  color: #2E86AB;
}

.expand-text {
  color: #2E86AB;
  font-size: 1rem;
}

.expanded-content {
  max-height: 0;
  overflow: auto;
  transition: max-height 0.4s ease-out;
}

.expanded-content.show {
  max-height: 700px; 
}
        
.program-details {
  text-align: center;
  color: #2E86AB;
  font-weight: bold;
  
}

.program-details ul {
  list-style: none;
  margin: 0;
}

.program-details li {
  margin: 1rem 0;
  padding: 4rem;
  background-color: #E3F2FD;
  border-radius: 10px;
  width: 700px;
}

.program-details li:before {
  color: white;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}


@media (max-width: 480px) {
    .contact-container h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }
    .contact-container{
      margin: 10px;
    }

    .program-details li {
      margin: 1rem 0;
      padding: 4rem;
      background-color: #E3F2FD;
      border-radius: 10px;
      width: 200px;
    }
} 
@media (max-width: 1200px) and (min-width:1000px) {
    .program-details li {
      width: 600px;
    }
}
@media (max-width: 1000px) and (min-width:800px) {
    .program-details li {
      width: 500px;
    }
}
@media (max-width: 800px) and (min-width:630px) {
    .program-details li {
      width: 400px;
    }
}
@media (max-width: 630px) and (min-width:480px) {
    .program-details li {
      width: 300px;
    }
}

/* Our Story Section */
.our-story {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: auto;
    background-color: #e3effb;
    border-radius: 10px;

}

.our-story h2 {
    color: #32CD32; /* Light Green */
    text-align: center;
    margin-bottom: 1.5rem;
}

.story-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.story-text {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
    color: #333;
}

.story-image img {
    flex: 1;
    min-width: 300px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 1rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    margin: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat h3 {
    color: #239423;
    font-size: 2.5rem;
}

.stat p {
    color: #333;
    font-weight: 600;
}

.stat.show {
    opacity: 1;
    transform: translateY(0);
}

/* Global Reach Section */
.global-reach {
    padding: 2rem 1rem;
    text-align: center;
}

.global-reach h2 {
    color: #239423;
    margin-bottom: 1rem;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.global-reach img {
  width: 100%;             /* increase width closer to the text box below */
  max-width: 1200px;      /* bump up max width */
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center; /* center align instead of left */
}

/* Tablet view */
@media (max-width: 1024px) {
  .global-reach img {
    width: 80%;         
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .global-reach img {
    width: 95%;         
    max-width: none;
  }
}
/* Impact Section */
.testimonials-wrapper {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
.testimonials {
    padding: 3rem 2rem 5rem; /* extra bottom padding to avoid footer overlap */
    background-color: #d9eefe; /* soft blue to match your theme */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem; /* extra space before the footer */
}

.testimonials h2 {
    color: #239427; /* Light Green */
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.testimonial-boxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 700px; /* slightly reduced to give extra breathing room */
    padding: 0 1rem; /* ensures spacing from edge even on small screens */
    box-sizing: border-box;
}

.testimonial {
    background: #a6bbf7;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-style: italic;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 600px) {
    .testimonial {
        font-size: 0.95rem;
        padding: 1rem;
    }
}

.menu-icon, .close-icon {
    font-size: 30px;
    cursor: pointer;
    display: none; /* Hidden on desktop */
    color: green;
}

@media (max-width: 768px) {
    .menu-icon, .close-icon {
        display: block;
    }

    .menu-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .close-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
        display: none; /* Close icon hidden by default */
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    nav ul.show {
        right: 0;
    }
}
/* Footer Base Style */
footer {
    background-color: #2b7bda; /* Light Green */
    color: white;
    padding: 2rem 1rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 1rem;
}

/* Social Media Icons */
.footer-socials a {
    color: white;
    font-size: 30px;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: #e0e0e0; /* Light grey on hover */
    transform: scale(1.2); /* Grows slightly on hover */
}

/* Footer Links */
.footer-links {
    margin: 1rem 0;
}

.footer-links h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e0e0e0; /* Light grey on hover */
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        margin: 1rem 0;
    }
}

















































































