.testimonial-wrapper-1 {

    .testimonial-image {
        position: relative;
        max-width: 503px;
        margin-top: 33px;

         @include breakpoint (max-xl) {
            max-width: initial;
            margin-top: 0;
        }

        img {
            @include imgw;
        }
    }

    .testimonial-right-item {
         margin-right: -75%;

          @include breakpoint (max-xl) {
           margin-right: 0;
        }

         .testimonial-box-item-1 {
            margin-top: 30px;
            position: relative;
            z-index: 9;
            padding: 35px;
            padding-top: 0;

            &::before {
                @include before;
                  background-color: $white;
                box-shadow: 14px 18px 84px 82px rgba(186, 183, 230, 0.4);
                border-radius: 12px;
                z-index: -1;
                left: 75px;
                top: 40px;
                height: initial;
                width: initial;

                 @include breakpoint (max-xxl){
                   left: 0;
                }
            }

            .client-image {
              display: flex;
              align-items: end;
              gap: 40px;

               .star {
                    color: $theme-color-2;
                }

                img {
                    border-radius: 12px;
                }
            }

            .testimonial-content {
                margin-top: 30px;
                padding-left: 70px;

                @include breakpoint (max-xxl){
                    margin-left: 0;
                    padding-left: 0;
                }

                p {
                    font-size: 20px;
                    font-weight: 400;
                    line-height: 144%;
                    margin-bottom: 45px;

                    @include breakpoint (max-xl) {
                        font-size: 16px;
                        margin-bottom: 30px;
                    }
                }

                .info-item {
                    @include flex;
                    justify-content: space-between;
                    
                    @include breakpoint (max-xl) {
                        flex-wrap: wrap;
                        gap: 30px;
                    }

                    .info-content {
                        h5 {
                            font-size: 18px;
                            font-weight: 500;
                        }

                        span {
                            font-weight: 500;
                        }
                    }
                }
            }
        }
    }
}


.testimonial-section-1 {
    position: relative;

    &::before {
        @include before;
        opacity: 0.95;
        background: rgba(255, 255, 255, 0.95);
    }

    .shape {
        position: absolute;
        top: 187px;
        right: 83px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

    .shape-2 {
        position: absolute;
        bottom: 66px;
        right: 30%;

        @include breakpoint (max-xl) {
            display: none;
        }
    }
}

.testimonial-section-2 {
    position: relative;
    z-index: 9;

    .testimonial-shape-1 {
        position: absolute;
        z-index: -1;
        bottom: 10%;
        left: 40%;
    }
}

.testimonial-wrapper-2 {
    .testimonial-image {
        max-width: 507px;
        position: relative;
        margin-left: 100px;

        @include breakpoint (max-xl){
            margin-left: 0;
        }

        img {
            @include imgw;
            border-radius: 12px;
        }

        .counter-box {
            background-color: $theme-color;
            border-radius: 12px;
            display: inline-block;
            padding: 40px;
            position: absolute;
            bottom: 67px;
            left: -89px;

            @include breakpoint (max-xl){
              left: 0;
              bottom: 0;
            }

            h2 {
                color: $white;
            }

            p {
                color: $white;
            }
        }
    }

    .testimonial-content {
        .star-items {
            @include flex;
            gap: 20px;
            margin-top: 25px;

            .star {
                color: $theme-color-2;
            }

            @media (max-width: 767px) {
                display: block;
            }
        }

        .testimonial-box-items {
            border-radius: 12px;
            border-top: 1px solid rgba(6, 3, 48, 0.09);
            border-right: 1px solid rgba(6, 3, 48, 0.09);
            border-bottom: 7px solid rgba(6, 3, 48, 0.09);
            border-left: 1px solid rgba(6, 3, 48, 0.09);
            background: $white;
            padding: 50px 45px;
            margin-bottom: 25px;

            @include breakpoint (max-xl){
                padding: 30px;
            }

            @include breakpoint (max-md){
                padding: 40px 35px;
            }

            @include breakpoint (max-sm){
                padding: 30px;
            }

            h5 {
                font-size: 18px;
                font-weight: 400;
                color: $text-color;

                @include breakpoint (max-sm){
                   font-size: 16px;
                }
            }

            .client-info {
                @include flex;
                gap: 20px;
                position: relative;
                margin-top: 50px;

                @include breakpoint (max-md){
                    margin-top: 30px;
                }

                h6 {
                    font-size: 18px;
                    font-weight: 500;
                }

                p {
                    font-size: 16px;
                }

                .quote-img {
                    position: absolute;
                    right: 10px;
                    bottom: 0px;

                    @include breakpoint (max-sm){
                        position: static;
                    }
                }
            }
        }
    }

    .testimonial-box-area {
         max-height: 560px;
        overflow-y: auto;
        padding-right: 50px;
        margin-top: 30px;

        @include breakpoint (max-xl){
            padding-right: 0;
            max-height: initial;
            overflow-y: initial;
        }
    }
}

.testimonial-section-4 {
    position: relative;
    z-index: 9;

    .section-title {
        .star-items {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;

             @include breakpoint (max-lg){
               display: none;
            }

            .star {
                color: rgba(252, 211, 79, 1);
            }

            p {
                color: $white;
            }
        }
    }

    .testimonial-shape-1 {
        position: absolute;
        z-index: -1;
        top: 40%;
        left: 20%;
    }

    .testimonial-shape-2 {
        position: absolute;
        z-index: -1;
        top: 20%;
        right: 8%;
    }
}

.testimonial-box-items-4 {
    border-radius: 12px;
    border-top: 1px solid rgba(6, 3, 48, 0.09);
    border-right: 1px solid rgba(6, 3, 48, 0.09);
    border-bottom: 7px solid rgba(6, 3, 48, 0.09);
    border-left: 1px solid rgba(6, 3, 48, 0.09);
    background: #FFF;
    padding: 20px 50px;
    margin-top: 30px;

     @include breakpoint (max-xl){
       padding: 30px;
    }

     @include breakpoint (max-md){
       padding: 25px;
    }

    .star {
        color: rgba(255, 205, 32, 1);
    }

    h5 {
        font-size: 20px;
        font-weight: 500;
        color: $text-color;
        margin-top: 20px;

         @include breakpoint (max-md){
           font-size: 18px;
        }
    }

    .client-info {
        @include flex;
        gap: 20px;
        position: relative;
        margin-top: 40px;

        h6 {
            font-size: 18px;
            font-weight: 500;
        }

        p {
            font-size: 16px;
        }

        .quote-img {
            position: absolute;
            right: 10px;
            bottom: 0px;
        }
    }
}

.testimonial-section-4 {
    position: relative;
    z-index: 9;

     &::before {
        @include before;
        z-index: -1;
        background: #fff;
        top: 70%;
    }

}


.testimonial-wrapper-3 {
    position: relative;

    .testimonial-card-items-3 {
        margin-top: 200px;

        @include breakpoint (max-xl){
            margin-top: 0;
            margin-bottom: 20px;
        }

        &.style-2 {
            margin-top: 0;
        }

        &.style-3 {
            margin-top: 73px;

             @include breakpoint (max-xl){
                margin-top: 0;
                margin-bottom: 20px;
            }
        }

        .testimonial-image {
            img {
                @include imgw;
                border-radius: 12px;
            }
        }
    }

    .testimonial-box-item-3 {
        background-color: $theme-color;
        border-radius: 12px;
        border-top: 1px solid rgba(6, 3, 48, 0.09);
        border-right: 1px solid rgba(6, 3, 48, 0.09);
        border-bottom: 7px solid rgba(6, 3, 48, 0.09);
        border-left: 1px solid rgba(6, 3, 48, 0.09);
        padding: 45px 70px;
        text-align: center;
        margin-top: -150px;

        @include breakpoint (max-xl){
            margin-top: 0;
        }

        .testimonial-content {
            .star {
                color: $white;
                margin-bottom: 20px;
            }

            p {
                color: $white;
                font-size: 18px;
                font-weight: 400;
                max-width: 415px;
                font-family: $heading-font;
                margin: 0 auto;
            }

            h5 {
                font-size: 18px;
                color: $white;
                margin-top: 40px;
            }

            span {
                color: $white;
            }
        }
    }

    .array-button-2 {

        @include breakpoint (max-xl) {
            display: none;
        }

        .array-prev {
            position: absolute;
            left: 210px;
            bottom: 70px;
            background-color: $theme-color;
            color: $white;

            &:hover {
                background-color: $header-color;
            }
        }

        .array-next {
            position: absolute;
            right: 210px;
            bottom: 70px;
            background-color: $theme-color-2;
            color: $white;

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

.testimonial-section-3 {
    position: relative;

    .star-2 {
        margin-bottom: 70px;
        text-align: center;

        @include breakpoint (max-xl) {
            margin-bottom: 30px;
        }

        i {
            color: $theme-color-2;
            font-size: 17px;
        }

        span {
            display: inline-block;
            margin-left: 18px;
        }
    }

    .shape-1 {
        position: absolute;
        top: 359px;
        left: 421px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

     .shape-2 {
        position: absolute;
        left: 138px;
        bottom: 280px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

     .shape-3 {
        position: absolute;
        right: 74px;
        top: 87px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

     .shape-4 {
        position: absolute;
        right: 415px;
        top: 370px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

     .shape-5 {
        position: absolute;
        right: 275px;
        bottom: 120px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }
}


.testimonial-box-item-5 {
    background-color: #f0f0f0;
    box-shadow: 14px 18px 84px 82px rgba(186, 183, 230, 0.4);
    border-radius: 12px;
    padding: 20px 20px 38px;
    margin-top: 30px;

    @include breakpoint (max-xl) {
        padding: 20px 20px 20px;
    }

    .client-item {
        @include flex;
        gap: 40px;

        @include breakpoint (max-xl) {
            flex-wrap: wrap;
            gap: 20px;
        }

        .client-image {
            img {
                border-radius: 12px;
            }
        }

        .star {
            color: $theme-color-2;
        }
    }

    .testimonial-content {
        margin-top: 10px;
        margin-left: 70px;
        
        @include breakpoint (max-xl) {
            margin-left: 0;
        }

        p {
            font-size: 18px;
            font-weight: 400;
            line-height: 144%;
            margin-bottom: 50px;

            @include breakpoint (max-xl) {
                font-size: 16px;
                margin-bottom: 30px;
            }
        }

        .info-item {
            @include flex;
            justify-content: space-between;
            
            @include breakpoint (max-xl) {
                flex-wrap: wrap;
                gap: 30px;
            }

            .info-content {
                h5 {
                    font-size: 18px;
                    font-weight: 500;
                    margin-bottom: 10px;
                }

                span {
                    font-weight: 500;
                }
            }
        }
    }
}

.testimonial-section-5 {
    position: relative;

    .shape {
        position: absolute;
        top: 0;
        left: 350px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

    .shape-2 {
        position: absolute;
        top: 0;
        right: 311px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

    .star {
        text-align: center;

        i {
            color: $theme-color-2;
            font-size: 17px;
        }

        span {
            display: inline-block;
            margin-left: 18px;
        }
    }

    .testimonial-button {
        margin-top: 45px;
        text-align: center;
        
        .theme-btn {
            background-color: transparent;
            color: $theme-color;
            border: 1px solid $theme-color;

            i {
                background-color: $theme-color;
                color: $white;
            }

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

                .icon {
                    background-color: $header-color;
                }
            }
        }
    }
}