/* Testimonials Section Styles - Exact Match to Image */

.testimonials-section {
    background: #ffffff;
    padding: 80px 0;
    min-height: 500px;
}

.testimonials-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.educators-brand {
    position: relative;
    color: #1a1a1a;
}

.educators-brand::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #10B981;
    border-radius: 2px;
}

.testimonials-subtitle {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 60px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    color: #D1D5DB;
    font-size: 1.5rem;
    margin-bottom: 16px;
    opacity: 0.7;
}

.testimonial-quote {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 24px 0;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    color: #9CA3AF;
    font-size: 1.25rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.author-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #6B7280;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonials-title {
        font-size: 2.25rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 14px;
    }
    
    .testimonials-subtitle {
        font-size: 0.95rem;
        margin-bottom: 50px;
    }
    
    .testimonial-card {
        margin-bottom: 30px;
        padding: 25px;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonials-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .testimonials-subtitle {
        font-size: 0.9rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .testimonial-card {
        margin-bottom: 25px;
        padding: 20px;
    }
    
    .quote-icon {
        font-size: 1.25rem;
        margin-bottom: 14px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .author-avatar {
        width: 42px;
        height: 42px;
    }
    
    .author-avatar i {
        font-size: 1.125rem;
    }
    
    .author-name {
        font-size: 0.9rem;
    }
    
    .author-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .testimonials-subtitle {
        font-size: 0.85rem;
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
        padding: 18px;
    }
    
    .quote-icon {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }
    
    .testimonial-quote {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .author-avatar {
        width: 38px;
        height: 38px;
    }
    
    .author-avatar i {
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 0.85rem;
    }
    
    .author-title {
        font-size: 0.7rem;
    }
}

/* Animation Effects */
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.testimonial-card:hover .quote-icon {
    color: #10B981;
    opacity: 1;
}

.testimonial-card:hover .author-avatar {
    background: #E0F2FE;
}

.testimonial-card:hover .author-avatar i {
    color: #3B82F6;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .testimonial-card {
        border: 2px solid #000000;
    }
    
    .testimonials-title {
        color: #000000;
    }
    
    .testimonial-quote {
        color: #000000;
    }
    
    .author-name {
        color: #000000;
    }
    
    .author-title {
        color: #333333;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        animation: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
}
