.Our_team_sec {
    padding: 5% 0%;
}

.Our_team_sec .team-main {
    position: relative;
}

.Our_team_sec .team-main .img-box {
    overflow: hidden;
    box-sizing: border-box;
}

.Our_team_sec .team-main .img-box:hover .emp-img {
    transform: scale(1.1);
    transition: 0.3s;
}

.Our_team_sec .team-main .img-box .emp-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: 0.3s;
}

.Our_team_sec .team-main .position {
    background-color: #343434;
    color: #797979;
    font-size: 15px;
    padding: 5px;
    text-align: center;
    width: 95%;
    margin: auto;
    position: absolute;
    bottom: -13px;
    left: 8px;
}

.Our_team_sec .team-main:hover .position {
    background-color: #fff;
    color: #000;
}

.Our_team_sec .team-main .name {
    font-size: 20px;
    color: #fff;
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    transition: 0.3s;
}

.Our_team_sec .team-main:hover .name {
    bottom: 70px;
    transition: 0.3s;
}

.Our_team_sec .team-main .email {
    font-size: 17px;
    color: #fff;
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    display: none;
}

.Our_team_sec .team-main:hover .email {
    font-size: 17px;
    color: #fff;
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    display: block;
}

.Our_team_sec .team-main .bgflip {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #797979;
    top: 0px;
    left: 0px;
    z-index: -1;
    transform: rotate(0deg);
    transition: 0.3s;
}

.Our_team_sec .team-main:hover .bgflip {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #797979;
    top: 0px;
    left: 0px;
    z-index: -1;
    transform: rotate(-5deg);
    transition: 0.3s;
}

.Our_team_sec .team-main .bg-overlay {
    position: absolute;
    background: linear-gradient(0deg, #000, transparent);
    width: 100%;
    height: 50%;
    bottom: 0px;
    left: 0px;
}






.Our_team_sec .teamsec .flip-card {
    background-color: transparent;
    width: 100%;
    height: auto;
    perspective: 1000px;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.Our_team_sec .teamsec .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.Our_team_sec .teamsec .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.Our_team_sec .teamsec .flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.Our_team_sec .teamsec .flip-card-front {
    background-color: #bbb;
    color: black;
}

.Our_team_sec .teamsec .flip-card-back {
    background-color: #111111;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.Our_team_sec .teamsec .flip-card-front .empimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #fff;
}

.Our_team_sec .teamsec .flip-card-front .overlaydata {
    position: absolute;
    bottom: 20px;
    left: 0px;
    width: 100%;
}

.Our_team_sec .teamsec .flip-card-front .black-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, #000, transparent);
}

.Our_team_sec .teamsec .flip-card-front .empname {
    color: #fff;
    font-size: 22px;
}

.Our_team_sec .teamsec .flip-card-front .epmpos {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.Our_team_sec .teamsec .flip-card-front .email {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}


.flip-card-back .empimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.1;
}

.flip-card-back .quote {
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    color: #fff;
    margin-bottom: 0px;
}

.flip-card-back .lindindiv {
    position: absolute;
    bottom: 10%;
}

.flip-card-back .lindindiv .linkdin {
    color: #fff;
    font-size: 30px;
}


@media (min-width:0px) and (max-width:575px) {
    .Our_team_sec .teamsec .flip-card-front .epmpos {
        font-size: 13px;
        margin-bottom: 0px;
    }

    .Our_team_sec .teamsec .flip-card-front .black-overlay {
        height: 100%;
    }

    .Our_team_sec .teamsec .flip-card-front .email {
        color: #fff;
        font-size: 10px;
        margin-bottom: 5px;
    }

    .Our_team_sec .teamsec .flip-card-front .overlaydata {
        bottom: 6px;
    }

    .Our_team_sec .teamsec .flip-card-front .empname {
        font-size: 15px;
    }

    .flip-card-back .quote {
        font-size: 13px;
    }
}

@media (min-width:576px) and (max-width:991px) {
    .Our_team_sec .teamsec .flip-card-front .epmpos {
        font-size: 15px;
    }

    .Our_team_sec .teamsec .flip-card-front .empname {
        font-size: 20px;
    }

     .flip-card-back .quote {
        font-size: 15px;
    }
}