.beauty-teams{
    position: relative;
    margin-top: 36px;
}
.beauty-teams:after{
    content: "";
    width: 91px;
    height: calc(100% + 35px);
    background: var(--black-color-5);
    border-radius: 24px;
    position: absolute;
    top: -37px;
    left: -24px;
    z-index: -1;
}
.head-beauty-teams{
    width: 25.5%;
    padding-left: 7.5%;
    background: linear-gradient(to bottom,var(--main-color) 0, #B01F61 100%);
    border-radius: 24px;
    border: 8px solid var(--main-color);
    position: relative;
    overflow: hidden;
    height: max-content;
    margin-top: 28px;
}
.head-beauty-teams:after{
    content:"";
    width: 205px;
    height: 205px;
    border-radius: 100%;
    background: linear-gradient(to bottom,var(--black-color-30) 11%, transparent 20%, transparent 100% );
    mix-blend-mode: color-dodge;
    position: absolute;
    bottom: -172px;
    right: -8px;
}
.head-beauty-teams .inner-head{
    padding: 39px 30px 29px 26px;
}
.head-beauty-teams .inner-head .title{
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 28px;
    color: var(--white-color);
    margin-bottom: 0;
}
.head-beauty-teams .inner-head .subtitle{
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--white-color-70);
    margin-bottom: 20px;
}

.head-beauty-teams .inner-head .btn{
    background-color: var(--white-color-20);
    color: var(--white-color);
    border-radius: 8px;
    min-width: 150px;
    max-width: 100%;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
}


.body-beauty-teams .btn-outline-light{
    padding: 8px;
    background: var(--white-color);
    border-radius: 16px;
    display: none;
    position: relative;
}
.body-beauty-teams .btn-outline-light span{
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: var(--black-color);
    text-align: center;
    display: block;
}
.body-beauty-teams .btn-outline-light .inner{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid var(--sec-color-10);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s ease-in-out;
    padding: 4px 12px;
}
.body-beauty-teams .btn-outline-light:hover .inner{
    background: var(--sec-color-10);
}
.body-beauty-teams{
    width: 83%;
    margin-right: -7.5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 23px 16px;
    z-index: 9;
    height: max-content;
}
.body-beauty-teams .team-item{
    width: calc(20% - 18.4px);
    position: relative;
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
    text-align: center;
    transition: all .3s ease-in-out;
}
.body-beauty-teams .team-item .bg-box{
    width: 100%;
    height: 55px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.body-beauty-teams .team-item .bg-box:before{
    content: "";
    width: 298px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(to top, #303030 0%, rgba(48, 48, 48, .3) 11%, transparent 20%);
    border-radius: 100%;
    position: absolute;
    top: -298px;
    left: 50%;
    opacity: 0.035;
    mix-blend-mode: multiply;
    transform: translate(-50%, 55px);
}
.body-beauty-teams .team-item img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid var(--white-color);
    border-radius: 100%;
    margin: -23px auto 0;
    z-index: 2;
    display: block;
}
.body-beauty-teams .team-item .name{
    width: 100%;
    height: 53px;
    border: 1px solid var(--black-color-5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    margin-bottom: 8px;
    margin-top: -10px;
    z-index: 1;
}
.body-beauty-teams .team-item .position{
    width: 100%;
    height: 53px;
    border: 1px solid var(--black-color-5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 8px;
    color: var(--black-color-70);
    font-family: BeautyShopFont;
}
.body-beauty-teams .team-item .btn{
    margin: 0 13px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sec-color-10);
    border-radius: 8px;
}
.body-beauty-teams .team-item .btn i{
    color: var(--sec-color);
}
.body-beauty-teams .team-item .btn svg path{
    fill: var(--sec-color);
}
.body-beauty-teams .team-item .btn span{
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: var(--sec-color);
    font-family: BeautyShopFont;
}
.body-beauty-teams .team-item:after{
    content: "";
    width: 78px;
    height: 43px;
    border-radius: 16px;
    background: var(--sec-color);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: all .3s ease-in-out;
}

.body-beauty-teams .team-item:nth-child(2n) .btn{
    background: var(--main-color-10);
}
.body-beauty-teams .team-item:nth-child(2n) .btn svg path{
    fill: var(--main-color);
}
.body-beauty-teams .team-item:nth-child(2n) .btn i,
.body-beauty-teams .team-item:nth-child(2n) .btn span{
    color: var(--main-color);
}
.body-beauty-teams .team-item:nth-child(2n):after{
    background: var(--main-color);
}
.body-beauty-teams .team-item:nth-child(2n) .btn:hover{
    background: var(--main-color);
}
.body-beauty-teams .team-item:nth-child(2n+1) .btn:hover{
    background: var(--sec-color);
}
.body-beauty-teams .team-item:nth-child(2n+1) .btn:hover i,
.body-beauty-teams .team-item:nth-child(2n+1) .btn:hover span,
.body-beauty-teams .team-item:nth-child(2n) .btn:hover i,
.body-beauty-teams .team-item:nth-child(2n) .btn:hover span{
    color: var(--white-color);
}
.body-beauty-teams .team-item:nth-child(2n+1) .btn:hover svg path,
.body-beauty-teams .team-item:nth-child(2n) .btn:hover svg path{
    fill: var(--white-color);
}

.body-beauty-teams .team-item:hover{
    margin-top: -10px;
}
.body-beauty-teams .team-item:hover:after{
    bottom: 15px;
}

@media (max-width: 1199px) {
    .body-beauty-teams .team-item{
        width: calc(25% - 17.25px);
    }
    .body-beauty-teams .team-item:last-of-type{
        display: none;
    }
}
@media (max-width: 991px) {
    .beauty-teams{
        margin-top: 0;
    }
    .head-beauty-teams .inner-head .btn,
    .beauty-teams:after,
    .head-beauty-teams:after{
        display: none;
    }
    .beauty-teams .d-flex{
        flex-wrap: wrap;
    }
    .head-beauty-teams{
        width: 100%;
        padding-left: 0;
        border-width: 4px;
        height: 213px;
        margin-top: 0;
    }
    .body-beauty-teams{
        width: calc(100% - 32px);
        gap: 32px 16px;
        margin: -100px auto 0;
    }
    .body-beauty-teams .team-item{
        width: calc(50% - 8px);
    }
    .head-beauty-teams .inner-head{
        padding: 24px 16px 19px;
        text-align: center;
    }

    .body-beauty-teams .team-item:nth-child(4) .btn{
        background: var(--sec-color-10);
    }
    .body-beauty-teams .team-item:nth-child(4) .btn svg path{
        fill: var(--sec-color);
    }
    .body-beauty-teams .team-item:nth-child(4) .btn i,
    .body-beauty-teams .team-item:nth-child(4) .btn span{
        color: var(--sec-color);
    }
    .body-beauty-teams .team-item:nth-child(4):after{
        background: var(--sec-color);
    }

    .body-beauty-teams .team-item:nth-child(2) .btn,
    .body-beauty-teams .team-item:nth-child(3) .btn{
        background: var(--main-color-10);
    }
    .body-beauty-teams .team-item:nth-child(2) .btn svg path,
    .body-beauty-teams .team-item:nth-child(3) .btn svg path{
        fill: var(--main-color);
    }
    .body-beauty-teams .team-item:nth-child(2) .btn i,
    .body-beauty-teams .team-item:nth-child(2) .btn span,
    .body-beauty-teams .team-item:nth-child(3) .btn i,
    .body-beauty-teams .team-item:nth-child(3) .btn span{
        color: var(--main-color);
    }
    .body-beauty-teams .team-item:nth-child(2):after,
    .body-beauty-teams .team-item:nth-child(3):after{
        background: var(--main-color);
    }
    .body-beauty-teams .btn-outline-light{
        display: flex;
        margin-right: auto;
        padding: 4px;
    }

}
@media (max-width: 567px) {
    .body-beauty-teams .team-item img{
        width: 56px;
        height: 56px;
    }
    .body-beauty-teams .team-item .name{
        height: 40px;
        font-size: 14px;
        line-height: 21px;
        border-radius: 8px;
    }
    .body-beauty-teams .team-item .position{
        height: 32px;
        border-radius: 8px;
    }
    .body-beauty-teams .team-item .btn span{
        font-size: 14px;
        line-height: 21px;
    }
}
@media (max-width: 400px) {
    .body-beauty-teams {
        gap: 32px 8px;
    }
    .body-beauty-teams .team-item {
        width: calc(50% - 4px);
    }
    .body-beauty-teams .team-item .btn{
        margin: 0;
    }
}