/* Testimonials Section */
#testimonials.testimonials-section {
    background: linear-gradient(135deg, #f5faf5 0%, #c8e2c3 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Header */
#testimonials .section-header {
    text-align: center;
    margin-bottom: 80px;
}

#testimonials .section-badge {
    display: inline-block;
    background: var(--primary-green, #28a745);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 4px;
}

#testimonials .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.2;
    margin-bottom: 20px;
}

#testimonials .section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonial Carousel */
#testimonials .testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

#testimonials .testimonial-wrapper {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

#testimonials .testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

#testimonials .testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Testimonial Content */
#testimonials .testimonial-content {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

#testimonials .testimonial-content:hover {
    transform: translateY(-5px);
}

/* Quote Icon */
#testimonials .quote-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green, #28a745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #ffffff;
    font-size: 24px;
}

/* Testimonial Text */
#testimonials .testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

/* Rating Stars */
#testimonials .testimonial-rating {
    margin-bottom: 30px;
}

#testimonials .testimonial-rating i {
    color: #ffd700;
    font-size: 18px;
    margin: 0 2px;
}

/* Client Info */
#testimonials .client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#testimonials .client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-green, #28a745);
    flex-shrink: 0;
}

#testimonials .client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#testimonials .client-details {
    text-align: left;
}

#testimonials .client-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 5px 0;
}

#testimonials .client-designation {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Navigation */
#testimonials .testimonial-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

#testimonials .nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    color: var(--primary-green, #28a745);
    font-size: 18px;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#testimonials .nav-btn:hover {
    background: var(--primary-green, #28a745);
    color: #ffffff;
    transform: scale(1.1);
}

#testimonials .prev-btn {
    left: -25px;
}

#testimonials .next-btn {
    right: -25px;
}

/* Pagination Dots */
#testimonials .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

#testimonials .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(40, 167, 69, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

#testimonials .dot.active,
#testimonials .dot:hover {
    background: var(--primary-green, #28a745);
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    #testimonials.testimonials-section {
        padding: 80px 0;
    }
    
    #testimonials .section-title {
        font-size: 2.2rem;
    }
    
    #testimonials .section-header {
        margin-bottom: 60px;
    }
    
    #testimonials .testimonial-content {
        padding: 40px 30px;
    }
    
    #testimonials .testimonial-text {
        font-size: 16px;
    }
    
    #testimonials .client-info {
        flex-direction: column;
        gap: 15px;
    }
    
    #testimonials .client-details {
        text-align: center;
    }
    
    #testimonials .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    #testimonials .prev-btn {
        left: -15px;
    }
    
    #testimonials .next-btn {
        right: -15px;
    }
}

@media (max-width: 480px) {
    #testimonials .section-title {
        font-size: 1.8rem;
    }
    
    #testimonials .testimonial-content {
        padding: 30px 20px;
    }
    
    #testimonials .testimonial-text {
        font-size: 15px;
    }
    
    #testimonials .quote-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    #testimonials .client-avatar {
        width: 60px;
        height: 60px;
    }
    
    #testimonials .client-name {
        font-size: 16px;
    }
    
    #testimonials .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    #testimonials .prev-btn {
        left: -10px;
    }
    
    #testimonials .next-btn {
        right: -10px;
    }
}

/* Animation Classes */
#testimonials .fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
