* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}
 .azul{
    color: #111e46;
 }
 .naranja{
    color: #f58120;
 }
 .blanco{
    color: #ffffff;
 }
 .negro{
    color: #000;
 }
 .titulo {
    color: #111e46;
    display: inline;
}
.navbar {
    background: linear-gradient(to bottom, #154577, #111e46);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Asegura que el navbar esté encima de todo */
}

.navbar a {
    color: white;
    text-decoration: none;
    flex-grow: 1; /* Cada enlace ocupa el mismo espacio */
    text-align: center;
    padding: 1rem 0;
    font-size: 1.1rem;
}

.navbar a:hover {
    background-color: #0F8FCF; /* Color azul con 60% de opacidad */
}

/* Botón de menú para dispositivos móviles */
.navbar-toggle {
    display: none;
    background-color: #111e46;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
}

.navbar-links {
    display: flex;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-links.show {
        display: flex;
    }

    .navbar-links a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.navbar-dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Estilo para el botón que activa la lista desplegable */
  .dropdown-toggle {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
  }
  
  /* Estilo para la lista desplegable */
  .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #111e46;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  /* Clase 'show' para hacer visible el menú desplegable */
.dropdown-menu.show {
    display: block;
}

  /* Estilo para los enlaces dentro de la lista desplegable */
  .dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
  }
  
  .dropdown-menu a:hover {
    background-color: #0F8FCF;
  }
  
  /* Responsividad: Asegura que la lista desplegable funcione en móviles */
  @media screen and (max-width: 768px) {
    .navbar-dropdown {
        position: static;
    }
  
    .dropdown-menu {
        position: relative;
        width: 100%;
    }
  }
  /* Ocultar menú desplegable por defecto */
.dropdown-menu {
    display: none;
    flex-direction: column;
    background: #111e46;
    padding: 0.5rem;
}

.dropdown a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
}

.dropdown a:hover {
    background-color: #0F8FCF;
}

.dropdown.show .dropdown-menu {
    display: flex;
}

/* Diseño para dispositivos móviles */
@media screen and (max-width: 768px) {
    .navbar-links {
        flex-direction: column;
    }

    .dropdown-menu {
        width: 100%;
    }
}
/* Estilo de la imagen dentro del botón */
.dropdown-toggle img {
    width: 24px; /* Ajusta el tamaño de la imagen */
    height: 24px; /* Ajusta el tamaño de la imagen */
    pointer-events: none; /* Impide que el clic se active directamente sobre la imagen */
}

/* Estilo del botón */
.dropdown-toggle {
    border: none;
    background-color: transparent;
    cursor: pointer;
}
.dropdown-menu img {
    width: 24px; /* Tamaño uniforme para todas las imágenes */
    height: 24px;
    object-fit: contain; /* Asegura que las imágenes no se distorsionen */
}
/* Estilo para la bienvenida */
.bienvenida {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Estilo para la imagen de fondo */
.bienvenida img:first-of-type {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el área disponible sin deformarse */
    object-position: center top; /* Ajusta la posición de la imagen para que no cubra el texto */
    display: block;
}

/* Logo debajo del navbar, alineado a la izquierda y encima de la imagen de fondo */
.bienvenida img[alt="logo_expandeers"] {
    position: absolute;
    top: 80px; /* Ajustamos para que quede debajo del navbar */
    left: 40px; /* Alineamos el logo a la izquierda con un margen */
    max-width: 250px; /* Aumentamos el tamaño máximo del logo */
    max-height: 250px; /* Aumentamos el tamaño máximo del logo */
    width: auto;
    height: auto;
    z-index: 10; /* Asegura que el logo esté sobre la imagen */
    padding: 5px; /* Opcional: separa el logo del fondo */
}

/* Contenido de la bienvenida */
.Bienvenida-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    max-width: 90%;
    z-index: 5;
}

.bienvenida button {
    margin-top: 60px; /* Espaciado para separarlo del texto */
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 15;
    position: relative;
}

.bienvenida button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


.bienvenida-text {
    font-size: 5rem;
    margin: 10px 0;
}
.central-text {
    max-width: 75%; /* 9 de 12 columnas es aproximadamente 75% */
    margin: 0 auto;
    text-align: center;
}

/* Responsivo: Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
    .bienvenida img[alt="logo_expandeers"] {
        position: absolute;
        max-width: 150px; /* Aumentamos un poco el tamaño del logo */
        max-height: 150px;
        top: 25px;
    }

    .bienvenida-text {
        font-size: 3rem; /* Reducimos el tamaño del texto en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .bienvenida img[alt="logo_expandeers"] {
        max-width: 120px; /* Tamaño del logo en pantallas más pequeñas */
        max-height: 120px;
        top: 5px;
    }

    .bienvenida-text {
        font-size: 2rem; /* Ajustamos aún más el tamaño del texto */
    }
}
.Bienvenida-content p {
    font-size: 1.8rem; /* O el valor que necesites */
}
.bienvenida button {
    position: absolute;
    top: 80%; /* Ajusta según la ubicación deseada */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.1); /* Fondo semitransparente */
    color: white;
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 15;
}

.bienvenida button:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Aumenta la opacidad al pasar el cursor */
}
.expandimos {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/fondo_expandimos.png') no-repeat center center;
    background-size: cover; /* Asegura que la imagen cubra completamente */
    padding: 0; /* Elimina cualquier padding que pueda estar causando desbordamiento */
    min-height: 400px;
    width: 100%;
    overflow: hidden; /* Evita cualquier desbordamiento de contenido */
}

.expandimos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 20px;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}

.expandimos-texto {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 95%;
    flex: 0 1 45%; 
}

.expandimos-texto h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.expandimos-texto p {
    font-size: 2rem;
    text-align: justify;
}

.expandimos-imagen {
    width: 100%;
    padding: 0;
    margin: 0;
}

.expandimos-imagen img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Asegura que la imagen cubra correctamente */
    display: block;
    padding: 0;
    margin: 0;
}

/* Estilos para pantallas más pequeñas */
@media (max-width: 768px) {
    .expandimos-content {
        grid-template-columns: 1fr;
    }

    .expandimos-texto {
        text-align: justify;
    }

    .expandimos-imagen {
        margin-top: 20px;
    }

    .expandimos-imagen img {
        max-width: 100%;
    }
}
.boton_azul {
    background-color: #111e46; /* Color azul */
    color: white;
    font-size: 1rem;
    padding: 15px 30px;
    border: none;
    border-radius: 0; /* Bordes cuadrados */
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton_azul:hover {
    background-color: #154577; /* Color azul más oscuro al hacer hover */
    transform: scale(1.05); /* Efecto de escala al hacer hover */
}
.nosotros {
    background-color: #111e46;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    gap: 5px;
    position: relative;
}
.nosotros-texto, 
.nosotros-video {
    flex: 1; /* Las columnas compartirán el espacio equitativamente */
}

.nosotros-texto {
    flex: 0 1 50%;
}

.nosotros-texto h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.nosotros-texto p {
    font-size: 2rem;
    text-align: justify;
}

.nosotros-video {
    flex: 0 1 50%;
}

.nosotros-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nosotros-imagen {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%; /* Ajusta según necesites */
}

.nosotros-imagen img {
    width: 100%;
    height: auto;
}

/* Estilos para pantallas pequeñas */
/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .nosotros {
        flex-direction: column;
        position: relative; /* Asegura que la imagen se posicione dentro del contenedor */
    }

    .nosotros-imagen {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80px; /* Ajusta el tamaño según necesites */
    }

    .nosotros-imagen img {
        width: 100%;
    }
}
.servicios {
    background: url('../img/IMG_FondoNS20.png') no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
    text-align: center;
}

.servicios-texto h2 {
    font-size: 3.5rem;
    color: #111e46;
    margin-bottom: 40px;
}

.tarjetas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px
}

.tarjeta {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    justify-content: space-between; /* Distribuye el espacio */
    min-height: 300px;
}

.tarjeta:hover {
    transform: translateY(-15px);
}

.tarjeta img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.tarjeta:nth-child(2),
.tarjeta:nth-child(4) {
    background-color: #b6c3dc; /* Azul claro */
}

.tarjeta:nth-child(1),
.tarjeta:nth-child(3) {
    background-color: white;
}

.tarjeta-texto {
    font-size: 2.2rem;
    font-weight: bold;
    color: #111e46;
}

@media (max-width: 768px) {
    .tarjetas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tarjetas {
        grid-template-columns: 1fr;
    }
}
footer {
    background-color: #111e46;
    color: #fff;
    padding: 2rem 1rem;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    color: #ffc107;
}

footer img {
    max-width: 64px; /* Ajusta el tamaño máximo del logo */
    height: auto;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr; /* Diseño para pantallas pequeñas */
    gap: 1.5rem;
}

@media (min-width: 768px) {
    footer .container {
        grid-template-columns: repeat(3, 1fr); /* Diseño en 3 columnas para pantallas medianas */
    }
}

footer h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin: 0.5rem 0;
}
.logo-texto {
    display: flex;
    flex-direction: column; /* Columnas por defecto para pantallas pequeñas */
    align-items: center;
    margin-bottom: 20px;
}

/* Estilo para el logo */
.logo {
    width: 70px;
    height: auto;
    margin: 0 0 10px; /* Espacio inferior para pantallas pequeñas */
}

/* Estilo para el texto al lado del logo */
.texto-logo {
    text-align: center;
    font-size: 16px;
    color: #333;
}
        /* Fondo del modal completamente opaco */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: black; /* Se eliminó la transparencia */
        }
        
        /* Contenedor del modal */
        .modal-contenido {
            background-color: white;
            margin: 5% auto;
            padding: 20px;
            width: 90%; /* Tamaño predeterminado en pantallas pequeñas */
            max-width: 500px; /* Tamaño máximo en pantallas grandes */
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
            position: relative;
            z-index: 1001;
        }

        /* Bloquear la interacción con el contenido detrás del modal */
        body.modal-abierto {
            overflow: hidden;
        }

        /* Botón de cerrar */
        .cerrar {
            float: right;
            cursor: pointer;
            font-size: 20px;
        }

        /* Estilos para los campos del formulario */
        label {
            font-weight: bold;
        }

        input, textarea {
            width: 100%;
            padding: 10px;
            margin: 8px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }

        button {
            background-color: #0A1172;
            color: white;
            /* width: 100%; */
            padding: 12px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
        }

        button:hover {
            background-color: #218838;
        }

        @media (min-width: 768px) {
            .modal-contenido {
                width: 60%;
            }
        
            .logo-texto {
                flex-direction: row;
                text-align: left;
            }
        
            .logo {
                width: 50px;
                margin-right: 10px;
            }
        
            .texto-logo {
                font-size: 18px;
            }
        }
        