@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
.welcome-hero {
  background-image: url('../images/nosotros.jpeg');
  background-size: cover;
  background-position: center;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.welcome-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.726);
}

.welcome-hero-txt {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease forwards;
}

.welcome-hero-txt h2 {
  font-size: 4.5rem;
  color: white;
    text-shadow: 
    0 0 10px cyan,
    0 0 20px cyan,
    0 0 4px ;

}

.nosotros-container {
    font-family: Arial, sans-serif;

    margin: 0 auto;

    
}

.intro-text {
    max-width: 890px;
    margin: 0 auto;
}

.mission-vision-card p {
    color: black;
    text-align: justify;
}

.timeline p {
    text-align: justify;
}

.mission-vision, .valores-section, .historia-section, .equipo-section {
    padding: 15px 0;
}

.valor-card {
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.459);
}

.valor-card i {
    font-size: 3em;
    color: #ff6600;
    margin-bottom: 15px;
}

.valor-card h3 {
    color: #1e2d3b;
    margin-bottom: 10px;
}

.valor-card p {
    color: black;
  }
.timeline {
    position: relative;
    padding: 10px 0;
}

.timeline-item {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.year {
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 10px;
}

.equipo-section {
    text-align: center;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.historia-section h2, .prueba h2, .valores-section h2 {
    width: 100%;
    font-size: 2.5em;
    color: #1e3a5f;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.historia-section h2::after, .prueba h2::after, .valores-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 7px;
    background-color: #ff6600;
}



.mission-vision {
    padding: 50px 0;
    background-color: #f8f9fa;
    overflow: hidden; /* Asegura que las animaciones no causen scroll horizontal */
}

.mission-vision .row {
    display: flex;
    flex-wrap: wrap;
}

.mission-vision-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 30px;
    height: 100%; /* Asegura que ambas tarjetas tengan la misma altura */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.568);
}

.mission-vision-card h2 {
    color: #1e3a5f;
    font-size: 1.8em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.mission-vision-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff6600;
}

.mission-vision-card p {
    color: black;
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1; /* Permite que el párrafo ocupe el espacio restante */
}

.mission-vision-card:nth-child(1) {
    animation: slideInFadeLeft 1.5s ease-out 0.5s both;
  }
  
  .mission-vision-card:nth-child(2) {
    animation: slideInFadeRight 1.5s ease-out 0.5s both;
  }
@media (max-width: 767px) {
    .mission-vision-card {
        margin-bottom: 30px;
    }
}

    .profile-card img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #ff6600;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        margin: 0 auto 15px;
    }

    .profile-card img:hover {
        transform: scale(1.05);
    }
  
  .profile-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
    .profile-card {
        background-color: white;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.363);
        width: 100%;
        max-width: 400px;
        padding: 20px;
        text-align: center;
        flex: 1 1 300px;
    }

    .user-name {
        font-size: 1.5em;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .user-description {
        font-size: 0.9em;
        color: #666;
        line-height: 1.4;
    }

    /* animacion del nombre y descripcion  */

    @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      .intro-section {
        animation: fadeIn 2s ease-out;
      }
      
      .main-title {
        animation: fadeIn 2s ease-out 0.5s both;
      }
      
      .intro-text {
        animation: fadeIn 2s ease-out 1s both;
      }

    /* animacion para el mision y vision*/

    @keyframes slideInFadeLeft {
        from {
          opacity: 0;
          transform: translateX(-50px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }
      
      @keyframes slideInFadeRight {
        from {
          opacity: 0;
          transform: translateX(50px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

    /* animacion para nuestros valores*/

    .valores-section {
        opacity: 0;
        transition: opacity 0.5s ease-out;
      }
      
      .valores-section.visible {
        opacity: 1;
      }
      
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      .valor-card {
        opacity: 0;
        animation: fadeInUp 1s ease-out forwards;
        animation-play-state: paused;
      }
      
      .valores-section.visible .valor-card:nth-child(1) {
        animation-delay: 0.5s;
      }
      
      .valores-section.visible .valor-card:nth-child(2) {
        animation-delay: 0.10s;
      }
      
      .valores-section.visible .valor-card:nth-child(3) {
        animation-delay: 0.15s;
      }
      
      .valores-section.visible .valor-card {
        animation-play-state: running;
      }
      

    .whatsapp-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
      }
      
      .whatsapp-button img {
        width: 60px;
        height: 60px;
      }