/* Estilos para el widget de Google Translate */
#google_translate_element {
    display: none; /* Oculta completamente el elemento */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 10px;
    text-align: center;
    z-index: 1000; /* Asegura que el widget esté encima del contenido */
}

.goog-te-gadget img {
    display: none !important;
}

body > .skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;/*oculto el error del espacio blanco en el top*/
    /*font-family: "IBM Plex Serif", serif;*/
    font-weight: 400;
    font-style: normal;
    
}
.navbar {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    /*background-color: rgba(255, 255, 255, 0.7);  Blanco con opacidad del 20% */
    background-color: white; 
    position: absolute;
    top: 0px;
    z-index: 2000;
}

.navbar a {
    color: #06346b !important;
    text-decoration: none; /* Elimina el subrayado predeterminado */
    transition: border-bottom 0.3s ease; /* Agrega una transición suave al subrayado */
    position: relative; /* Permite posicionar el subrayado */
}

.navbar a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px; /* Altura del subrayado */
    bottom: 0;
    left: 0;
    background-color: #9fdae8;
    visibility: hidden;
    transform: scaleX(0); /* Inicialmente sin ancho */
    transition: all 0.3s ease;
}

.navbar a:hover::before {
    visibility: visible;
    transform: scaleX(1); /* Ancho completo en el hover */
}
.jumbotron {
    background-color: #9fdae8;
    color: #000;
}
.card {
    border: 1px solid #000;
}
.card-body {
    background-color: #9fdae8;
    color: #000;
}
.logo-prolens {
    left: 20px;
    height: 110px; /* Ajusta el tamaño del logo */
    width: auto;
    z-index: 10; /* Asegura que el logo esté por encima del contenedor */
}            
@media (max-width: 768px) {
    .younger-logo {
      height: 35px; /* Reduce la altura al 50% | 45px*/
      width: auto; /* Mantén la proporción de ancho */
    }
  }
.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, white, transparent 5%);
    z-index: 5;
    pointer-events: none; /* To ensure it doesn't interfere with navigation */
}
/*Info block*/
#informacion p {
    font-weight: 600;
}
.info-icon-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-icon {
    font-size: 2rem; /* Ajusta el tamaño del ícono */
    color: #2ab0cf;  /* Color del ícono */
    background-color: white; /* Fondo blanco del círculo */
    border: 2px solid #2ab0cf; /* Borde del mismo color que el ícono */
    border-radius: 50%; /* Hace que el ícono sea circular */
    padding: 0.5rem; /* Espacio alrededor del ícono */
    margin-right: 0.5rem; /* Espacio entre el ícono y el texto */
}

.info-text {
    font-weight: 800;
    color: #07346b; /* Color del texto */
    font-size: 1.5rem; /* Tamaño del texto */
}
.custom-padding {
    padding-left: 7rem; /* Ajusta el valor según tus necesidades */
    padding-right: 7rem; /* Ajusta el valor según tus necesidades */
}
.tecnologia-text {
    color: #07346c;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
}
.texto-bloque {
    font-weight: 600;
}
.titulo-text{
    font-size:40px;margin-top:120px;
    font-weight: 800;
    color: #07346b;
}
.avanzada-text {
    color: #2bb0ce;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Estilos CSS para redondear las imágenes del slider */
#carouselExampleVertical .carousel-inner {
    border-radius: 20%; /* Ajusta el valor según el redondeado deseado */
    overflow: hidden;
    padding-bottom: 20px;
}

#carouselExampleVertical img {
    border-radius: 20%; /* Ajusta el valor según el redondeado deseado */
    border: 10px solid #2aafcf; /* Borde de 10px de color #2aafcf */
}
.footer {
    background-color: #000;
    color: white;
    padding: 20px 0;
    font-size: 28px;
    font-weight: 400;
}   
#logoFooter{
    width: 300px;
    height: auto;
    padding-top: 20px;
    padding-left: 60px;
    padding-bottom: 20px;
}  
.icono-footer {
    background-color: #9fd8e7; /* Color de fondo del círculo */
    color: black; /* Color del icono */
    border-radius: 50%; /* Hace el fondo circular */
    padding: 10px; /* Tamaño del círculo y espacio alrededor del ícono */
    margin-right: 8px; /* Espacio entre el icono y el texto */
    font-size: 16px; /* Ajusta el tamaño del ícono según sea necesario */
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}   
.footer-titulos {
    color: #9fd8e7;
}

/*SWIPER*/
.swiper-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(159, 218, 232, 0.6); /* Color de fondo con opacidad */
    background: linear-gradient(to top, rgba(159, 218, 232, 1), transparent 25%);
    z-index: 1; /* Asegura que el overlay esté encima de la imagen */
}

.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(5px); /* Aplicar desenfoque al video */
}
.overlayVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Color de fondo con opacidad */
    z-index: 0;
}
/*video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(0px); /* Aplicar desenfoque al video 
}*/
video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.swiper-caption{
    z-index: 10;
}
.swiper-caption {
    position: absolute;
    bottom: 15%;
    /*left: 50%;
    transform: translateX(-50%);
    background-color: rgba(159, 218, 232, 0.4);*/
    color: #9fdae8; /* Color del texto */
    font-size: 80px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /*text-transform: uppercase;*/
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 1em;
    text-align: center;
    position: absolute;
    
}
/*.swiper-container {
    position: relative;
    width: 100%;
    margin-top: 0;
    margin: 0;
    padding: 0;
}*/
.swiper-container {
    width: 100%;
    height: 100%;
}

/* Ajustes de estilo para las diapositivas dentro del Swiper */
/*.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 800px;  Altura personalizada para las diapositivas 
}*/
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Estilos para la imagen dentro de .swiper-slide */
.swiper-slide img {
    display: block;
    width: 100vw; /* Ancho del 100% del viewport width */
    height: 100%;
    object-fit: cover; /* Ajuste de la imagen manteniendo la relación de aspecto */
    max-height: 800px; /* Altura máxima de 600px */
    object-position: left 25%; /* Mostrar la parte superior de la imagen */
}

/* Estilos para pantallas pequeñas (altura al 600px) */
@media (max-width: 767px) {
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 550px; /* Altura personalizada para las diapositivas */
    }            
    /* Estilos para la imagen dentro de .swiper-slide */
    .swiper-slide img {
        width: 100vw; /* Ancho del 100% del viewport width */
        height: 100%;
        object-fit: cover; /* Ajuste de la imagen manteniendo la relación de aspecto */
        max-height: 550px; /* Altura máxima de 600px */
        object-position: 0%; /* 0 = extremo izquierda, 100 = extremo derecha */
    }
    .swiper-caption {
        position: absolute;
        bottom: 15%;
        color: #9fdae8; 
        font-size: 45px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        /*text-transform: uppercase;*/
        font-family: "Anton SC", sans-serif;
        font-weight: 400;
        font-style: normal;
        padding: 1em;
        text-align: center;
        position: absolute;
        
    }
}   
@media (max-width: 992px) {
    .titulo-text{
        font-size:40px;margin-top:20px;
        font-weight: 800;
        color: #07346b;
    }
    .custom-padding {
        padding-left: 1.2rem; /* Ajusta el valor según tus necesidades */
        padding-right: 1.2rem; /* Ajusta el valor según tus necesidades */
    }
    .navbar-collapse {
        background-color: #ffffff;
    }
    
    .navbar-nav .nav-link {
        color: #000000; /* Cambia el color del texto a negro para contrastar con el fondo blanco */
    }
    
    .dropdown-menu {
        background-color: #ffffff; /* Fondo blanco para los menús desplegables */
    }

    .dropdown-item {
        color: #000000; /* Color del texto en los ítems del menú desplegable */
    }

    .dropdown-item:hover {
        background-color: #f8f9fa; /* Color de fondo al pasar el ratón por encima */
    }
}     
/* Estilos para el botón flotante */
.floating-buttons {
    position: fixed;
    bottom: 20px; /* Distancia desde la parte inferior de la pantalla */
    right: 20px; /* Distancia desde el lado derecho de la pantalla */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.floating-buttons a, .floating-buttons button {
    display: block;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%; /* Hace que el botón sea circular */
    margin-bottom: 10px; /* Espacio entre botones */
    text-decoration: none;
    font-size: 24px;    
    border: none; /* Sin borde para el botón */
    cursor: pointer; /* Cambia el cursor a puntero para el botón */
    padding: 0; /* Elimina el relleno por defecto del botón */
    outline: none; /* Elimina el contorno por defecto del botón */
}

.whatsapp-button {
    background-color: #25d366; /* Color de fondo del botón de WhatsApp */
}

.scroll-top-button {
    background-color: #007bff; /* Color de fondo del botón de scroll hacia arriba */
}

.traductor-button {
    background-color: #4c8bf5; /* Color de fondo del botón de scroll hacia arriba */
}

.floating-buttons a:hover, .floating-buttons button:hover {
    opacity: 0.8; /* Reduce la opacidad al pasar el ratón por encima */
}
.info_container {
    position: relative;
    width: 100%;
    height: 370px; /* ajusta la altura según necesites */
    background-image: url('imgs/cintillo.jpg'); /* reemplaza 'ruta/de/tu/imagen.jpg' con la ruta de tu imagen */
    background-size: cover;
    background-position: center;
}

.info_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(42, 175, 207, 0.8);*/
    background: linear-gradient(to right, #1e1e1e, #505050);
}

.info_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* ancho del contenido */
    color: black; /* color del texto */
    text-align: center;
}

.info_text {
    padding: 20px;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  Define la sombra del texto */
}

.info_text h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.info_text p {
    font-size: 18px;
    line-height: 1.5;
}
/* Estilos para dispositivos móviles */
@media (max-width: 767px) {
    .info_container {
        height: 400px; /* Ajusta la altura del contenedor para dispositivos móviles */
    }
    .info_content {
        width: 90%; /* Reducir el ancho del contenido para dispositivos móviles */
    }

    .info_text {
        padding: 10px; /* Reducir el espacio de relleno para dispositivos móviles */
        text-shadow: none; /* Eliminar la sombra del texto en dispositivos móviles */
    }

    .info_text h2 {
        font-size: 20px; /* Reducir el tamaño del título para dispositivos móviles */
        margin-bottom: 5px; /* Reducir el espacio inferior del título */
    }

    .info_text p {
        font-size: 16px; /* Reducir el tamaño del texto para dispositivos móviles */
        line-height: 1.3; /* Ajustar la altura de línea para mejorar la legibilidad */
    }
}
/* Estilos personalizados para el dropdown */
.dropdown-menu {
    background-color: #9fdae8;
}
.dropdown-item {
    color: black !important;
}
.dropdown-item:hover {
    background-color: #2aafcf !important;
    color: black !important;
}
.dropdown-item:focus {
    background-color: #2aafcf !important;
    color: black !important;
}
/* Fuerza a todos los enlaces dentro del dropdown a ser negros */
.dropdown-menu a {
    color: black !important;
}        
/* Asegúrate de que el modal esté por encima de todo */
.modal {
    z-index: 2001; /* Aumentar el z-index si es necesario */
}
.logo-container {
    display: flex; /* Alinea las imágenes horizontalmente */
    flex-wrap: wrap;
    justify-content: center; /* Centra las imágenes */
    gap: 30px; /* Espacio entre las imágenes */
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain; /* Evita deformaciones */
    max-width: 100%;     /* Asegura que no se pase del contenedor */
    filter: brightness(0) invert(1);
}

@media (max-width: 576px) {
    .logo {
        height: 47px;
        flex: 0 0 calc(33.33% - 10px);  /* 3 por fila, espacio incluido */
        max-width: 100%;                /* Evita que se pase del espacio asignado */
        padding: 1px;
        box-sizing: border-box;
        object-fit: contain;
    }
}
