.team-section {
    margin: 0 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    position: relative;

    .light-shape {
        position: absolute;
        top: -41%;
        right: -110px;

        @include media-breakpoint-down (xxl){
            display: none;
        }
    }

    .team-shape {
        position: absolute;
        top: -15%;
        right: -110px;

        @include media-breakpoint-down (xxl){
            display: none;
        }
    }

     @include media-breakpoint-down (xxxl){
        margin: 0 35px;
    }

    @include media-breakpoint-down (xxl){
        margin: 0 28px;
    }

     @include media-breakpoint-down (xl){
        margin: 0 20px;
    }

     @include media-breakpoint-down (xxs){
        margin: 0 16px;
    }
}

.team-block {
    .inner-block {
        margin-top: 30px;
        position: relative;
        overflow: hidden;
        border-radius: 30px;

        .image-block {
            position: relative;
            z-index: 99;
            transition: all .4s ease-in-out;
            overflow: hidden;

            &::before {
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
                content: "";
                position: absolute;
                background: linear-gradient(360deg, #000000 11.41%, rgba(0, 0, 0, 0) 100%);
                z-index: 1;
                border-radius: 30px;
                transition: all .4s ease-in-out;
            }

            img {
                width: 100%;
                height: 100%;
                border-radius: 30px;
                display: block;
                object-fit: cover;
                -webkit-transition: all 500ms ease;
                    transition: all 500ms ease;

                &:first-child{
                    position: absolute;
                    left: 0;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    z-index: 1;
                    -webkit-transform: translateX(50%) scaleX(2);
                    transform: translate(50%) scaleX(2);
                    opacity: 0;
                    -webkit-filter: blur(10px);
                    filter: blur(10px)
                }
            }
        }

        .content-block {
            position: absolute;
            z-index: 99;
            bottom: 30px;
            left: 40px;
            transform: translateY(58px);
            transition: all .4s ease-in-out;
            
            .title {
                font-size: 24px;
                font-weight: 500;

                a {
                    background-position: 0 95%;
                    background-repeat: no-repeat;
                    background-size: 0% 2px;
                    display: inline;

                    &:hover {
                        color: #fff;
                        background-size: 100% 2px;
                        background-image: linear-gradient(180deg, #fff 0%, #fff 100%);
                    }
                }
            }

            .social-icon {
                display: flex;
                align-items: center;
                gap: 0;
                margin-top: 20px;
                transition: all .4s ease-in-out;
                opacity: 0;
                visibility: hidden;
                transition: all .4s ease-in-out;

                a {
                    display: inline-block;
                    border-radius: 50%;
                    background: var(--theme-color2);
                    width: 40px;
                    height: 40px;
                    text-align: center;
                    line-height: 40px;
                    font-size: 13px;
                    color: #fff;

                    &:hover {
                        background-color: #fff;
                        color: var(--theme-color1);
                    }
                }
            }

            .text {
                color: #fff;
            }
        }

          &:hover {
            .image-block {
                &::before {
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
                content: "";
                position: absolute;
                background: linear-gradient(360deg, #FF6B1E 11.41%, rgba(0, 0, 0, 0) 100%);
                z-index: 1;
                border-radius: 30px;
                z-index: 11;
            }

                img {
                    &:first-child {
                        -webkit-transform: translateX(0) scaleX(1);
                        transform: translate(0) scaleX(1);
                        opacity: 1;
                        -webkit-filter: blur(0);
                        filter: blur(0)
                    }

                    &:nth-child(2){
                        -webkit-transform: translateX(-50%) scaleX(2);
                        transform: translateX(-50%) scaleX(2);
                        opacity: 0;
                        -webkit-filter: blur(10px);
                        filter: blur(10px);
                    }
                } 
            }

            .content-block {
                transform: translateY(0px);

                .social-icon {
                    opacity: 1;
                    visibility: visible;
                }
                
            }
        }
    }
}

.team-inner-2 {
    margin: 0 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.13);

    @include media-breakpoint-down (xxxl){
        margin: 0 35px;
    }

    @include media-breakpoint-down (xxl){
        margin: 0 28px;
    }

     @include media-breakpoint-down (xl){
        margin: 0 20px;
    }

     @include media-breakpoint-down (xxs){
        margin: 0 16px;
    }
}

.team-outer-box {
    position: relative;
    margin-top: 30px;

    .team-bg-image {
        border-radius: 40px;
        height: 691px;

        @include media-breakpoint-down (xl){
            height: 550px;
        }

        @include media-breakpoint-down (lg){
            height: 530px;
        }

         @include media-breakpoint-down (md){
            height: 510px;
        }

        @include media-breakpoint-down (sm){
            height: 480px;
        }

        img {
            width: 100%;
            height: 100%;
            border-radius: 40px;
            object-fit: cover;
        }
    }

    .team-block-two {
        .inner-block {
            &.style-one {
                 position: absolute;
                left: calc(11% + 6px);
                bottom: calc(33% + 6px);

                @include media-breakpoint-down (sm){
                    bottom: calc(5% + 6px);
                    left: calc(5% + 6px);
                }
            }

            &.style-two {
                position: absolute;
                left: calc(29% + 6px);
                bottom: calc(48% + 6px);

                @include media-breakpoint-down (sm){
                    bottom: calc(18% + 6px);
                    left: calc(5% + 6px);
                }
            }

            &.style-three {
                position: absolute;
                left: calc(44% + 6px);
                bottom: calc(8% + 6px);

                @include media-breakpoint-down (sm){
                    bottom: calc(31% + 6px);
                    left: calc(5% + 6px);
                }
            }

             &.style-four {
                position: absolute;
                left: calc(61% + 6px);
                bottom: calc(34% + 6px);

                @include media-breakpoint-down (sm){
                    bottom: calc(45% + 6px);
                    left: calc(5% + 6px);
                }
            }

             &.style-five {
                position: absolute;
                right: calc(16% + 6px);
                bottom: calc(31% + 6px);

                @include media-breakpoint-down (lg){
                    left: calc(72% + 6px);
                    bottom: calc(50% + 6px);
                }

                @include media-breakpoint-down (sm){
                    bottom: calc(60% + 6px);
                    left: calc(5% + 6px);
                }
            }

            .dot {
                background: rgba(255, 255, 255, 0.1);
                border: 1px solid rgba(255, 255, 255, 0.11);
                backdrop-filter: blur(13.7px);
                border-radius: 50%;
                position: relative;
                cursor: pointer;
                width: 40px;
                height: 40px;

                &::after {
                    position: absolute;
                    content: "";
                    background-color: var(--theme-color1);
                    border-radius: 50%;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%,-50%);
                    width: 12px;
                    height: 12px;
                    z-index: 0;
                }
            }

            .author-info {
                position: absolute;
                left: 82px;
                top: -16px;
                -webkit-transform: translateX(-10px);
                transform: translateX(-10px);
                opacity: 0;
                visibility: hidden;
                -webkit-transition: all 600ms ease;
                transition: all 600ms ease;
                min-width: 268px;
                z-index: 99;

                @include media-breakpoint-down (lg){
                    left: -70px;
                    top: initial;
                    bottom: 0;
                }

                @include media-breakpoint-down (sm){
                    left: 0;
                }

                

                 .inner-info {
                    position: relative;
                    background-color: var(--theme-color1);
                    border-radius: 20px;
                    padding: 27px 30px 30px;
                    min-width: 225px;

                    .name {
                        font-size: 20px;
                        font-weight: 500;
                    }

                    .designation {
                        font-size: 16px;
                        font-weight: 400;
                        color: #fff;
                    }

                    .social-info {
                        display: -webkit-box;
                        display: -ms-flexbox;
                        display: flex;
                        gap: 3px;
                        margin-top: 20px;

                        li {
                            width: 30px;
                            height: 30px;

                            a {
                                display: inline-block;
                                position: relative;
                                width: 30px;
                                height: 30px;
                                border-radius: 50%;
                                line-height: 30px;
                                background-color: rgba(255, 255, 255, 0.1);
                                text-align: center;
                                overflow: hidden;
                                color: #fff;
                                z-index: 1;

                                &::before {
                                      position: absolute;
                                        content: "";
                                        background-color: #fff;
                                        width: 100%;
                                        height: 100%;
                                        border-radius: 50%;
                                        top: 0;
                                        left: 0;
                                        scale: 0;
                                        z-index: 0;
                                        -webkit-transition: all 300ms ease;
                                        transition: all 300ms ease;
                                        z-index: -1;
                                }
                            }

                            &:hover {
                                a {
                                    color: var(--theme-color1);

                                    &::before {
                                         scale: 1;
                                    }
                                }
                            }
                        }
                    }
                }
            }

            &:hover {
                .author-info {
                     -webkit-transform: translateX(0);
                    transform: translateX(0);
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
}

.team-section-2 {
    position: relative;

    .team-light {
        position: absolute;
        top: -50%;
        right: 0;
    }

    .team-vec {
        position: absolute;
        right: 20px;
        top: -10%;
        z-index: 91;
    }
}

.team-block-three {
    .inner-block {
        margin-top: 30px;
        border-radius: 30px;
        position: relative;
        overflow: hidden;

        .image-block {
            position: relative;
            overflow: hidden;

            &::before {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
                content: "";
                background: rgba(0, 0, 0, 0.3);
                backdrop-filter: blur(7.5px);
                border-radius: 30px;
                transition: all .4s ease-in-out;
                opacity: 0;
                visibility: hidden;
                z-index: 19;
            }

             img {
                width: 100%;
                height: 100%;
                border-radius: 30px;
                display: block;
                object-fit: cover;
                -webkit-transition: all 500ms ease;
                    transition: all 500ms ease;

                &:first-child{
                    position: absolute;
                    left: 0;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    z-index: 1;
                    -webkit-transform: translateX(50%) scaleX(2);
                    transform: translate(50%) scaleX(2);
                    opacity: 0;
                    -webkit-filter: blur(10px);
                    filter: blur(10px)
                }
            }
        }

        .content-block {
            text-align: center;
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            transition: all .4s ease-in-out;
            opacity: 0;
            visibility: hidden;
            z-index: 99;

            .title {
                font-weight: 500;

                a {
                    color: #fff;

                    &:hover {
                        color: var(--theme-color1);
                    }
                }
            }

            .text {
                font-size: 14px;
                font-weight: 400;
                color: #fff;
            }

            .social-icon {
                display: block;
                align-items: center;
                justify-content: center;
                gap: 5px;
                margin-top: 15px;

                a {
                    display: inline-block;
                    width: 30px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    border-radius: 50%;
                    background-color: transparent;
                    border: 1px solid rgba(255, 255, 255, 0.3);
                    color: #fff;
                    font-size: 14px;

                    &:hover {
                        background-color: var(--theme-color1);
                        border-color: var(--theme-color1);
                    }
                }
            }
        }

        &:hover {
            .image-block {
               &::before {
                 opacity: 1;
                visibility: visible;
               }

               img {
                    &:first-child {
                        -webkit-transform: translateX(0) scaleX(1);
                        transform: translate(0) scaleX(1);
                        opacity: 1;
                        -webkit-filter: blur(0);
                        filter: blur(0)
                    }

                    &:nth-child(2){
                        -webkit-transform: translateX(-50%) scaleX(2);
                        transform: translateX(-50%) scaleX(2);
                        opacity: 0;
                        -webkit-filter: blur(10px);
                        filter: blur(10px);
                    }
                } 
            }
            .content-block {
                opacity: 1;
                visibility: visible;
            }
        }
    }
}