/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Roboto;
}

html {
    scroll-behavior: smooth;
  }

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    background-color: #54592C;
    padding: 4px 32px;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    display: flex;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    
}

.nav-links li {
    margin: 15px 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 4px 16px;
    font-weight: 400;
    transition: background-color 0.5s ease;
}

.nav-links a:hover {
    background-color: #8a8439;
    border-radius: 20px;
}

.nav-links .active {
    background-color: #A69F44;
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px; 
      left: 0;
      width: 100%;
      background-color: #54592C;
      text-align: center;
      padding: 16px 0;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }

/* Hero Section */
#hero-section {
    display: flex;
    min-width: 700px;
    background: linear-gradient(45deg, #8A9047, #8A9047, #DAE470, #CFDC45);
    background-size: 300% 300%;
    animation: gradientBG 16s ease infinite;
    padding-top: 50px;
    flex-wrap: wrap;
    flex-direction: row;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-text {
    flex: 1;
    padding: 65px 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-text h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 19px;
    color: white;
    margin-bottom: 32px;
}

.cta-button {
    background-color: #A69F44;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 16px;
    width: 250px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.cta-button:hover {
    background-color: #54592C;
}

.hero-image {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive for Hero section*/
@media (max-width: 1200px) {
    .hero-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .hero-text {
        padding: 32px 16px;
        text-align: center;
    }

    .cta-button {
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
        border-radius: 12px;
    }

    .hero-image {
        margin-top: 24px;

    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }
}



/* Mission Section */
.mission-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
    background-color: #ffffff;
}

.mission-content {
    flex: 1;
    padding: 64px 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-content h2 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 24px;
}

.mission-content p {
    font-size: 17px;
    color: #7f8c8d;
}

.mission-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.mission-image img {
    width: 100%;
    max-width: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #a4a045;
    color: white;
    padding: 40px 20px 20px 20px;
    font-family: sans-serif;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    gap: 20px;
    padding: 20px;
}

.footer-box {
    flex: 1;
    min-width: 200px;
    color: white;
}

.footer-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.footer-box p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
    color: white;
}

.footer-box a {
    color: white;
    text-decoration: none;
}
.footer-box a:hover,
.footer-box a:visited,
.footer-box a:active {
    color: white;
}

.footer-logo {
    width: 200px;
    height: auto;
}

.icon {
    width: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.footer-bottom {
    font-size: 14px;
    color: white;
    margin-top: 20px;
    text-align: center;
}

/* RESPONSIVE for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-box {
        width: 100%;
    }
}

/* Highlight Programs Section */
.programs-section {
    padding: 64px 32px;
    background-color: #f9f9f9;
    text-align: center;
}

.programs-section h2 {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}

.programs-container {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.program-card {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 24px;
    color: #566f27;
    margin-bottom: 8px;

}

.program-card p {
    font-size: 16px;
    color: #7f8c8d;
    text-align: justify;
}

/* Call for Volunteer Section */
.volunteer-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
    color: #4b5722;
}

.volunteer-section h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.volunteer-section p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.volunteer-image-caraousel {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0 auto;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
  }
  
  .carousel-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-image {
    min-width: 100%;
    display: none;
    border-radius: 12px;
  }
  
  .carousel-image.active {
    display: block;
  }

/* About Us Section */
.about-section {
    padding: 100px 40px 0px;
    background-color: #fff;
    font-family: sans-serif;
    color: #54592C;
    margin: 50px 100px 0 100px ;
    
}

.about-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    
}

.about-left {
    flex: 1 1 40%;
    padding-right: 20px;
}

.about-left h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0px;
    color: #54592C;
}

.about-left h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
}
.about-full {
    flex: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;

}

.about-right {
    flex: 1 1 55%;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

.about-image-carousel {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0 auto;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .carousel-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-image {
    min-width: 100%;
    display: none;
    border-radius: 12px;
  }
  
  .carousel-image.active {
    display: block;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  

/* vision mission Section */
.vision-mission {
    display: flex;
    justify-content: space-between;
    background-color: #f1f5ec;
    padding: 40px 60px;
    width: 1200px;
    border-radius: 10px;
    margin: 50px auto;
    gap: 100px;
}

.vision-mission .vision,
.vision-mission .mission {
    flex: 1;
}

.vision-mission h2 {
    font-size: 24px;
    color: #4a5f1f;
    margin-bottom: 10px;
    text-align: center;
}

.vision-mission p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}



/* Quick Facts Section */
.quick-facts {
    padding: 80px 40px;
    text-align: center;
    background-color: #fff;
    color: #54592C;
}

.quick-facts-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.quick-facts-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.quick-facts-header .line {
    flex: 1;
    border: none;
    border-top: 3px solid #54592C;
    max-width: 100px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.fact h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fact p {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

/* Our gallery Section */
.our-gallery {
    padding: 80px 40px;
    background-color: #fff;
    color: #54592C;
    text-align: center;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.gallery-header .line {
    flex: 1;
    border: none;
    border-top: 3px solid #54592C;
    max-width: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}


.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 480px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  }
  
/*Programs section*/
.program-section {
    display: flex;
    align-items: center;
    min-height: 600px;
    background-color: #fff;
    padding: 50px;
    box-sizing: border-box;
    margin-top: 50px;
}

.program-image {
    flex: 1;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-left: 50px;
}

.program-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.program-content {
    flex: 1;
    padding: 0 0 0 40px;
    max-width: 600px;
    margin-right: 50px;
}

.program-content h2 {
    font-size: 56px;
    color: #4a5f1f;
    margin-bottom: 34px;
    line-height: 1.2;
}

.program-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Programs Section - Continued */
.program-section.colored {
    background-color: #f8f9f5; /* Light background color */
}

.program-section.reverse .program-image {
    justify-content: flex-end; /* Align image to right */
    padding-left: 60px;
    padding-right: 0;
    margin-left: 0;
    margin-right: 50px;
}

.program-section.reverse .program-content {
    padding-right: 60px;
    padding-left: 0;
    margin-right: 0;
    margin-left: 50px;
}

.program-type {
    display: block;
    font-size: 14px;
    color: #A69F44;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 600;
}

.program-image.square img {
    aspect-ratio: 1/1;
    max-height: 500px;
}

/* Volunteer Class Section */
.volunteer-class-section {
    display: flex;
    align-items: center;
    min-height: 600px;
    background-color: #fff;
    padding: 80px 60px;
    box-sizing: border-box;
}

.volunteer-class-text {
    flex: 1;
    padding-right: 60px;
    max-width: 600px;
    margin-left: 50px;
}

.section-line {
    width: 80px;
    height: 4px;
    background-color: #A69F44;
    margin-bottom: 30px;
}

.volunteer-class-text h2 {
    font-size: 48px;
    color: #4a5f1f;
    margin-bottom: 30px;
    line-height: 1.3;
}

.volunteer-class-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: justify;
}

.volunteer-class-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 50px;
}

.volunteer-class-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Responsive */
@media (max-width: 1200px) {
    .program-content h2,
    .volunteer-class-text h2 {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .program-section,
    .volunteer-class-section {
        flex-direction: column;
        padding: 60px 40px;
    }
    
    .program-section.reverse .program-image,
    .program-section.reverse .program-content,
    .volunteer-class-image,
    .volunteer-class-text {
        padding: 40px 0 0 0;
        margin: 0;
        justify-content: center;
        max-width: 100%;
    }
    
    .program-image,
    .volunteer-class-image {
        padding-top: 40px;
        margin: 0;
    }
    
    .program-content h2,
    .volunteer-class-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .program-section,
    .volunteer-class-section {
        padding: 50px 30px;
    }
    
    .program-content h2,
    .volunteer-class-text h2 {
        font-size: 32px;
    }
    
    .program-content p,
    .volunteer-class-text p {
        font-size: 15px;
    }
    
    .section-line {
        width: 60px;
        height: 3px;
        margin-bottom: 20px;
    }
}

/*Get involved*/
/* Volunteer Section */
.join-volunteer {
    background-color: #fff;
    padding: 80px 5%;
    text-align: center;
    margin-top: 20px;
}

.section-title {
    font-size: 42px;
    color: #4a5f1f;
    margin-bottom: 50px;
    margin-top: 50px;
}

.join-volunteer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    text-align: left;
}

.join-volunteer-image {
    flex: 1;
    max-width: 500px;
}

.join-volunteer-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.join-volunteer-text {
    flex: 1;
    max-width: 600px;
}

.join-volunteer-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .join-volunteer-content {
        flex-direction: column;
        text-align: center;
    }

    .join-volunteer-text {
        max-width: 100%;
    }

    .join-volunteer-text p {
        text-align: center;
    }
}

/* Donation Section */
.donation-section {
    max-width: 70%;
    margin: 80px auto;
    padding: 0 5%;
    
}

.donation-section h1 {
    font-size: 42px;
    color:#54592C;
    margin-bottom: 30px;
    text-align: center;
}

.donation-intro p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    max-width: 50%; 
    text-align: center;
}

/* Contact Section */
#contact-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 5%;
    text-align: center;
    font-size: 30px;
    color: #54592C;

}

.contact-button {
    display: block;
    width: fit-content;
    margin: 0 auto 50px;
}

.contact-methods {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-method {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background-color: #f8f9f5;
    border-radius: 10px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-method h3 {
    font-size: 22px;
    color: #4a5f1f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-method p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.contact-method a {
    color: #A69F44;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: #54592C;
    text-decoration: underline;
}

/* Contact Icons */
.contact-icon {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .join-volunteer {
        flex-direction: column;
        padding: 60px 5%;
    }

    .join-volunteer > div:first-child {
        padding-left: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .join-volunteer p {
        text-align: center;
    }

    .donation-intro {
        flex-direction: column;
        align-items: center;
    }

    .donation-intro p {
        max-width: 100%;
        text-align: center;
    }

    .contact-methods {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .join-volunteer h1,
    .donation-section h1 {
        font-size: 32px;
    }

    .contact-header {
        font-size: 28px;
    }

    .cta-button,
    .contact-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .donation-intro h2 {
        font-size: 24px;
    }
}