
.team-box-items {
    margin-top: 30px;
    @include transition;

    &.style-2 {
        margin-top: 60px;
    }

    .team-image {
        position: relative;
        overflow: hidden;

        img {
            @include imgw;
            border-radius: 30px;
            @include transition;
        }

        &::after {
            background: linear-gradient(90deg, rgba(var(--white-rgb, 255, 255, 255), 0.13) 0px, rgba(var(--white-rgb, 255, 255, 255), 0.13) 77%, rgba(var(--white-rgb, 255, 255, 255), 0.3) 92%, rgba(var(--white-rgb, 255, 255, 255), 0));
            content: "";
            height: 200%;
            left: -210%;
            opacity: 0;
            position: absolute;
            top: -50%;
            transition: all 0.5s ease 0s;
            transition-property: all;
            transition-duration: 0.5s;
            transition-timing-function: ease;
            width: 200%;
        }

        .social-icon {
            gap: 10px;
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            right: 5%;
            z-index: 9;

            li {
                -webkit-transform: scaleX(0);
                transform: scaleX(0);
                -webkit-transition: .4s ease-in-out;
                transition: .4s ease-in-out;
                cursor: pointer;
                background-color: $theme-color;
                width: 40px;
                height: 40px;
                line-height: 40px;
                text-align: center;
                border-radius: 40px;

                &:hover {
                    background-color: $header-color;

                    i {
                        color: $white;
                    }
                }

                a {
                    i {
                        color: $white;
                        font-size: 16px;
                        @include transition;
                    }
                }
            }
        }
    }

    .team-content {
        margin-top: 20px;

        h3 {
            margin-bottom: 5px;

            a {
                &:hover {
                    color: $theme-color;
                }
            }
        }
    }

    &:hover {
        transform: translateY(-10px);
        .team-image {
            &::after {
                left: -30%;
                opacity: 1;
                top: -20%;
                transition-duration: 0.5s, 0.5s, 0.15s;
                transition-property: left, top, opacity;
                transition-timing-function: linear;
            }

            .social-icon {
                li {
                    -webkit-transform: scaleX(1);
                    transform: scaleX(1);
                }
            }

           
        }
    }
}

.single-team-items {
    margin-top: 30px;

    .team-image {
        position: relative;

        img {
            @include imgw;
        }

        .social-profile {
            position: absolute;
            right: 30px;
            top: 30px;
            content: "";
            -webkit-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
            z-index: 2;
            display: inline-block;
            overflow: hidden;

            ul {
                transform: translateY(-100px);
                transition: all 0.6s ease-in-out;
                opacity: 0;
                visibility: hidden;

                li {
                    &:not(:last-child){
                        margin-bottom: 10px;
                    }

                    a {
                        width: 40px;
                        height: 40px;
                        line-height: 40px;
                        text-align: center;
                        font-size: 16px;
                        border-radius: 50%;
                        display: block;
                        background: $white;
                        color: $header-color;
                        -webkit-transition: all .4s ease-in-out;
                        transition: all .4s ease-in-out;
                        text-align: center;
                        margin: 0 auto;

                        &:hover {
                            background-color: $theme-color;
                            color: $white;
                        }
                    }
                }
            }

            .plus-btn {
                z-index: 2;
                cursor: pointer;
                width: 40px;
                height: 40px;
                line-height: 40px;
                text-align: center;
                font-size: 16px;
                border-radius: 50%;
                display: inline-block;
                background: $theme-color;
                color: $white;
                -webkit-transition: all .3s ease-in-out;
                transition: all .3s ease-in-out;
                margin-bottom: 10px;
            }

            &:hover {
                ul {
                   transform: translateY(0);
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }

    .team-content {
        background-color: $white;
        padding: 20px;
        margin: -50px 20px 0;
        position: relative;
        z-index: 9;

        h5 {
            margin-bottom: 5px;

            a {
                &:hover {
                    color: $theme-color;
                }
            }
        }
    }
}

.team-card-items {
    margin-top: 30px;
    border: 1px solid #ffffff1a;

    .team-content {
        padding: 40px;

        h4 {
            margin-bottom: 5px;
            
            a {
                color: $white;
            }
        }
    }

    .team-image {
        position: relative;
        padding: 0 20px 20px 20px;

        img {
            @include imgw;
        }

        .social-profile {
            position: absolute;
            left: 20px;
            bottom: 20px;
            content: "";
            -webkit-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
            z-index: 2;
            display: flex;
            overflow: hidden;
            font-size: 22px;
            align-items: center;

            ul {
                transform: translateX(-100px);
                transition: all 0.6s ease-in-out;
                opacity: 0;
                visibility: hidden;
                display: flex;
                margin-top: 21px;

                li {
                    a {
                        padding: 8px 15px;
                        text-align: center;
                        font-size: 14px;
                        display: block;
                        background: $white;
                        color: $header-color;
                        -webkit-transition: all .4s ease-in-out;
                        transition: all .4s ease-in-out;
                        text-align: center;
                        margin: 0 auto;
                        color: $text-color;

                        &:hover {
                            color: $theme-color-2;
                        }
                    }
                }
            }

            .plus-btn {
                z-index: 2;
                cursor: pointer;
                width: 65px;
                height: 65px;
                line-height: 65px;
                text-align: center;
                font-size: 18px;
                display: inline-block;
                background: $theme-color-2;
                color: $white;
                -webkit-transition: all .3s ease-in-out;
                transition: all .3s ease-in-out;
            }

            &:hover {
                ul {
                    transform: translateY(0);
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
}

.team-box-items-2 {
    margin-top: 30px;

    .team-thumb {
        img {
            @include imgw;
        }
    }

    .team-content {
        clip-path: polygon(100% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 0 100%, 0% 80%, 0 20%);
        background-color: var(--white);
        padding: 55px 0px 30px;
        margin: -80px 20px 0;
        text-align: center;

        h3 {
            font-size: 22px;

            a {
                &:hover {
                    color: $theme-color;
                }
            }
        }

        .social-icon {
            gap: 10px;
            margin-top: 15px;

           a {
                width: 40px;
                height: 40px;
                line-height: 40px;
                text-align: center;
                border-radius: 50%;
                border: 1px solid $border-color;
                color: $header-color;
                display: inline-block;

                &:hover {
                    background-color: $theme-color;
                    color: $white;
                }
           }
        }
    }
}

.team-details-wrapper {
    .team-image {
        height: 525px;

        @include breakpoint (max-sm){
            height: 400px;

            img {
                object-fit: cover;
            }
        }
    }

    .team-details-content {
        .star {
            a {
                font-size: 14px;
                color: $header-color;

                i {
                    color: $ratting-color;
                }
            }
        }

        h3 {
            margin-bottom: 5px;
            font-size: 44px;

            @include breakpoint (max-md){
                font-size: 30px;
            }

            @include breakpoint (max-sm){
                font-size: 24px;
            }
        }
        
        span {
            font-weight: 500;
            margin-bottom: 15px;
            display: block;
        }

        .social-icon {
            margin-top: 40px;
            gap: 15px;
            position: relative;
            z-index: 9;

            @include breakpoint (max-sm){
                margin-top: 20px;
            }

            a {
                width: 40px;
                height: 40px;
                line-height: 40px;
                text-align: center;
                font-size: 16px;
                display: block;
                background: $bg-color;
                color: $text-color;
                border-radius: 50%;
                -webkit-transition: all .4s ease-in-out;
                transition: all .4s ease-in-out;
                text-align: center;

                &:hover {
                    background-color: $theme-color;
                    color: $white;
                }
            }
        }
    }
}

.team-skill {
    background-color: $theme-color;
}

.team-skill-wrapper {
    .team-skill-content {
        h3 {
            color: $white;
            font-size: 40px;
            font-weight: 600;
            line-height: 125%;

            @include breakpoint (max-xl){
                font-size: 36px;
            }

            @include breakpoint (max-md){
                font-size: 28px;
            }

            @include breakpoint (max-sm){
                font-size: 24px;
            }
        }
    }
    .progress-wrap {
        .pro-items{
            &:not(:last-child){
                margin-bottom: 20px;
            }
            .pro-head {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 10px;

                .point {
                    font-size: 18px;
                    font-weight: 700;
                    color: $white;
                }

                .title {
                   color: $white;
                   font-weight: 600;
                   font-size: 18px;
                   text-transform: uppercase;
                }
            }
            .progress {
                background: $white;
                justify-content: flex-start;
                border-radius: 0;
                align-items: center;
                position: relative;
                display: flex;
                height: 6px;
                width: 100%;
            }
            
            .progress-value {
                animation: load 3s normal forwards;
                box-shadow: 0 10px 40px -10px $white;
                border-radius: 0;
                background: $white;
                height: 6px;
                width: 0;
            }

            .style-two{
                animation: load2 3s normal forwards;
            }

            @keyframes load {
                0% { width: 0; }
                100% { width: 65%; }
            }

            @keyframes load2 {
                0% { width: 0; }
                100% { width: 75%; }
            }
        }
    }
}

.team-contact-wrapper {
    .get-touch-items {

        .get-touch-title {
            h2 {
                margin-bottom: 10px;
            }
        }

        .contact-items {
            margin-top: 50px;
            @include flex;
            gap: 100px;

            @include breakpoint (max-sm){
                margin-top: 20px;
                gap: 30px;
                flex-wrap: wrap;
            }

            .contact-info {
                h4 {
                    font-weight: 600;
                    text-transform: capitalize;
                    margin-bottom: 10px;
                    font-size: 22px;
                }

                h5 {
                    text-transform: capitalize;
                    font-size: 18px;
                }

                .social-icon {
                    gap: 15px;
                    position: relative;
                    z-index: 9;
        
                    @include breakpoint (max-sm){
                        margin-top: 20px;
                    }
        
                    a {
                        width: 40px;
                        height: 40px;
                        line-height: 40px;
                        text-align: center;
                        font-size: 16px;
                        display: block;
                        background: $bg-color;
                        color: $text-color;
                        border-radius: 50%;
                        -webkit-transition: all .4s ease-in-out;
                        transition: all .4s ease-in-out;
                        text-align: center;
        
                        &:hover {
                            background-color: $theme-color;
                            color: $white;
                        }
                    }
                }
            }
        }
    }
}

.team-button {
    text-align: center;
    margin-top: 30px;
}

.team-section {
    position: relative;

    .dot-shape-2 {
        position: absolute;
        top: 0;
        right: 0;
    }
}

