/* ========================================
   NOSOTROS.CSS - DPI del Perú
   Estilos para la sección Nosotros
======================================== */

/* ========================================
   SECCIÓN NOSOTROS
======================================== */
.nosotros-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.nosotros-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 16vh 8vh;
    z-index: 2;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    margin-top: 6.5vh;
    width: 100%;
}

.nosotros-left {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.nosotros-title {
    display: flex;
    margin-bottom: 3.5vh;
    justify-content: center;    
}

.title-image {
    width: 100%;
    max-width: 35vh;
    height: auto;
}

.nosotros-text {
    color: white;
    font-size: 2vh;
    line-height: 1.8;
    font-weight: 400;
    text-align: center;
}

.nosotros-text p {
    margin-bottom: 3.5vh;
}

.nosotros-text p:last-child {
    line-height: 1.3;
    margin-bottom: 0;
}

.nosotros-button {
    display: flex;
    margin-top: 3.5vh;
    justify-content: center;
}

.nosotros-right {
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 3.5vh 6.5vh rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 70vh;
    border-radius: 3.5vh;
    overflow: hidden;
}

.image {
    width: 100%;
    height: auto;
    display: block;
}

/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-8vh);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(8vh);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE - NOSOTROS SECTION
======================================== */
@media (max-width: 1200px) {
    .nosotros-container {
        padding: 12.8vh 5vh;
    }
}

@media (max-width: 992px) {
    .nosotros-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nosotros-container {
        padding: 9.5vh 3.5vh;
        min-height: auto;
    }
    
    .image-container {
        max-width: 63vh;
        margin: 3.5vh auto 0 auto;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nosotros-container {
        padding: 8vh 3.5vh;
    }
    
    .nosotros-text {
        text-align: center;
    }
    
    .image-container {
        margin: 6.5vh 0;
        max-width: 50vh;
    }
}

@media (max-width: 576px) {
    .nosotros-container {
        padding: 6.5vh 2.5vh;
    }
    
    .title-image {
        max-width: 30vh;
    }
    
    .image-container {
        max-width: 45vh;
    }
}