/* Section 04 Styles (Testimonials) */
.section04.testimonials-section {
    padding: 60px 0;
    background-color: #d5d7d9; /* Un fondo claro para separar secciones */
}

.section04 .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grid responsivo */
    gap: 30px; /* Espacio entre tarjetas */
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    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.12);
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #ffc107; /* Color amarillo para las estrellas */
    font-size: 1.1rem;
}

.testimonial-rating .fa-star { /* Estilo específico para estrellas llenas */
     /* Puedes añadir más estilos si es necesario */
}
.testimonial-rating .far.fa-star { /* Estilo para estrellas vacías si las usas */
    color: #e0e0e0; /* Un gris claro para estrellas vacías */
}


.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; /* Hace que el texto ocupe el espacio disponible */
}

.testimonial-author {
    font-weight: 600;
    color: #333;
    text-align: right;
    margin-top: auto; /* Empuja el autor al final de la tarjeta */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section04 .section-title {
        font-size: 2rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
        gap: 20px;
    }
    .testimonial-card {
        padding: 20px;
    }
}