/* 
 * Testimonials Section - Modern Premium Design
 */

.testimonials-section {
    background: #f8fafc;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.testimonial-content {
    margin-bottom: 2rem;
}

/* Quote Icon */
.testimonial-quote-icon {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    color: #bfdbfe;
    /* Light blue on hover */
}

/* Rating */
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
    /* Amber 400 */
}

/* Text */
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    font-style: italic;
}

.testimonial-text p {
    margin: 0;
}

/* Author Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-card {
        padding: 2rem;
    }
}