* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

header {
    background: #2e7d32;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    
}
.logo-container{
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
 }

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav a:hover {
    background: #4caf50;
}

nav a.active {
    background: #4caf50;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    position: relative;
    text-align: center;
    padding: 0;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

.hero .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero .slide.active {
    opacity: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: left;
}

.hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.gallery-intro {
    position: relative;
    text-align: center;
    padding: 5rem 2rem;
    color: #fff;
    overflow: hidden;
}

.gallery-intro .slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gallery-intro .slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-intro .slideshow-image.active {
    opacity: 1;
}

.gallery-intro .hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: left;
    background: rgba(76, 175, 80, 0.7); /* Light green with transparency */
    border-radius: 8px; /* Slight border radius for aesthetics */
    display: inline-block; /* Fit content width */
    max-width: 90%; /* Prevent overflow on smaller screens */
}

.gallery-intro .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.gallery-intro .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.intro, .progress, .about, .activities, .team, .team-full, .team-members, .gallery, .contact, .project-activities, .section, .phase-section {
    padding: 1rem 0;
}

.intro h2, .progress h2, .about h2, .activities h2, .team h2, .team-members h2, .gallery h2, .contact h2, .project-activities h2, .section h2, .phase-section h2 {
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.intro p, .progress p, .about p, .activities p, .team p, .team-members p, .gallery p, .contact p, .project-activities p, .section p, .phase-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.intro {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.intro-content {
    flex: 1;
}

.intro-content p {
    text-align: justify;
}

.intro-image {
    flex: 0 0 40%;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.about-image {
    flex: 0 0 50%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    text-align: justify;
}

.about .btn-container {
    text-align: center;
    margin-top: 1rem;
}

.phase-section {
    margin-bottom: 2rem;
}

.phase-content {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.phase-content.phase-reverse {
    flex-direction: row-reverse;
}

.phase-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phase-text p {
    text-align: justify;
}

.phase-text h3 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.phase-text ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.phase-text ul ul {
    list-style: circle;
    margin-left: 2rem;
}

.phase-text-center {
    text-align: center;
}

.phase-image {
    flex: 0 0 50%;
}

.phase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.project-activities {
    text-align: center;
}

.progress h3 {
    margin-top: 1.5rem;
    color: #2e7d32;
}

.progress ul {
    list-style: disc;
    margin: 1rem 0 1rem 2rem;
}

.contact-section {
    padding: 1rem 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    text-align: left;
    flex: 1;
}

.contact-details h3 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.contact-details p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-details a {
    color: #2e7d32;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.project-activities h2, .light-moments h2 {
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    gap: 1.5rem;
    margin-top: 2rem;
}

.activities-grid img, .moments-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-full {
    text-align: center;
}

.team-full img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
}

.team-members h2 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 210px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.team-member p {
    margin-bottom: 0.5rem;
}

.timeline-section {
    margin-top: 2rem;
}

.timeline-section h2 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.timeline-section h3 {
    color: #2e7d32;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-section h4 {
    color: #2e7d32;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-section ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.timeline-section p {
    margin-bottom: 1rem;
}

.progress-timeline {
    margin-top: 2rem;
}

.progress-timeline h2 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.progress-columns {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.progress-column {
    flex: 1;
    text-align: center;
}

.progress-column img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.progress-column h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.progress-column p {
    margin-bottom: 1rem;
}

.about .project-info {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about .text-content h1 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

.about .text-content h2 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

.about .text-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about .image-content {
    flex: 1;
}

.about .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mission-section {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.mission-column {
    flex: 1;
    text-align: center;
}

.mission-column h2 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

.mission-column p {
    margin-bottom: 1rem;
}

.enhancement-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.enhancement-section .image-content {
    flex: 1;
}

.enhancement-section .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.enhancement-section .text-content {
    flex: 1;
}

.enhancement-section .text-content h2 {
    color: #2e7d32;
}

.contact form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input, .contact textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact textarea {
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #4caf50;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sponsor-card {
    text-align: center;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sponsor-card img {
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sponsor-card p {
    font-size: 0.9rem;
    color: #333;
}

.sponsors {
    text-align: center;
}

footer {
    background: #2e7d32;
    color: white;
    margin-top: 2rem;
}

.footer-container {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-section p {
    color: #fff;
}

.footer-section a {
    color: #fff;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #4caf50;
    color: #fff;
}

.social-links a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hero {
        height: 80vh;
    }

    .hero .slideshow {
        height: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
        text-align: center;
    }

    nav ul {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem 0;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .hero {
        height: 60vh;
    }

    .hero .slideshow {
        height: 100%;
    }

    .hero .hero-content {
        padding: 1rem;
    }

    .hero .hero-content h1 {
        font-size: 2rem;
    }

    .hero .hero-content p {
        font-size: 1rem;
    }

    .intro {
        flex-direction: column;
    }

    .intro-image {
        flex: 0 0 100%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 100%;
    }

    .phase-content {
        flex-direction: column;
    }

    .phase-image {
        flex: 0 0 100%;
    }

    .phase-content.phase-reverse {
        flex-direction: column;
    }

    .activities .progress-columns {
        flex-direction: column;
        text-align: center;
    }

    .progress-column img {
        max-width: 100%;
        height: 150px;
    }

    .timeline-section h3, .timeline-section h4 {
        margin-left: 1rem;
    }

    .team-full img {
        max-width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about .project-info {
        flex-direction: column;
        text-align: center;
    }

    .about .image-content img {
        max-width: 100%;
        height: auto;
    }

    .mission-section {
        flex-direction: column;
        text-align: center;
    }

    .enhancement-section {
        flex-direction: column;
        text-align: center;
    }

    .enhancement-section .image-content img {
        max-width: 100%;
        height: auto;
    }

    .gallery-intro {
        height: 300px;
    }

    .gallery-intro .hero-content {
        max-width: 95%;
        padding: 1rem;
    }

    .gallery-intro .hero-content h1 {
        font-size: 2rem;
    }

    .gallery-intro .hero-content p {
        font-size: 0.9rem;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .moments-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 100px;
    }

    header {
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1rem;
    }

    nav ul {
        gap: 0.3rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }

    .hero {
        height: 50vh;
        padding: 0;
    }

    .hero .slideshow {
        height: 100%;
    }

    .hero .hero-content {
        padding: 0.5rem;
    }

    .hero .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero .hero-content p {
        font-size: 0.9rem;
    }

    .gallery-intro .hero-content {
        padding: 0.5rem;
    }

    .footer-container {
        padding: 1rem;
    }
}