/* Testimonials Carousel Styles */
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
}

.testimonials-carousel-container {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-card {
    min-width: 0;
    pointer-events: auto;
}


/* Float Animation */
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.card-float {
    animation: float 3s ease-in-out infinite;
}

/* Navigation Buttons */
.cards-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.6);
    background: rgba(26, 11, 46, 0.8);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cards-nav-btn:hover {
    background: rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 1);
}

.cards-nav-prev {
    left: -56px;
}

.cards-nav-next {
    right: -56px;
}

/* Dots Indicators */
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fdba74 100%);
    width: 24px;
    border-radius: 5px;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {

    .testimonials-carousel-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        transition: transform 0.5s ease-out;
    }
    
    .testimonial-card {
        width: 100%;
        flex-shrink: 0;
        min-height: auto !important;
        padding: 1rem !important;
    }
    
    .testimonial-card h3 {
        font-size: 1.125rem !important;
        margin-bottom: 0.5rem;
    }

    .testimonial-card p {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    /* Hide navigation controls on mobile */
    #testimonialsIndicators {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-carousel-container {
        grid-template-columns: repeat(6, calc(50% - 1rem));
    }
}

@media (min-width: 1025px) {
    .testimonials-carousel-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-card.hidden-card {
        display: none;
    }
}
