  /****************************************/
  .comentFondo {
    background: url(../../img/inicio/comentariosHomeFondo.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.alturaComentariosSeccionp1{
    height: 10vh;
}

.alturaComentariosSeccionp2{
    height: 10vh;
}

.comImg{
    margin: auto;
}

.com-card-title{
    color:#FF9080;
    font-family: Nunito;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    padding: 5%;
}


.com-card-text {
    color: #3360AA;
    font-size: 30px;
    font-family: Nunito;
    font-weight: bold;
    text-align: center;
}

.shadow-effect {
    background: #fff;
    padding: 10%;
    border-radius: 50px;
    text-align: center;
border:1px solid #ECECEC;
    box-shadow: 0 19px 38px rgba(0,0,0,0.10), 0 15px 12px rgba(0,0,0,0.02);
    height: 100%;
}
#customers-testimonials .shadow-effect p {
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 17px 0;
    font-weight: 300;
}
.testimonial-name {
    margin: -17px auto 0;
    display: table;
    width: auto;
    background: #3190E7;
    padding: 9px 35px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}
#customers-testimonials .item {
    text-align: center;
    padding: 50px;
        margin-bottom:80px;
    opacity: .2;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#customers-testimonials .owl-item.active.center .item {
    opacity: 1;
    -webkit-transform: scale3d(1.0, 1.0, 1);
    transform: scale3d(1.0, 1.0, 1);
}
.owl-carousel .owl-item img {
    transform-style: preserve-3d;
    margin: 0 auto 17px;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span, #customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
    background: #ffffff;
    transform: translate3d(0px, -50%, 0px) scale(0.7);
    border: 0px;
    border-radius: 50px;
}
#customers-testimonials.owl-carousel .owl-dots{
display: inline-block;
width: 100%;
text-align: center;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot{
display: inline-block;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
    background: #ffffff;
    display: inline-block;
    height: 20px;
    margin: 0 2px 5px;
    transform: translate3d(0px, -50%, 0px) scale(0.3);
    transform-origin: 50% 50% 0;
    transition: all 250ms ease-out 0s;
    width: 20px;
}







/* Contenedor para manejar la visibilidad de las imágenes */
.img-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: auto;
}

/* Imagen por defecto y destacada */
.img-wrapper img {
    position: absolute;
    width: 200px !important;
    height: 200px !important;
    top: 0;
    left: 0;
    transition: display 0.3s ease;
}

/* Por defecto, muestra la imagen inactiva */
.img-default {
    display: none;
}

.img-highlight {
    display: none;
}

/* Cuando el ítem está en el centro, muestra la imagen activa */
.item.center .img-default {
    display: none; /* La imagen por defecto está oculta en el ítem central */
}

.item.center .img-highlight {
    display: block; /* La imagen destacada está visible en el ítem central */
}

/* Muestra la imagen inactiva para todos los ítems que no están en el centro */
.item:not(.center) .img-default {
    display: block;
}

.item:not(.center) .img-highlight {
    display: none;
}




.owl-carousel .item {
    display: flex;
    align-items: center; /* Alineación vertical centrada */
    justify-content: center; /* Alineación horizontal centrada */
}

/* Contenedor interno de cada ítem */
.item .shadow-effect {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; /* Opcional: centra el texto dentro del contenedor */
    height: 100%; /* Ocupa toda la altura del ítem */
}

/* Estilo adicional si tienes imágenes dentro del shadow-effect */
.item .shadow-effect img {
    margin: 10px; /* Espacio opcional entre imágenes y contenido */
}

@media (max-width: 799px) {
    .com-card-title {
        font-size: 20px;
    }

    .com-card-text {
        font-size: 12px;
    }

    .shadow-effect {
        border-radius: 30px;
        padding: 10%;
        width: 75%;
    }

    .img-wrapper {
        width: 50px;
        height: 50px;
    }

    .img-wrapper img {
        width: 50px!important;
        height: 50px!important;
    }

    #customers-testimonials .item {
        padding: 0px;
        margin-top: 30px;
        margin-bottom: 30px;

    }
    .alturaComentariosSeccionp1 {
        height: 0vh;
    }
    
}
