@use "../utilities" as *;

/**----------------------------------------
    START: Testi CSS
----------------------------------------*/

.testimonail-section{
    @include background;
    width: 100%;
    height: 100%;
}

.testi-item{
    background-color: var(--bz-color-common-white);
    box-shadow: 0px 15px 41px rgba(13, 22, 39, 0.08);
    padding: 50px;
    border-radius: 10px;
    @include breakpoint(md){
        padding: 40px 20px;
    }
    .testi-top{
        @include flex-vertical-center;
        justify-content: space-between;
        flex-wrap: wrap;
        row-gap: 15px;
        margin-bottom: 30px;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--bz-color-border-1);
        .testi-author{
            display: grid;
            align-items: center;
            grid-template-columns: 80px 1fr;
            grid-gap: 15px;
            img{
                height: 80px;
                width: 80px;
                object-fit: cover;
            }
            .name{
                font-size: 24px;
                font-weight: 600;
                margin-bottom: 0;
                span{
                    font-size: 16px;
                    color: var(--bz-color-theme-primary);
                    font-weight: 400;
                    margin-top: 5px;
                    display: block;
                }
            }
        }
        .quote{
            @include breakpoint(sm){
                display: none;
            }
        }
    }
    p{
        color: var(--bz-color-text-body);
        font-size: 20px;
        line-height: 34px;
        font-style: italic;
        margin-bottom: 0;
    }
}


.testi-carousel-2,
.testi-carousel{
    padding-bottom: 90px;
    @include breakpoint(md){
        padding-bottom: 60px;
    }
    .swiper-pagination{
        bottom: 0;
        .swiper-pagination-bullet{
            background-color: var(--bz-color-heading-primary);
            margin: 0 10px;
            opacity: 1;
            &.swiper-pagination-bullet-active{
                position: relative;
                background-color: var(--bz-color-theme-primary);
                &:before{
                    background-color: transparent;
                    content: "";
                    height: 17px;
                    width: 17px;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    border-radius: 50%;
                    border: 1px solid var(--bz-color-theme-primary);
                }
            }
        }
    }
}


// Testi 2

.testimonial-section-2{
    position: relative;
    z-index: 1;
    max-width: 1860px;
    width: 100%;
    margin: 0 auto;
    .bg-color{
        background-color: var(--bz-color-heading-primary);
        height: 63%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0 0 15px 15px;
    }
}

.testi-card{
    background-color: var(--bz-color-common-white);
    padding: 30px 40px;
    border-radius: 15px;
    border: 1px solid var(--bz-color-border-1);
    position: relative;
    @include breakpoint(sm){
        padding: 30px;
    }
    .testi-img{
        position: absolute;
        top: -1px;
        left: -1px;
        border-radius: 15px 0 15px 0;
        overflow: hidden;
    }
    .testi-author{
        padding-left: 90px;
        margin-bottom: 50px;
        .name{
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 0;
            @include breakpoint(sm){
                font-size: 20px;
            }
        }
        .review{
            margin-top: 5px;
            li{
                display: inline-flex;
                color: var(--bz-color-theme-primary);
            }
        }
    }
    p{
        margin-bottom: 20px;
        padding-bottom: 25px;
        border-bottom: 1px solid var(--bz-color-border-1);
    }
    .testi-bottom{
        @include flex-vertical-center;
        justify-content: space-between;
    }
}

// Testi 3

.testimonial-section-3{
    padding-top: 270px;
    @include background;
    width: 100%;
    height: 100%;
    @include breakpoint(md){
        padding-top: 200px;
    }
}

.testi-carousel-2{
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.testi-item-2{
    background: var(--bz-color-common-white);
    border: 1px solid #E6E6E6;
    box-shadow: 0px 14px 68px #E8E8E8;
    border-radius: 15px;
    padding: 40px;
    @include breakpoint(sm){
        padding: 30px 20px;
    }
    .testi-top{
        @include flex-vertical-center;
        justify-content: space-between;
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--bz-color-border-1);
        flex-wrap: wrap;
        row-gap: 15px;
        .testi-author{
            display: grid;
            align-items: center;
            grid-template-columns: 60px 1fr;
            grid-gap: 15px;
            .name{
                font-size: 22px;
                font-weight: 600;
                margin-bottom: 0;
                span{
                    display: block;
                    font-family: var(--bz-ff-body);
                    font-size: 14px;
                    color: var(--bz-color-text-body);
                    font-weight: 400;
                    margin-top: 5px;
                }
            }
        }
        .review{
            li{
                display: inline-flex;
                color: #FFB930;
            }
        }
    }
    p{
        font-weight: 500;
        margin-bottom: 0;
    }
}

/* !END: Testi CSS */
