/* 用户评价部分样式 */
.testimonials {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.testimonials h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.testimonials > p {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    font-style: italic;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: serif;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        max-width: 100%;
    }
}
