/* Estilos para la sección de testimonios */
.testimonials-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    position: relative;
    background-image: url('img/testimonials/testimonials-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(173, 222, 255, 0.493);
    z-index: 1;
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonials-section .title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.testimonials-section .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.582);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 25px;
}

.quote-icon {
    color: #4F2987;
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #4F2987;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin: 0 0 5px;
    color: #333;
}

.author-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.nav-button {
    background-color: #4F2987;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #bd8222;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
    .testimonials-container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .testimonial-card {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .testimonials-section .title {
        font-size: 2rem;
    }
    
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-section .title {
        font-size: 1.8rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
}