.team-bg,
.team-bg img,
.team-section {
    width: 100%;
    height: 100%
}

.team-info-details h4,
.team-info-details p {
    color: var(--white);
}

.team-section .team-info-details span {
    font-family: var(--primary_font);
    font-weight: 400;
    font-size: 20px;
    color: var(--white);
}

.team-card {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    position: relative
}

.team-bg img {
    object-fit: cover;
    background-position: top;
    border-radius: 20px;
    background-size: cover;
}

.team-info-details {
    position: absolute;
    content: '';
    background-color: #00000059;
    width: 99.8%;
    height: fit-content;
    bottom: 0;
    left: 0;
    z-index: 1;
    visibility: hidden;
    border-radius: 20px;
    backdrop-filter: blur(9px);
    padding: 30px
}

.team-info-details p {
    font-family: var(--secondary_font);
    font-weight: 400;
}

.soical-platform {
    background-color: #fff;
    color: var(--orange);
    width: 38px;
    height: 38px
}

.team-soicals-media-group {
    gap: 12px
}

.soical-platform:hover {
    background-color: var(--orange);
    color: #fff
}

.team-card:hover .team-info-details {
    visibility: visible;
    cursor: pointer
}

.team-card:hover {
    transition: 2s ease-in-out
}

.team-row {
    margin-top: 40px !important
}

@media (max-width:1199px) {
    .team-info-details {
        flex-direction: column;
        gap: 10px
    }
}

@media (max-width:991px) {
    .team-info-details {
        padding: 20px
    }

    .team-info-details>div:not(:last-child) {
        text-align: center
    }

    .team-row>:not(:last-child) {
        margin-bottom: 30px
    }
}