/* Team section for about us page starts */

.our-team {
    padding: 100px 0;
}

.our-team .team-wrp {
    display: flex;
    gap: 50px;
    row-gap: 80px;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.Global-head {
    max-width: 735px;
    width: 100%;
}

.Global-head .svg-wrp {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
}

.Global-head .svg-wrp p {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    margin: 0;
    color: #131e37;
}

.Global-head h1 {
    font-family: "Lato", serif;
    margin: 0;
    font-weight: 500;
    color: #131e37;
}

.Global-head h2 {
    font-family: "Lato", serif;
    font-weight: 400;
    line-height: 60px;
    font-size: 50px;
    margin: 0;
    color: #131e37;
}

.Global-head h3 {
    font-family: "Lato", serif;
    margin: 0;
    color: #131e37;
    font-weight: 400;
}

.Global-head h4 {
    font-family: "Lato", serif;
    margin: 0;
    color: #131e37;
    font-weight: 400;
}

.Global-head h5 {
    font-family: "Lato", serif;
    margin: 0;
    color: #131e37;
    font-weight: 400;
}

.Global-head h6 {
    font-family: "Lato", serif;
    margin: 0;
    color: #131e37;
    font-weight: 400;
}

.our-team .team-wrp {
    padding-top: 50px;
}

.our-team .team-wrp .team-card {
    max-width: calc((100% - 150px) / 4);
    width: 100%;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0px 4px 10px 3px #00000040; */
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

/* .our-team .team-wrp .team-card:hover .team-desc {
    padding: 30px;
} */

.our-team .team-wrp .team-card:hover .team-img img {
    filter: unset;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* .our-team .team-wrp .team-card:hover {
    box-shadow: 0px 4px 10px 3px #00000040;
} */

.our-team .team-wrp .team-card .team-img {
    height: 350px;
    transition: 0.3s ease-in-out;
}

.our-team .team-wrp .team-card .team-img img {
    border-radius: 8px;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: top;
    filter: grayscale();
    transition: 0.3s ease-in-out;
}

.our-team .team-wrp .team-card .team-desc {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: 0.3s ease-in-out;
    /* height: 100%; */
}

.our-team .team-wrp .team-card .team-desc .team-mem-name h1 {
    font-family: "Lato", serif;
    font-weight: 500;
    line-height: normal;
    color: #131e37;
    margin: 0;
}

.our-team .team-wrp .team-card .team-desc .team-mem-name h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
    color: #131e37;
    margin: 0;
}

.our-team .team-wrp .team-card .team-desc .team-mem-name h3 {
    font-family: "Lato", serif;
    line-height: normal;
    color: #131e37;
    margin: 0;
    font-weight: 500;
}

.our-team .team-wrp .team-card .team-desc .team-mem-name h4 {
    font-family: "Lato", serif;
    line-height: normal;
    color: #131e37;
    margin: 0;
    font-weight: 500;
}

.our-team .team-wrp .team-card .team-desc .team-mem-name h5 {
    font-family: "Lato", serif;
    line-height: normal;
    color: #131e37;
    margin: 0;
    font-weight: 500;
}

.our-team .team-wrp .team-card .team-desc .team-mem-name h6 {
    font-family: "Lato", serif;
    line-height: normal;
    color: #131e37;
    margin: 0;
    font-weight: 500;
}

.our-team .team-wrp .team-card .team-desc .team-mem-name p {
    font-family: "Lato", serif;
    line-height: normal;
    color: #131e37;
    margin: 0;
}

.our-team .team-wrp .team-card .team-desc .team-designation h3 {
    font-family: "Lato", serif;
    font-size: 20px;
    line-height: normal;
    margin: 0;
    color: #595959;
    font-weight: 600;
}

.our-team .team-wrp .team-card .team-desc .team-designation h1 {
    font-family: "Lato", serif;
    line-height: normal;
    margin: 0;
    color: #595959;
}

.our-team .team-wrp .team-card .team-desc .team-designation h2 {
    font-family: "Lato", serif;
    line-height: normal;
    margin: 0;
    color: #595959;
}

.our-team .team-wrp .team-card .team-desc .team-designation h4 {
    font-family: "Lato", serif;
    line-height: normal;
    margin: 0;
    color: #595959;
}

.our-team .team-wrp .team-card .team-desc .team-designation h5 {
    font-family: "Lato", serif;
    line-height: normal;
    margin: 0;
    color: #595959;
}

.our-team .team-wrp .team-card .team-desc .team-designation h6 {
    font-family: "Lato", serif;
    line-height: normal;
    margin: 0;
    color: #595959;
}

.our-team .team-wrp .team-card .team-desc .team-designation p {
    font-family: "Lato", serif;
    line-height: normal;
    margin: 0;
    color: #595959;
}

.our-team .team-wrp .team-card .team-desc p {
    color: rgba(0, 0, 0, 0.48);
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    /* letter-spacing: -0.64px; */
}

.our-team .team-wrp .team-card .team-desc p img {
    width: 223px;
    height: 41px;
    object-fit: cover;
    margin-top: 20px;
    margin-bottom: 0;
    position: absolute;
    bottom: 20px;
}

.our-team .team-wrp .team-card .team-desc p img {
    margin-bottom: 0;
}

/* Team section for about us page ends */

.team-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #00000096;
    justify-content: center;
    align-items: center;
}

.team-modal .t-modal-wrap {
    margin: 0 30px;
}

.team-modal.Team-modal-open {
    display: flex;
}

.t-modal-wrapper {
    display: flex;
    max-width: 1200px;
    position: relative;
    width: 100%;
    margin: 0px auto;
    padding: 30px;

    border-radius: 24px;
    background: #fff;
}

.t-modal-wrapper #close {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

.t-modal-wrapper .t-modal-img {
    max-width: 375px;
    width: 100%;
}

.t-modal-wrapper .t-modal-img img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.modal-cont-wrap {
    display: flex;
    gap: 30px;
}

.t-modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.t-modal-content .team-mem-name h2 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
    color: #131e37;
    margin: 0;
}

.t-modal-content .team-designation h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 500;
    color: #131e37;
    margin: 0;
}

.t-modal-content p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #131e37;
    margin: 0;
}

.body-team-modal {
    overflow: hidden;
}

@media(max-width:1400px) {
    .our-team .team-wrp .team-card {
        max-width: calc((100% - 100px) / 3);
        width: 100%;
    }
}


@media(max-width:1024px) {
    .our-team .team-wrp .team-card .team-desc p {
        font-size: 18px;
        line-height: normal;
    }

    .our-team .team-wrp .team-card .team-desc .team-designation h3 {
        font-size: 22px;
        line-height: normal;
    }

    .our-team .team-wrp .team-card .team-desc .team-mem-name h2 {
        font-size: 28px;
        line-height: normal;
    }

    .Global-head h2 {
        font-size: 36px;
        line-height: 46px;
    }

    .our-team .team-wrp .team-card .team-desc {
        padding: 20px;
    }

    .t-modal-wrapper .t-modal-img {
        max-width: 300px;
        width: 100%;
    }

    .our-team .team-wrp .team-card {
        max-width: calc((100% - 50px) / 2);
        width: 100%;
    }
}

@media(max-width:768px) {

    .our-team .team-wrp .team-card {
        max-width: 100%;
        width: 100%;
    }

    .our-team .team-wrp .team-card .team-desc .team-mem-name h2 {
        font-size: 24px;
        line-height: normal;
    }

    .our-team .team-wrp .team-card .team-desc .team-designation h3 {
        font-size: 20px;
        line-height: normal;
    }

    .our-team .team-wrp .team-card .team-img {
        height: 100%;
    }

    .our-team .team-wrp {
        row-gap: 30px;
    }
}

@media(max-width:767px) {
    .modal-cont-wrap {
        flex-direction: column;
        gap: 16px;
    }

    .t-modal-wrapper .t-modal-img {
        max-width: 125px;
        width: 100%;
    }

    .t-modal-content {
        gap: 10px;
    }

    .t-modal-content .team-designation h3 {
        font-size: 20px;
        line-height: 30px;
    }

    .team-modal .t-modal-wrap {
        height: 500px;
        overflow: auto;
        margin: 0 15px;
    }

    .our-team {
        padding: 50px 0;
    }

    .Global-head h2 {
        font-size: 26px;
        line-height: 36px;
    }

    .our-team .team-wrp .team-card .team-desc {
        padding: 20px 0;
    }

    .t-modal-wrapper {
        padding: 16px;
    }

    .t-modal-content .team-mem-name h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .t-modal-content p {
        font-size: 16px;
        line-height: 26px;
    }
}