
/* Defaukts */
* {
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -2px;
}

h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #263238;
    text-align: center;
}

h3 {
    text-align: center;
    font-size: 31px;
    font-weight: 800;
    color: #263238;
    line-height: 1.2;
    letter-spacing: -1px;
}

p {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
}

.header {
    position: sticky;
    top: 0;
    max-width: 1700px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2E7D32;
    padding: 0 25px;
    transition: 0.3s;
    z-index: 1000;
    margin: 0 auto;
}

.logo a {
    display: block;
    color: #FFFFFF;
}

.logo img {
    width: 60px;
    border-radius: 50%;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.menu {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    z-index: 1;
    transition: 0.5s;
}

.menu li a {
    color: white;
    display: block;
    padding: 40px 25px;
    font-size: 18px;
    line-height: 1;
    transition: 0.3s;
}

.menu li a:hover {
    box-shadow: 0 -5px 0px white inset,
    500px 0 0 rgba(255,255,255,0.03) inset;
    padding: 35px 25px 45px 25px;
}

.hamburger {
    position: relative;
    width: 30px;
    height: 4px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
}

.hamburger:before,
.hamburger:after {
    content: "";
    position: absolute;
    height: 4px;
    right: 0;
    background: white;
    transition: 0.3s;
}

.hamburger:before {
    top: -10px;
    width: 30px;
    border-radius: 10px;

}

.hamburger:after {
    top: 10px;
    width: 30px;
    border-radius: 10px;
}

.toggle-menu {
    position: absolute;
    width: 30px;
    height: 100%;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
}

.hamburger,
.toggle-menu {
    display: none;
}

.navigation input:checked ~ .hamburger {
    background: transparent;
}

.navigation input:checked ~ .hamburger:before {
    top: 0;
    transform: rotate(-45deg);
    width: 30px;
}

.navigation input:checked ~ .hamburger:after {
    top: 0;
    transform: rotate(45deg);
    width: 30px;
}

.navigation input:checked ~ .menu {
    right: 0;
    box-shadow: -20px 0 40px rgba(0,0,0,0.3);
}

/* Main */
main .intro {
    height: 85vh;
    background-image: url(images/realbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    align-content: center;
    max-width: 1700px;
    margin: 0 auto;
}

main .heading {
    text-align: center;
    color: #FFFFFF;
    text-shadow: 2px 2px 2px black;
}

main .cta-container {
    width: 400px;
    margin: 40px auto;
    text-align: center;
}

.cta-container ul {
    display: flex;
    justify-content: space-between;
}

.cta-container a {
    color: #263238;
    background: #F9A825;
    padding: 5px 10px;
    display: inline-block;
    font-size: 18px;
    border-radius: 5px;
}

.cta-container a:hover {
    background: #FBC02D;
    color: white;
    transition: 0.3s;
}

.mission {
    margin: 100px auto;
    max-width: 1100px;
    scroll-margin-top: 150px;
}

.mission h2 {
    text-align: center;
    margin-bottom: 30px;
}

.mission p {
    color: #455A64;
}

.mission .learn-more, .learn-more a {
    margin: 20px auto;
    width: 200px;
    color: #66BB6A;
    padding: 10px;
}

.learn-more a:hover {
    color: #1B5E20;
}
.programs-summary {
    text-align: center;
}

.programs-summary p {
    color: #455A64;
}

.program-cards, #program-cards {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 24px;
  scroll-margin-top: 400px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.program-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
}


.program-cards .program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: auto;
  p {color: #1B5E20;}
}

.program-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.program-card p {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #263238;
}

/* === Impact === */
.impact p {
    color: #263238;
}

.impact, #impact {
    text-align: center;
    scroll-margin-top: 100px;
}

.impact h2 {
    margin: 0;
}

.impact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1700px;
    margin: 50px auto;
    padding-inline: 50px;
    gap: 50px;
    transform: scale(1);
    transition: transform 0.4s ease-out;
}

.impact-tiles:hover {
    box-shadow: #1B5E20 1px 1px;
    transform: scale(1.01);
    transition: transform 0.4s ease-out;
}

.impact-tiles {
    text-align: center;
    background: #bfdacc;
    width: 33%;
}

.impact span {
    font-size: 30px;
    font-weight: 900;
    padding: 20px;
    color: #1B5E20;
}

.impact .impact-tiles p {
    color: #333;
    padding: 25px;
}
/* === Our Team === */
.team p {
    text-align: center;
    color: #263238;
}

.persons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.people {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
  padding-top: 20px;
}

.people:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  outline: #1B5E20 0.5px solid;
}

.people img {
  width: 60%;
  object-fit: cover;
  border-radius: 50%;
  border: #1B5E20 2px solid;
  margin: 5px;
}

.people-text {
  padding: 20px;
}

.name {
  font-size: 22px;
  margin-bottom: 8px;
  color: #222;
}

.role {
  font-size: 16px;
  color: #666;
}

.team .join-team {
    color: black;
    background: #3da843;
    padding: 20px;
    border-radius: 10px;
}

.team .join-team:hover {
    color: #FFFFFF;
    background: #1B5E20;
    transition: 0.6s ease;
    padding: 22px;
}

/* ===Contact Section=== */
.contact {
  padding: 80px 20px;
  background: #f7f9f8;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}

.contact p {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

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

button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  background: #2e7d32;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
}

button:hover {
  background: #256628;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

footer {
    background: #2E7D32;
    max-width: 1700px;
    margin: 0 auto;
}

footer .upper-section {
    display: flex;
    justify-content: space-between;
    padding: 40px;
}

footer .contact-info .icons ul {
    display: flex;
    gap: 30px;
}

footer .contact-info .icons ul a {
    font-size: 22px;
}

footer a:hover {
    color: #222;
}

footer .description {
    width: 40%;
}

footer h4 {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 2px 2px 2px black;
}

footer p, footer a, address {
    font-size: 17px;
    color: #FFFFFF;
}

footer .small-text p {
    font-size: 15px;
    text-align: center;
}

/* === Responsive === */
@media(max-width: 1000px) {
    .mission {
        margin-inline: 25px;
    }
}

@media(max-width: 900px) {
    .impact-container {
        flex-direction: column;
    }

    .impact-tiles {
        width: 100%;
    }
}

@media screen and (max-width:780px) {
    .hamburger,
    .toggle-menu {
    display: block;
    }

    .header {
        padding: 20px 10px;
        transform: 0.3s;
    }

    .menu {
        justify-content: start;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        right: -300px;
        background: #2E7D32;
        width: 300px;
        height: 100%;
        padding-top: 65px;
        transition: 0.3s;
    }

    .menu li {
        width: 100%;
    }

    .menu li a {
        padding: 30px;
        font-size: 18px;
        box-shadow: 0 1px 0 rgba(255,255,255,0.1)inset;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }
    p {
        font-size: 16px;
    }

    a {
        font-size: 15px;
    }

    .contact {
    padding: 60px 15px;
    }

    .contact-container {
    padding: 30px 20px;
    }

    .contact h2 {
    font-size: 30px;
    }

    footer .upper-section {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 70px;
        justify-content: center;
    }

    footer h4 {
        text-align: center;
    }

    footer .description {
        width: 100%;
    }
}

@media(max-width: 490px) {
    .logo img {
        width: 45px;
        margin-left: 15px;
    }
    
    .intro h1 {
        font-size: 33px;
    }

    .intro p {
        margin: 10px;
    }

    .intro .cta-container {
        width: 300px;
    }

    .intro li a {
        font-size: 13px;
    }

    .contact h2 {
    font-size: 26px;
  }

  .form-group input,
  .form-group textarea,
  button {
    font-size: 15px;
    padding: 14px;
  }
}