.team-item {
    &:hover {
        .tx-item {
            &--holder {
                background-color: var(--color-primary);
                span {
                    color: var(--color-white);
                }
            }
            &--name a {
                color: var(--color-white);
            }
            &--link {
                opacity: 1;
                visibility: visible;
            }
            &--bg {
                opacity: 1;
                top: 27%;
                left: 18%;
            }
            &--social {
                li {
                    opacity: 1;
                    &:nth-child(1) {
                        top: 0;
                        left: 0;
                        transition-delay: .2s;
                    }
                    &:nth-child(2) {
                        top: 9px;
                        left: 16px;
                        transition-delay: .3s;
                    }
                    &:nth-child(3) {
                        top: 22px;
                        left: 48px;
                        transition-delay: .4s;
                    }
                }
            }
        }
    }
    .tx-item {
        &--item {
        
        }
        &--image {
            position: relative;
            text-align: center;
            z-index: 1;
            &::before {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: calc(100% - 135px);
                background-color: var(--color-white);
                content: "";
                box-shadow: 0px 30px 57px 0px rgba(0, 0, 0, 0.04);
                z-index: -1;
                @include border-radius(50% 50% 0 0/47% 47% 0 0);
            }
            &.style2 img {
                @include transform(translateX(25px));
            }
        }
        &--holder {
            background-color: #f2f2f2;
            padding: 21px 45px;
            @include border-radius(0 0 0 41px);
            margin-right: 60px;
            @include transition(.3s);
            position: relative;
            @include respond(lg) {
                padding: 21px 30px;
            }
            span {
                color: #555555;
                @include transition(.3s);
            }
        }
        &--name {
            font-size: 23px;
            font-weight: 800;
            @include transition(.3s);
            a {
                color: var(--color-heading);
            }
        }
        &--link {
            position: absolute;
            top: 0;
            right: -60px;
            height: 100%;
            width: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f6843a;
            color: #fff;
            font-size: 15px;
            opacity: 0;
            @include transition(.3s);
            visibility: hidden;
        }
        &--social {
            position: absolute;
            top: 20%;
            left: -12px;
            z-index: 1;
            display: flex;
            flex-direction: column-reverse;
            li {
                list-style: none;
                font-size: 22px;
                position: relative;
                @include transition(.3s);
                opacity: 0;
                &:not(:last-child) {
                    margin-top: 17px;
                }
                a {
                    color: var(--color-primary);
                }
                &:nth-child(1) {
                    transform: rotate(-65deg);
                    top: 5px;
                    left: 5px;
                }
                &:nth-child(2) {
                    top: 14px;
                    left: 21px;
                    transform: rotate(-50deg);
                }
                &:nth-child(3) {
                    top: 27px;
                    left: 53px;
                    transform: rotate(-34deg);
                }
            }
        }
        &--bg {
            position: absolute;
            width: 80px;
            height: 200px;
            background-color: var(--color-primary);
            top: 29%;
            left: 19%;
            @include border-radius(80px);
            @include transform(rotate(-45deg));
            opacity: 0;
            @include transition(.3s);
        }
    }
}

.team-bg {
    background-position: top center;
    background-repeat: no-repeat;
}

.team-item2 {
    &:hover {
        .tx-item {
            &--social-inner {
                opacity: 1;
                @include transform(translateY(0));
            }
        }
    }
    .tx-item {
        &--social {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
        }
        &--social-inner {
            background-color: var(--color-primary-2);
            display: inline-block;
            padding: 20px 32px;
            @include border-radius(40px);
            @include transform(translateY(20px));
            opacity: 0;
            @include transition(.3s);
            a {
                font-size: 17px;
                color: var(--color-white);
                position: relative;
                &::before,
                &::after {
                    position: absolute;
                    top: -24px;
                    left: 50%;
                    @include transform(translateX(-50%));
                    width: 7px;
                    height: 0;
                    background-color: var(--color-white);
                    content: "";
                    @include transition(.3s);
                }
                &::after {
                    top: auto;
                    bottom: -24px;
                }
                &:hover {
                    &::before {
                        opacity: 1;
                        height: 15px;
                    }
                    &::after {
                        height: 15px;
                    }
                }
                &:not(:last-child) {
                    margin-right: 30px;
                }
            }
        }
        &--holder {
            text-align: center;
            padding: 25px;
        }
        &--name {
            font-size: 30px;
            color: #0f0f0f;
            line-height: 1;
            a {
                color: inherit;
            }
        }
        &--desig {
            font-size: 17px;
            color: var(--color-primary-2);
            font-family: var(--font-teko);
            text-transform: uppercase;
        }
    }
}
// team single
.team-single {
    &__img {
        text-align: center;
        position: relative;
        margin-right: 50px;
        @include respond(lg) {
            margin-right: 0;
        }
        &::before {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url(../img/bg/team_img_bg.png);
            content: "";
            background-repeat: no-repeat;
            background-position-x: center;
        }
    }
    &__info {
        .name {
            font-size: 50px;
            margin-bottom: 15px;
            @include respond(lg) {
                font-size: 35px;
            }
            @include respond(md) {
                font-size: 30px;
            }
        }
        .desig {
            font-size: 15px;
            font-weight: 600;
            color: var(--color-primary);
            margin-bottom: 30px;
            display: inline-block;
        }
        p {
            color: #505050;
            font-size: 18px;
            line-height: 28px;
            margin-bottom: 30px;
        }
    }
    &__info-list {
        li {
            font-size: 17px;
            color: #505050;
            line-height: 30px;
            &:not(:last-child) {
                margin-bottom: 10px;
            }
            span {
                min-width: 110px;
                font-weight: 600;
                color: #1F1F1F;
                display: inline-block;
            }
        }
    }
    &__social {
        h4 {
            font-size: 20px;
            color: #1F1F1F;
            font-weight: 600;
            margin-bottom: 20px;
        }
    }
    &__social-list {
        a {
            font-size: 16px;
            width: 42px;
            height: 42px;
            @include border-radius(50%);
            border: 1px solid var(--color-primary);
            color: var(--color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            &:not(:last-child) {
                margin-right: 16px;
            }
        }
    }
    &__content {
        h2 {
            font-size: 36px;
            margin-bottom: 20px;
            @include respond(lg) {
                font-size: 28px;
            }
            @include respond(md) {
                font-size: 25px;
            }
        }
        p {
            color: #505050;
            font-size: 18px;
            line-height: 28px;
            &:not(:last-child) {
                margin-bottom: 20px;
            }
        }
    }
}