.section-team .container {
    position: relative;
    z-index: 2;
}

.section-team {
    background-color: rgba(19, 9, 17, 1);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(104px);
    padding: 34px 0 95px;
    background-image: url(../../img/shape.png);
    position: relative;
}

.section-team::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 58% 76% at center, rgba(19, 9, 17, 0) 0%, rgba(19, 9, 17, 1) 56%);
    z-index: 1;
}

.team-box {
    position: relative;
}

.team-box img {
    width: 100%;
}

.team-social {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 3;
}


.team-social ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.team-social i.icon-x {
    font-size: 16px;
}

.team-social i {
    font-size: 20px;
}

.team-social li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-social li a {
    display: flex;
}

.team-social li a:hover i::before {
    color: rgba(188, 145, 44, 1);
}

.team-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 19px 0;
    text-align: center;
    background: linear-gradient(182.27deg, rgba(19, 9, 17, 0) 0%, rgba(19, 9, 18, 0.94) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 52px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    overflow: hidden;
    z-index: 2;
}

.team-box:hover .team-box-content {
    max-height: 500px;
}

.team-box-content span {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    display: block;
    margin-bottom: 17px;
}

.team-box-content p {
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: rgba(248, 250, 252, 1);
}

.team-buttons .swiper-button-prev,
.team-buttons .swiper-button-next {
    position: unset;
    left: auto;
    right: auto;
    margin: 0;
}

.team-buttons .swiper-button-prev:hover::before,
.team-buttons .swiper-button-next:hover::before {
    border-color: rgba(188, 145, 44, 1);
}

.team-buttons .swiper-button-prev:hover i::before,
.team-buttons .swiper-button-next:hover i::before {
    color: rgba(188, 145, 44, 1);
}


.team-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 28px;
}