/* Custom Carousel Styles */
.custom-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
}

.carousel-track > * {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .carousel-track > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-track > * {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Navigation Buttons */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background-color: #2563eb;
}

.carousel-btn:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
}

/* Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s;
    display: none;
}

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

/* Testimonial Specific Styles */
.testimonial-slide {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quote-icon {
    color: #3b82f6;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-avatar.placeholder {
    background-color: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.star.empty {
    color: #d1d5db;
}
