/* ESTILOS DEL HEADER (WHO WE ARE PAGE) */
.nav {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0;
}

.jumboWhoWeAre {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -136px; /* Compensa la altura de la barra de navegación */
    padding-top: 80px; /* Mantiene el contenido visible */
    z-index: -1;
}

.jumboWhoWeAre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('IMAGES/emptyOffice.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.05);
    animation: backgroundZoom 30s infinite alternate ease-in-out;
    z-index: -1;
}

.jumboWhoWeAre::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Filtro blanco */
    z-index: -1;
}

.jumboWhoWeAre h1 {
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 0.5s;
}

/* SECCIÓN DE INTRODUCCIÓN (WHO WE ARE PAGE) */
.col-1-Who{
    padding: 75px;
    text-align: center;
    animation: fadeIn 1s ease-in-out forwards, 4s forwards;
    background-color: white;
    line-height: 1.6;
    font-size: 3em;
}

.col-1-Who p {
    font-size: 0.45em;
}

/* SECCIÓN MISIÓN Y VISIÓN */
.mission-vision-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px auto;
    max-width: 900px;
    padding: 20px;
}

.mv-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 10px 25px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    width: 45%;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}
.mission-card {
    animation-delay: 0.5s;
}
.vision-card {
    animation-delay: 0.7s;
}

.mv-card h1 {
    color:#be0169;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.mv-card p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* SECCIÓN DE VALORES */
.values-overcontainer{
    background-color: white;
}
.values-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
}

.value-pair {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    opacity: 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideInFromRight 1s ease-out forwards 1s;
}

.value-name-card {
    background-color:#E6007E;
    color: white;
    padding: 25px;
    text-align: center;
    width: 200px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px 0 0 10px;
    font-weight: bold;
    font-size: 1em;
}

.value-name-card h3 {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    white-space: nowrap;
}

.value-description-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 0 10px 10px 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.3em;
    line-height: 1.6;
    flex: 1;
}

.value-description-card p {
    margin: 0;
}

/* SECCIÓN DE RED DE TRADUCTORES */
.network-section {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px;
    gap: 40px;
    background-color: #f9f9fa;
    overflow: hidden;
}

.network-image-container {
    flex: 1;
    max-width: 50%;
    text-align: center;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 2s ease-out, transform 1.5s ease-out; /* Duración de 2s */
}

.network-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.network-text-container {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 2s ease-out, transform 1.5s ease-out; /* Duración de 2s */
}

.network-text-container h2 {
    font-size: 2.5em;
    color: #554596;
    margin-bottom: 20px;
    line-height: 1.2;
}

.network-text-container p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #554596;
}

.highlight {
    color: #be0169;
}

/* ANIMACIONES GENERALES */
/* Se aplica la clase 'animate' al padre '.scroll-animation-parent' para activar animaciones de los hijos */
.scroll-animation-parent.animate .network-image-container {
    transform: translateX(0);
    opacity: 1;
}

.scroll-animation-parent.animate .network-text-container {
    transform: translateX(0);
    opacity: 1;
}

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

@keyframes backgroundZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.25);
    }
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* MEDIA QUERIES */
@media all and (max-width:1044px){
    .nav{
        background-color: white;
    }
}

@media all and (max-width: 900px){
    /* Header */
    .jumboWhoWeAre {
        height: 60vh;
        margin-top: -60px;
        padding-top: 60px;
    }
    .jumboWhoWeAre h1 {
        padding: 0 20px;
    }

    /* Sección Misión y Visión */
    .mission-vision-container {
          flex-direction: column;
          align-items: center;
          gap: 20px;
    }
    .mv-card {
          width: 90%;
    }

    /* Sección de Valores */
    .values-container {
      padding: 20px;
      gap: 30px;
    }
    .value-pair {
      flex-direction: column;
      align-items: stretch;
    }
    .value-name-card {
      width: 100%;
      border-radius: 10px 10px 0 0;
    }
    .value-description-card {
      border-radius: 0 0 10px 10px;
    }

    /* Sección de Red de Traductores */
    .network-section {
        flex-direction: column;
        margin: 40px auto;
        gap: 20px;
    }

    .network-image-container,
    .network-text-container {
        max-width: 90%;
        transform: translateX(0); /* Resetea la transformación para móviles */
        opacity: 1; /* Asegura que sea visible sin animación lateral en móviles */
    }

    .network-text-container h2 {
        font-size: 1.8em;
        text-align: center;
    }

    .network-text-container p {
        font-size: 0.95em;
        text-align: center;
    }
}
