/* Testimonials */
.testimonials-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0;
}

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

.testimonials-slider {
    margin-top: 3rem;
    position: relative;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    min-width: calc(50% - 1rem);
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h4 {
    color: white;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text);
    font-size: 0.9rem;
}

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

.testimonial-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-item {
        min-width: 100%;
    }
    
    .testimonials-section {
        min-height: auto;
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-controls {
        margin-top: 1.5rem;
    }
    
    .testimonial-button {
        width: 45px;
        height: 45px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 3.5rem 0;
    }
    
    .testimonial-track {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-item {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
    
    .testimonial-button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-item {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .testimonial-track {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .testimonial-quote {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }
    
    .testimonial-controls {
        margin-top: 1rem;
    }
    
    .testimonial-button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .testimonial-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 380px) {
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
}
