/*============= TESTIMONIAL CSS AREA ===============*/

// HOMEPAGE1 TESTIMONIAL AREA STARTS //

.tes1 {
    @media #{$xs} {
        padding: 50px 0 100px;
    }
    @media #{$md} {
        padding: 50px 0 100px;
    }
    .hadding1 {
        p {
            span.tes {
                color: $title-color1;
                font-size: $small_font_size;
                font-style: normal;
                font-weight: $semi_bold;
                line-height: 28px;
                display: inline-block;
            }
        }
        @media #{$md} {
            margin-top: 20px;
        }
        @media #{$xs} {
            margin-top: 20px;
        }
    }
    .tes1-slider {
        .tes1-single-slider {
            border: 1px solid $border2;
            border-radius: 5px;
            padding: 24px;
            margin: 0px 5px;

            .author {
                display: flex;
                align-items: center;
                .hadding {
                    padding-left: 16px;
                    h5 {
                        a {
                            color: $title-color1;
                            font-size: $small_font_size + 4;
                            font-style: normal;
                            font-weight: $semi_bold;
                            line-height: 20px;
                            font-family: $font-1;
                        }
                    }
                    p  {
                        color: $color1;
                        font-size: $small_font_size;
                        font-style: normal;
                        font-weight: $regular;
                        line-height: 18px;
                        font-family: $font-2;
                        padding-top: 4px;
                    }
                }
                .img {
                    img {
                        border-radius: 50%;
                    }
                }
            }
        }
    }

    .owl-dots button {
        background: transparent;
        border: none;
        color: inherit;
        padding: 0 !important;
        font: inherit;
        height: 16px;
        line-height: 10px;
        width: 16px;
        margin: 0 6px;
        border: none;
        border-radius: 50%;
        padding: 5px;
        margin: 5px;
        background-color: $border1;
      }
      
    .owl-dots button.active {
      background: $bg-color2;

      }
    .owl-dots {
        position: absolute;
        bottom: -55px;
        width: 100%;
        right: 0;
        text-align: center;
      }
      
     .owl-dots button {
        position: relative;
        border: 2px solid $color-w !important;
      }
      
    .owl-dots button:after {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
      background: $bg-color2;
        z-index: -1;
        border-radius: 50%;
        left: -3px;
        top: -3px;
        transition: all .3s;
        visibility: hidden;
        opacity: 0;
      }
      
    .owl-dots button.active:after {
        visibility: visible;
        opacity: 1;
      } 

}

// HOMEPAGE1 TESTIMONIAL AREA ENDS //

// HOMEPAGE2 TESTIMONIAL AREA STARTS //

.tes2 {
    background-color: $bg-color4;
    @media #{$xs} {
        padding: 50px 0 50px;
    }
    @media #{$md} {
        padding: 50px 0 50px;
    }
    .tes2-single-slider {
        padding-right: 50px;
        @media #{$xs} {
            padding-right: 0;
        }
        .top-hadding {
            display: flex;
            align-items: center;
            justify-content: space-between;
            @media #{$xs} {
                display: inline-block;
            }
            .hadding-img-box {
                display: flex;
                align-items: center;
                .img {
                    img {
                        border-radius: 50%;
                    }
                }
                .hadding {
                    padding-left: 16px;
                    h5 {
                        a {
                            color: $title-color1;
                            font-size: $heading4_size;
                            font-style: normal;
                            font-weight: $semi-bold;
                            line-height: 24px;
                            font-family: $font-1;
                            display: inline-block;
                        }
                    }
                    p {
                        color: $title-color1;
                        opacity: 0.7 !important;
                        font-size: $small_font_size + 2;
                        font-style: normal;
                        font-family: $font-2;
                        font-weight: $regular;
                        line-height: 18px;
                        padding-top: 6px;
                    }
                }
                
            }
        }
        .ratting {
            border-radius: 4px;
            background: $color-w;
            box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.08);
            padding: 6px;
            display: inline-block;
            margin-top: 20px;
            @media #{$xs} {
                display: inline-block;
                margin-top: 12px;
            }
            ul {
                display: inline-block;
                li {
                   color: $bg-color3;
                   display: inline-block;
                }
            }
        }

        .main-hadding {
            h4 {
                color: $title-color1;
                font-family: $font-1;
                font-size: $heading4_size;
                font-style: normal;
                font-weight: $semi-bold;
                line-height: 24px;
                margin-top: 16px;
                margin-bottom: 16px;
            }
            p {
                color: $title-color1;
                opacity: 0.7 !important;
                font-size: $heading4_size;
                font-style: normal;
                font-family: $font-2;
                font-weight: $regular;
                line-height: 36px;
                @media #{$xs} {
                    font-size: $small_font_size + 4;
                    line-height: 30px;
                }
            }
        }
    }

    .slider-images {
        .signle-slider-images {
            position: relative;
            .img1{
                img{
                    border-radius: 10px;
                }
            }
            
        }
    }

    .img2 {
        position: absolute;
        top: -70px;
        left: -70px;
    }
    .img3 {
        position: absolute;
        top: -40px;
        right: -30px;
    }


    .slick-dots {
        display: flex;
        justify-content: start;
        margin-top: 20px;
        padding: 1rem 0;
        list-style-type: none;
        @media #{$xs} {
           margin-bottom: 30px;
        }
            li {
                margin: 0 0.25rem;
            }
            button {
                display: block;
                width: 14px;
                height: 14px;
                padding: 0;
                border: none;
                border-radius: 100%;
                background-color: $bg22;
                border: none;
                text-indent: -9999px;
                border: 2px solid $bg-color4;
                position: relative;
                z-index: 9;
                border: 2px solid $bg-color4;
                &::after{
                    position: absolute;
                    content: "";
                    height: 16px;
                    width: 16px;
                    left: -3px;
                    top: -3px;
                    border-radius: 50%;
                    border: 1px solid $bg-color3;
                    display: none;
                }
            }

            li.slick-active button {
                background-color: $bg-color3;
                &::after{
                    display: block;
                }
            }
        
    }

}

// HOMEPAGE2 TESTIMONIAL AREA ENDS //

// HOMEPAGE4 TESTIMONIAL AREA ENDS //
.testimonial4-section-area{
    @media #{$xs} {
        padding: 50px 0 50px;
    }
    @media #{$md} {
        padding: 50px 0 50px;
    }
    .testimonial-circle-img{
        position: relative;
        @media #{$xs} {
            margin-bottom: 50px;
        }
        &::after{
            position: absolute;
            content: "";
            height: 250px;
            width: 250px;
            background: $bg28;
            border-radius: 50%;
            top: 140px;
            left: 126px;
            z-index: -1;
            @media #{$xs} {
                top: 25%;
                left: 23%;
                height: 180px;
                width: 180px;
            }
        }
        &::before{
            position: absolute;
            content: "";
            height: 250px;
            width: 250px;
            background: $bg28;
            border-radius: 50%;
            top: 265px;
            left: 250px;
            z-index: -1;
            animation: pulse-border 1500ms ease-out infinite;
            @media #{$xs} {
                top: 50%;
                left: 49%;
                height: 180px;
                width: 180px;
            }
        }
        .dots{
            position: absolute;
            left: 26px;
            top: 40px;
            @media #{$xs} {
                left: 0;
                top: 15px;
            }
        }
    }
    .testimonial-header{
        h2{
            font-family: $font-1 !important;
            @media #{$xs} {
                font-size: $heading3_size - 2;
                line-height: 40px;
            }
        }
    }
    .testimonial4-slider-area{
        position: relative;
        .testimonial4-boxarea{
            border: 1px solid $border5;
            border-radius: 4px;
            .testimonial4-img{
                img{
                    height: 100%;
                    width: 100%;
                    object-fit: cover;
                }
            }
            .testimonia4l-content{
                padding: 32px 20px;
                p{
                    font-family: $font-2;
                    font-size: $small_font_size;
                    font-weight: $regular;
                    line-height: 28px;
                    color: $color4;
                }
                .testimonial-text{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    margin-top: 24px;
                    .man-text{
                        a{
                            font-family: $font-1;
                            font-size: $small_font_size + 8;
                            display: inline-block;
                            font-weight: $semi-bold;
                            color: $title-color1;
                            line-height: 30px;
                        }
                    }
                    ul{
                        li{
                            display: inline-block;
                            a{
                                color: $color5;
                            }
                        }
                    }
                }
            }
        }
        .owl-nav{
            position: absolute;
            top: -100px;
            right: 0;
            @media #{$xs} {
                position: relative;
                top: 0;
                text-align: center;
                margin-top: 30px;
            }
            button{
                height: 40px;
                width: 40px;
                text-align: center;
                border: 1px solid $bg-color9;
                line-height: 40px;
                border-radius: 50%;
                color: $bg-color9;
                display: inline-block;
                font-weight: $bold;
                margin: 0 8px;
                transition: $trans1;
                &:hover{
                    background: $bg-color9;
                    color: $color-w;
                    transition: $trans1;
                }
            }
        }
    }
}
// HOMEPAGE4 TESTIMONIAL AREA ENDS //

// HOMEPAGE5 TESTIMONIAL AREA STARTS //
.testimonial5-section-area{
    @media #{$xs} {
        padding: 50px 0 50px;
    }
    @media #{$md} {
        padding: 50px 0 50px;
    }
    .testimonial5-header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        @media #{$xs} {
            display: inline-block;
        }
        @media #{$md} {
            display: inline-block;
        }
        .theme-btn6{
            @media #{$md} {
                margin-top: 20px;
            }
            @media #{$xs} {
                margin-top: 20px;
            }
        }
        .testimonial5-text{
            span.about{
                background: $bg31;
                font-size: $small_font_size;
                font-weight: $medium;
                line-height: 16px;
                font-family: $font-2;
                color: $color7;
                display: inline-block;
                padding: 8px;
                border-radius: 4px;
            }
            h2{
                font-family: $font-1;
                font-weight: $semi-bold;
                color: $color6;
                font-size: $heading2_size - 2;
                line-height: 50px;
                @media #{$xs} {
                  font-size: $heading3_size - 2;
                  line-height: 40px;
                }
            }
        }
    }
    ._relative{
        .slider-images1{
            .signle-slider-images{
                img{
                    height: 100%;
                    width: 100%;
                    object-fit: cover;
                    border-radius: 4px;
                }
            }
        }
    }  
    .tes2-slider-all1{
        padding: 0 0 0 50px;
        @media #{$xs} {
            padding: 0;
            margin-top: 30px;
        }
        @media #{$md} {
            padding: 0;
            margin-top: 30px;
        }
        .tes2-single-slider{
            .ratting{
                ul{
                    li{
                        display: inline-block;
                        i{
                            color: $color7;
                        }
                    }
                }
            }
            .hadding{
                a{
                    font-family: $font-1;
                    font-size: $small_font_size + 8;
                    font-weight: $semi-bold;
                    color: $color6;
                    display: inline-block;
                }
                p{
                    font-family: $font-2;
                    font-size: $small_font_size;
                    font-weight: $regular;
                    color: $color6;
                    opacity: 0.7;
                }
            }
            .main-hadding{
                p{
                    font-family: $font-2;
                    font-size: $small_font_size + 4;
                    font-weight: $regular;
                    line-height: 30px;
                    color: $color6;
                    opacity: 0.7;
                }
            }
        }
    }
    .testimonial-arrows{
        display: flex;
        align-items: center;
        padding-left: 50px;
        @media #{$xs} {
            padding: 0;
        }
        @media #{$md} {
            padding: 0;
        }
        .testimonial-prev-arrow{
            button{
                height: 40px;
                width: 40px;
                text-align: center;
                line-height: 40px;
                border-radius: 50%;
                background: $bg33;
                border: none;
                margin: 0 16px 0 0;
                transition: $trans1;
                &:hover{
                    background: $color7;
                    color: $color-w;
                    transition: $trans1;
                }
            }
        }
        .testimonial-next-arrow{
            button{
                height: 40px;
                width: 40px;
                text-align: center;
                line-height: 40px;
                border-radius: 50%;
                background: $bg33;
                border: none;
                transition: $trans1;
                &:hover{
                    background: $color7;
                    color: $color-w;
                    transition: $trans1;
                }
            }
        }
    }
    
}
// HOMEPAGE5 TESTIMONIAL AREA ENDS //

// HOMEPAGE6 TESTIMONIAL AREA STARTS //
.testimonial6-section-area{
    @media #{$xs} {
        padding: 50px 0 50px;
    }
    @media #{$md} {
        padding: 50px 0 50px;
    }
    .testimonial6-header{
        padding: 0 25px 0 0;
        @media #{$xs} {
            padding: 0;
            margin-bottom: 30px;
        }
        @media #{$md} {
            padding: 0;
            margin-bottom: 30px;
        }
        span.header{
            display: inline-block;
            font-family: $font-2;
            font-weight: $medium;
            color: $color8;
            font-size: $small_font_size;
            background: $bg36;
            line-height: 16px;
            padding: 8px 12px;
            border-radius: 20px;
          }
          h2{
            font-size: $heading2_size - 2;
            line-height: 50px;
            font-weight: $semi-bold;
            color: $title-color1;
            font-family: $font-1;
            @media #{$xs} {
              font-size: $heading3_size - 2;
              line-height: 40px;
            }
        }
        p{
            font-family: $font-2;
            font-size: $small_font_size;
            line-height: 26px;
            font-weight: $regular;
            color: $color2;
        }
    }
    .testimonial6-carousel-area{
       .testimonial6-boxarea{
        background: $bg39;
        padding: 24px;
        border-radius: 4px;
        .img1{
            img{
                height: 70px;
                width: 70px;
                object-fit: contain;
            }
        }
        .content{
            p{
                font-size: $small_font_size;
                font-family: $font-2;
                line-height: 26px;
                color: $color2;
                font-weight: $regular;
            }
            ul{
                li{
                    display: inline-block;
                    color: $color9;
                }
            }
            a.name{
                font-family: $font-2;
                font-weight: $semi-bold;
                color: $title-color1;
                display: block;
                font-size: $small_font_size;
            }
            a{
                font-size: $small_font_size - 4;
                font-family: $font-2;
                font-weight: $regular;
                color: $color9;
                display: block;
            }
        }
       } 
       .owl-nav{
        text-align: center;
        margin-top: 32px;
        button{
            height: 40px;
            width: 40px;
            text-align: center;
            line-height: 40px;
            background: $bg40;
            display: inline-block;
            border-radius: 50%;
            margin: 0 16px 0 0;
            transition: $trans1;
            &:hover{
                transition: $trans1;
                background: $color9;
                color: $color-w;
            }
        }
       }
    }
}
// HOMEPAGE6 TESTIMONIAL AREA ENDS //

// TESTIMONIALINNER AREA ENDS //
.tes1.inner{
    background: $bg17;
    @media #{$xs} {
        padding: 50px 0 50px;
    }
    @media #{$md} {
        padding: 50px 0 50px;
    }
    .owl-dots{
        position: relative;
        margin-top: 32px;
        bottom: 0;
    }
}
.testimonial-inner-area{
    .tes1-single-slider{
            border: 1px solid $border2;
            border-radius: 5px;
            padding: 24px;
            margin: 0px 5px;
            margin-bottom: 30px;
            transition: $trans1;
            &:hover{
                background: $bg-color1;
                transition: $trans1;
                transform: translateY(-5px);
            }
            .author {
                display: flex;
                align-items: center;
                .hadding {
                    padding-left: 16px;
                    h5 {
                        a {
                            color: $title-color1;
                            font-size: $small_font_size + 4;
                            font-style: normal;
                            font-weight: $semi_bold;
                            line-height: 20px;
                            font-family: $font-1;
                        }
                    }
                    p  {
                        color: $color1;
                        font-size: $small_font_size;
                        font-style: normal;
                        font-weight: $regular;
                        line-height: 18px;
                        font-family: $font-2;
                        padding-top: 4px;
                    }
                }
                .img {
                    img {
                        border-radius: 50%;
                    }
                }
            }
    }
    .testimonial6-boxarea{
        border: 1px solid $border2;
        padding: 24px;
        border-radius: 4px;
        margin-bottom: 30px;
        transition: $trans1;
        &:hover{
            background: $bg-color1;
            transition: $trans1;
            transform: translateY(-5px);
        }
        .img1{
            img{
                height: 70px;
                width: 70px;
                object-fit: contain;
            }
        }
        .content{
            p{
                font-size: $small_font_size;
                font-family: $font-2;
                line-height: 26px;
                color: $color2;
                font-weight: $regular;
            }
            ul{
                li{
                    display: inline-block;
                    color: $bg-color2;
                }
            }
            a.name{
                font-family: $font-2;
                font-weight: $semi-bold;
                color: $title-color1;
                display: block;
                font-size: $small_font_size;
            }
            a{
                font-size: $small_font_size - 4;
                font-family: $font-2;
                font-weight: $regular;
                color: $bg-color2;
                display: block;
            }
        }
       } 
    .pagination-area{
        margin-top: 20px;
        ul{
            justify-content: center;
            li{
                a{
                    height: 55px;
                    width: 55px;
                    text-align: center;
                    outline: none;
                    margin: 0 8px 0 0;
                    line-height: 40px;
                    border-radius: 7px;
                    font-family: $font-2;
                    font-weight: $semi-bold;
                    color: $title-color1;
                    font-size: $small_font_size;
                    transition: $trans1;
                    box-shadow: none;
                    margin-left: 0;
                    border: 1px solid $border2;
                    &:hover{
                        background: $bg-color2;
                        color: $color-w;
                        transition: $trans1;
                    }
                }
                a.active{
                    background: $bg-color2;
                    color: $color-w;
                    box-shadow: none;
                }
            }
        }
    }
}
/*============= TESTIMONIAL CSS AREA ENDS ===============*/
