/* Custom CSS for new testimonials */
:root {
    --testim-bg: #000000;
    --testim-text-main: #FFFFFF;
    --testim-text-sec: #9CA3AF;
    --testim-accent: #FFFFFF;
}

.testimonials-section {
    background-color: var(--testim-bg);
    padding: 24px;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--testim-text-main);
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px;
}

.testimonials-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Glassmorphism Card */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, opacity 0.6s ease, border-color 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    /* For scroll animation */
}

/* Show class added via JS */
.testimonial-card.show {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.customer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.customer-photo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.customer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-name {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 14px;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: #D1D5DB;
    /* light gray for quote text */
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px;
    }
}