.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.testimonial-text {
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    font-size: 16px;
    color: #222;
    margin-bottom: 4px;
}

.testimonial-position {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.testimonial-position-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.testimonial-position-link:hover {
    color: #0066cc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}