.header-nosotros {
  background: url('../Imagenes/pnosotros.jpg') center center / cover no-repeat;
  height: 300px;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nosotros .overlay {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  text-align: center;
  width: 100%;
}

.header-nosotros h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.header-nosotros p {
  font-size: 1.2em;
}

.contenedor {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.quienes-somos h2,
.mision-vision h3,
.equipo h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0d3b66;
}

.quienes-somos p {
  text-align: justify;
  font-size: 1.1em;
  line-height: 1.6;
}

.mision-vision .tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.tarjeta {
  background: #f4f4f4;
  padding: 25px;
  border-radius: 12px;
  flex: 1 1 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.tarjeta h3 {
  margin-bottom: 10px;
  color: #0092d1;
}

.tarjeta p {
  text-align: justify;
}

.equipo-img {
  text-align: center;
}

.equipo-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}





.equipo-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.equipo-img {
  flex: 1 1 400px;
  text-align: center;
}

.equipo-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.valores-lado {
  flex: 1 1 400px;
}

.valores-lado h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #0d3b66;
}

.valores-lado ul {
  list-style: none;
  padding: 0;
  font-size: 1.2em;
  line-height: 2;
}

.valores-lado li {
  background: #fff;
  padding: 12px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #0092d1;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
