body {
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.top-div {
    position: relative;
}

.team-image{
    width: 100%;
    height: 390px;
}


.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 98%;
    transform: translate(-50%, -50%);
    font-size: 3.75rem; 
    font-weight: bold;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

.bottom-div {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.title {
    text-align: center;
    margin-top: 155px;
    color: #004903;
    font-family: 'Montserrat' !important;
    font-size: 36px;
    text-shadow: 0.7px 0.7px 0 #004903, -0.7px -0.7px 0 #004903, 0.7px -0.7px 0 #004903, -0.7px 0.7px 0 #004903; 
}

.container {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap:nowrap;
    height: auto;
}


.lcontainer {
    width: 70%;
    height: auto;
    background: rgba(0, 73, 3, 1);
    left: 0;
    border-radius: 0 30px 30px 0;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.lcontainer-contents {
    margin-top: 70px;
    margin-left: 30px;
    align-items: center;
    margin-bottom: 70px;

}


.rcontainer {
    width: 370px;
    margin: 0 auto;
    height: auto; 
    text-align: center; 
    padding: 0px; 
    border-radius: 8px; 
    position: absolute;
    overflow: hidden;
    margin-left: 60%;
    margin-top: 70px;
}

.rcontainer-image {
    width: 100%;
    height: auto; 
    border-radius: 8px; 
}

.rcontainer-title {
    font-size: 35px;
    margin-top: 10px; 
    color: #004903; 
    font-weight: bold;
}

.lcontainer-title {
    width: 625px;
    color: rgba(234, 255, 234, 1);
    font-family: 'Montserrat';
    font-weight: Black;
    font-size: 60px;
    font-weight: 700;
    position: relative;
    top: 0;
    text-align: center;
    letter-spacing: 0.04rem;
}
  
.lcontainer-paragraph {
    color: rgba(234, 255, 234, 0.9);
    font-family: 'Montserrat';

    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 20px; 
    margin-left: 10px;
    margin-right: 200px;
}

.slider-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    /* min-width: 1200px; */
    justify-content: center;
    gap: 3%;
}

.slide {
    flex: 0 0 25%;
    margin: 5px;
    background: #e8f5e8;
    border-radius: 13px;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: grayscale(100%);
    object-fit: cover;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background-color: #004903; /* Greenish color for the button */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    margin-right: 20px;
    float: right;
    border-radius: 10px;
}

.back-to-top:hover {
    background-color: #004903; /* Slightly darker on hover */
}

.back-to-top-icon {
    width: 24px; /* Adjust based on your icon size */
    height: 24px;
}


.slide-title{
    font-family: 'Montserrat' !important;
    color: #004903;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0% 5%;
}

.slide-content{
    font-family: 'Montserrat' !important;
    font-size: 1.15rem;
    padding: 0% 5%;
}



@media (max-width: 1657px) {

    .team-image {
        height: auto;
    }

    .rcontainer {
        margin-left: 75%;
    }

    .lcontainer {
        width: 80%;
    }

    .lcontainer-paragraph {
        margin-right: 100px;
    }
}


@media (max-width: 1550px) {

    .rcontainer {
        margin-left: 70%;
    }

    .lcontainer {
        width: 80%;
    }

    .lcontainer-paragraph {
        margin-right: 170px;
}

}


@media (max-width: 1390px) {

    .rcontainer {
        margin-top: 75px;
    }

    .lcontainer {
        width: 80%;
    }

    .lcontainer-paragraph {
        margin-right: 150px;
    }
}


@media (max-width: 1250px) {
     
    .lcontainer-title {
        font-size: 36px;
        font-weight: 600;
    }

    .lcontainer-paragraph {
        font-size: 1.15rem;
        margin-right: 250px;
    }

    .rcontainer {
        margin-left: 60%;
    }
}

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

    .lcontainer {
        width: 90%;
        margin-left: 5%; 
        border-radius: 30px;
        position: static; 
    }

    .rcontainer {
        width: 50%;
        margin: 0; 
        position: static; 
        padding-left: 25%;
    }

    .lcontainer-paragraph {
        font-size: 1.15rem;
        margin-right: 30px;
        text-align: justify;
    }

    .rcontainer {
        margin-top: 20px; 
    }

    .title {
        margin-top: 60px;
    }
}


@media (max-width:600px) {

    .slider-container {
        margin-top: 10px;
        display: block !important; 
        align-items: center;
        justify-content: space-between;
        margin-left: auto;
        margin-right: auto;
        height: auto !important;
        /* width: 100%; */
    }
    
    .slider {
        width: 100%;
        justify-content: center;
        gap: 3%;
        display: block !important;
        text-align: center;
    }
    
    .slide img {
        border-radius: 10px;
        filter: grayscale(100%);
        object-fit: fill;
    }
    
}


@media (max-width: 480px) {

    .centered-text {
        font-size: 3.3rem;
    }

    .slider-container {
        margin-top: 10px;
        display: flex; 
        align-items: center;
        justify-content: space-between;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* .slider {
        display: block;
        transition: transform 0.3s ease-in-out;
        width: 100%;
        min-width: 390px;
        justify-content: center;
        gap: 3%;
    } */
    

}

@media (max-width: 1024px) and (min-width: 601px) {
    .slider-container {
        width: 100%;
        height: 590px;
    }
}

