body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ------------------- NAVBAR ------------------- */
nav {
    width: 100%;
    color: #fff;
    height: 112px;
    position: fixed;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 112px;
}

.nav-container img {
    max-width: 645px;
    height: auto;
}

.nav-container ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 96%;
    align-items: center;
}

.nav-container ul li {
    margin-left: 4em;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    height: 96%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-container svg {
    fill: #478abd;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: fill 0.3s ease;
}

.nav-container svg:hover {
    fill: #3eadde;
    transition: fill 0.3s ease;
}

nav a {
    color: #fff;
    text-decoration: none;
}

.nav-container ul li a::before,
.nav-container ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgba(71, 138, 189, 0);
    transition: all 0.3s ease-in-out;
}

.nav-container ul li a::before {
    top: 0;
}

.nav-container ul li a::after {
    bottom: 0;
}

.nav-container ul li a:hover::before,
.nav-container ul li a:hover::after {
    width: 100%;
    left: 0;
    background-color: rgba(71, 138, 189, 1);
}

/* ------------------- NAVBAR SCROLL ------------------- */

.nav-scrolled {
    background-color: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled a {
    color: #4d5d6d;
}

/* ------------------- HEADER ------------------- */

header {
    position: relative;
    background: url('../img/optimizacion-empresarial-eficiencia-y-conectivida-upscaled-2-scaled.jpg.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 5em 1em;
    width: auto;
    height: 583px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

header div,
header h1,
header p {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté por encima de la capa semitransparente */
}

header h1 {
    font-size: 2.5em;
    color: #4fa6db;
    margin-bottom: 0.5em;
}

header p {
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: bold;
}

section {
    padding: 2em 1em;
}

.solucion {
    margin-bottom: 1.5em;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 0.5em;
}

input,
button {
    margin-top: 0.5em;
    padding: 0.5em;
    font-size: 1em;
}