/* ==================== Testimonials Section ==================== */

.testimonials {
    padding: 80px 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    /* content: url('../../logo-decorative-shape.svg'); */
    position: absolute;
    left: -90px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 350px;
    height: 450px;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.9);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

/* slider */

.testimonials-slider {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonials-track {
    flex: 1;
    overflow: hidden;
}

/* card */

.testimonial-card {
    background: linear-gradient(
        135deg,
        #f8f9fa 0%,
        var(--light-color) 100%
    );

    border-left: 4px solid var(--primary-color);
    border-radius: 12px;

    padding: 2rem 2.5rem;
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* navigation */

.testimonial-nav {
    width: 90px;
    height: 90px;
    flex-shrink: 0;

    border: none;
    background: transparent;
    cursor: pointer;

    transition: transform .3s ease;
}

.testimonial-nav:hover {
    transform: scale(1.08);
}

.testimonial-nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==================== Mobile ==================== */

@media (max-width: 768px) {

    .testimonials-slider {
        flex-direction: column;
        gap: 1rem;
    }

    .testimonials-track {
        width: 100%;
    }

    .testimonial-card {
        width: 100%;
        max-width: 100%;

        min-height: auto;

        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .testimonial-nav {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}