/* ========= TESTIMONIALS ========= */
.testimonials-section {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.testimonials-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0;
}

.testimonial-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    h3 {
        font-weight: 600;
        font-size: 20px;
        line-height: 120%;
        letter-spacing: 2px;
        text-align: center;
        text-transform: uppercase;
        color: #2491EB;
        margin: 0;
        padding: 0;
    }
    h2 {
        font-weight: 600;
        font-size: 40px;
        line-height: 120%;
        letter-spacing: 0;
        text-align: center;
        text-transform: uppercase;
        margin: 0;
        padding: 0;
    }
}

.testimonials-slider {
    margin-bottom: 28px;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.testimonial-card {
    position: relative;
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 40px;
    flex-shrink: 0;
    width: 500px;
}

.testimonial-card.active {
    box-shadow: 0 14px 40px rgba(0, 123, 255, 0.15);
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 62px;
    height: 62px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-info h3 {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

.testimonial-meta {
    margin-top: 2.5px;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
}

.testimonial-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background-color: #EEEEEE;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.testimonial-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.testimonial-dot.active {
    background-color: #007bff;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .testimonials-inner {
        gap: 32px;
    }

    .testimonial-top {
        gap: 12px;
        padding: 0 24px;
        h3 {
            font-size: 16px;
        }
        h2 {
            font-size: 32px;
        }
    }

    .testimonials-slider {
        overflow: hidden;
    }

    .testimonials-track {
        gap: 24px;
    }

    .testimonial-card {
        width: calc(100vw - 48px);
        max-width: 400px;
        padding: 32px 24px;
    }

    .testimonial-quote-icon {
        width: 38px;
        height: 39px;
    }

    .testimonial-meta, .testimonial-text {
        font-size: 16px;
    }

    .testimonial-info h3 {
        font-size: 20px;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }
}