/* Testimonials Carousel Styles - Fixed */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 20px;
}

.testimonials-carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.testimonial-slide {
    min-width: calc(33.333% - 1.33rem);
    flex: 0 0 calc(33.333% - 1.33rem);
    box-sizing: border-box;
}

.testimonial-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-card .rating {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #1e40af;
    font-style: italic;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: #1e40af;
    width: 30px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .testimonial-slide {
        min-width: calc(50% - 1rem);
        flex: 0 0 calc(50% - 1rem);
    }
}
