/**
 * Chemistry Hub - Testimonials Section Styles
 */

/* =====================================================
   Testimonials Section
   ===================================================== */
.ch-testimonials {
    background-color: var(--ch-background);
    width: 100%;
}

.ch-testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ch-testimonials-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--ch-primary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .ch-testimonials-title {
        font-size: 2.25rem;
    }
}

.ch-testimonials-description {
    color: var(--ch-muted-foreground);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.ch-testimonials-slider {
    position: relative;
}

.ch-testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.ch-testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ch-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ch-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ch-testimonial-card {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ch-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ch-testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    overflow: hidden;
    background-color: var(--ch-muted);
}

.ch-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-testimonial-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ch-gradient-green);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.ch-testimonial-info h4 {
    font-weight: 700;
    color: var(--ch-primary);
    margin-bottom: 0.25rem;
}

.ch-testimonial-info p {
    font-size: 0.875rem;
    color: var(--ch-muted-foreground);
}

.ch-testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.ch-testimonial-stars svg {
    width: 1rem;
    height: 1rem;
    color: #facc15;
    fill: #facc15;
}

.ch-testimonial-content {
    flex-grow: 1;
}

.ch-testimonial-content p {
    color: var(--ch-muted-foreground);
    line-height: 1.7;
    font-style: italic;
}

.ch-testimonial-quote {
    color: var(--ch-secondary);
    opacity: 0.3;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Testimonials Navigation */
.ch-testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.ch-testimonial-prev,
.ch-testimonial-next {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: var(--ch-card);
    border: 1px solid var(--ch-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ch-testimonial-prev:hover,
.ch-testimonial-next:hover {
    background-color: var(--ch-primary);
    color: white;
    border-color: var(--ch-primary);
}

.ch-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.ch-testimonial-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: var(--ch-border);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ch-testimonial-dot.ch-active {
    background-color: var(--ch-secondary);
}
