/* ═══════════════════════════════════════════
   Testimonials Section
   ═══════════════════════════════════════════ */

.testimonials-section {
    position: relative;
    padding: 50px 0;
    background-color: #1a3353;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.testimonials-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ── */
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.testimonials-label::before,
.testimonials-label::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.testimonials-title {
    font-size: 42px;
    line-height: 1.2;
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.testimonials-title .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ── Carousel ── */
.testimonials-carousel {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    min-height: 280px;
}

/* ── Slide ── */
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-card {
    text-align: center;
    padding: 0 20px;
}

/* Quote icon */
.quote-icon {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0.7;
}

/* Testimonial text */
.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 35px;
}

.testimonial-text p {
    margin: 0;
}

/* Author block */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.author-company {
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* ── Arrows ── */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.testimonial-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}

.testimonial-prev {
    left: -80px;
}

.testimonial-next {
    right: -80px;
}

/* ── Dots ── */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

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

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .testimonial-prev {
        left: -10px;
    }

    .testimonial-next {
        right: -10px;
    }
}

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

    .testimonials-title {
        font-size: 28px;
    }

    .testimonial-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .testimonials-track {
        min-height: 280px;
    }

    .testimonial-arrow {
        display: none;
    }

    .testimonial-prev,
    .testimonial-next {
        left: auto;
        right: auto;
    }

    .testimonials-header {
        margin-bottom: 40px;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 10px;
    }

    .author-info {
        text-align: center;
    }
}