body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f0f0f0;
    overflow: hidden;
    /* Oculta las barras de desplazamiento */
}

.parent {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    background-image: url('../IMG/4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
    color: #0c0c0c;
    text-align: center;
    border: 2px solid #cccccc;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.div1 {
    grid-column: span 8 / span 8;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 10px;
}

.div1 img {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 50px;
}

.div1 h1 {
    text-align: center;
    margin: 0;
    flex-grow: 1;
    padding-top: 10px;
}

.div2 {
    grid-column: span 8 / span 8;
    grid-row-start: 2;
    background-color: rgba(22, 22, 22, 0.5);
    /* Corrección de la opacidad */
    padding: 10px 0;
    max-height: 25px;
    margin-top: -55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.div2-nav {
    display: flex;
    gap: 20px;
    /* Espacio entre elementos */
    align-items: center;
}

.div2-nav button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: color 0.3s ease;
    position: relative;
}

.div2-nav button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.div2-nav button:hover {
    color: #00bfff;
    /* Cambio de color al pasar el ratón */
}

.div2-nav button:hover::after {
    width: 100%;
    left: 0;
}

.div3 {
    grid-column: span 8 / span 8;
    grid-row: span 3 / span 3;
    grid-row-start: 3;
    padding: 20px;
    margin-top: -135px;
}

.div3 h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 40;
}

.clientes {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.cliente {
    text-align: center;
    max-width: 300px;
}

.cliente img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cliente img:hover {
    transform: scale(1.05);
}

.cliente p {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0 0;
}

.div3 h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #080808;
    /* Ajusta el color según el diseño */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    /* Efecto degradado */
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    animation: fadeIn 1s ease-in-out;
}


/* Animación para que aparezca con un efecto suave */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}