* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oxygen', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

body {
    background-color: #fff;
    color: #333;
    font-family: 'Oxygen', sans-serif;
}
html {
    overflow-x:hidden; /* Prevent horizontal scrolling */
}

a{
    text-decoration: none;
    color:#fff;
}


.top {
    width: 100vw; 
    height:85vh; 
    background: url('mainbg.jpg') no-repeat center center/cover;
    margin-top: 15vh;

}

/* .background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* To keep it in the background 
} 

*/




header {
    color: white;
    padding: 1rem 0;
    overflow: visible !important;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible !important;

}
.logo{
    display: flex;
    flex-direction: column;
    align-items:center;
    text-align:center;
    justify-content: center;
}

.logo img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
}
.logo p{
    margin-top: 8px;
}

.logo-section{
    display: flex;
    flex-direction: row;
    position: absolute;
    left:30px;
    top:10px;
}



.main-body{
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-body h1 {
    position: absolute;
    top:30%;
    left:10%;
    color: #ffffff;
    font-size: 65px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-body-p{
    position: absolute;
    top:53%;
    left:10%;
    color: #00412e;
    font-size: 25px;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.5);
    padding:10px;
        width:33%;

}

.main-body-des{
    position: absolute;
    top:61%;
    left:10%;
    color: #00412e;
    font-size: 20px;
    text-decoration: none;
    width:33%;
    text-align: justify;
    background-color: rgba(255, 255, 255, 0.5);
        padding:10px;
}

.main-body-btn{
    position: absolute;
    top:90%;
    left:10%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    background-color: #666666;
    padding:10px 20px;
    transition: background-color 0.3s;
    border:none;
    cursor: pointer;
}

.main-body-btn:hover{
    background-color: #2a2a2a;
}



@media (max-width: 1075px) {
    
    .main-body{
        width:100%;
    }

    .main-body h1 {
        font-size: 62px;
        top:33%;
        left:10%;
    }
    .main-body-p{
        margin: 7px 0px;
        font-size: 21px;
        top:46%;
        left:10%;
        width:80%;
    }

    .main-body-des{
        font-size: 19px;
        padding: 10px;
        top:58%;
        left:10%;
        background-color: rgba(255, 255, 255, 0.5);
        margin-top: 30px;
        color:#1b1b1b;
        min-width:55% ;
    }

    .main-body-btn{
        top:85%;
        left:10%;
        margin-bottom: 10px;
    }

}



@media (max-width: 480px) {
    
    .main-body h1 {
        font-size: 38px;
        top:16%;
        left:8%;
    }
 
    .main-body-p{
        position: absolute;
        font-size: 18px;
        top:24%;
        left:10%;
        padding:7px 5px;
    }

    .main-body-des{
        top:31%;
        left:10%;
        width:55%;
        font-size: 15px;
    }

    .main-body-btn{
        top:74% !important;
        left:10%;
        padding:5px 10px;
        font-size: 17px;
    }

}




/* General Styles */
.section2 {
    width: 100vw;
    height: auto;
}

.cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 300px;
    background-color: rgb(218, 218, 218);
}

.card1, .card2 {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 50%;
    position: relative;
    margin: auto;
}

.card1 img, .card2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.txt-card1 {
    flex-grow: 1;
    height: 100%;
    background-color: #dadada;
    font-size: 45px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    flex-direction: column;
}

.txt-card1 p {
    font-size: medium;
    width: 300px;
    text-align: justify;
    margin: 15px;
}

.card-btn {
    background-color: #008e66;
    padding: 10px 20px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    color: #ffffff;
    margin: 10px;
    font-size: 15px;
}

.card-btn:hover {
    background-color: #005f45;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cards {
        flex-direction: column; /* Stack cards vertically */
        height: auto; /* Allow height to adjust */
        padding: 20px 0; /* Add padding for spacing */
    }

    .card1, .card2 {
        width: 100%; /* Full width for cards */
        margin: 10px 0; /* Add margin between cards */
        height: auto; /* Allow height to adjust */
    }

    .card1 img, .card2 img {
        width:150px;
        height: 200px; /* Set a fixed height for images */
        object-fit: cover; /* Ensure images cover the container */
    }

    .txt-card1 {
        font-size: 30px; /* Reduce font size */
        padding: 10px; /* Add padding for spacing */
    }

    .txt-card1 p {
        font-size: small; /* Reduce paragraph font size */
        width: 80%; /* Adjust width for better readability */
        margin: 10px auto; /* Center-align text */
    }

    .card-btn {
        font-size: 14px; /* Reduce button font size */
        padding: 8px 16px; /* Adjust button padding */
    }
}


.section3 {
    width: 100vw;
    padding: 50px 0;
    background-color: #ffffff;
}

.section3 h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
}

.section3 p {
    color: #434242;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
    width: 90%; /* Ensure the text takes up 60% of the width */
}

.sec3txt-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    flex-direction: row;
    width:100%;
}

.sec3text{
    width:70%;
    margin:10px;
}

.sec3img {
    width: 30%;
    height: auto;
    object-fit: contain; 
}

.sec3img img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
} 

.sec3img img:hover {
    transform: scale(1.05);
}




@media (min-width: 769px) and (max-width: 1075px) {

    .section3 h2 {
        margin-bottom: 10px;
    }

}

@media (max-width: 768px)  {
    .section3{
        padding: 20px;
    }
    .sec3img img {
        width: 95%;
        height: 340px;
        object-fit: cover; 
        border-radius: 10px;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }  
}


@media (max-width: 480px) {
    .section3 p {
        font-size: 16px;
     }

     .section3{
        padding: 20px;
    }

    .sec3img img {
        width: 95%;
        height: 230px;
        object-fit: cover; 
        border-radius: 10px;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }  
 

}





.section4 {
    width: 100vw;
    height: 200px;
    background-image: url(flora.jpg);
    background-repeat: no-repeat;
    background-size: cover; /* This will cover the entire section */
    text-align: center;
}

.statistics {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 200px;
    background-color: transparent;
    text-align: center;
    font-family: Arial, sans-serif;
}
.stat {
    flex: 1;
}
.stat h2 {
    margin: 0;
    font-size: 2rem;
    color: #00b381;
}
.stat p {
    margin: 0;
    font-size: 1rem;
    color: #dfdfdf;
}

.material-symbols-outlined{
    color: #ffffff;
    font-size: 50px;
}
/* General Styles */
.section5 {
    width: 100vw;
    padding: 50px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section5 h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    align-self: flex-start;
    margin-left: 24px;
}

.section5 p {
    color: #434242;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin: 10px auto;
    width: 95%;
}

.unique-section {
    width: 100vw;
    padding: 60px 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Container for each row of cards */
.unique-card-container {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    justify-content: space-between;
    align-items: center;
}

/* Style for the rectangular card */
.unique-rect-card {
    width: 30%;
    height: 300px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 5px;
}

.unique-rect-card:hover {
    box-shadow: 0 5px 10px rgba(0, 97, 16, 0.9);
}

.unique-square-card:hover {
    box-shadow: 0 5px 10px rgba(0, 97, 16, 0.9);
}

/* Container for the square cards */
.unique-square-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35%;
    height: 300px;
    margin: 0 5px;
}

/* Style for each square card */
.unique-square-card {
    height: calc(50% - 10px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
}

.unique-square-card:last-child {
    margin-bottom: 5px;
}

.cardtxt-sq {
    font-size: 20px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
    max-height: 85%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cardtxt-rec {
    font-size: 20px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
    max-height: 85%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cardtxt-rec:hover, .cardtxt-sq:hover {
    background-color: rgba(236, 255, 204, 0.9);
}

.cardtxt-rec h3, .cardtxt-sq h3 {
    color: #00412e;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
}

.cardtxt-rec p, .cardtxt-sq p {
    color: #000000;
    font-size: 15px;
    text-decoration: none;
    max-width: 95%;
    margin: 5px;
}

/* Responsive Styles */
@media (max-width: 1075px) {
    .section5 {
        padding: 20px;
    }

    .section5 h2 {
        margin-bottom: 0px;
        margin-left: 0px;
    }

    .cardtxt-sq {
        font-size: 18px;
        padding: 10px;
    }

    .cardtxt-rec {
        font-size: 18px;
        padding: 15px 0px;
    }

    #service-pr {
        margin-right: 140px;
        margin-top: 4px;
        margin-bottom: 4px;
        width: 90%;
    }

    .cardtxt-rec h3, .cardtxt-sq h3 {
        color: #00412e;
        font-size: 17px;
        padding: 2px;
    }

    .unique-section {
        width: 100vw;
        padding: 60px 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .unique-card-container {
        flex-direction: column; /* Stack cards vertically */
    }

    .unique-rect-card,
    .unique-square-cards {
        width: 100%; /* Full width for cards */
        margin: 10px 0; /* Add margin between cards */
    }

    .unique-rect-card {
        height: 200px; /* Adjust height for rectangular card */
    }

    .unique-square-cards {
        flex-direction: row; /* Keep square cards in a row */
        flex-wrap: wrap; /* Allow wrapping */
        height: auto; /* Adjust height automatically */
    }

    .unique-square-card {
        width: 48%; /* Two cards per row */
        height: 150px; /* Adjust height for square cards */
        margin: 5px; /* Add margin between square cards */
    }
}

@media (max-width: 480px) {
    .section5 {
        padding: 30px;
    }

    .section5 h2 {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: left;
    }

    .section5 p {
        font-size: 16px;
        width: 90%;
        padding-left: 35px;
    }

    .unique-section {
        padding: 20px;
    }

    .unique-card-container {
        flex-direction: column; /* Stack cards vertically */
    }

    .unique-rect-card,
    .unique-square-cards {
        width: 100%; /* Full width for cards */
        margin: 10px 0; /* Add margin between cards */
    }

    .unique-rect-card {
        height: 200px; /* Adjust height for rectangular card */
    }

    .unique-square-cards {
        flex-direction: column; /* Stack square cards vertically */
        height: auto; /* Adjust height automatically */
    }

    .unique-square-card {
        width: 100%; /* Full width for square cards */
        height: 150px; /* Adjust height for square cards */
        margin: 5px 0; /* Add margin between square cards */
    }

    .cardtxt-rec, .cardtxt-sq {
        font-size: 14px; /* Reduce font size for smaller screens */
        padding: 8px; /* Adjust padding */
    }

    .cardtxt-rec h3, .cardtxt-sq h3 {
        font-size: 16px; /* Reduce heading font size */
    }

    .cardtxt-rec p, .cardtxt-sq p {
        font-size: 12px; /* Reduce paragraph font size */
    }
}


.section6 {
    position: relative;
    text-align: center;
    width: 100vw;
    padding: 50px 0;
    overflow: hidden;

    width: 100vw; 
    height:100vh; 
    /* background: url('mentor-bg.png') no-repeat center center/cover; */
    background-color: #fff;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensure the video stays behind the content */
}


.content {
    position: relative;
    z-index: 1; /* Ensure content stays above the video */
    color: white; /* Change text color for visibility */
}

.section6 h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
}

.section6 p {
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: #434242;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
    width: 90%; /* Ensure the text takes up 60% of the width */
}

.mentor-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    height:670px;
}

.mentors {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 22%;
    text-align: center;
    transition: transform 0.3s;
    max-height:100%;
    position: relative;
}

.mentors:hover {
    transform: translateY(-10px);
}

.mentor-img img {
    width: 100%;
    height: 280px;
    max-height: 280px;
    object-fit: cover;
}

.mentor-txt {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-height: 42%;
    min-height: 42%;
}

.mentor-txt h6 {
    color: #2d6a4f;
    font-size: 18px;
    margin: 10px 0 5px;
    font-weight: bold;
}

.mentor-txt p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.mentor-social {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    text-decoration: none;
    margin: 5px auto;
    padding: 5px;
    position: absolute;
    bottom: 5px;
    left: 15px;
}

.mentor-social a {
    color: #777;
    font-size: 20px;
    margin: 0 5px;
    transition: color 0.3s;
    padding:5px;
    border: #ccc solid 2px;
    border-radius: 10px;
}

.mentor-social a:hover i {
    color: #000000;
    transition: color 0.3s ease;
}

/* .mentor-social a:hover {
    color: #00b381;
    transition: color 0.3s ease;
    border: #00b381 solid 2px;
} */

.facebook:hover {
    background-color: #1877F2;
    transition: color 0.3s ease;
    border: #1877F2 solid 2px;
}

.twitter:hover {
    background-color: #3cb3fd;
    transition: color 0.3s ease;
    border: #3cb3fd solid 2px;
}

.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #8a3ab9, #4a69bb, #1e96c8, #00b381);
    transition: color 0.3s ease;
    border: #fff solid 2px;
}

.linkedin:hover {
    background-color: #0077B5;
    transition: color 0.3s ease;
    border: #0077B5 solid 2px;
}

.mentor-social a i{
    color: #777;
    font-size: 20px;
    margin: 10px;
    transition: color 0.3s;
    gap: 10px;
}


@media (max-width: 1075px) {

    .mentor-img img {
        height: 250px;
    }

    .mentor-txt {
        padding: 10px;
        max-height: 40%;
        min-height: 40%;
    }
    
    .mentor-txt h6 {
        font-size: 18px;
        margin: 5px 0 5px;
        font-weight: bold;
    }
    
    .mentor-txt p {
        margin: 0;
    }

    .mentor-social {
        bottom: 2px;
        left: 5px;
    }

    .mentor-social a {
        font-size: 20px;
        margin: 0 5px;
        transition: color 0.3s;
        padding:2px;
        border-radius: 10px;
    }
}
 


.section7{
    width:100vw;
    padding: 50px;
    background-color: #ffffff;
}

.section7 h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
}

.section7 p {
    color: #434242;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
    width: 70%; /* Ensure the text takes up 60% of the width */
    padding-left: 80px;

}

.photo-gallery {
    padding:50px;
    background-color: #ffffff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:2px;

}

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:5px;
}

.hexagon {
    position: relative;
    width: 320px;
    height: 300px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hexagon:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hexagon:hover img {
    transform: scale(1.1);
}


@media (max-width: 1075px) {

  #gallery-heading{
     padding-left: 20px;
     margin-bottom: 20px;
  }

  #gallery-img{
    display: none;
  }

  .gallery-item {
    margin:7px;
}

}





@media (max-width: 768px) {
    .section7 {
        padding: 10px;
    }

    .section7 h2 {
        font-size: 20px; 
        text-align: left;
        padding-left: 0;
        margin-bottom: 15px;
    }

    .section7 p {
        font-size: 17px; 
        width: 90%; 
        padding-left: 0;
        text-align: left;
        margin: 5px 0px;

    }

    .photo-gallery {
        padding: 5px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 2px; /* Minimal spacing */
    }

    .gallery-item {
        margin: 3px 0;
    }

    .hexagon {
        width: 100%; /* Make hexagon responsive */
        max-width: 200px; /* Limit maximum width */
        aspect-ratio: 1 / 1; /* Keep the aspect ratio as 1:1 */
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        margin: 0 auto; 
    }

    .hexagon img {
        width: 100%; 
        height: 100%; /* Ensure it takes up the full container */
        object-fit: cover; /* Maintain image aspect ratio while covering the container */
        transition: transform 0.5s ease;
    }

    .hexagon:hover {
        transform: translateY(-1px); /* Minimal hover effect */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    .hexagon:hover img {
        transform: scale(1.05); /* Slight zoom on hover */
    }
}







.section8 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    background-color: #c0ffe1;
    width: 100vw;
    box-sizing: border-box;
    flex-direction: row;
}

.section8 img {
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.section8 h3 {
    font-size: 2rem;
    color: #2d6a4f;
    margin: 20px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.section8 p {
    font-size: 1.2rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.volunteer-btn {
    font-size: 1.2rem;
    color: #fff;
    background-color: #2d6a4f;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-btn:hover {
    background-color: #52b788;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}



@media (max-width: 1075px) {

    #volunteer-ready{
        width: 50%;
    }
 
    #volunteer-text-box{
        padding: 20px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 70px;
    justify-content: center;
}

.volunteer-card {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.volunteer-card:hover {
    transform: scale(1.05);
}

.volunteer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:opacity 0.3s ease-in-out;
}

.volunteer-info {
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}

.volunteer-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.volunteer-details strong {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 15px;
    padding-bottom: 15px;
    height:15px;
}

.name-vol{
    position:fixed;
    top:15px;
    height:35px;
}

.volunteer-details p{
    font-size: small !important;
    text-align: justify;
    color:#272727;
    position:fixed;
    top: 20%;
    height:35px;
}

.volunteer-card:hover .volunteer-details {
    opacity: 1;
}

.volunteer-card:hover img {
    opacity: 0.3;
}

.team-position{
    font-size: small !important;
    font-style: italic;
    font-weight:bold;
    color: #373737 !important;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px ;
        justify-content: center;
    }

    .volunteer-card {
        height: 250px;
    }

        
    .volunteer-details {
        margin:0;
    }

    .volunteer-details .name-vol strong {
        font-size: x-small !important;
        margin: -60px 0 -30px 0 !important;    
        padding: 0 0 20px 0 !important;
    }

    .name-vol{
        margin: 0;
        padding: 0;
    }

    .volunteer-details p{
        font-size: xx-small !important;
        text-align: justify;
        color:#272727;
        position:fixed;
        padding: 10px 5px;
        margin: 0;

    }

    .name-vol .team-position{
        font-size: 2px !important;
        margin: -20px 0 30px 0;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px ;
        justify-content: center;
    }

    .volunteer-card {
        height: 250px;
    }

        
    .volunteer-details {
        margin:0;
    }

    .volunteer-details .name-vol strong {
        font-size: x-small !important;
        margin: -60px 0 -30px 0 !important;    
        padding: 0 0 20px 0 !important;
}

    .name-vol{
        margin: 0;
        padding: 0;
    }

    .volunteer-details p{
        font-size: xx-small !important;
        text-align: justify;
        color:#272727;
        position:fixed;
        padding: 10px 5px;
        margin: 0;

    }

    .name-vol .team-position{
        font-size: 2px !important;
        margin: -20px 0 30px 0;
    }
}

.section9 {
    width: 100vw;
    padding: 50px;
    background-color: #ffffff !important;
}

.section9 h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
}

.section9 p {
    color: #666666;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 1075px) {
  
   #our-valun-heading{
    margin-bottom: 20px;
   }

    #our-valun-pr{
        margin-right: 90px;
    }
}

@media (max-width: 480px) {

}









.section10 {
    width: 100vw;
    padding: 30px 80px;
    background-color: #f3f3f3;
}

.section10 h3 {
    font-size: 36px;
    color: #2d6a4f;
    margin-bottom: 20px;
    font-weight: bold;
    padding-left: 20px;
}


.section10 p {
    font-size: 18px;
    color: #555;
    margin: 10px 0 30px 30px ;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 0 10%;
}

.address, .map {
    flex: 1;
    max-width: 45%;
    margin-bottom: 20px;
}


.address h3, .map h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}



.address p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-half {
    width: 48%;
    display: inline-block;
}

.form-group-half label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.form-group-half input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #2d6a4f;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #52b788;
}



@media (max-width: 1075px) {

    #contact-us-para{
        padding: 0px;
    }

    .section10 p {
        margin: 0px;
        margin-bottom: 35px;
    }

    .form-group-half {
        width: 48%;
    }

    #message{
        margin-top: 4px;
    }

}

@media (max-width: 480px) {

    .section10 h3 {
        padding-left: 0px;
    }  


}


/* footer  code starts  */
.footerContainer{
    background:#F5F5F5;
}

footer{
    width: 100%;
    /* position: absolute; */
    bottom: 0;
    background: linear-gradient(to right, #262525, #131111);

    color: #eee5e5;
    padding: 100px 0 30px;
     border-top-left-radius: 5px;
    /* border-top-right-radius: 20px; */
    font-size:13px ;
    line-height: 20px;
    box-shadow: 0 -3px 3px rgba(194, 194, 194, 0.708);
}
  .footerRow{
    width: 85%;
    margin:auto;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.footercol{
    flex-basis: 25%;
    padding: 10px;

}
.footercol:nth-child(2),.footercol:nth-child(3){
    flex-basis:17%;
    
}

.footercol .logo{
    width: 80px;
    margin-bottom: 30px;
    border-radius: 100px;
    
}


.footercol h3{
    width: fit-content;
    color: #008E66;
    margin-bottom: 30px;
    position: relative;
    font-weight:bold;
    
   
    font-style: normal;
    font-size:large;
    height: fit-content;    
    
}

.footercol ul li{
    list-style: none;
    margin-bottom: 12px;
}
.footercol ul li a{
    text-decoration: none;
    color: rgb(203, 197, 197);
    font-weight: 600;
    text-decoration: underline;
}
.footercol ul li a:hover{
    color: rgba(22, 151, 48, 0.719);
}





.footer .social-icons .fa-brands{
    width:40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #fff;
    margin-right: 15px;
    cursor: pointer;
    

}
.footer .social-icons .fa-brands:hover{
     scale: 1.1;
     transition: scale 0.3s ease;
     box-shadow: 0 0 10px rgba(226, 226, 228, 0.795);
    
     color: white;
}
.footer .social-icons .fa-facebook{
    background: linear-gradient(
        to right,
        #1877F2,
        #2851A3
      );
    color: #fff;}
.footer .social-icons .fa-linkedin{
    background: linear-gradient(
        to right,
        #0077B5,
        #004182
      );color: #fff;}
.footer .social-icons .fa-whatsapp{
    background: linear-gradient(
        135deg,
        #25D366,
        #128C7E
      );color: #fff;}
.footer .social-icons .fa-instagram
{
    background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );color: #fff;
}

footer hr{
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;


}

#footerScanAndDonate{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#footerScanAndDonate img{
width: 100%;
height: 220px;
object-fit: contain;
}
footer .copyright{
    text-align: center;
}
footer .underline{
    width: 100%;
    height:4px;
    background: #234e2a7b;
    border-radius: 3px;
    position: absolute;
    left: 0;
    bottom: -9;
    overflow: hidden;
}
footer .underline span{
    width: 28px;
    height: 100%;
    background: #29ba6a9c;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite ;
    
}
.footerLocation{
    display: flex;
    align-items: center;
    gap: 8px;
}
.emailHere{
    display: flex;
    align-items: center;
   margin-top: 10px;
    gap: 8px;
}
.telephoneInfo{
    display: flex;
    align-items: center;
   margin-top: 10px;
    gap: 8px;
}
.footerLocation2{
    display:flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0 0;
}
#office{
    color:#b3adad;
    font-size: 14px;
}
.footerCopyrightSection{
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    /* padding: 0 60px; */

}
.aboutInFooter{
    color: rgb(212, 203, 203);
    font-size: normal;
    font-weight: 500;
}
.footerCopyrightSection p{
    letter-spacing: 3px;
}
.footerCopyrightSection .copyright span{
    color: #008e66;
    font-weight: 600;
}

#firstFooterCol p{
   letter-spacing: 1.2px; 
   font-size:14px;
}

.newsletterSection {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    min-height: 50vh;
    margin: auto;
    position: relative; /* Required for z-index to work */
    z-index: 1;
    background-image: url("donation.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 10px;
}
.outerNewsletter{
    background: #fcf9f962;
    width: 90%;
    border-radius: 10px;
}
.blurBlack{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color:rgba(110, 104, 104, 0.331);
}
.contentNewsletter{
    position: relative;
    z-index: 2;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 95%;
    background:rgba(185, 184, 184, 0.249);
    height: 100%;
    padding: 20px;
    margin: auto;
    color: black;
    border-radius: 10px;
    
}
.contentNewsletter h3{
    color: black;
    font-style:normal;
    font-weight: bold;
    font-size: large;
    
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    text-align: center;
    
}
.contentNewsletter p{
    letter-spacing: 1.5px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;

}

.contentNewsletter form{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contentNewsletter form  input{
    width: 70%;
    padding: 15px 23px;
    outline: none;
    border: none;
    border-bottom: 1px solid grey;
    border-radius: 12px;
}
.contentNewsletter form .fa-solid{
    font-size: 22px;
    margin-right: 5px;
}
.contentNewsletter form button {
    padding: 15px 23px;
    background: #008e66;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    width: 40%;
    margin:auto;
}
.contentNewsletter form button:hover{
    background-color: #29ba6a;
}
#joinN{
    text-align: center;
    /* margin-bottom: 10px; */
    color: #008E66;
    position: relative;
    width: fit-content;
    margin: auto;
    margin-bottom: 20px ;
    font-size: large;

}
@keyframes moving{
    0%{
        left:-20px
    }
    100%{
        left:100%
    }
}
@media screen and (max-width:700px) {
    footer{
        bottom: unset;
        padding-top: 30px;
    }
    .footer .logo{
        width: 60px;
        border-radius:50%;
    }
    .footercol{
        flex-basis: 100%;
        
        /* padding: 10px; */
    
    }
    .footercol:nth-child(2),.footercol:nth-child(3){
        flex-basis: 100%;
    }
    #firstFooterCol{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
     }
     .newsletterSection{
        width: 70%;
     }
     .contentNewsletter h3{
        font-size: medium;
     }
     .contentNewsletter p{
        font-size: 12px;
     }
     .contentNewsletter form input{
        width: 80%;
        padding: 10px 15px;

     }
     .contentNewsletter form button{
        width: fit-content;
        padding: 7px 10px;
        font-size: 10px;
        
        
     }
}
@media  (min-width:700px) and (max-width:1100px) {
 footer{
    bottom:unset;
    padding-top: 30px;
 }
 
.footercol:nth-child(1){
    flex-basis: 100%;
}
.footercol:nth-child(2),.footercol:nth-child(3),.footercol:nth-child(4){
    /* width: fit-content; */
    flex-basis:29%;
}
}

@media screen and (max-width:1000px) {
    .footerCopyrightSection{
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}


.section-team {
    width:100vw;
    padding: 60px 20px;
    background-color: #f5f5f5;
    height: max-content;
}

.section-team h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
}

.section-team p {
    color: #434242;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
    width: 90%; 
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-cards-wrapper {
    width: 100%; /* Set the width to control the visible area */
    overflow: hidden;
    position: relative;
}

.team-cards {
    display: flex;
    transition: transform 0.3s ease-in-out;
    white-space: nowrap; /* Keep all cards in a single row */
}

.team-member {
    flex: 0 0 32%; /* Control the card width */
    margin-right: 2%;
    white-space: normal; /* Reset this to avoid issues with text wrapping */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
    text-align: center;
    transition: transform 0.3s;
    height:620px;
    max-height: 620px;
}

.team-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    min-height: 280px;
    min-width: 100%;
   border-radius: 10px 10px 0px 0px;
}

.team-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    min-height: 400px;
}

.team-info h6 {
    color: #2d6a4f;
    font-size: 18px;
    margin: 10px 0 5px;
    font-weight: bold;
}

.team-info p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

@media (max-width: 1075px) {

    .section-team h2 {
        margin-bottom: 20px;
        padding-left: 40px;
    }

    .team-info {
        padding: 8px; 
    }

    .team-info h6 {
        margin: 8px 0 5px;
    }


}


@media (max-width: 768px) {
    .section-team {
        padding: 40px 10px;
    }

    .section-team h2 {
        font-size: 32px;
        padding-left: 10px;
        text-align: left;
        margin-bottom: 10px;
    }

    .section-team p {
        font-size: 16px;
        width: 95%;
    }

    .carousel-container {
        flex-direction: column;
        align-items: center;
    }

    .team-cards-wrapper {
        overflow-x: scroll; 
        padding-bottom: 15px;
    }

    .team-cards {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .team-member {
        flex: 0 0 47%; 
        margin-right: 10px;
        height: auto; 
        max-height: unset; 
    }

    .team-img img {
        height: 250px; 
        min-height: 200px;
    }

    .team-info {
        padding: 10px;
        min-height: auto; 
    }

    .team-info h6 {
        font-size: 16px;
    }

    .team-info p {
        font-size: 13px;
    }

    .arrow {
        font-size: 18px;
        padding: 8px;
    }

    .arrow.left {
        left: 5px;
    }

    .arrow.right {
        right: 5px;
    }
}


@media (max-width: 480px) {

    .section-team h2 {
        font-size: 32px;
        padding-left: 2px;
        text-align: left;
        margin-bottom: 10px;
    }

    .section-team p {
        font-size: 16px;
        width: 95%;
    }

    .team-member {
        flex: 0 0 95%;
        padding: 0px;
    }
  
    .team-img img {
        height: 320px; 
        min-height: 200px;
    }

}




.carousel-container {
    display: flex;
    align-items: center;
}

.arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.team-cards-wrapper {
    overflow: hidden;
    width: 80%; /* Adjust width as necessary */
    position: relative;
}

.team-cards {
    display: flex;
    transition: transform 0.3s ease;
}

.arrow{
    background-color: rgba(151, 151, 151, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    background-color: rgba(151, 151, 151, 0.8); 
}



  strong{
    color: #000000;
    font-weight: bold;
    text-align: left !important;
    padding: 5px 0;
  }




.section9 {
    padding: 60px 20px;
    background-color: #e5e5e5;
}

.section9 h2 {
    color: #2d6a4f;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
}

.section9 p {
    color: #434242;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
    width: 90%; 
    margin-left: auto;
    margin-right: auto;
}







#our-valun-heading{
   margin-left: 40px;
}

.volunteer-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
}

.volunteer-member {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 22%;
    text-align: center;
    transition: transform 0.3s;
    max-height:590px;
}

.volunteer-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    min-height: 280px;
    min-width: 100%;
}

.volunteer-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    min-height: 400px;  
}

.volunteer-info h6 {
    color: #2d6a4f;
    font-size: 18px;
    margin: 10px 0 5px;
    font-weight: bold;
}

.volunteer-info p {
    color: #777;
    font-size: 14px;
    margin: 0;
}




@media (max-width: 1200px) {

    .section7 h2 {
        font-size: 36px;
        padding-left: 30px;
    }

    .section7 p {
        width: 80%;
        padding-left: 30px;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .hexagon {
        width: 250px;
        height: 200px;
    }

    .volunteer-member {
        width: 30%; 
    }
}





          /* top section styling */

@media (min-width: 300px) and (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem; /* Reduced padding on smaller screens */
        overflow: visible !important;

    }



    .main-body h1 {
        font-size: 50px;  
        top:30%;
        left:10%; 
        margin: 0px;
        padding-top: 25px;
    }

    .main-body-p {
        font-size: 18px;
    }

    .main-body-des {
        font-size: 16px; 
    }

    .main-body-btn {
        font-size: 16px; 
        padding: 8px 16px; 
        top:80%;
        left:10%;
    }

    .volunteer-member {
        width: 90%;
    }

}


@media (max-width: 480px) {

    /* .nav-links li {
        margin-left: 0; 
        margin-bottom: 10px; 
    } */

    .cards {
        flex-direction: column;
    }

    .card1, .card2 {
        width: 100%; 
        margin: 10px 0; 
    }

    .txt-card1 {
        font-size: 30px; 
    }

    .txt-card1 p {
        font-size: 14px; 
        width: 90%; 
    }

    h1 {
        font-size: 40px; /* Smaller heading on small screens */
    }

    h2 {
        font-size: 30px; /* Smaller subheading on small screens */
    }
}


@media (max-width: 768px) {
    .volunteer-member {
        width: 48%;

    }

    .section9 h2 {
        font-size: 36px; 
        padding-left: 15px;
    }

    .section9 p {
        font-size: 16px; 
        width: 95%; 
    }

    .volunteer-info{
        padding-bottom: 10px;
    }
  

}

@media (max-width: 480px) {
    .volunteer-member {
        width: 90%;         
        margin-bottom: 20px;
    }

    .section9 h2 {
        font-size: 28px; 
        padding-left: 0px;

    }

    #our-valun-heading{
        margin-left: 14px;
     }

    .section9 p {
        font-size: 14px; 
        width: 90%;
        padding-left: 12px; 
    }

    .volunteer-img img {
        height: 340px;
    }
}




/* Responsive styles */
@media (max-width: 768px) {
    .section3 h2 {
        font-size: 32px;
        padding-left: 12px;
    }

    .sec3txt-img {
        flex-direction: column; /* Stack elements vertically */
        padding: 0 20px; /* Reduce padding */
    }

    .sec3text {
        width: 100%; /* Full width on smaller screens */
        margin: 0;
    }

    .sec3img {
        width: 90%; /* Full width on smaller screens */
        margin-top: 20px; /* Space above the image */
        padding: 0px;
    }

    .statistics {
        flex-direction: row; /* Stack statistics vertically */
        padding: 20px 0; /* Add padding for spacing */
    }

    .stat {
        margin-bottom: 20px; /* Space between statistics */
    }

    .stat h2 {
        font-size: 1.5rem; /* Adjust font size */
    }

    .stat p {
        font-size: 0.9rem; /* Adjust font size */
    }
}


/* Media Queries for additional responsiveness */
@media (max-width: 768px) {

     .section5 h2 {
       margin-bottom: 0px;
       margin: 2px;
       font-size: 35px;
    }  
   

    .cardtxt-sq{
        font-size: 18px;
        padding: 10px;
    }

    .cardtxt-rec{
        font-size: 18px;
        padding: 25px 0px;
    }

    #service-pr{
        margin-right: 90px;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .cardtxt-rec h3, .cardtxt-sq h3{
        color: #00412e;
        font-size: 16px;
        padding-top: 10px;
    }

    .cardtxt-rec h3{
        padding-top: 10px;
    }

    .section5 p {
        line-height: 1.2;
        margin: 2px 0px;
        padding-bottom: 12px;
    }

    .unique-section {
        width: 100vw;
        padding: 40px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

}


@media (max-width: 480px) {
    .stat h2 {
        font-size: 1.2rem; /* Further adjust for mobile */
    }

    .stat p {
        font-size: 0.8rem; /* Further adjust for mobile */
    }

    .section5 h2 {
        font-size: 2rem; /* Further adjust heading size */
    }

    .section6 h2 {
        font-size: 2rem; /* Adjust h2 for section6 */
    }

    .section6 p {
        font-size: 0.8rem; /* Adjust paragraph font size */
        width: 90%; /* Adjust width for smaller screens */
    }
}




@media (max-width: 768px) {
 
    .section8 {
        flex-direction: column;
    }

    .section8 img {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .section8 h3 {
        font-size: 1.5rem;
    }

    .section8 p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section7 h2 {
        font-size: 24px;
        padding-left: 10px;
    }

    .section7 p {
        font-size: 14px;
        padding-left: 10px;
    }

    /* .gallery {
        grid-template-columns: 1fr;
    }

    .hexagon {
        width: 150px;
        height: 120px;
    } */

    .section8 img {
        max-width: 100%;
    }

    .section8 h3 {
        font-size: 1.2rem;
    }

    .section8 p {
        font-size: 0.9rem;
    }
}



@media (max-width: 768px) {
    .section10 {
        padding: 30px 20px; 
    }
    
    .contact-info {
        flex-direction: column; 
        align-items: center; 
    }

    .address, .map {
        max-width: 100%; 
        margin-bottom: 20px;
    }

    .form-group-half {
        width: 100%; 
        display: block; 
    }
}

@media (max-width: 480px) {
    .section10 h3 {
        font-size: 28px; 
    }

    .section10 p {
        font-size: 16px;
    }

    .submit-btn {
        font-size: 16px; 
        padding: 10px;
    }

    .footer {
        font-size: 12px;
    }

    .social-icon {
        font-size: 18px; 
    }
}



@media  (max-width: 768px) {

    .section6 h2 {
        font-size: 32px;
        padding-left: 30px;
        text-align: left;
        margin-bottom: 10px;
    }

    .section6 p {
        font-size: 16px;
        width: 90%;
        margin-bottom: 15px;
        text-align: start;
    }

    .mentor-cards {
        flex-wrap: wrap;
        gap: 10px;
        height: auto; 
    }

    .mentors {
        width: 45%; 
        margin-bottom: 20px;
        height: 41rem;
    }

    .mentor-img img {
        height: 620px; 
    }

    .mentor-txt {
        padding: 10px;
        max-height: 490px;
    }

    .mentor-social {
        bottom: 2px;
        left: 2.2rem;
    }

    .mentor-social a{
        margin: 0px 10px;
    }
}

@media (max-width: 480px) {

    .section6 h2 {
        font-size: 32px;
        padding-left: 16px;
    }

    .section6 p {
        font-size: 16px;
        width: 90%;
        margin-bottom: 15px;
        text-align: start;
    }


    .mentors {
        width: 80%; 
        height: 42rem;
    }

    .mentor-txt {
        padding: 10px;
        max-height: 400px;
    }

    .mentor-social a{
        margin: 0px 15px;
    }

    .mentor-img img {
        width: 100%;
        height: 320px;
        max-height: 380px;
        object-fit: cover;
    }

}




/* gallery styling */

@media (max-width: 480px) {
    .section7 h2 {
        font-size: 28px;
        text-align: left;
        padding-left: 0;
    }

    .section7 p {
        font-size: 16px;
        text-align: left;
        width: 90%;
        padding-left: 10px;
        padding-bottom: 10px;
        margin: 0 auto;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; 
    }

    .gallery-item {
        margin: 5px; 
    }

    .hexagon {
        width: 100%; 
        aspect-ratio: 1; 
        overflow: hidden;
        position: relative;
        border-radius: 10px; 
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .hexagon img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        transition: transform 0.5s ease;
        border-radius: 10px; 
    }

    .hexagon:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    }

    .hexagon:hover img {
        transform: scale(1.05);
    }
}


/* gallery styling */

@media (max-width: 320px) {
    .gallery {
        grid-template-columns: 1fr; 
        gap: 15px; 
    }

    .gallery-item {
        margin: 10px 0;
    }

    .hexagon {
        width: 100%; 
        aspect-ratio: 16/9; 
        overflow: hidden;
        position: relative;
        border-radius: 8px; 
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }

    .hexagon img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        transition: transform 0.5s ease;
        border-radius: 8px;
    }

    .hexagon:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    .hexagon:hover img {
        transform: scale(1.02); /* Slight zoom effect on hover */
    }

    .section7 h2 {
        font-size: 22px; /* Smaller font for small screens */
        text-align: center;
        margin-bottom: 15px;
    }

    .section7 p {
        font-size: 14px; /* Smaller font for better readability */
        text-align: center;
        margin: 0 auto;
        width: 90%;
    }
}

























/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    position: absolute;
    z-index: 1000;
}

@media screen and (max-width: 768px) {

    .logo img{
        width: 50px;
        height: auto;
        position: absolute;
        left: 0;
    }

    .logo p{
        display: none;
    }

    
    .menu-toggle {
        display: block; /* Show menu button */
        position: absolute;
        top:15px;
        left: 80vw;
    }

  

    .main-body{
        padding-top: 100px;
    }

    .main-body h1{
        font-size: x-large;
        margin:0;
    }

    .main-body a button{
        margin-top: 50px;;
    }
}



/* 🔹 Responsive Design */

/* ✅ Medium screens (tablets) */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
        flex-direction: row;
    }

    .card-img {
        width: 35%;
    }

    .txt-card {
        width: 65%;
        font-size: 16px;
    }
}

/* ✅ Small screens (mobile) */
@media (max-width: 480px) {
    .card {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .card-img {
        width: 100%;
        padding: 0;
    }

    .card-img img {
        width: 100%;
        height: auto;
    }

    .txt-card {
        width: 100%;
        padding: 10px;
    }

    .txt-card h6 {
        font-size: 18px;
    }

    .txt-card p {
        font-size: 14px;
    }

    .card-btn {
        font-size: 14px;
        padding: 10px;
    }
}




@media screen and (min-width:600px){
    .fa-bars{
        display: none !important;
    }
    
}



/* ----------- Sunday Volunteering Scroller ----------- */
.sundayVolunteering {
  height: 60px;
  width: 100%;
  overflow: hidden;
  background: #c6c6c6;
  display: flex;
  align-items: center;
  position: relative;
}

.sundayVolunteering-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scrollText 25s linear infinite;
}

.sundayVolunteering-track:hover {
  animation-play-state: paused;
}

.sundayVolunteering-track p {
  font-size: 1rem;
  font-weight: 500;
  color: #00692f;
  margin: 0;
  padding-right: 100%;
}

.sundayVolunteering-track a.volunteer-link {
  color: #00796b;
  text-decoration: underline;
  margin-left: 10px;
  font-weight: bold;
}

.sundayVolunteering-track a.volunteer-link:hover {
  color: #004d40;
}

@keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}



/* -------- Sunday Volunteering Popup -------- */
.sunday-popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 105, 47, 0.4);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
}

.sunday-popup-content {
  background-color: #fefefe;
  padding: 20px 30px;
  border: 2px solid #00796b;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  color: #004d40;
}

.sunday-popup-content h3 {
  margin-top: 0;
  color: #00692f;
}

.sunday-popup-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.sunday-popup-content a {
    color:#004d40;
}

.sunday-popup-content a:hover {
    color:#002a23;
    font-weight: bold;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #00796b;
  cursor: pointer;
}

.popup-close:hover {
  color: #004d40;
}

@media (max-width: 600px) {
  .sunday-popup-content {
    width: 90%;           /* Take most of the viewport width */
    padding: 15px 20px;   /* Reduce padding for smaller screen */
    font-size: 0.95rem;   /* Slightly smaller font */
  }

  .sunday-popup-content h3 {
    font-size: 1.1rem;
  }

  .sunday-popup-content p {
    font-size: 0.95rem;
  }

  .popup-close {
    top: 8px;
    right: 12px;
    font-size: 1.3rem;
  }
}



/* Navbar styling */


.container, .container-header {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: auto;
    background: #fff;
    padding: 5px 2rem;
    border-radius: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100% !important;
    height: 120px;
    max-width: inherit;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgb(185, 180, 180);
}

.logo-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    justify-content: center;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.logo img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
}

.logo p {
    margin-top: 3px;
    font-weight: 600;
    color: rgba(6, 49, 23, 0.959);
    font-size: 16px;
}

nav {
    flex: 1;
    text-align: right;
    margin-top: 23px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    position: relative;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: rgb(42, 39, 39);
    text-decoration: none;
    font-weight: bold;
    font-size: medium;
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
    border-radius: 5px;
    position: relative;
}

/* Hover underline effect */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 0;
    background-color: #0aa148;
    transition: width 0.3s ease-in-out;
}


.nav-links a:hover::after {
    width: 100%;
}

/* Active link with background */
.nav-links a.active {
    background-color: #0aa148;
    color: #fff;
    transition: background-color 0.3s ease-in-out;
}

.nav-links a.active::after {
    background-color: transparent; /* Remove hover line for the active link */
}
.nav-links a:hover{
color: rgb(13, 114, 13);
}

.nav-donate {
    padding: 8px 15px;
    border-radius: 5px;
    animation: blink-bg 2s infinite;
}

/* Keyframes: background-color alternates */
@keyframes blink-bg {
    0%, 50%, 100% { background-color: rgb(255, 0, 0); }
    25%, 75% { background-color: rgb(255, 255, 255); }
}




@media screen and (max-width:1000px) {
    .nav-links li{
        margin-left: 7px;
    }
    .nav-links{
        gap: 5px;
    }
    .nav-links a{
        padding: 5px 8px;
    }
    .nav-links a{
        font-size:14px;
    }
}
@media screen and (max-width:760px) {
    .logo img{
        width: 50px;
        height:50px;
    }
    .logo p{
        font-size: 14px;
    }
}

@media screen and (max-width:700px){
    .nav-links a{
        font-size: 11px;
    }
    .nav-links li{
        margin-left: 3px;
    }
}

@media screen and (max-width:600px){
    
    .fa-bars{
        font-size: x-large;
        color: black;
    }
    .container{
        position: fixed;
    }
    .nav-links {
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%;
        flex-direction: column;
        text-align: center;
        background: linear-gradient(to right, #ccc8c8fa, #ddd9d9);
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        
    }
    
    .nav-links {
        gap: 10px;
    }
    .nav-links a{
        font-size: 12px;
        padding: 8px 0;
        display: block;
        width:100%;
        height: 100%;
    }
    .nav-links li{
        margin-left: 0px;
        width: 100%;
        
    }
    
}
@media screen and (min-width:600px){
    .fa-bars{
        display: none !important;
    }
    
}

@media screen and (max-width:500px){
    .logo img{
        width: 55px;
        height:55px;
    }
    .logo p{
        font-size: 10px;
    }

    .main-body h1{
        top:15%;
        text-align: left;
    }

    .main-body-p{
        top: 25%;
        width:55%;
    }

    .main-body-des{
        color:#00412e;
        top:30%;
        width:55% !important;
    }

    .main-body-btn{
        font-size: 16px; 
        padding: 8px 16px; 
        top:72%;
        left:10%
    }

    .top{
        height:70vh;
        background-position-x: 20%;
    }


}
    /* navbar styling end */