/* Team global ---------------------------------- */
.th-team {
    position: relative;

    .team-img {
        position: relative;
        overflow: hidden;

        img {
            width: 100%;
            transition: 0.4s ease-in-out;
        }
    }

    .team-desig {
        font-size: 14px;
        font-weight: 500;
        display: block;
        margin-bottom: -0.45em;
        color: $theme-color;
    }

    .th-social {
        transition: 0.4s ease-in-out;

        a {
            --icon-size: 46px;
            background-color: $white-color;
            color: $theme-color;

            &:hover {
                background-color: $theme-color;
                color: $white-color;
            }
        }
    }

    .box-title {
        margin-bottom: 0;
    }
}

/* Team Card ---------------------------------- */
.teamSlider1 {
    .swiper-slide {
        .team-card {
            .team-img-wrap {
                &:before {
                    background-color: $theme-color3;
                }
            }
        }
    }

    .swiper-slide-active {

        .team-card {
            .team-img-wrap {
                &:before {
                    background-color: $theme-color;
                }
            }
        }
    }

    .swiper-slide-prev {
        .team-card {
            .team-img-wrap {
                &:before {
                    background-color: $theme-color3;
                }
            }
        }
    }

    .swiper-slide-next {
        .team-card {
            .team-img-wrap {
                &:before {
                    background-color: $theme-color4;
                }
            }
        }
    }
}

.team-card {
    position: relative;
    z-index: 2;
    --box-space: 20px;

    .team-img-wrap {
        position: relative;
        padding: 14px;
        transition: 0.4s;
        z-index: 2;
        margin: 7px;

        //margin-bottom: 5px;
        @media(max-width: 1399px) {
            margin: 0 0 7px 0;
        }

        &:before,
        &:after {
            content: "";
            inset: -10px;
            position: absolute;
            background-repeat: no-repeat;
            background-size: cover;
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: 100% 100%;
            background-color: $theme-color;
            z-index: -2;


        }

        &:before {
            top: 5px;
            left: 0px;
            mask-image: url(../img/shape/team-shape1.png);

        }

        &:after {
            inset: 0px;
            mask-image: url(../img/shape/team-shape3.png);
            background-color: $white-color;
            z-index: -2;
        }


    }

    .team-img {
        overflow: hidden;
        position: relative;

        .team-overlay {
            position: absolute;
            inset: 15px;
            background: rgba(16, 55, 65, 0.85);
            z-index: 2;
            transition: 0.4s ease-in-out;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.3);
        }

        img {
            width: 100%;
            transition: 0.4s ease-in-out;
        }
    }

    .th-social {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: 0.4s;


        a {
            --icon-size: 44px;
            border-radius: 50%;
            opacity: 0;
            background-color: $theme-color;
            transform: translateY(20px);
            transition: 0.3s;
            padding: 2px;
            margin-right: 3px;

            @include xl {
                margin-right: 0;
                --icon-size: 40px;
            }

            @include md {
                --icon-size: 36px;
            }

            @include vxs {
                --icon-size: 34px;
            }

            &:nth-child(1) {
                background-color: $theme-color3;
                transition-delay: 0s;
            }

            &:nth-child(2) {
                background-color: $theme-color2;
                transition-delay: 0.1s;
            }

            &:nth-child(3) {
                background-color: $theme-color4;
                transition-delay: 0.2s;
            }

            &:nth-child(4) {
                transition-delay: 0.3s;
            }
        }
    }

    .box-title {
        font-weight: 700;
        margin-top: -0.5rem;
        margin-bottom: 0px;
    }

    .team-desig {
        display: block;
        font-size: 16px;
        font-weight: 400;
        margin-bottom: -0.5em;
    }

    .team-content {
        padding: 30px 30px 0px 30px;
        text-align: center;
    }

    &:hover {
        .team-img-wrap {
            border-color: $theme-color;
        }

        .team-overlay {
            transform: scale(1);
            opacity: 1;
            visibility: visible;
        }

        .team-img {
            img {
                transform: scale(1.08);
            }
        }

        .th-social a {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}

/* Team Box start ------------------------------*/
.team-area2 {
    position: relative;
    padding: 178px 0;

    @include xl {
        padding: 120px 0;
    }
    @include lg {
        background-color: $smoke-color;
        padding: 120px 0 280px 0;
    }

    @include md {
        padding: 80px 0 250px 0;
    }

    @media(max-width: 480px) {
        padding: 80px 0 100px 0;
    }

    &:before {
        content: "";
        position: absolute;
        inset: 0;
        mask-image: url(../img/bg/team_bg_2.png);
        background-repeat: no-repeat;
        background-size: auto;
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: auto;
        background-color: $smoke-color;
        z-index: -2;

        @include lg {
            display: none;
        }
    }
}

/* team box start ----------------------- */

.teamSlider2 {
    .swiper-slide {
        .team-box {
            .team-img-wrap {
                border: 20px solid rgba(252, 127, 10, 0.4);

                &:hover {
                    border-color: $theme-color2;
                }
            }
        }
    }

    .swiper-slide-active {

        .team-box {
            .team-img-wrap {
                border: 20px solid rgba(125, 190, 72, 0.4);

                &:hover {
                    border-color: $theme-color4;
                }
            }
        }
    }

    .swiper-slide-prev {
        .team-box {
            .team-img-wrap {
                border: 20px solid rgba(252, 127, 10, 0.4);

                &:hover {
                    border-color: $theme-color2;
                }
            }
        }
    }

    .swiper-slide-next {
        .team-box {
            .team-img-wrap {
                border: 20px solid rgba(254, 90, 134, 0.4);

                &:hover {
                    border-color: $theme-color;
                }
            }
        }
    }
}

.team-box {
    position: relative;
    text-align: center;
    z-index: 2;

    &_wrapp {
        &:nth-child(1) {
            .team-box {
                .team-img-wrap {
                    border: 20px solid rgba(125, 190, 72, 0.4);

                }

                &:hover {
                    .team-img-wrap {
                        border: 20px solid rgba(125, 190, 72, 1);
                    }
                }
            }
        }

        &:nth-child(2) {
            .team-box {
                .team-img-wrap {
                    border: 20px solid rgba(254, 90, 134, 0.4);

                }

                &:hover {
                    .team-img-wrap {
                        border: 20px solid rgba(254, 90, 134, 1);

                    }
                }
            }
        }

        &:nth-child(3) {
            .team-box {
                .team-img-wrap {
                    border: 20px solid rgba(252, 127, 10, 0.4);

                }

                &:hover {
                    .team-img-wrap {
                        border: 20px solid rgba(252, 127, 10, 1);

                    }
                }
            }
        }

        &:nth-child(4) {
            .team-box {
                .team-img-wrap {
                    border: 20px solid rgba(22, 196, 227, 0.2);

                }

                &:hover {
                    .team-img-wrap {
                        border: 20px solid rgba(22, 196, 227, 1);

                    }
                }
            }
        }

        &:nth-child(5) {
            .team-box {
                .team-img-wrap {
                    border: 20px solid rgba(251, 176, 64, 0.3);

                }

                &:hover {
                    .team-img-wrap {
                        border: 20px solid rgba(251, 176, 64, 1);

                    }
                }
            }
        }

        &:nth-child(6) {
            .team-box {
                .team-img-wrap {
                    border: 20px solid #D0D5F5;

                }

                &:hover {
                    .team-img-wrap {
                        border: 20px solid rgba(31, 93, 201, 1);

                    }
                }
            }
        }
    }

    .team-img {
        position: relative;
        overflow: hidden;

        img {
            width: 100%;
            border-radius: 50%;
        }

        &:before {
            content: "";
            position: absolute;
            inset: 0;
            top: 0;
            border-radius: 50%;
            background: rgba(16, 55, 65, 0.8);
            transform: translateY(100%);
            transition: 0.5s;
        }

        &-wrap {
            position: relative;
            border-radius: 50%;
            z-index: 2;
            border: 20px solid rgba(254, 90, 134, 0.4);
            overflow: hidden;
            margin-bottom: 25px;
            transition: all 0.4s ease-in-out;
        }
    }

    .box-title {
        font-weight: 700;
        margin-bottom: 0;
    }

    .th-social {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: 0.4s;


        a {
            --icon-size: 44px;
            //line-height: 47px;
            border-radius: 50%;
            opacity: 0;
            background-color: $theme-color3;
            transform: translateY(20px);
            transition: 0.3s;
            padding: 2px;
            margin-right: 3px;

            @include xl {
                margin-right: 0;
                --icon-size: 40px;
            }

            @include md {
                --icon-size: 36px;
            }

            @include vxs {
                --icon-size: 34px;
            }

            &:nth-child(1) {
                transition-delay: 0s;
            }

            &:nth-child(2) {
                background-color: $white-color;
                color: $theme-color;
                transition-delay: 0.1s;
            }

            &:nth-child(3) {
                background-color: $theme-color4;
                transition-delay: 0.2s;
            }
        }
    }

    &:hover {

        .team-img {
            &:before {
                bottom: 0;
                transform: translateY(0%);
            }

            &-wrap {
                opacity: 1;

            }
        }

        .th-social a {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}

/* team box end ---------------------------- */

/* team item start --------------------------------*/
.team-item {
    position: relative;
    text-align: center;
    z-index: 2;

    .team-img {
        position: relative;
        overflow: hidden;

        img {
            width: 100%;
        }

        &:before {
            content: "";
            position: absolute;
            inset: 0;
            top: 0;
            background: rgba(16, 55, 65, 0.8);
            transform: translateY(100%);
            transition: 0.5s;
        }

        &-wrap {
            position: relative;
            border-radius: 50px;
            z-index: 2;
            border: 20px solid transparent;
            overflow: hidden;
        }
    }

    .team-img2 {
        max-width: 80px;
        display: block;
        margin: auto auto 15px auto;

        img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
        }
    }

    .box-title {
        font-size: 20px;
        color: $white-color;
        font-weight: 600;
        margin-bottom: 0;
    }

    .team-desig {
        font-size: 14px;
        font-weight: 500;
        color: $title-color;
    }

    .team-content {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: $theme-color;
        border-radius: 30px;
        padding: 20px;
        transition: all 0.4s ease-in-out;

        .box-title {
            a {
                color: inherit;
            }
        }

        .team-desig {
            display: block;
            margin-bottom: -0.6rem;
        }

    }

    .team-info {
        width: 100%;
        height: 100%;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 30px;

        &_content {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-60px);
            transition: all 0.4s ease-in-out;
        }

        .team-desig {
            color: $theme-color2;
        }
    }

    .th-social {
        margin-top: 5px;

        a {
            --icon-size: 25px;
            border-radius: 50%;
            font-size: 14px;
            opacity: 0;
            background-color: $theme-color3;
            transform: translateY(20px);
            transition: 0.3s;
            padding: 2px;
            margin-right: 3px;

            @include xl {
                margin-right: 0;
            }

            &:nth-child(1) {
                transition-delay: 0s;
            }

            &:nth-child(2) {
                background-color: $white-color;
                color: $theme-color;
                transition-delay: 0.1s;
            }

            &:nth-child(3) {
                background-color: $theme-color4;
                transition-delay: 0.2s;
            }
        }
    }

    &:hover {
        .team-img {
            &:before {
                bottom: 0;
                transform: translateY(0%);
            }
        }

        .team-content {
            transform: translateY(100px);
        }

        .team-info {
            &_content {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
        }

        .th-social a {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}


/* team item end --------------------------------*/
/* Team Details ---------------------------------- */
.team-title {
    font-size: 48px;
    margin-top: -0.6rem;

    @media(max-width: 1399px) {
        font-size: 44px;
    }

    @include lg {
        font-size: 36px;
        margin-top: 0;
    }
}

.checklist {
    &.team-checklist {
        ul {
            li {
                padding-left: 40px;

                &:not(:last-child) {
                    margin-bottom: 8px;
                }

                &:after {
                    content: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 4C3.5 3.73438 3.71875 3.5 4 3.5H5C5.26562 3.5 5.5 3.73438 5.5 4C5.5 4.28125 5.26562 4.5 5 4.5H4C3.71875 4.5 3.5 4.28125 3.5 4ZM4.17188 3C4.21875 2.89062 4.25 2.76562 4.25 2.625V2H5.5C5.76562 2 6 2.23438 6 2.5C6 2.78125 5.76562 3 5.5 3H4.17188ZM4.25 1.5V0.625C4.25 0.59375 4.23438 0.546875 4.23438 0.5H7.5C7.76562 0.5 8 0.734375 8 1C8 1.28125 7.76562 1.5 7.5 1.5H4.25ZM5 5.5C5 5.78125 4.76562 6 4.5 6H3.5C3.21875 6 3 5.78125 3 5.5C3 5.23438 3.21875 5 3.5 5H4.5C4.76562 5 5 5.23438 5 5.5ZM3.15625 4.5625C2.78125 4.70312 2.5 5.07812 2.5 5.5C2.5 5.6875 2.54688 5.85938 2.625 6H2.125C0.9375 6 0 5.0625 0 3.875V2.5C0 2.04688 0.140625 1.60938 0.40625 1.25L0.8125 0.671875C1.125 0.25 1.60938 0 2.125 0H3.125C3.46875 0 3.75 0.28125 3.75 0.625V2.625C3.75 2.98438 3.46875 3.25 3.125 3.25C2.67188 3.25 2.48438 2.84375 2.48438 2.57812V1.5C2.5 1.375 2.35938 1.25 2.23438 1.25C2.10938 1.25 2 1.375 2 1.5V2.625C2 3.21875 2.45312 3.70312 3.03125 3.75C3.01562 3.82812 3 3.92188 3 4C3 4.21875 3.0625 4.40625 3.15625 4.5625Z' fill='white'/%3E%3C/svg%3E%0A");
                    font-family: $icon-font;
                    position: absolute;
                    inset: 0px;
                    color: $white-color;
                    width: 24px;
                    height: 24px;
                    line-height: 16px;
                    background: $theme-color4;
                    display: block;
                    text-align: center;
                    border-radius: 50%;
                    margin-right: 10px;
                }

                span {
                    color: $body-color;
                    font-weight: 400;
                }

                &:nth-child(2) {
                    &:after {
                        background: $theme-color3;
                    }
                }

                &:nth-child(3) {

                    &:after {
                        background: $theme-color2;
                    }
                }

                &:nth-child(4) {

                    &:after {
                        background: $theme-color;
                    }
                }
            }
        }
    }
}

.team-about {
    @include lg {
        margin-bottom: 20px;
    }

    .th-social a {
        &:not(:hover) {
            background-color: #E4E4E4;
            color: $title-color;
        }
    }

    &.style2 {
        margin-left: 45px;

        @include lg {
            margin: 0;
        }

        .team-about {
            &_title {
                font-weight: 600;
                margin: 0 0 3px 0px;
            }

            &_desig {
                border-bottom: 1px solid #E4E4E4;
                padding-bottom: 20px;
            }

            &_text {
                line-height: 26px;
                max-width: 465px;
            }
        }
    }

    &_title {
        margin: -0.3rem 0 0 0px;
    }

    &_desig {
        color: $theme-color;
        margin-bottom: 10px;
    }

    .th-btn {
        padding: 19.5px 38.9px;
    }
}


.about-card-img {
    position: relative;
    background-color: $white-color;
    padding: 40px;
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.06);

    img {
        width: 100%;
    }

    @include xl {
        padding: 30px;
    }

    @include lg {
        margin-bottom: 40px;
    }

    @include vxs {
        padding: 20px;
    }
}

@media (min-width: 1300px) {
    .about-card {
        margin-left: 50px;
    }
}

.about-card {
    &_title {
        margin-bottom: 15px;

    }

    &_desig {
        color: $body-color;
        margin-bottom: 22px;
        margin-top: -0.5em;
    }

    &_text {
        margin-bottom: 26px;
        margin-top: 32px;
    }

    .th-social a {
        border-radius: 10px;
    }
}

.team-info {
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;

        li {
            margin-bottom: 4px;

            &:last-child {
                margin-bottom: 0;
            }

            b {
                font-family: $title-font;
                width: 100%;
                max-width: 200px;
                font-weight: 600;
                font-size: 18px;
                color: $title-color;
                line-height: 28px;

            }

            i {
                font-size: 12px;
                color: #FBB040;
                margin-right: 0;
            }

            span,
            a {
                color: $body-color;
            }

            a:hover {
                color: $theme-color;
            }
        }
    }
}

@include xs {
    .team-info ul li b {
        max-width: 140px;
    }
}

.team-contact-form {
    padding: 50px;
    background-color: $smoke-color;

    textarea {
        height: 120px;
    }

    .form-title {
        margin-top: -0.3em;
        margin-bottom: 25px;
    }

    @include xs {
        padding: 40px 20px;
    }
}

.skill-feature {
    text-align: left;

    &:nth-child(2) {
        .progress {
            box-shadow: inset 0px 0px 10px rgba(252, 128, 10, 0.7);
        }

        .progress-bar {
            background-color: $theme-color2;
        }
    }

    &.style2 {
        .skill-feature {
            &_title {
                font-family: $title-font;
                font-weight: 600;
                font-size: 20px;
                line-height: 30px;
                color: $white-color;
                margin-bottom: 10px;
            }
        }

        .progress {
            height: 6px;
            background-color: #4D5765;
            border-radius: 3px;
        }

        .progress-bar {
            height: 6px;
            margin: 0px;
        }

        .progress-value {
            font-family: var(--title-font);
            color: $white-color;
        }
    }

    &:not(:last-child) {
        margin-bottom: 30px;
    }

    &_title,
    .progress-value {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 6px;
        margin-top: -0.5em;
        font-family: $title-font;
        color: $title-color;
    }

    .progress {
        position: relative;
        height: 20px;
        background-color: $white-color;
        border-radius: 20px;
        overflow: visible;

        &:before {
            content: "";
            position: absolute;
            inset: 0;
            box-shadow: inset 0px 0px 10px $theme-color;
            opacity: 0.7;
            border-radius: 20px;
        }

    }

    .progress-bar {
        background-color: $theme-color;
        height: 20px;
        margin: 0px;
        border-radius: inherit;
        overflow: visible;
        position: relative;
    }

    .progress-value {
        position: absolute;
        top: -30px;
        right: -8px;
    }
}



/* team-profile start ------------------------------*/
.team_profile {
    padding: 0;

    .team-author {
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 15px solid #FED9B6;
            border-radius: 60px;

            @include lg {
                border-radius: 30px;
            }
        }
    }

    .team-content {
        padding: 40px;

        @include sm {
            padding: 30px;
        }

        .box-title {
            margin-bottom: 0;
        }

    }

    .th-widget-contact {
        &.style2 {
            .footer-info {
                color: $title-color;
                font-weight: 500;
                padding: 0 0 0 25px;

                i {
                    top: 7px;
                    font-size: 16px;

                }
            }
        }
    }

    .th-btn2 {
        font-family: $title-font;
        font-weight: 600;
        font-size: 24px;
        color: $title-color;
        background-color: $smoke-color;
        border-radius: 30px;
        padding: 9.5px 30px;
        display: block;
    }

}

/* team-profile end ------------------------------*/