.teams_heading {
    font-family: Lufga;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.8rem;
    text-align: center;

}


.teams_sub_heading {
    font-family: Lufga;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45rem;
    text-align: center;
    color: #00000099;
}

.shadow_card_on_teams {
    box-shadow: 0px 0px 8px #b6b3b3;
    padding: 2rem !important;
    border-radius: 30px;
}


.teams_container_child:nth-child(odd) {
    padding-top: 40px;
}

.teams_container_child:nth-child(even) {
    padding-bottom: 40px;
}







.team-member {
    position: relative;
    margin: 0px 0 15px 0;
}

.team-member:hover .team-member-overlay {
    opacity: 1;
}

.team-member-image {
    position: relative;
    margin: 0px 0 15px 0;
}

.team-member-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1.4;
    border-radius: 10px;
}

.op_l{
    object-position: left;
}

.op_r{
    object-position: right;
}

T
.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .5s ease;
    border-radius: 10px;
}

.team-member-content a {
    white-space: nowrap;
    color: #000;
    font-size: 14px;
    position: absolute;
    overflow: hidden;
    background: #fff;
    font-weight: 600;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    padding: 6px 10px;
    border-radius: 6px;
}



@media (max-width:767px) {

    .teams_container_child:nth-child(odd) {
        padding-top: 0px;
    }

    .teams_container_child:nth-child(even) {
        padding-bottom: 0px;
    }

        .teams_heading {
            font-size: 1.6rem;
        }
    
    
        .teams_sub_heading {
            font-size: 1.45rem;
            font-weight: 500;
            line-height: 2.5rem;
            text-align: center;
            color: #00000099;
        }

}


@media (max-width:576px) {
    .shadow_card_on_teams {
        box-shadow: 0px 0px 18px #e9e9e9;
        padding: 2rem !important;
        border-radius: 30px;
    }

    .teams_heading {
        font-size: 1.6rem;
    }


    .teams_sub_heading {
        font-size: 1.45rem;
        font-weight: 500;
        line-height: 2.5rem;
        text-align: center;
        color: #00000099;
    }
}

.teams_container_child {
    /* padding: 0px 30px; */
    width: 190px !important;
}

.team-member-image img{
    height: 265px !important;
}


.modal-title {
    color: var(--primary_color)
}