.team-section{
    padding:100px 0px 150px;
}
.team-section::before {
    content: '';
    position: absolute;
    top: -0%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #EDF4FA;
    border-radius: 48%;
    transform: scaleX(1.5);
    z-index: -1;
}
.team-section .container{
    max-width:1024px;
}
.team-col{
    margin-bottom: 28px;
}
.team-section .team-card{
    border-radius: 15px;
    overflow:hidden;
}
.team-card .card-img-overlay{
    transition: var(--tr1);
}
.team-section .team-card .team-img-wrapper{
    /* height: 360px; */
    position: relative;
}
.team-section .team-card .team-img-wrapper img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.team-section .team-card .card-img-overlay .team-details{
    background:#fff;
    border-radius: 10px;
    padding:8px 16px;
    width:100%;
    transition: var(--tr1);
}

.team-section .team-card .name{
    font-size: 21px;
    font-weight: 600;
    line-height: 28px;
    color:var(--sc);
    font-family: var(--fontMontserrat);
    margin-bottom: 0;
}
.team-section .team-card .team-details p{
    font-size:16px;
    line-height: 24px;
    margin-bottom: 0px;
    transition: var(--tr1);
}
@media(min-width:992px){
    .team-card .card-img-overlay .fav-shape{
        display: none;
        text-transform: italic;
        color:#fff;
        font-style: italic;
    }
    .team-card:hover .card-img-overlay{
        background: #004B8466;
    }
    .team-section .team-card:hover .card-img-overlay .team-details{
        background: var(--pc);
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
    }
    .team-section .team-card:hover .designation{
        color:#fff;
        text-transform: italic;
    }
    .team-section .team-card:hover .designation{
        display: none;
    }
    .team-section .team-card:hover .fav-shape{
        display: block;
    }
}

@media(max-width:991px){
    .team-section::before{
        transform: scaleX(2.5);
    }
    .team-section .team-card .team-details .fav-shape{
        display:none;
    }
}
@media(max-width:575px){
    .team-section .team-card .card-img-overlay {
        padding:12px 5px;
    }
    .team-section .team-card .card-img-overlay .team-details{
        padding:8px;
    }
    .team-section .team-card .name{
        font-size: 14px;
        line-height: 20px;
    }
    .team-section .team-card p.designation{
        font-size: 12px;
        line-height: 15px;
    }
    .team-section .team-col{
        margin-bottom: 16px;
    }
    .team-section .team-col:nth-child(even){
        padding-left:8px;
    }
    .team-section .team-col:nth-child(odd){
        padding-right:8px;
    }
    .team-section{
        padding: 43px 0px 100px;
    }
}