/* Enhanced Testimonials Section */
.testimonials {
    background-color: #410099;
    color: white;
    padding: 80px 0;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(124, 77, 255, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(124, 77, 255, 0.3) 0%, transparent 25%),
        url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonial-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #e0d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.testimonial-header h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF6B4A, #FF9671);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.testimonial-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.testimonial-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    margin: 0 auto 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-image {
    width: 200px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B4A 0%, #FF9671 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 74, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
    flex: 1;
    padding: 40px 40px 30px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    margin-bottom: 15px;
}

.testimonial-author h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #FFD166;
}

.testimonial-author p {
    font-size: 14px;
    opacity: 0.7;
}

.rating {
    color: #FFD166;
    font-size: 18px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev-arrow {
    left: -10px;
}

.next-arrow {
    right: -10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FF6B4A;
    transform: scale(1.2);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .testimonial-card {
        flex-direction: column;
        max-width: 600px;
    }
    
    .testimonial-image {
        width: 100%;
        padding: 30px 30px 0;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .testimonial-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-header h2 {
        font-size: 28px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: 14px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
}