﻿/*** Team ***/
.team-item .member-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.team-item img {
    transition: .5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.85);
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}
s
    .team-item .team-text .item-box,
    .team-item .team-text .bg-primary {
        position: relative;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transition: .5s;
    }

    .team-item .team-text .item-box {
        flex-direction: column !important;
    }

    .team-item .team-text .bg-primary {
        flex-direction: row;
    }

.team-item:hover .team-text .item-box {
    margin-top: -90px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
}

    .social-icon i {
        font-size: 24px;
        color: var(--light-color);
        transition: color 0.3s ease;
    }

    .social-icon:hover {
        background-color: var(--base-color);
        transform: translateY(-2px);
    }

        .social-icon:hover i {
            color: var(--light-color);
        }
