﻿/*=========================================================
TESTIMONIALS SECTION
=========================================================*/

.testimonials-section {
    padding: 90px 0;
    background: #F8FAFD;
    overflow: hidden;
}

    .testimonials-section .testimonial-subtitle {
        color: #0B3D91;
        font-size: 50px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .testimonials-section .testimonial-title {
        margin-top: 10px;
        font-size: 40px;
        font-weight: 800;
        background: linear-gradient(90deg,#E91E63,#7C4DFF,#2979FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .testimonials-section .testimonial-text {
        font-size: 20px;
        color: #666;
        font-weight: 600;
        max-width: 800px;
        margin: 20px auto 0;
        line-height: 1.8;
    }

/*=========================================================
SLIDER
=========================================================*/

.testimonial-slider {
    overflow: hidden;
    margin-top: 60px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollTestimonials 35s linear infinite;
}

    .testimonial-track:hover {
        animation-play-state: paused;
    }

/*=========================================================
CARD
=========================================================*/

.testimonial-card {
    width: 360px;
    min-height: 260px;
    background: #FFFFFF;
    border-radius: 25px;
    padding: 35px;
    border: 1px solid #E8EEFF;
    box-shadow: 0 15px 35px rgba(41,121,255,.12);
    transition: .4s;
    flex-shrink: 0;
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(41,121,255,.25);
        border-color: #2979FF;
    }

/*=========================================================
STARS
=========================================================*/

.stars {
    font-size: 22px;
    color: #FF9800;
    margin-bottom: 20px;
}

/*=========================================================
REVIEW
=========================================================*/

.testimonial-card p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
    min-height: 120px;
}

/*=========================================================
NAME
=========================================================*/

.testimonial-card h4 {
    color: #08285C;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-card span {
    color: #FF9800;
    font-weight: 600;
    font-size: 15px;
}

/*=========================================================
AUTO SCROLL
=========================================================*/

@keyframes scrollTestimonials {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:991px) {

    .testimonials-section {
        padding: 70px 0;
    }

        .testimonials-section .testimonial-title {
            font-size: 40px;
        }

    .testimonial-card {
        width: 320px;
    }
}

@media(max-width:576px) {

    .testimonials-section {
        padding: 60px 0;
    }

        .testimonials-section .testimonial-title {
            font-size: 34px;
        }

        .testimonials-section .testimonial-text {
            font-size: 16px;
        }

    .testimonial-card {
        width: 280px;
        padding: 25px;
    }

        .testimonial-card h4 {
            font-size: 20px;
        }
}
