@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 100px 0;
    --color-title: #001A49;
}

body{
    font-family: "Poppins", sans-serif;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans 3', sans-serif;
    text-decoration: none;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.header__menu{
    max-width: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.logo img{
    margin-top: -118px;
    position: fixed;
    width: 210px;
    margin-left: 670px;
    z-index: 25;

}

/*barra menu*/

/* Contenedor del menú principal */
.container__menu {
    width: 100%;
    height: 70px;
    background: #1a49d6;
    padding: 0px 20px;
    position: fixed;
    z-index: 20;
}

.menu {
    max-width: 1750px;
    margin: auto;
    height: 100%;
}

nav {
    height: 100%;
}

nav > ul {
    height: 100%;
    display: flex;
}

nav ul li {
    height: 100%;
    list-style: none;
    position: relative;
}

/* Estilo del primer elemento del menú con imagen */
nav > ul > li:first-child > a {
    background-image: url(../Index/images/casaaaaaa.png);
    background-size: 120px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 40px;
    margin-left: -10%;
}

nav > ul > li:first-child:hover > a {
    background-image: url(../Index/images/casaaaaaa.png);
    background-size: 120px;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Enlaces principales del menú */
nav > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 14px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 300ms ease;
}

nav > ul > li > a:hover {
    transform: scale(1.1);
    background: #2a75ee;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/* Estilo para el enlace seleccionado */
#selected {
    transform: scale(1.1);
    background-color: #2a75ee;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/* Submenús */
nav ul li ul {
    width: 200px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none; /* Evitar clics en submenús cerrados */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: all 300ms ease;
}

/* Submenú visible */
nav ul li ul.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto; /* Habilitar clics solo en submenús visibles */
}

/* Triángulo decorativo del submenú */
nav ul li ul:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: -12px;
    left: 20px;
}

/* Enlaces dentro de los submenús */
nav ul li ul li a {
    display: block;
    color: #0084ff;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
}

nav ul li ul li a:hover {
    background: #2a75ee;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.icon__menu {
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    width: 26px;
    height: 100%;
    display: none;
    align-items: center;
}

#check__menu {
    display: none;
}

#label__check {
    width: 26px;
    height: 100%;
    display: none;
}


.container{
    width: 70%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--padding-container);
    
}

.hero{
    width: 100%;
    height: 100vh;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

.hero::before{
    content: "";

    top: 70px;
    left: 0;
    width: 100%;
    height: 950%;
    background-image: linear-gradient(180deg, #0000008c, #0000008c 100%), url('./images/fuente.jpg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 0 100%);
    z-index: -1;
    background-position: center center; /* Asegura que la imagen esté centrada */
}



.nav{
    --padding-container:0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav__title{
    font-weight: 300px;
}

.nav__link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items{
    list-style: none;
}

.nav__links{
    color: #fff;
    text-decoration: none;
}

.nav__menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img{
    display: block;
    width: 30px;
}

.nav__close{
    display: var(--show, none);
}

.hero__container {
    max-width: 1200px;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 250px;
    text-align: center;
    position: absolute; /* Posición absoluta */
    margin: auto; /* Centra automáticamente */
    left: 0; right: 0; top: 180px; bottom: 0; /* Asegura que ocupe todo el contenedor */
    display: block;
}

.img__pro{
    margin-top: -8px;
    width: 25px;
}

.hero__title{
    font-size: 3rem;
}

.hero__paragraph{
    margin-bottom: 20px;
}

.cta{
    display: inline-block;
    background-color: #2a75ee;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}
/* About */



.about {
    text-align: center;
    margin-top: 720px;
}

.subtitle {
    font-size: 2.4rem; /* Tamaño prominente */
    font-weight: 600; /* Semibold para destacar */
    margin-bottom: 20px;
    text-transform: capitalize; /* Solo la primera letra en mayúscula */
    color: #000000;
}

.about__paragraph {
    line-height: 1.6; /* Espaciado más cómodo */
    font-size: 1rem;
    color: #444; /* Tono gris para suavizar el contraste */
    max-width: 700px; /* Limita el ancho del párrafo */
    margin: 0 auto 30px auto; /* Centrado con espaciado inferior */
    text-align: justify; /* Mejor alineación del texto */
    text-align: center;
}

.about__main {
    padding: 60px 20px; /* Espaciado interno equilibrado */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5em;
    max-width: 1200px; /* Limita el ancho total */
    margin: 0 auto;
}

.about__icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    width: 100%;
    max-width: 300px; /* Controla el tamaño máximo del contenedor */
    margin: 0 auto;
    color: #000000;
}

.about__icon {
    width: 50px; /* Tamaño grande pero proporcional */
    height: auto;
    opacity: 0.8; /* Íconos ligeramente atenuados */
    transition: transform 0.4s ease, opacity 0.3s ease; /* Transiciones suaves */
}

.about__icon:hover {
    opacity: 1; /* Ícono completamente visible */
    transform: translateY(-5px) rotate(10deg); /* Movimiento hacia arriba y ligera rotación */
}




.knowledge {
    height: 550px;
    background-color: #ecedee;
    opacity: 0.9;
    background-image: radial-gradient(#f5efc700 0.7px);
    background-size: -14px -14px;
    overflow: hidden;
    display: flex; /* Flex para centrar el contenido */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    margin-top: -105px;
}

.knowledge__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
    max-width: 1200px; /* Limita el ancho máximo del contenedor */
    margin: auto; /* Asegura que el contenedor esté centrado horizontalmente */
    padding: 0 2rem; /* Opcional: Espaciado interno para mantener los márgenes */
}

.knowledge__paragraph {
    line-height: 1.5;
    margin-bottom: 5%;
    color: #444;
}

/*carrusel*/

.carousel {
    width: 20%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    margin-top: 110px;
}

.carousel img {

    position: absolute;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    width: 500px; /* Ajusta el tamaño según tus necesidades */
    height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
    border-radius: 8%; /* Esto hace que la imagen sea circular */
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
    margin-top: -168px;
    margin-left: -200px;
}

.carousel img.active {
    opacity: 1;
}


/*Marcas*/
.marcas.about{
    margin-top: 100px;
}

.sub{
    height: 80px;
    font-size: 2rem;
    color: #000000;
}

.about__iconss{
    width: 100px;
    height: 80px;
    margin: 15px;
    border-radius: 20%;
}

.about__iconss:hover{
    transform: translateY(-12px); /* Desplazamiento sutil hacia arriba */
    transition: transform 0.5s ; 
    
}

/*productos relevantes*/
.productos-relevantes {
    display: flex;
    overflow: hidden;
    align-items: center;
    width: 90vw; /* Ajuste dinámico según el ancho de la ventana */
    margin: 0 auto;
    gap: 20px;
    transition: scroll 0.3s ease;
}

.producto {
    flex: 0 0 auto;
    width: 14vw; /* Ajuste dinámico según el ancho de la ventana */
    margin: 0 -5px; /* Espaciado entre productos */
    padding: 20px;
    text-align: center;
    border-radius: 20px; /* Bordes redondeados */
    background-color: #f9f9f9; /* Fondo claro */
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.0); /* Sombra más definida */
    min-width: 200px; /* Ajusta el ancho mínimo de cada producto */
    transition: transform 0.5s ease; 
    max-width: 20%;
}

.Mrc{
    color: #000000;
}

.producto:hover {
    transform: translateY(-5px); /* Desplazamiento sutil hacia arriba */
}




.carousel-btn {
    background-color: #f9f9f9;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: sticky;
    border-radius: 50px;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-btn:hover{
    background-color: #cacaca;
}

.left-btn {
    left: 4.50%;

}

.right-btn {
left: 93%;
}

.subn{
    height: 80px;
    font-size: 2rem;
    text-align: center;
    color: #000000;
    
}

.producto__img {
    width: 100%;
    height: 200px;
    border-radius: 10px; /* Bordes redondeados en la imagen */
    margin-bottom: 20px; /* Espaciado con respecto al texto */
    transition: transform 0.3s ease;
}

.producto__img:hover {
    transform: scale(1.1); /* Aumenta la imagen dentro del cuadro al hacer hover */
}

.producto__titulo {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333; /* Color de texto oscuro */
    text-transform: uppercase; /* Texto en mayúsculas */
}

.footer {
    background-color: #333;
    color: white;
    padding: 50px 20px;
    font-family: 'Arial', sans-serif;
}

/* Contenedor principal */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Estilo del mapa */
.footer-map {
    flex-basis: 48%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-map h3 {
    color: #ff9900; 
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-map iframe {
    width: 100%; /* Mantiene el mapa al 100% del contenedor */
    height: 700px; /* Aumenta la altura para hacerlo más estirado verticalmente */
    border-radius: 10px;
}

/* Estilo del contenido */
.footer-content {
    flex-basis: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Estilo de las tarjetas (secciones del pie de página) */
.footer-card {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.6;
}

/* Efecto hover para las tarjetas */
.footer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.footer-card h3 {
    font-size: 1.4rem;
    color: #ff9900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-card ul {
    list-style: none;
    padding: 0;
}

.footer-card li {
    font-size: 1rem;
    line-height: 1.6;
}

/* Estilo para los enlaces */
.footer-card a {
    color: #ff9900;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-card a:hover {
    color: #fff;
}

/* Estilo de la sección de términos */
#toggle-terms {
    color: #ff9900;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

#toggle-terms:hover {
    color: #fff;
    text-decoration: underline;
}

.hidden {
    display: none;
}

/* Estilos para los enlaces sociales */
.social-link {
    color: #ff9900;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fff;
}

.about__iconss:hover {
    transform: translateY(-12px) scale(1.1); /* Incrementa el tamaño ligeramente */
    transition: transform 0.5s ease;
}

@media screen and (max-width: 1890px){
    .logo img{
        margin-left: 630px;
    }
    
    .menu {
        max-width: 1650px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }
}

@media screen and (max-width: 1760px){
    .logo img{
        margin-left: 590px;
    }
    
    .menu {
        max-width: 1560px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }
}
    
@media screen and (max-width: 1660px){
    .logo img{
        margin-left: 540px;
    }
    
    .menu {
        max-width: 1480px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }
}
    
@media screen and (max-width: 1580px){
    .logo img{
        margin-left: 490px;
    }
    
    
    .menu {
        max-width: 1380px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }
}
    
    


/*version laptops*/
@media screen and (max-width: 1490px) {

    .logo img{
        margin-left: 440px;
    }
    
    
    .menu {
        max-width: 1280px;

    }

    .knowledge__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        align-items: center;
        max-width: 1200px; /* Limita el ancho máximo del contenedor */
        margin: auto; /* Asegura que el contenedor esté centrado horizontalmente */
        padding: 0 2rem; /* Opcional: Espaciado interno para mantener los márgenes */
        margin-left: 190px;
    }
    

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -168px;
        margin-left: -140px;
    }
    

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }
}


@media screen and (max-width: 1375px) {

    .logo img{
        margin-left: 400px;
    }
    
    
    .menu {
        max-width: 1210px;
    }

    .knowledge__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        align-items: center;
        max-width: 1200px; /* Limita el ancho máximo del contenedor */
        margin: auto; /* Asegura que el contenedor esté centrado horizontalmente */
        padding: 0 2rem; /* Opcional: Espaciado interno para mantener los márgenes */
        margin-left: 175px;
    }
    

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -140px;
        margin-left: -140px;
    }
    

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }
}

@media screen and (max-width: 1340px) {

    .logo img{
        margin-left: 380px;
    }
    
    
    .menu {
        max-width: 1170px;
    }

    .knowledge__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        align-items: center;
        max-width: 1000px; /* Limita el ancho máximo del contenedor */
        margin: auto; /* Asegura que el contenedor esté centrado horizontalmente */
        padding: 0 2rem; /* Opcional: Espaciado interno para mantener los márgenes */
        margin-left: 155px;
    }
    

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -140px;
        margin-left: -140px;
    }
    

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }

}

@media screen and (max-width: 1250px) {

    .logo img{
        margin-left: 350px;
    }
    
    
    .menu {
        max-width: 1100px;
    }

    .knowledge__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        align-items: center;
        max-width: 1200px; /* Limita el ancho máximo del contenedor */
        margin: auto; /* Asegura que el contenedor esté centrado horizontalmente */
        padding: 0 2rem; /* Opcional: Espaciado interno para mantener los márgenes */
        margin-left: 125px;
    }
    

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -140px;
        margin-left: -140px;
    }
    
    .knowledge__container{
        margin-left: 135px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }

        .about__paragraph {
            font-size: 0.9rem; /* Ajusta el tamaño del texto en pantallas pequeñas */
        }
    
        .about__main {
            grid-template-columns: 1fr; /* Coloca elementos en una sola columna */
        }

}

@media screen and (max-width: 1170px) {

    .logo img{
        margin-left: 320px;
    }
    
    .menu {
        max-width: 1050px;
    }

    .knowledge {
        height: 550px;
        background-color: #ecedee;
        opacity: 0.9;
        background-image: radial-gradient(#f5efc700 0.7px);
        background-size: -14px -14px;
        overflow: hidden;
        display: flex; /* Flex para centrar el contenido */
        justify-content: center; /* Centrar horizontalmente */
        align-items: center; /* Centrar verticalmente */
    }

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -140px;
        margin-left: -140px;
    }

    .knowledge__container{
        margin-left: 110px;
    }
    

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }

}


@media screen and (max-width: 1120px) {

    .logo img{
        margin-left: 298px;
    }
    
    .menu {
        max-width: 1000px;
    }

    .knowledge {
        height: 550px;
        background-color: #ecedee;
        opacity: 0.9;
        background-image: radial-gradient(#f5efc700 0.7px);
        background-size: -14px -14px;
        overflow: hidden;
        display: flex; /* Flex para centrar el contenido */
        justify-content: center; /* Centrar horizontalmente */
        align-items: center; /* Centrar verticalmente */
    }

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -140px;
        margin-left: -140px;
    }
    
    .knowledge__container{
        margin-left: 100px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }

}

@media screen and (max-width: 1090px){
    .knowledge__container{
        margin-left: 95px;
    }
}

@media screen and (max-width: 1060px) {

    .logo img{
        margin-left: 280px;
    }
    
    .menu {
        max-width: 960px;
    }

    .knowledge {
        height: 550px;
        background-color: #ecedee;
        opacity: 0.9;
        background-image: radial-gradient(#f5efc700 0.7px);
        background-size: -14px -14px;
        overflow: hidden;
        display: flex; /* Flex para centrar el contenido */
        justify-content: center; /* Centrar horizontalmente */
        align-items: center; /* Centrar verticalmente */
    }
    

    .carousel img {

        position: absolute;
        opacity: 0;
        transition: opacity 3s ease-in-out;
        width: 500px; /* Ajusta el tamaño según tus necesidades */
        height: 400px; /* Asegúrate de que el ancho y el alto sean iguales */
        border-radius: 8%; /* Esto hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        margin-top: -100px;
        margin-left: -140px;
    }
    
    .knowledge__container{
        margin-left: 80px;
    }

    .knowledge__texts{
        margin-right: 20px;
    }

        /* Ajustar el ancho de los productos */
        .producto {
            min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
        }

}

/*version pantallas tactiles*/
@media screen and (max-width: 1039px)  {
    
    .header__menu{
        padding: 20px;  
    }
    
    .logo img{
        margin-left: -106px;
    }
    
    nav > ul{
        flex-direction: column;
        background-color: #001A49;
        position: fixed;
        left: 0%;
        top: 70px;
        width: 60.70%;
        max-height: 300px; /* Tamaño fijo para el menú */
        z-index: 100;
        opacity: 0; /* Mantener el diseño original */
        visibility: hidden; /* Mantener el diseño original */
    }
    
    nav > ul > li > a:hover{
        transform: scale(1);
        background: none;
    }


    
    nav ul li ul{
        left: 120px;
        transition: none;
    }
    
    nav > ul > li:hover ul{
        top: 50px;
    }
    
    nav > ul > li:first-child a{
        background-position: 60px;
        background-position: center;
        padding: 20px 55%;
    }

        /* Estilo para cuando una opción está seleccionada en móvil */
        nav > ul > li > a.active {
            background-color: #2a75ee; /* Cambia el color a lo que desees */
        }
    
    #selected{
        transform: scale(1);
    }
    
    #label__check{
        position: fixed; /* O absolute, dependiendo de tu diseño */
        top: 15px; /* Ajusta según sea necesario */
        left: 12px;
        display: flex; /* Para centrar el ícono si tiene contenido interno */
        align-items: center;
        justify-content: center;
        width: 40px; /* Tamaño del área de clic */
        height: 40px;
        z-index: 1000; /* Asegúrate de que esté encima del contenido */
        cursor: pointer; /* Cambia el cursor al de clic */
    }
    
    .icon__menu {
        display: flex;
    }
    

    .hero__container.container{
        margin-top: -5%;
        visibility:visible;
    }

    
    .hero__title{
        font-size: 40px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 20px; /* Puedes ajustar el tamaño en píxeles */
    }

    .Mapa{
        margin-left: -300px;
        margin-top: 30px;
        width: 350px;
        height: 350px;
    }    

    .hero::before{
        top: 10px;
        height: 860px;

      
    }

    .about {
        margin-top: 630px;
    }

    .about__paragraph {
        font-size: 0.9rem; /* Ajusta el tamaño del texto en pantallas pequeñas */
    }

    .about__main {
        grid-template-columns: 1fr; /* Coloca elementos en una sola columna */
    }

    .knowledge {
        height: 800px;
    }

    .knowledge__container {
        flex-direction: column;
        text-align: center;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin-left: -20%;
        margin: 0 auto; 
        margin-right: 150px;
        
    }

    .knowledge__texts .subtitle {
        font-size: 1.8rem;
    }

    .knowledge__texts .knowledge__paragraph {
        font-size: 0.9rem;
    }

    .carousel img {
        right: 38px;
        top: 400px;
        width: 92.50%;
        height: 55%;
    }

    .sub{
        margin-top: 50px;
    }

    /* Ocultar botones de flecha en dispositivos móviles */
    .left-btn {
        display: none;
    }
    .right-btn {
        display: none;
    }

    /* Ajustar el ancho de los productos */
    .producto {
        min-width: 250px; /* Ajusta el ancho mínimo de cada producto */
    }

    /* Contenedor de los productos */
    .productos-relevantes {
        overflow-x: auto; /* Habilita desplazamiento horizontal */
        scroll-snap-type: x mandatory; /* Desplazamiento suave y controlado */
    }
        .hero::before {
        background-position: center center; /* Asegura que la imagen esté centrada */
        background-size: cover; /* Mantiene el tamaño cubriendo todo el área */
    }

        .footer-map {
        flex-basis: 100%; /* El mapa ocupa toda la fila en pantallas pequeñas */
    }

    .footer-map iframe {
        height: 300px; /* Reduce la altura del mapa en pantallas pequeñas */
    }

    /* Contenido en una sola columna */
    .footer-content {
        flex-basis: 100%; /* Las tarjetas ocupan toda la fila */

    }

    /* Tarjetas (secciones) en una sola columna */
    .footer-card {
        width: 100%; /* Cada tarjeta ocupa toda la fila */
    }

    .footer-card h3 {
        font-size: 1.2rem; /* Reducir el tamaño del título en móviles */
    }

    .footer-card li {
        font-size: 0.9rem; /* Reducir el tamaño del texto en móviles */
    }

    /* Ajuste para los enlaces sociales */
    .social-link {
        font-size: 1rem; /* Ajustar el tamaño de los íconos en móviles */
    }

    /* Ajustes de términos */
    #toggle-terms {
        font-size: 0.9rem; /* Reducir el tamaño del texto */
    }
    
}

@media screen and (max-width: 900px) {
    .knowledge {
        height: 800px;
    }
    .carousel img {
        right: 45px;
        top: 450px;
        width: 90%;
        height: 50%;
    }
}


@media screen and (max-width: 830px) {
    .knowledge {
        height: 800px;
    }

    .carousel img {
        right: 40px;
        top: 450px;
        width: 90%;
        height: 50%;
    }
}

@media screen and (max-width: 800px) {
    .knowledge {
        height: 800px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin-left: -20%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }

    .carousel img {
        right: 38px;
        top: 440px;
        width: 90%;
        height: 50%;
    }

    
    .hero__title{
        font-size: 40px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 20px; /* Puedes ajustar el tamaño en píxeles */
    }
}

@media screen and (max-width: 720px) {
    .knowledge {
        height: 800px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }

    .carousel img {
        right: 35px;
        top: 450px;
        width: 90%;
        height: 50%;
    }

    
    .hero__title{
        font-size: 40px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 20px; /* Puedes ajustar el tamaño en píxeles */
    }
}


@media screen and (max-width: 645px) {
    .knowledge {
        height: 800px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 140px;
        
    }

    .carousel img {
        right: 34px;
        top: 450px;
        width: 90%;
        height: 50%;
    }

    
    .hero__title{
        font-size: 40px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 20px; /* Puedes ajustar el tamaño en píxeles */
    }

}

@media screen and (max-width: 605px) {
    .knowledge {
        height: 800px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 130px;
        
    }

    .carousel img {
        right: 34px;
        top: 450px;
        width: 90%;
        height: 50%;
    }

    
    .hero__title{
        font-size: 40px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 20px; /* Puedes ajustar el tamaño en píxeles */
    }
}

@media screen and (max-width: 591px) {
    .knowledge {
        height: 920px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 130px;
        
    }

    .carousel img {
        right: 32px;
        top: 520px;
        width: 90%;
        height: 50%;
    }

    .hero__title{
        font-size: 40px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 20px; /* Puedes ajustar el tamaño en píxeles */
    }



}

@media screen and (max-width: 511px) {
    .knowledge {
        height: 900px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }

    .carousel img {
        right: 28px;
        top: 560px;
        width: 90%;
        height: 40%;
    }

    .hero__title{
        font-size: 38px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 18px; /* Puedes ajustar el tamaño en píxeles */
    }

    .hero__container.container{
        margin-top: -10%;
    }

}


@media screen and (max-width: 492px) {
    .knowledge {
        height: 900px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }

    .carousel img {
        right: 27px;
        top: 600px;
        width: 90%;
        height: 40%;
    }

    .hero__title{
        font-size: 38px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 18px; /* Puedes ajustar el tamaño en píxeles */
    }

    .hero__container.container{
        margin-top: -15%;
    }

}



@media screen and (max-width: 452px) {
    .knowledge {
        height: 950px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }

    .carousel img {
        right: 25px;
        top: 650px;
        width: 90%;
        height: 40%;
    }

    .hero__title{
        font-size: 38px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 18px; /* Puedes ajustar el tamaño en píxeles */
    }

    .hero__container.container{
        margin-top: -20%;
    }
}

@media screen and (max-width: 420px) {
    .knowledge {
        height: 940px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }
    

    .carousel img {
        right: 22px;
        top: 720px;
        width: 90%;
        height: 30%;
    }

    .hero__title{
        font-size: 38px; /* Puedes ajustar el tamaño en píxeles */
    }
    .hero__paragraph{
        font-size: 18px; /* Puedes ajustar el tamaño en píxeles */
    }

    .hero__container.container{
        margin-top: -25%;
    }

}

@media screen and (max-width: 397px) {
    .knowledge {
        height: 1000px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }
    

    .carousel img {
        right: 22px;
        top: 780px;
        width: 90%;
        height: 30%;
    }

    .hero__container.container{
        margin-top: -28%;
    }
}


@media screen and (max-width: 383px) {
    .knowledge {
        height: 1100px;
    }

    .knowledge__texts {
        position: absolute;
        top: 4%;
        margin: 0 auto; 
        margin-right: 120px;
        
    }
    

    .carousel img {
        right: 20px;
        top: 840px;
        width: 90%;
        height: 30%;
    }

    .hero__container.container{
        margin-top: -32%;
    }
}

@media screen and (max-width: 377px) {
    .knowledge__texts {
        margin-left: -10px;
            
        }
}

@media screen and (max-width: 337px) {
    .hero__container.container{
        margin-top: -38%;
    }
}


@media screen and (max-width: 320px) {

    .knowledge__texts {
    right: -40px;
    margin-left: 90px;
        
    }

    .hero::before{
        margin-top: 50px;
        height: 850px;
    }


}


@media screen and (max-width: 292px) {

    .hero__container.container{
        margin-top: -42%;
    }

}

@media screen and (max-width: 260px) {

    .hero__container.container{
        margin-top: -48%;
    }

}

@media screen and (max-width: 243px) {

    .hero__container.container{
        margin-top: -52%;
    }

}
