.nosotros {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.titulo-seccion {
    font-size: 36px;
    color: #38382B;
    margin-bottom: 20px;
    font-weight: 600;
}

.contenido-nosotros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.caja {
    flex: 1;
    max-width: 350px;
    background: #C6D601;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.caja h2 {
    color: #38382B;
    font-size: 24px;
    margin-bottom: 10px;
}

.caja p {
    color: #333;
    font-size: 16px;
}

.caja:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .contenido-nosotros {
        flex-direction: column;
        align-items: center;
    }

    .caja {
        max-width: 100%;
    }
}

.nosotros {
    padding: 60px 0;
    background-color: #161d83 !important;
    text-align: center;
}

.titulo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #afc012;
    margin-bottom: 40px;
}

.seccion {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    padding: 20px;
}

.seccion-reversa {
    flex-direction: row-reverse;
}

.texto {
    flex: 1;
    max-width: 500px;
    text-align: left;
}

.texto h2 {
    font-size: 2rem;
    color: #afc012;
    margin-bottom: 15px;
}

.texto p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
}

.texto li{
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
}

.imagen {
    flex: 1;
    max-width: 450px;
    text-align: center;
}

.imagen img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.imagen img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .seccion {
        flex-direction: column;
    }
}

