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

body {
    font-family: Arial, sans-serif;
}

.top-bar {
    background-color: #003366;
    height: 18px;
    width: 100%;
    clip-path: polygon(-10% 0, 100% 0, 98% 100%, -10% 100%);
}

.navbar {
    background-color: #ffffff;
    color: white;
    padding: 1.9em;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
}

.navbar .logo img {
    height: 80px;
    margin-left: 200px;
    margin-top: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    margin-top: 0;
}

.nav-links li {
    margin-left: 1.5em;
}

.nav-links a {
    color: rgb(129, 129, 129);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 0.5em;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.selected {
    color: #003366;
}

.content {
    padding: 4em;
    text-align: center;
    margin-left: 270px;
    margin-right: 270px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    margin: 2em 0;
}

.contact-form{
    width: 45%; /* Reducido al 45% del contenedor padre */
    padding: 0.8em; /* Reducido el padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ajustada la sombra */
    border-radius: 8px;
}

.info-box {
    width: 45%; /* Reducido al 45% del contenedor padre */
    padding: 0.8em; /* Reducido el padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ajustada la sombra */
    border-radius: 8px;
}

.contact-form h2,
.info-box h2 {
    margin-bottom: 1em;
    color: #003366;
}

.contact-form label,
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    display: block;
    width: 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #003366;
}

/* Estilo general para el formulario */
/* Estilo general para el formulario */
/* Estilo general para el formulario */
.contact-form {
    border-top: 8px solid #003366; /* Borde azul solo en la parte superior */
    display: flex;
    flex-direction: column; /* Los elementos estarán en una columna */
    max-width: 1000px; /* Ajusta según sea necesario */
    margin: 0 auto;
}

/* Estilo para cada fila de etiqueta y campo de entrada */
.contact-form .form-row {
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    margin-bottom: 10px; /* Espacio entre filas */
}

/* Estilo para las etiquetas */
.contact-form label {
    flex: 0 0 200px; /* Ancho fijo para las etiquetas, ajusta según sea necesario */
    margin-right: 10px; /* Espacio entre la etiqueta y el campo de entrada */
    text-align: left; /* Alinea el texto a la izquierda */
}

/* Estilo para los campos de entrada */
.contact-form input,
.contact-form select,
.contact-form textarea {
    flex: 1; /* Los campos de entrada toman el resto del espacio disponible */
    padding: 6px; /* Espaciado interno reducido en los campos */
    margin-bottom: 5px; /* Espacio entre campos reducido */
    box-sizing: border-box; /* Incluye el padding y el borde en el ancho total */
}

/* Estilo para el botón */
.contact-form button {
    padding: 8px 4px; /* Espaciado interno ajustado */
    background-color: #003366; /* Cambia el color según tus preferencias */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px; /* Tamaño de fuente ajustado */
}

/* Estilo para el título del formulario */
.contact-form h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 15px; /* Espacio reducido debajo del título */
}

.contact-form button:hover{
    width: 100%;
    text-align: center;
    background-color: #01162b;
}

/* Estilo general para el cuadro de información */
.info-box {
    padding: 15px; /* Reduce el padding para hacer el cuadro más pequeño */
    background-color: #f9f9f9; /* Fondo claro para destacar el contenido */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Ajusta según sea necesario */
    margin: 0 auto;
    height: auto; /* Ajuste automático de la altura según el contenido */
    min-height: 300px !important; /* Altura mínima para evitar que el cuadro sea demasiado pequeño */
}

/* Estilo para el título dentro del cuadro */
.info-box h2 {
    font-size: 22px; /* Tamaño del texto del título, ajustado para un cuadro más pequeño */
    margin-bottom: 10px; /* Reduce el margen inferior */
    color: #333; /* Color del texto del título */
}

/* Estilo para el párrafo de texto */
.info-box p {
    font-size: 14px; /* Tamaño del texto del párrafo, ajustado para un cuadro más pequeño */
    color: #555; /* Color del texto del párrafo */
    margin-bottom: 15px; /* Reduce el margen inferior */
}

/* Estilo para el contenedor de los ítems de contacto */
.contact-gris {
    display: flex;
    flex-direction: column;
}

/* Estilo para cada ítem de contacto */
.gris-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* Reduce el margen inferior */
}

/* Estilo para los íconos de contacto */
.gris-icon {
    width: 20px; /* Ajusta según el tamaño deseado */
    height: auto;
    margin-right: 8px; /* Reduce el margen derecho */
}

/* Estilo para los enlaces de contacto */
.contact-gris a {
    font-size: 14px; /* Tamaño del texto de los enlaces, ajustado para un cuadro más pequeño */
    color: #007BFF; /* Color del texto de los enlaces */
    text-decoration: none;
}

.contact-gris a:hover {
    text-decoration: underline; /* Subrayado al pasar el ratón */
}



footer {
    background-color: #003366;
    color: white;
    padding: 1em 0;
    text-align: center;
    width: 100%;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-text {
    margin-top: -20px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.footer-icon {
    width: 24px;
    height: auto;
    margin-right: 0.5em;
}


footer {
    background-color: #003366;
    color: white;
    padding: 1em 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    padding-top: 50px;
    padding-bottom: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-text {
    margin-top: -20px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.footer-icon {
    width: 24px;
    height: auto;
    margin-right: 0.5em;
}

.footer-social p {
    margin: 0;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.icon-link:hover {
    background-color: #f0f0f0;
}

.footer-contact {
    position: absolute;
    right: 10%;
    text-align: right;
    margin-top: -30px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}

.footer-contact .contact-item p {
    margin: 0;
    margin-left: 0.5em;
    color: black; /* Texto en negro */
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5em;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    margin: 2em 0;
}

.info-box {
    border-top: 8px solid #d8d8d8; /* Borde azul solo en la parte superior */
    width: 45%; /* Mantén el mismo ancho si lo prefieres */
    padding: 20px;
    background-color: #003366;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    /* Agrega un max-height o altura específica si es necesario */
    max-height: 400px; /* Ajusta según lo que necesites */
    overflow: auto; /* Permite desplazamiento si el contenido es mayor que el max-height */
}

.info-box h2{
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
}

.info-box p{
    color: #dfdddd;
    font-size: 17px;
    text-align: justify;
    margin-bottom: 30px;
}

.info-box a{
    color: #fff;
}

.page-title {
    margin-top: 50px;;
    color: #003366; /* Color azul para el fondo del título */
    padding: 1em; /* Espacio alrededor del título */
    text-align: center; /* Centra el texto */
    margin-bottom: -40px;
}

.page-title p {
    margin: 0; /* Elimina el margen predeterminado */
    font-size: 3em; /* Tamaño del texto */
    font-weight: 700;
}

.contact-icon {
    width: 20px; /* Ajusta el tamaño del ícono */
    height: 20px; /* Ajusta el tamaño del ícono */
    margin-right: 0.5em; /* Espacio entre el ícono y el texto */
}

.fixed-icons {
    position: fixed; /* Fija el contenedor en la esquina */
    bottom: 20px; /* Espacio desde el borde inferior */
    right: 20px; /* Espacio desde el borde derecho */
    display: flex; /* Alinea los íconos horizontalmente */
    flex-direction: column; /* Disposición vertical de los íconos */
    gap: 10px; /* Espacio entre los íconos */
    z-index: 1000; /* Asegura que los íconos estén encima de otros elementos */
}

.fixed-icon {
    width: 40px; /* Tamaño del ícono */
    height: auto; /* Mantiene la proporción del ícono */
}

.navbar-mobile {
    display: none;
}

/*  mobile */
@media screen and (max-width: 768px) {

    .footer-contact {
        position: relative;
        margin-top: 10px;
        right: 0px;
        padding-bottom: 0px;
    }

    .footer-text {
        margin-top: 0px;
        font-size: 1.1rem;
    }

    footer {
        padding-top: 30px;
    }

    .footer-content p {
        font-size: 1.1em;
    }

    .card-container {
        margin-bottom: 0px;
        grid-template-columns: repeat(1, 1fr);
    }

    .solution-description {
        font-size: 1.2em !important;
        ;
    }

    .solution-title {
        font-size: 2.3em;
    }

    .info-box {
        position: relative;
        transform: none;
        width: 100%;
        left: 0px;
        height: auto;
    }

    .info-title {
        font-size: 1.9em;
        margin-top: 20px;
    }

    .info-box p {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .navbar {
        display: none;
    }

    .navbar-mobile {
        display: block;
    }

    .navbar-mobile {
        box-shadow: -1px -6px 18px 3px rgba(0, 0, 0, 0.52);
        -webkit-box-shadow: -1px -6px 18px 3px rgba(0, 0, 0, 0.52);
        -moz-box-shadow: -1px -6px 18px 3px rgba(0, 0, 0, 0.52);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        color: white;
    }

    .navbar-mobile input[type="checkbox"] {
        display: none;
    }

    .navbar-mobile label {
        display: block;
        cursor: pointer;
        padding: 10px;
        width: 45px;
        font-size: 26px;
        text-align: center;
        color: #000;
    }


    .navbar-mobile .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-mobile input[type="checkbox"]:checked~.menu-items {
        display: flex;
    }

    .navbar-mobile .menu-item {
        padding: 10px;
        /*  background-color: #003366; */
        border-bottom: 1px solid #005599;
        width: 100%;
    }

    .navbar-mobile .menu-item a {
        color: white;
        text-decoration: none;
        color: #000;

    }

    .navbar-mobile .menu-item a:hover {
        color: #cce6ff;
    }

    .navbar-header {
        display: flex;
        align-items: center;
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    .logo {
        height: 40px;
    }

    .banner-image {
        filter: blur(0px);
    }

    .page-title {
        margin-top: 40px;;
     
    }
    
    .page-title p {
        font-size: 2.5em; /* Tamaño del texto */
    }

    .content {
        padding: 20px;
        text-align: center;
        margin-left: 0px;
        margin-right: 0px;
    }
    
    .contact-container {
        justify-content: space-between;
        flex-direction: column;
        margin: 2em 0;
    }

    .contact-form {
        width: 100%;
    }

    .info-box {
        width: 100%;
        max-width: none;
        max-height: none;
        overflow: auto;
        margin-top: 50px;
    }
}