/* Testimonials Section */
.testimonials {
    background: linear-gradient(to right, rgba(6, 182, 212, 0.05), rgba(124, 58, 237, 0.05));
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg');
    opacity: 0.05;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2);
    border-color: rgba(124, 58, 237, 0.2);
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
    color: var(--text-light);
}

.author-avatar {
    font-weight: bold;
    background: var(--gradient-2);
}

/* Mobile styles */
@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        margin-bottom: 1.5rem;
    }
}

/* Pattern SVG for background */
@media (prefers-reduced-motion: no-preference) {
    .testimonial {
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
}
