/* Estilo general para el body */
body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
}

/* Sección "Visión" con fondo */
.vision-section {
  position: relative;
  padding: 100px 30px;
  background: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80&sat=-30"); no-repeat center center; /* Fondo de la sección de Visión */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Efecto parallax */
  background-blend-mode: multiply;
  height: 80vh;
  min-height: 600px;
  color: white;
  text-align: center;
}

/* Overlay oscuro para mejorar la visibilidad del texto sobre la imagen */
.vision-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fondo oscuro con opacidad */
  z-index: 1; /* Asegura que el overlay esté debajo del texto */
}

/* Estilos del contenido del texto sobre el overlay */
.vision-bg {
  position: relative;
  z-index: 2; /* Asegura que el texto esté encima del overlay */
}

.vision-section h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la visibilidad */
}

.history-item {
  font-size: 1.2rem; /* Tamaño de letra para mejorar la legibilidad */
  line-height: 1.8; /* Mejor espacio entre líneas */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Sombra en el texto */
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
/* Sección "Misión" con fondo */
.mision-section {
  background: linear-gradient(
      rgba(44, 62, 80, 0.85),
      /*Overlay azul oscuro semi-transparente */ rgba(44, 62, 80, 0.95)
        /*Capa superior más oscura */
    ),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80&sat=-30");
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed; /* Efecto parallax */
  background-blend-mode: multiply;
  position: relative;
  height: 90vh;
  min-height: 600px;
  padding: 120px 30px 30px;
  margin-top: 70px;

  display: flex;
  align-items: center;
}

.mision-bg {
  position: relative;
  z-index: 2; /* Asegura que el texto esté encima del fondo */
}

.mision-section h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la visibilidad */
}

.history-item ul {
  list-style-type: square;
  padding-left: 40px;
  font-size: 1.2rem;
  color: #fff;
}

/* Hacer que la imagen sea responsiva en dispositivos pequeños */
@media (max-width: 768px) {
  .vision-section h2,
  .mision-section h2 {
    font-size: 2.5rem;
  }

  .history-item {
    font-size: 1rem;
    padding: 15px;
  }

  .history-item h3 {
    font-size: 2rem;
  }

  .history-item p {
    font-size: 1rem;
  }
}
