/*** 

====================================================================
    Testimonial Section Two
====================================================================

***/

.testimonial-section{
    position: relative;
    background-color: #fafafa;
    padding: 120px 0;
    .sec-title{
        margin-bottom: 40px;
    }
    .flower-3 {
        position: absolute;
        left: 0;
        bottom: 10px;
        z-index: 1;
        @include media-breakpoint-down(lg){
            opacity: .1;
        }
    }
    .flower-4 {
        position: absolute;
        top: 150px;
        right: 0;
        z-index: 1;
        @include media-breakpoint-down(lg){
            opacity: .1;
        }
    }
    .owl-carousel{
        padding-bottom: 50px;
        .owl-nav{
            display: none;
        }
        .owl-dots {
            position: absolute;
            left: 0;
            bottom: 10px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .owl-dot {
                height: 5px;
                width: 40px;
                border: 1px solid #d7d7d7;
                transition: all 300ms ease;
                margin-right: 10px;
                @include media-breakpoint-down(sm){
                    width: 30px;
                }
                &.active {
                    background-color: var(--bg-theme-color1);
                    border-color: transparent;
                }
            }
        }
    }
}

.testimonial-block{
    position: relative;
    .inner-box{
        padding-left: 45px;
        position: relative;
        @include media-breakpoint-down(sm){padding-left: 0;}
        &::before{
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 213px;
            background-color: var(--theme-color1);
            @include media-breakpoint-down(sm){display: none;}
        }
        &:hover{
            .icon{
                transform: scaleX(-1);
            }
        }
        .icon{
            font-size: 60px;
            color: var(--theme-color1);
            transform: rotate(180deg);
            line-height: 60px;
            margin-bottom: 14px;
            transition: all 300ms ease;
        }
        .text{
            font-size: 20px;
            line-height: 30px;
            margin-bottom: 18px;
        }

        .title{
            font-size: 20px;
            margin-bottom: 10px;
        }
        .name{
            font-size: 14px;
        }
    }
}



.testimonial-slide{
    position: relative;
    .content-box{
        position: relative;
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
        margin-top: 7px;
        &:hover{
            .image-box{
                .icon{
                    background-color: var(--theme-color-light);
                    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
                    color: var(--theme-color1);
                }
                .thumb{
                    img{
                        transform: scale(1.1);
                    }
                }
            }
        }
        .image-box{
            display: inline-block;
            position: relative;
            .thumb{
                margin-bottom: 10px;
                overflow: hidden;
                border-radius: 50%;
                img{
                    border-radius: 50%;
                    transition: all 300ms ease;
                }
            }
            .icon{
                position: absolute;
                top: -7px;
                left: -22px;
                font-size: 32px;
                width: 58px;
                height: 58px;
                border-radius: 50%;
                text-align: center;
                line-height: 58px;
                background-color: var(--theme-color1);
                color: var(--theme-color-light);
                transform: rotate(180deg);
                transition: all 300ms ease;
            }
        }
        .text{
            font-size: 30px;
            line-height: 48px;
            color: var(--theme-color-dark);
            margin: 0 auto 20px;
            @include media-breakpoint-down(sm){
                font-size: 24px;
                line-height: 1.3em;
            }
        }
        .name{
            font-size: 14px;

        }
    }
}


/*** 

====================================================================
    Testimonial Section Two
====================================================================

***/

.testimonial-section-two{
    position: relative;
    padding: 120px 0;
    .sec-title{
        margin-bottom: 45px;
    }
    .flower-3 {
        position: absolute;
        left: 0;
        bottom: 10px;
        @include media-breakpoint-down(md){opacity: .3;}
    }
    .flower-4 {
        position: absolute;
        top: 150px;
        right: 0;
        @include media-breakpoint-down(md){opacity: .3;}
    }
    .owl-carousel {
        max-width: 745px;
        margin: 0 auto;
        .owl-stage-outer {
            overflow: visible;
        }
        .testimonial-block-three {
            padding: 10px;
        }
    }
    .owl-carousel{
        padding-bottom: 50px;
        .owl-nav{
            display: none;
        }
        .owl-dots {
            position: absolute;
            left: 0;
            bottom: 0px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .owl-dot {
                height: 5px;
                width: 40px;
                border: 1px solid #d7d7d7;
                transition: all 300ms ease;
                margin-right: 10px;
                @include media-breakpoint-down(sm){
                    width: 30px;
                }
                &.active {
                    background-color: var(--bg-theme-color1);
                    border-color: transparent;
                }
            }
        }
    }
}

.testimonial-block-two{
    position: relative;
    .inner-box{
        background-color: var(--theme-color-light);
        position: relative;
        text-align: center;
        margin-top: 67px;
        padding: 0 30px;
        padding-bottom: 45px;
        border: 1px solid var(--theme-color1);
        &:after,
        &:before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            height: 100%;
            width: 100%;
            border: 1px solid var(--theme-color1);
        }
        &:after{
            left: 10px;
            top: 10px;
        }
        &:hover{
            .image-box{
                .thumb{
                    img{
                        transform: scale(1.1);
                    }
                }
                .icon{
                    color: var(--theme-color1);
                    background-color: var(--theme-color-light);
                    box-shadow: 0 0px 20px rgba(0, 0, 0, .1);
                }
            }
        }

        .image-box{
            display: inline-block;
            position: relative;
            margin-top: -67px;
            z-index: 3;
            .thumb{
                margin-bottom: 13px;
                border-radius: 50%;
                overflow: hidden;
                img{
                    width: 100%;
                    transition: all 300ms ease;
                }
            }
            .icon{
                position: absolute;
                top: -7px;
                left: -22px;
                font-size: 32px;
                width: 58px;
                height: 58px;
                border-radius: 50%;
                text-align: center;
                line-height: 58px;
                background-color: var(--theme-color1);
                color: var(--theme-color-light);
                transform: rotate(180deg);
                transition: all 300ms ease;
            }
        }
        .text{
            font-size: 24px;
            line-height: 36px;
            color: var(--theme-color-dark);
            margin-bottom: 20px;
            @include media-breakpoint-down(md){
                font-size: 22px;
                br {
                    display: none;
                }
            }
            @include media-breakpoint-down(sm){
                font-size: 18px;
                line-height: 1.4em;
            }
        }
        .name{
            font-size: 14px;

        }
    }
}

/*** 

====================================================================
    Testimonial Section Three
====================================================================

***/

.testimonial-section-three{
    position: relative;
    padding: 125px 0 180px;
    @include media-breakpoint-down(xl){
        padding: 120px 0;
    }
    .bg {
        &:before {
            content: '';
            @include overlay;
            background: rgba(0, 0, 0, .3);
        }
    }
    .sec-title{
        margin-bottom: 45px;
    }
    .owl-carousel{
        padding-bottom: 40px;
        .testimonial-block-four {
            padding: 10px;
            margin: 0 195px;
            @include media-breakpoint-down(lg){
                margin: 0 60px;
            }
            @include media-breakpoint-down(md){
                margin: 0;
            }
        }
        .owl-nav{
            display: none;
        }
        .owl-dots {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .owl-dot {
                height: 5px;
                width: 40px;
                border: 1px solid #d7d7d7;
                transition: all 300ms ease;
                margin-right: 10px;
                @include media-breakpoint-down(sm){
                    width: 30px;
                }
                &.active {
                    background-color: var(--bg-theme-color1);
                    border-color: transparent;
                }
            }
        }
    }
}

.testimonial-block-three{
    position: relative;
    max-width: 770px;
    margin: 0 auto;
    .inner-box{
        position: relative;
        text-align: center;
        margin-top: 67px;
        padding-bottom: 45px;
        margin-bottom: 25px;
        background-color: transparent;
        border: 1px solid var(--theme-color-light);
        &:hover{
            .image-box{
                .thumb{
                    img{
                        transform: scale(1.1);
                    }
                }
                .icon{
                    color: var(--theme-color1);
                    background-color: var(--theme-color-light);
                    box-shadow: 0 0px 20px rgba(0, 0, 0, .1);
                }
            }
        }
        @include media-breakpoint-down(xl){
            padding-left: 30px;
            padding-right: 30px;
        }
        &:after,
        &:before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            height: 100%;
            width: 100%;
            border: 1px solid var(--theme-color-light);
        }
        &:after{
            left: 10px;
            top: 10px;
        }

        .image-box{
            display: inline-block;
            position: relative;
            margin-top: -50px;
            z-index: 3;
            .thumb{
                position: relative;
                display: inline-block;
                border-radius: 50%;
                overflow: hidden;
                margin-bottom: 13px;
                img{
                    transition: all 300ms ease;
                }
            }
            .icon{
                position: absolute;
                top: -10px;
                left: -22px;
                font-size: 32px;
                width: 58px;
                height: 58px;
                border-radius: 50%;
                text-align: center;
                line-height: 58px;
                background-color: var(--theme-color1);
                color: var(--theme-color-light);
                transform: rotate(180deg);
                transition: all 300ms ease;
            }
        }
        .text{
            font-size: 24px;
            line-height: 36px;
            color: var(--theme-color-light);
            margin-bottom: 25px;
            @include media-breakpoint-down(xl){
                br {
                    display: none;
                }
            }
            @include media-breakpoint-down(sm){
                font-size: 18px;
                line-height: 1.5em;
            }
        }
        .name{
            color: var(--theme-color-light);
            font-size: 14px;

        }
    }
}

/*** 

====================================================================
    Testimonial Section Four
====================================================================

***/

.testimonial-section-four{
    position: relative;
    padding: 120px 0 70px;
    background-color: #fafafa;
    .owl-carousel{
        padding-bottom: 50px;
        .owl-nav{
            display: none;
        }
        .owl-dots {
            position: absolute;
            left: 0;
            bottom: 55px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .owl-dot {
                height: 5px;
                width: 40px;
                border: 1px solid #d7d7d7;
                transition: all 300ms ease;
                margin-right: 10px;
                @include media-breakpoint-down(sm){
                    width: 30px;
                }
                &.active {
                    background-color: var(--bg-theme-color4);
                    border-color: transparent;
                }
            }
        }
    }
    .sec-title{
        margin-bottom: 45px;
    }
    .flower-3 {
        position: absolute;
        left: 0;
        bottom: 10px;
        @include media-breakpoint-down(lg){opacity: 0.1;}
    }
    .flower-4 {
        position: absolute;
        top: 150px;
        right: 0;
        @include media-breakpoint-down(lg){opacity: 0.1;}
    }
}

.testimonial-block-four{
    .inner-box{
        position: relative;
        text-align: center;
        padding-top: 75px;
        padding-bottom: 45px;
        &:hover{
            .image-box{
                .thumb{
                    img{
                        transform: scale(1.1);
                    }
                }
                .icon{
                    background-color: var(--theme-color-light);   
                    color: var(--theme-color4);
                    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
                }
            }
        }
        .image-box{
            display: inline-block;
            position: relative;
            margin-top: -67px;
            z-index: 3;
            .thumb{
                margin-bottom: 13px;
                display: inline-block;
                border-radius: 50%;
                overflow: hidden;
                img{
                    border-radius: 50%;
                    transition: all 300ms ease;
                }
            }
            .icon{
                position: absolute;
                top: -7px;
                left: -22px;
                font-size: 32px;
                width: 58px;
                height: 58px;
                border-radius: 50%;
                text-align: center;
                line-height: 58px;
                background-color: var(--bg-theme-color4);
                color: var(--theme-color-light);
                transform: rotate(180deg);
                transition: all 300ms ease;
            }
        }
        .text{
            font-size: 30px;
            line-height: 43px;
            color: var(--theme-color-dark);
            margin-bottom: 20px;
            @include media-breakpoint-down(md){
                br {
                    display: none;
                }
            }
            @include media-breakpoint-down(sm){
                font-size: 22px;
                line-height: 1.5em;
            }
        }
        .name{
            font-size: 14px;

        }
    }
}


/*** 

====================================================================
    Testimonial Section Five
====================================================================

***/

.testimonial-section-five{
    position: relative;
    padding: 120px 0;
    .owl-carousel{
        padding-bottom: 50px;
        .owl-nav{
            display: none;
        }
        .owl-dots {
            position: absolute;
            left: 0;
            bottom: 5px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .owl-dot {
                height: 5px;
                width: 40px;
                border: 1px solid #d7d7d7;
                transition: all 300ms ease;
                margin-right: 10px;
                @include media-breakpoint-down(sm){
                    width: 30px;
                }
                &.active {
                    background-color: var(--bg-theme-color4);
                    border-color: transparent;
                }
            }
        }
    }
    .outer-box {
        position: relative;
        background-color: var(--theme-color-light);
        max-width: 771px;
        padding: 60px 30px 50px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        z-index: 3;
        &:hover{
            .flower-12{
                right: -20px;
                top: -20px;
            }
        }
        &:before {
            content: '';
            position: absolute;
            top: 16px;
            left: 23px;
            right: 23px;
            bottom: 16px;
            border: 1px solid var(--theme-color1);
            @include media-breakpoint-down(sm){
                top: 15px;;
                right: 15px;
                bottom: 15px;
                left: 15px;
            }
        }
        .flower-12{
            position: absolute;
            right: 0;
            top: 0;
            transition: all 300ms ease;
            @include media-breakpoint-down(sm){
                display: none;
            }
        }
    }
}

.testimonial-block-five{
    .inner-box{
        position: relative;
        text-align: center;
        &:hover{
            .icon{
                transform: scaleX(-1);
            }
        }
        .icon {
            color: var(--theme-color4);
            font-size: 80px;
            line-height: 1em;
            margin-bottom: 30px;
            transition: all 300ms ease;
        }
        .title {
            color: var(--theme-color4);
            font-family: var(--style-font);
            font-weight: 400;
            font-size: 48px;
            margin-bottom: 20px;
            @include media-breakpoint-down(sm){
                font-size: 36px;
            }
        }
        .text{
            font-size: 30px;
            line-height: 48px;
            color: var(--theme-color-dark);
            margin-bottom: 20px;
            @include media-breakpoint-down(md){
                font-size: 24px;
                line-height: 1.5em;
                br {
                    display: none;
                }
            }
            @include media-breakpoint-down(sm){
                font-size: 18px;
            }
        }
        .name{
            color: var(--theme-color-dark);
            font-size: 14px;

        }
    }
}

/*** 

====================================================================
    Testimonial Section Six
====================================================================

***/

.testimonial-section-six {
    position: relative;
    padding: 80px 0 115px;
    .sec-title{
        margin-bottom: 45px;
    }
    .owl-carousel {
        max-width: 745px;
        margin: 0 auto;
        .owl-stage-outer {
            overflow: visible;
        }
        .testimonial-block-seven {
            padding: 15px;
        }
    }
    .owl-carousel{
        padding-bottom: 50px;
        .owl-nav{
            display: none;
        }
        .owl-dots {
            position: absolute;
            left: 0;
            bottom: 5px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .owl-dot {
                height: 5px;
                width: 40px;
                border: 1px solid #d7d7d7;
                transition: all 300ms ease;
                margin-right: 10px;
                @include media-breakpoint-down(sm){
                    width: 30px;
                }
                &.active {
                    background-color: var(--theme-color-light);
                    border-color: transparent;
                }
            }
        }
    }
}

.testimonial-block-six{
    position: relative;
    .inner-box{
        position: relative;
        background-color: transparent;
        text-align: center;
        margin-top: 67px;
        padding-bottom: 50px;
        border: 1px solid var(--theme-color-light);
        @include media-breakpoint-down(md){
            padding: 0 20px;
            padding-bottom: 50px;
        }
        &:after,
        &:before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            height: 100%;
            width: 100%;
            border: 1px solid var(--theme-color-light);
        }
        &:after{
            left: 10px;
            top: 10px;
        }
        &:hover{
            .image-box{
                .thumb{
                    img{
                        transform: scale(1.1);
                    }
                }
                .icon{
                    background-color: var(--bg-theme-color4);
                    color: var(--theme-color-light);
                }
            }
        }
        .image-box{
            display: inline-block;
            position: relative;
            margin-top: -67px;
            z-index: 3;
            .thumb{
                margin-bottom: 13px;
                display: inline-block;
                border-radius: 50%;
                overflow: hidden;
                img{
                    border-radius: 50%;
                    transition: all 300ms ease;
                }
            }
            .icon{
                position: absolute;
                top: -7px;
                left: -22px;
                font-size: 32px;
                width: 58px;
                height: 58px;
                border-radius: 50%;
                text-align: center;
                line-height: 58px;
                background-color: var(--theme-color-light);
                color: var(--theme-color1);
                transform: rotate(180deg);
                transition: all 300ms ease;
            }
        }
        .text{
            font-size: 24px;
            line-height: 36px;
            color: var(--theme-color-light);
            margin-bottom: 30px;
            @include media-breakpoint-down(md){
                font-size: 20px;
                br {
                    display: none;
                }
            }
        }
        .name{
            color: var(--theme-color-light);
            font-size: 14px;

        }
    }
}