/* Estilos generales para la sección de testimonios */
.testimonials-section {
    padding: 5em 0;
    background-color: #f8f8f8;
    text-align: center;
}
.testimonials-section .special {
    margin-bottom: 3em;
}
.testimonials-section h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 0.5em;
}
.testimonials-section p {
    color: #666;
    font-size: 1.1em;
}

/* Estilos para las estrellas de calificación */
.stars {
    color: #FFD700; /* Color dorado para las estrellas */
    font-size: 1.5em; /* Tamaño de las estrellas */
    margin-bottom: 0.5em;
}

/* Estilos para los elementos del carrusel */
.testimonial-card {
    background-color: white;
    border-radius: 1em;
    box-shadow: 0 0.5em 1em rgba(0,0,0,0.1);
    padding: 2em;
    max-width: 350px; /* Ajusta el ancho máximo de las tarjetas */
    margin: 1em; /* Margen para separación entre tarjetas en el carrusel */
    text-align: center; /* Centrar contenido dentro de la tarjeta */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px; /* Altura mínima para que las tarjetas se vean uniformes */
}

.testimonial-card .client-photo {
    width: 100px !important; /* Tamaño de la foto del cliente */
    height: 100px;
    border-radius: 50%; /* Para hacerla circular */
    object-fit: cover; /* Para asegurar que la imagen cubra el área sin distorsionarse */
    margin-bottom: 1em;
    border: 3px solid #960000; /* Borde al rededor de la foto */
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1em;
    color: #555;
}
.testimonial-card .author {
    font-weight: bold;
    color: #333;
    margin-top: 0.5em;
}
/* Estilos para la navegación del carrusel (flechas y puntos) */
.owl-nav button {
    background: #960000 !important; /* Color de fondo de las flechas */
    color: white !important;
    font-size: 2em !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 0.8 !important; /* Ajustar el centrado del ícono */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 -20px !important; /* Mover flechas fuera del carrusel */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.owl-nav button:hover {
    opacity: 1;
}
.owl-prev {
    left: -30px; /* Ajusta según sea necesario */
}
.owl-next {
    right: -30px; /* Ajusta según sea necesario */
}

.owl-dots {
    text-align: center;
    margin-top: 2em;
    
}
.owl-dots .owl-dot span {
    background: #ccc;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    display: block;
    transition: background 0.3s ease;
}
.owl-dot {
    box-shadow: none !important;
}
.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background: #960000; /* Color de los puntos activos/hover */
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .testimonial-card {
        max-width: 90%; /* Ocupa más espacio en pantallas pequeñas */
        margin: 1em auto; /* Centrar */
        padding: 1.5em;
        min-height: 300px;
    }
    .owl-nav button {
        margin: 0 0 !important; /* Quitar margen negativo en móviles */
    }
    .owl-prev {
        left: 10px;
    }
    .owl-next {
        right: 10px;
    }
}