/* Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonials-coming-soon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 14, 23, 0.55);
    z-index: 10;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.coming-soon-content {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(52, 152, 255, 0.2);
    box-shadow: 0 0 30px rgba(52, 152, 255, 0.1);
}

.coming-soon-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', sans-serif;
}

.coming-soon-subtext {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 255, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 90% 30%, rgba(167, 66, 245, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 50% 70%, rgba(52, 152, 255, 0.1) 0%, transparent 45%);
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.6; }
}

.testimonial-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Testimonial Card Improvements */
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 1rem;
    border: 1px solid rgba(52, 152, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease, 
                opacity 0.5s ease;
    display: none;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
}

.testimonial-card.active {
    display: block;
    animation: testimonialFadeIn 0.7s forwards;
}

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

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(52, 152, 255, 0.2);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(52, 152, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover::before {
    color: rgba(52, 152, 255, 0.2);
    transform: scale(1.1);
}

.testimonial-avatar {
    transition: all 0.3s ease;
    border: 2px solid rgba(52, 152, 255, 0.3);
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(52, 152, 255, 0.4);
}

.testimonial-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(52, 152, 255, 0.5);
}

.testimonial-dot {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-dot.active {
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(52, 152, 255, 0.5);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(52, 152, 255, 0.3);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(52, 152, 255, 0.3);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.testimonial-dot.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-info p {
        font-size: 0.8rem;
    }
}