/* Testimonials Page Styles */

.testimonials-page {
    padding: 80px 20px;
    background: #f1f3f4;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-quote {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1B2A49;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initial Avatar Styles */
.initials-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: #1B2A49;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-page {
        padding: 60px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }

    .author-info {
        text-align: center;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }
    
    .initials-avatar {
        font-size: 1.1rem;
    }
}