/* ============================================================================
   Testimonials Section - Slider Component
   ========================================================================== */

   .testimonials-section {
    background: #184267;
    color: var(--testimonials-text, #ffffff);
    position: relative;
    overflow: hidden;
    /* padding: 70px 0 150px !important; */
}

.testimonials-section_container {
    position: relative;
    z-index: 2;
}

.testimonials-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Section Header */
.testimonials-header {
    margin-bottom: calc(var(--space-base, 16px) * 3);
}

.testimonials-sub-heading {
    display: block;
    font-family: var(--h5-h6-font-family, "dm-sans", sans-serif);
    font-size: var(--h6-size, 16px);
    font-weight: var(--heading-font-weight, 600);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--testimonials-accent, #06b3ea);
    margin-bottom: var(--heading-margin, 24px);
}

.testimonials-heading {
    font-family: var(--h1-h2-font-family, 'Roboto Slab', serif);
    color: var(--testimonials-heading-color, #ffffff);
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 600);
    line-height: var(--heading-line-height, 1.2);
    margin-bottom: 0;
}

/* Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    min-height: 400px;
    height: auto;
    display: flex;
    align-items: center;
    transition: height 0.6s ease-in-out;
}

/* Testimonial Slides */
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-content {
    padding: calc(var(--space-base, 16px) * 2) 0;
    width: 100%;
    text-align: center;
}

/* Testimonial Text */
.testimonial-text {
    font-family: var(--body-font-family, "dm-sans", sans-serif);
    font-size: calc(var(--body-font-size, 16px) * 1.125);
    font-weight: var(--body-font-weight, 400);
    line-height: var(--body-line-height, 1.6);
    color: var(--testimonials-text, #ffffff);
    margin-bottom: var(--heading-margin, 24px);
    max-width: 80%;
    margin-left: auto!important;
    margin-right: auto!important;
    font-style: italic;
}

.testimonial-text p {
    margin-bottom: 0;
}

/* Client Info */
.testimonial-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space-base, 16px) * 1);
    margin-top: calc(var(--space-base, 16px) * 2);
}

.testimonial-image {
    display: flex;
    justify-content: center;
}

.client-image {
    width: 50px;
    height: 100%;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.client-name {
    font-family: var(--h5-h6-font-family, "dm-sans", sans-serif);
    font-size: var(--h5-size, 18px);
    font-weight: var(--heading-font-weight, 600);
    color: var(--testimonials-heading-color, #ffffff);
    margin-bottom: 0!important;
    line-height: var(--heading-line-height, 1.2);
}

.client-company {
    font-family: var(--body-font-family, "dm-sans", sans-serif);
    font-size: var(--h6-size, 16px);
    font-weight: 600;
    color: var(--testimonials-accent, #06b3ea);
    margin: 0;
}

/* Navigation */
.testimonials-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
}

.testimonial-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--testimonials-text, #ffffff);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--testimonials-accent, #06b3ea);
    color: var(--testimonials-accent, #06b3ea);
    transform: scale(1.1);
}

.testimonial-nav:active {
    transform: scale(0.95);
}

.testimonial-nav svg {
    width: 20px;
    height: 20px;
}

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

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

/* Dots Indicators */
.testimonials-dots {
    display: none;
    justify-content: center;
    gap: calc(var(--space-base, 16px) * 0.75);
    margin-top: calc(var(--space-base, 16px) * 3);
}

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

.testimonial-dot:hover,
.testimonial-dot.active {
    background: var(--testimonials-accent, #06b3ea);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    
    .testimonial-content {
        max-width: 80%;
    }

    .testimonials-slider {
        min-height: 350px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }

    .testimonial-text {
        padding: 0;
        max-width: 100%;
    }
    
    .testimonial-prev {
        left: -10px;
    }
    
    .testimonial-next {
        right: -10px;
    }
    
    .testimonial-client {
        flex-direction: column;
        gap: calc(var(--space-base, 16px) * 0.75);
    }
    
    .client-info {
        text-align: center;
    }
    
    .client-image {
        width: 50px;
        height: 50px;
    }
    
}

@media (max-width: 480px) {
    .testimonial-content {
        max-width: 100%;
    }

    .testimonials-slider {
        min-height: 400px;
    }
    
    .testimonials-navigation {
        position: static;
        transform: none;
        justify-content: center;
        gap: calc(var(--space-base, 16px) * 2);
        margin-top: calc(var(--space-base, 16px) * 2);
    }
    
    .testimonial-prev,
    .testimonial-next {
        position: static;
    }

}
