/* Testimonials Section Styles */
.testimonials {
    padding: 100px 0;
    background-color: #080808;
    position: relative;
    overflow: hidden;
}

/* Background effect */
.testimonials::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.03) 0%, rgba(46, 204, 113, 0.01) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Testimonials wrapper */
.testimonials-wrapper {
    position: relative;
    z-index: 1;
    margin: 40px 0;
}

/* Testimonials slider */
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0 40px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Testimonial card */
.testimonial-card {
    flex: 0 0 auto;
    width: calc(100% - 30px);
    scroll-snap-align: center;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 204, 113, 0.1);
}

/* Testimonial content */
.testimonial-content {
    padding: 40px;
    position: relative;
}

/* Quote icon */
.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    color: rgba(46, 204, 113, 0.2);
    transform: rotate(180deg);
}

/* Testimonial text */
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Author info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Navigation dots */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

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

.nav-dot.active {
    background: #2ecc71;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(46, 204, 113, 0.5);
}

/* Show navigation dots on mobile, hide on desktop */
@media (min-width: 1024px) {
    .testimonial-nav {
        display: none;
    }
}

/* CTA section */
.testimonials-cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .testimonial-card {
        width: calc(80% - 30px);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        width: calc(50% - 30px);
    }
}

@media (min-width: 1200px) {
    .testimonial-card {
        width: calc(33.333% - 30px);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 70px 0;
    }
    
    .testimonial-content {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 50px 0;
    }
    
    .testimonial-content {
        padding: 25px;
    }
    
    .quote-icon {
        top: 20px;
        right: 20px;
    }
    
    .quote-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Simple JavaScript for the testimonial slider (add to end of document) */
/* 
document.addEventListener('DOMContentLoaded', function() {
    const slider = document.querySelector('.testimonials-slider');
    const dots = document.querySelectorAll('.nav-dot');
    const cards = document.querySelectorAll('.testimonial-card');
    
    dots.forEach((dot, index) => {
        dot.addEventListener('click', () => {
            // Update active dot
            document.querySelector('.nav-dot.active').classList.remove('active');
            dot.classList.add('active');
            
            // Scroll to corresponding testimonial
            const card = cards[index];
            slider.scrollLeft = card.offsetLeft - slider.offsetLeft;
        });
    });
});
*/