/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23009fe3" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: linear-gradient(145deg, #16213e 0%, #1a1a2e 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 159, 227, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 159, 227, 0.3);
    font-family: serif;
    font-weight: bold;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #009fe3, #0077b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 159, 227, 0.15);
    border-color: rgba(0, 159, 227, 0.4);
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-content {
    font-style: italic;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #009fe3, #0077b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 159, 227, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 159, 227, 0.4);
}

.author-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.author-info p {
    color: #009fe3;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}
