/* Modern Testimonials Section Styles with Teal-Purple Theme */
:root {
    --primary-teal: #3fb0ac;
    --secondary-purple: #6a4c93;
    --accent-light: #8be9fd;
    --text-light: #f8f9fa;
    --text-dark: #333333;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 100px 5%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-teal));
    min-height: 80vh;
}

/* Particles Container */
#testimonials-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Testimonials Container */
.testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Title */
.testimonials .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonials .section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--accent-light);
    left: 25%;
    bottom: -10px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 233, 253, 0.5);
}

.testimonials .section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Testimonial Card */
.testimonial {
    min-width: 100%;
    padding: 20px;
}

.testimonial-content {
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Rating Stars */
.rating {
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.rating i {
    color: #FFD700;
    font-size: 18px;
}

/* Testimonial Text */
.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
    opacity: 0.9;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-light);
    box-shadow: 0 5px 15px rgba(139, 233, 253, 0.3);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.glass-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.glass-btn:hover {
    background: var(--accent-light);
    color: var(--text-dark);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 233, 253, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 5% 60px;
    }
    
    .testimonials .section-title h2 {
        font-size: 2.2rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials .section-title h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
}
