.testimonial-section {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.carousel-container-testimonios {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.carous {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 350px;
}

.testimonial {
    width: 30%;
    flex-shrink: 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 320px;             
}

.image-container {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.circular-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.testimonial p {
    font-size: 1em;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0px;
}

.testimonial h4 {
    font-size: 1.1em;
    font-weight: 700;
    color: #555;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

#star_testimonios {
    color: #FEC42D;
}

#google-icon {
    color: #A4C735;
    font-size: 45px;
}

.stars-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}


/* Media Queries para pantallas pequeñas */
@media (max-width: 768px) {
    
    .carous
    {
        height: 1000px;
    }
    
    .testimonial-section {
        width: 90%;
        height: 1000px;
    }
        
    .testimonial {
        width: 80%;
        height: auto;
        margin: 0 auto 20px auto;
    }

    .testimonial p {
        font-size: 0.9em; /* Ajusta el tamaño de la fuente en móviles */
    }

    .testimonial h4 {
        font-size: 1em;
    }

    .circular-image {
        width: 50px;
        height: 50px;
    }

    .image-container {
        bottom: -35px; /* Ajusta la imagen en pantallas pequeñas */
    }
    
    .carousel-container-testimonios {
        overflow: visible; /* Para asegurarnos de que el contenido no se oculte */
    }

    .carous {
        display: block; /* Cambia el display a block para que se vea como un contenedor simple */
        flex-direction: column; /* Muestra los testimonios en columna */
        overflow: visible; /* Asegúrate de que el desbordamiento no se oculte */
        transition: transform 0.5s ease-in-out;
        transition: none; /* Desactiva la transición del carrusel */
    }
    

    .carousel-btn {
        display: none; /* Oculta los botones del carrusel */
    }
    

}

@media (max-width: 480px) {
    
    .carous
    {
        height: 1000px;
    }
    
    
    .testimonial-section {
        width: 90%;
        height: 1000px;
    }
    .testimonial {
        width: 95%; /* Ocupa más espacio en pantallas más pequeñas */
    }

    .testimonial p {
        font-size: 0.85em;
    }

    .testimonial h4 {
        font-size: 0.95em;
    }

    .carousel-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    .circular-image {
        width: 40px;
        height: 40px;
    }

    .image-container {
        bottom: -30px;
    }

    
}
