.main-container {
  margin-top: 95px;
  padding: 0;
  background-color: #f4f4f4;
  overflow-x: hidden;
  background-image: url("../../../static/images/backgrounds/background.jpg");
  background-size: cover; /* Hace que la imagen cubra todo el contenedor */
  background-position: center; /* Centra la imagen en el contenedor */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
}

.aos-welcome {
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: transform 2s ease-in-out;
}

.welcome-logo, .welcome-text {
  flex: 1;
  text-align: center;
}

.welcome-text{
  align-content: center;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-right: 20px;
  height: 80%;
}

.welcome-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 40vh; /* Ajusta el tamaño según sea necesario */
  height: auto;
  margin-bottom: 10px;
}

.image-text {
  width: 60vh; /* Ajusta el tamaño según sea necesario */
  height: auto;
  margin-bottom: 10px;
}

.title-right {
  margin-bottom: 20px;
}

.description-right {
  padding: 0 20px; /* Añadido para espaciar el texto */
}

.aos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.aos-item {
  width: 100%;
  height: 400px;
  background-color: #fff;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 2s ease-in-out;
  margin-bottom: 20px;
}

.aos-item2 {
  width: 100%;
  height: 200px;
  background-color: #fff;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 2s ease-in-out;
  margin-bottom: 20px;
}


.aos-item:hover {
  transform: scale(1.05);
}

.seccion1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.seccion1-center{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.aos-item-left,
.aos-item-right {
  flex: 1;
}

.aos-item-left {
  text-align: center;
}

.aos-item-right {
  width: 100%;
  height: 300px;
  background-color: #ffffff00;
  border: 1px solid #dddddd00;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 2s ease-in-out;
  margin-bottom: 20px;
}

.aos-item-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.valores-container {
  display: flex;
  justify-content: space-between;
  width: 90%;
  gap: 20px;
  margin: 20px auto;
}

.valor-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 2s ease-in-out;
}

.valor-item img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.valor-item:hover {
  transform: scale(1.05);
}

.main-container h1 {
  font-size: 3em;
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  color: #20699f;
  margin-bottom: 15px;
}

.main-container h2 {
  font-size: 1.5em;
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  color: #20699f;
  margin-bottom: 15px;
}

.main-container p {
  font-size: 1.5em;
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  color: #000000;
  margin-bottom: 15px;
}

/* Estilos generales para dispositivos móviles */
@media only screen and (max-width: 768px) {
  .main-container {
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
    background-image: url("../../../static/images/backgrounds/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .aos-welcome {
    flex-direction: column; /* Cambia la dirección a columna */
    height: auto; /* Ajusta la altura automáticamente */
    margin-top: 20px; /* Reduce el margen superior */
  }

  .aos-item-right img {
    width: 50%;
    height: 50%;
    object-fit: contain;
  }

  .welcome-logo, .welcome-text {
    width: 100%; /* Ancho completo */
    margin: 10px 0; /* Espaciado vertical entre los elementos */
  }

  .welcome-text {
    margin-right: 0; /* Elimina el margen derecho */
  }

  .logo-image, .image-text {
    width: 50vw; /* Ajusta el tamaño según sea necesario para móviles */
    margin-bottom: 10px;
  }

  .aos-container {
    margin-top: 10px; /* Reduce el margen superior */
  }

  .aos-item, .aos-item2 {
    height: auto; /* Ajusta la altura automáticamente */
  }

  .seccion1 {
    flex-direction: column-reverse; /* Cambia la dirección a columna */
    gap: 10px; /* Reduce el espacio entre elementos */
  }

  .seccion1-center {
    flex-direction: column; /* Cambia la dirección a columna */
    gap: 10px; /* Reduce el espacio entre elementos */
  }

  .valores-container {
    flex-direction: column; /* Cambia la dirección a columna */
    gap: 10px; /* Reduce el espacio entre elementos */
    width: 100%; /* Ancho completo */
  }

  .valor-item {
    margin: 10px 0; /* Espaciado vertical entre los elementos */
  }

  /* Ajusta el tamaño de las imágenes */
  .valor-item img {
    width: 50px; /* Tamaño más pequeño para móviles */
    height: 50px;
    margin-bottom: 10px;
  }

  /* Ordenar imagen encima de la descripción */
  .valor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Estilos adicionales para ajustar el tamaño de fuente en móviles */
.main-container h1 {
  font-size: 2em; /* Reduce el tamaño de fuente para móviles */
}

.main-container h2 {
  font-size: 1.2em; /* Reduce el tamaño de fuente para móviles */
}

.main-container p {
  font-size: 1.1em; /* Reduce el tamaño de fuente para móviles */
}

}

