@use "../utilities" as *;

/**----------------------------------------
    START: Testimonial CSS
----------------------------------------*/

.testimonial-section{
    background-color: #06192F;
}

.testi-top{
    .swiper-arrow{
        @include flex-vertical-center;
        column-gap: 10px;
        .swiper-nav{
            background-color: var(--cp-color-theme-primary);
            color: var(--cp-color-text-black);
            height: 56px;
            width: 56px;
            @include flex-center;
            border-radius: 50%;
            @include transition(all 0.3s ease-in-out);
            &:hover{
                background-color: var(--cp-color-common-white);
            }
        }
    }
}

.testi-wrapper{
    border-bottom: 1px solid var(--cp-color-border-1);
}

.testi-item{
    padding: 50px 60px;
    border: 1px solid var(--cp-color-border-1);
    border-radius: 8px;
    @include breakpoint(sm){
        padding: 50px 20px;
    }
    .icon{
        margin-bottom: 30px;
    }
    p{
        font-size: 24px;
        font-weight: 400;
        line-height: 1.4;
        margin-bottom: 40px;
    }
    .testi-author-box{
        @include flex-vertical-center;
        justify-content: space-between;
        column-gap: 20px;
        flex-wrap: wrap;
        row-gap: 20px;
        .testi-author{
            display: grid;
            align-items: center;
            grid-template-columns: 60px 1fr;
            grid-gap: 20px;
            .author-thumb{
                height: 60px;
                width: 60px;
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 50%;
                }
            }
            .content{
                .name{
                    font-size: 24px;
                    font-weight: 600;
                    margin-bottom: 5px;
                }
                span{
                    line-height: 1;
                }
            }
        }
    }
}


// Testi 2

.testi-left-content{
    display: flex;
    align-items: baseline;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    .testi-client-wrap{
        max-width: 450px;
        width: 100%;
        margin-bottom: 30px;
        .testi-author-list{
            @include flex-vertical-center;
            li{
                height: 56px;
                width: 56px;
                @include flex-center;
                border-radius: 50%;
                border: 3px solid var(--cp-color-common-white);
                &:not(:first-of-type){
                    margin-left: -20px;
                }
                &.icon{
                    background-color: var(--cp-color-theme-primary);
                    color: var(--cp-color-text-black);
                }
            }
        }
        .desc{
            font-family: var(--cp-ff-heading);
            color: var(--cp-color-common-white);
            font-size: 22px;
            font-weight: 500;
            margin-top: 20px;
        }
    }
    .swiper-arrow{
        @include flex-vertical-center;
        column-gap: 10px;
        .swiper-nav{
            background-color: var(--cp-color-theme-primary);
            color: var(--cp-color-text-black);
            height: 56px;
            width: 56px;
            @include flex-center;
            border-radius: 50%;
            @include transition(all 0.3s ease-in-out);
            &:hover{
                background-color: var(--cp-color-common-white);
            }
        }
    }
}

.testi-item-wrap{
    display: grid;
    align-items: center;
    grid-template-columns: 350px 1fr;
    grid-gap: 100px;
    @include breakpoint(lg){
        grid-gap: 30px;
    }
    @include breakpoint(md){
        margin-top: 40px;
    }
    @include breakpoint(sm){
        grid-template-columns: 1fr;
    }
    .testi-item{
        padding: 0;
        border: none;
        p{
            @include breakpoint(lg){
                font-size: 20px;
            }
        }
        .testi-author-box{
            .testi-author{
                grid-template-columns: 1fr;
            }
        }
    }
}

// Testi Counter

.testi-counter-area{
    padding: 135px 0 0 0;
    @include breakpoint(md){
        padding-top: 70px;
    }
    @include breakpoint(sm){
        padding-top: 50px;
    }
    .counter-item-wrapper{
        @include flex-vertical-center;
        @include breakpoint(sm){
            flex-direction: column;
            row-gap: 34px;
        }
        &>div{
            &:not(:last-of-type){
                margin-right: 117px;
                padding-right: 117px;
                border-right: 1px solid rgba(255, 255, 255, 0.1);
                @include breakpoint(xl){
                    margin-right: 85px;
                    padding-right: 85px;
                }
                @include breakpoint(lg){
                    margin-right: 65px;
                    padding-right: 65px;
                }
                @include breakpoint(md){
                    margin-right: 30px;
                    padding-right: 30px;
                    border: none;
                }
                @include breakpoint(sm){
                    margin-right: 0;
                    padding-right: 0;
                }
            }
        }
    }
}

.testi-counter-area.area-2{
    padding-bottom: 150px;
    @include breakpoint(md){
        padding-bottom: 80px;
    }
    @include breakpoint(sm){
        padding-bottom: 80px;
    }
}

.counter-item{
    .title{
        font-family: var(--cp-ff-heading);
        font-size: 80px;
        font-weight: 500;
        margin-bottom: 5px;
        @include flex-vertical-center;
        justify-content: center;
        line-height: 1;
        @include breakpoint(lg){
            font-size: 60px;
        }
        .odometer-auto-theme{
            font-family: inherit;
            line-height: 1;
        }
    }
    p{
        line-height: 1;
        margin-bottom: 0;
    }
}

// Testi Counter Inner

.testi-counter-area-2{
    padding-bottom: 150px;
    padding-top: 0;
}

.counter-item-wrap{
    height: 270px;
    width: 270px;
    @include flex-center;
    border: 1px dashed #E7E7E7;
    border-radius: 50%;
}

// Testi 2

.testi-item-2{
    background-color: var(--cp-color-bg-2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* !END: Testimonial CSS */
