/* Testimonials Section - Redesigned */
.testimonials-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #a855f7, #667eea, #ff6b35);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.15);
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
}

.testimonial-card-featured {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, rgba(102, 126, 234, 0.03) 100%);
    border: 2px solid rgba(168, 85, 247, 0.2);
}

.testimonial-quote-icon {
    font-size: 32px;
    color: rgba(168, 85, 247, 0.2);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    color: rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 32px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.avatar-initials {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.author-location {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-location i {
    font-size: 12px;
    color: rgba(168, 85, 247, 0.6);
}

/* Responsive */
@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }
    
    .testimonial-card {
        padding: 28px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .author-role {
        font-size: 13px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .testimonials-section {
        padding: 48px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .testimonial-card {
        padding: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
