/* ==================================================
   TESTIMONIALS SECTION
   ================================================== */
.testimonials-section {
    position: relative;
    padding: 140px 0 100px;
    background: var(--primary-black);
    color: #ffffff;
}

.testi-decor-left {
    position: absolute;
    top: -24px;
    left: 0;
    width: 140px;
    height: 24px;
    background: var(--accent-yellow);
}

.testi-decor-right {
    position: absolute;
    top: -24px;
    right: 0;
    width: 250px;
    height: 24px;
    background: var(--accent-yellow);
}

.testi-container {
    max-width: 1100px;
    margin: auto;
    position: relative;
}

.testi-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.testi-subtitle {
    color: var(--accent-yellow);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

.quote-mark {
    color: var(--accent-yellow);
    font-size: 50px;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
}

.testimonial-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

.main-quote {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: -1px;
    height: auto;
}

.slide-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

/* Remove .testi-separator as we used border-top instead */
.testi-separator {
    display: none;
}

/* Fixed Controls */
.carousel-controls {
    position: absolute;
    bottom: 5px;
    /* Aligned vertically with author info */
    right: 0;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--accent-yellow);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-yellow);
    color: var(--primary-black);
    transform: scale(1.05);
}

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

    .carousel-controls {
        position: static;
        margin-top: 20px;
        justify-content: flex-end;
    }

    .testimonial-carousel-wrapper {
        padding-bottom: 20px;
    }
}