/* ===================================
   AysimaPOS Landing Page - Testimonials Section
   Modern SaaS Design - Variables Based
   =================================== */

.testimonials-section {
    padding: 0;
}

.testimonials-section .section-content-wrapper {
    background: #f8f9fa;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: var(--spacing-8);
    border-radius: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    height: 100%;
    box-shadow: var(--shadow-md);
    border: none;
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.testimonial-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-duration-300) var(--transition-timing-function-out);
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-content {
    padding: var(--spacing-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.testimonial-rating {
    display: flex;
    gap: var(--spacing-1);
    margin-bottom: var(--spacing-4);
}

.testimonial-rating i {
    color: var(--warning-500);
    font-size: var(--font-size-lg);
}

.testimonial-text {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--gray-700);
    margin-bottom: var(--spacing-6);
    flex-grow: 1;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: var(--font-size-3xl);
    color: var(--primary-300);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.4rem;
}

.testimonial-text::after {
    content: '"';
    font-size: var(--font-size-3xl);
    color: var(--primary-300);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.4rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding-top: var(--spacing-4);
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    border: 2px solid var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    margin-bottom: var(--spacing-1);
    display: block;
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .testimonials-section .section-content-wrapper {
        padding: var(--spacing-6);
    }
    
    .testimonial-image {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section .section-content-wrapper {
        padding: var(--spacing-4);
    }
    
    .testimonial-image {
        height: 200px;
    }
    
    .testimonial-content {
        padding: var(--spacing-5);
    }
    
    .testimonial-text {
        font-size: var(--font-size-sm);
    }
    
    .author-name {
        font-size: var(--font-size-base);
    }
}
