/* -----------------------Nosotros--------------------------------- */
.nosotros {
  background-color: #e5e5f7;
  background-image: radial-gradient(#ff8000 0.5px, transparent 0.5px),
    radial-gradient(#ff8000 0.5px, #e5e5f7 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  overflow: hidden;
}

.nosotros__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: center;
}

.nosotros__picture {
  max-width: 500px;
}
.subtitle__nosotros {
  font-size: 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-display: flex;
  color: #ff8000;

  position: relative;
  top: -50px;
}

.nosotros__paragraph {
  line-height: 1.7;
  margin-bottom: 20px;
  color: black;
  position: relative;
  top: -80px;
  text-align: justify;
}

.nosotros__img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 50px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  filter: blur(0.5px);
}

/* mision vision */
.mision-vision {
  background-color: #ff8000;
  padding: 2.5em 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.container__MV {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
}

.purpose {
  text-align: center;
  margin-bottom: 0.5em;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 2.5em;
  
}

.card {
  flex-basis: calc(50% - 1em);
  padding: 0.5em;
  background-color: #ffeecc;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 2.5em;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card i {
  font-size: 8.5em;
  color: #6b6b6b;
  margin-bottom: 0.1em;
}

.card-title {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 0.5em;
  background-color: #ff8000;
  border-radius: 15%;
}

.card-message {
  font-size: 1.1em;
  color: #666;
  line-height: 1.6;
}
/* nuestros valores */
.valores {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #f7f7f7; */
  padding: 3em 0;
  flex-wrap: wrap;
  background-color: #f5f4f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ce982c' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.valores-title {
  font-size: 3.5em;
  color: #333;
  margin-bottom: 0.5;
  margin-top: 0;
  text-align: center;
  width: 100%;
  color: #ff8000;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: underline;
}

.valor {
  flex: 1;
  text-align: center;
  padding: 2em;
  border-radius: 10px;
  background-color: #ffeecc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 1em;
  cursor: pointer;
}

.valor-icon {
  font-size: 2.5em;
  color: #646464;
  margin-bottom: 1em;
}

.valor-title {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 0.5em;
  background-color: #ff8000;
  border-radius: 15%;
}

.valor-description {
  font-size: 1.1em;
  color: #3e3e3e;
  line-height: 1.6;
}
.valor:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.arrow-right,
.arrow-down {
  width: 50px;
  height: 2px;
  background-color: #444;
  position: relative;
  z-index: 1;
}

.arrow-right:before,
.arrow-down:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #f7f7f7;
  border: 2px solid #444;
  border-radius: 50%;
  top: -5px;
  right: -5px;
  z-index: 2;
}

.arrow-right:last-child,
.arrow-down:last-child {
  display: none;
}

.arrow-down {
  transform: rotate(90deg);
  margin: 0 auto;
}

/* Media Query para pantallas más pequeñas */
@media screen and (max-width: 768px) {
  .container__MV {
    flex-direction: column;
  }

  .card {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 540px) {
  .nosotros__container {
    display: block;
    padding: 10px;
    box-sizing: border-box;
    padding-top: 5px;
  }
  .subtitle__nosotros {
    font-size: 36px;
    margin-top: 10px;
    padding-bottom: 10px;
    top: -80px;
  }

  .nosotros__paragraph {
    width: 100%;
    margin-bottom: -10%;
    font-size: 12px;
    top: -85px;
  }

  .nosotros__img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    filter: blur(0.1px);
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 360px) {
  .nosotros__container {
    display: block;
    padding: 10px;
    box-sizing: border-box;
    padding-top: 5px;
  }
  .subtitle__nosotros {
    font-size: 28px;
  }
}

@media screen and (max-width: 280px) {
  .nosotros__container{
    padding: 5px;
  }

  .subtitle__nosotros {
    font-size: 25px;
    margin-top: 10px;
    padding-bottom: 10px;
    top: -80px;
  }

  .nosotros__paragraph {
    width: 100%;
    font-size: 10px;
    top: -80px;
  }

  .nosotros__img {
    max-width: 100%;
    height: 150px;
    margin-bottom: 20px;
   
  }
  /*  */
  .container__MV {
    max-width: 90%;
    margin-bottom: 5%;
    padding: 5px;
  }
  .purpose{
    font-size: 1.5em;;
  }
  
  .card {
    max-width: 65%;
  }
  
  
  
  .card i {
    font-size: 2.5em;
  }
  
  .card-title {
    font-size: 1em;
  }
  
  .card-message {
    font-size: 0.8em;
  }
 
}
