/* Testimonials Carousel */

.testimonials-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(100px) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding: 0 20px;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.testimonial-card {
    background: var(--light-gray);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal-gold);
    background: var(--white);
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    font-size: 24px;
    animation: iconSpin 3s linear infinite;
}

@keyframes iconSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    margin-top: 30px;
}

.testimonial-author strong {
    display: block;
    font-size: 18px;
    color: var(--royal-blue);
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--royal-gold);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: buttonFloat 2s ease-in-out infinite;
}

@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.testimonial-btn:hover {
    background: var(--royal-gold-light);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--royal-gold);
    width: 30px;
    border-radius: 6px;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
}

.testimonial-dot:hover {
    background: var(--royal-gold-light);
    transform: scale(1.2);
}

