/* Root Variables */
:root {
    --purple: #6b5cd4;
    --dark: #333;
}


/*******************************8** About Banner **********************************/

.about_banner {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 6%;
    overflow: hidden;
    gap: 60px;
}

.about_banner .content {
    position: relative;
    width: 50%;
    z-index: 2;
    padding-right: 40px;
}

.about_banner h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.about_banner h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--medium-green);
    margin-bottom: 30px;
}

.about_banner .text p {
    /* color: var(--light); */
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 17px;
}

.about_banner .image {
    /* position: absolute; */
    right: 10%;
    width: 55%;
    height: 80%;
    z-index: 2;
}

.about_banner .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about_banner .bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background-color: var(--light-golden);
    z-index: 1;
}

/*********************************** Vision Section ***************************************/

.vision {
    padding: 80px 0;
    background: #f5f5f5;
}

.vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding : 0px 5%;
}

.vision p {
    line-height: 1.7;
    font-size: 17px;
}

.vision .left {
    background: var(--medium-green);
    padding: 10%;
    border-radius: 8px;
    color: white;
    margin-top: -190px;
}

.vision .right {
    padding: 10%;
}

.vision h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/*************************** Parallax Section **********************************/

.parallax_section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
        url(/images/new/about_horizontal.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 0;
    background-attachment: fixed;
}

/****************************** Team Section ****************************************/

.team {
    padding: 80px 6%;
    background: var(--white);
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark);
}

.team .cards {
     display: block;
    position: relative;
}

.team .card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom:20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.team .image {
     max-height: 100px;
    overflow: hidden;
    object-fit: contain;
    border-radius: 50%;
}

.team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .info {
    padding: 20px;
    text-align: left;
}

.team span {
    display: block;
    color: #a68008;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about_banner h1 {
        font-size: 2.8rem;
    }
}

@media (max-width:900px){
    .about_banner{
        gap:0px;
    }
}

@media (max-width:700px) {
    .about_banner {
        flex-direction: column;
        padding: 40px 6%;
    }

    .about_banner .content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about_banner .image {
        position: relative;
        right: 0;
        width: 100%;
        height: 400px;
        margin-top: 20px;
    }

    .about_banner .bg {
        width: 100%;
        height: 30%;
        top: auto;
        bottom: 0;
    }

    .parallax_section {
        margin-top: 30px;
        padding: 140px 0px;
    }

    .vision .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .about_banner h1 {
        font-size: 2.2rem;
    }

    .about_banner .bg {
        height: 25%;
    }

    .vision .left,
    .vision .right {
        /* padding: 25px; */
    }
}
