body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #495057;
  line-height: 1.6;
}

header {
  background-color: #6c757d;
  color: #fff;
  text-align: center;
  padding: 1.5em 0;
}

section {
  padding: 3em 2em;
  margin: 2em auto;
  background-color: #fff;
  max-width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

/* Estilos para la sección Hero */
#hero {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4em 2em;
}

.hero-content {
  width: 50%;
}

.hero-image {
  width: 40%;
}

.hero-image img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Estilos para los botones */
.btn {
  background-color: #28a745;
  color: #fff;
  padding: 1.2em 2em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
  margin-top: 1em;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #218838;
}

/* Estilos para la sección ¿Cómo Funciona? */
#como-funciona {
  text-align: center;
  padding-bottom: 4em;
  position: relative;
  overflow: hidden;
}

.como-funciona-pasos{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2em;
}

.paso {
  width: 30%;
  border-radius: 8px;
  min-width: 250px;
  text-align: left;
   background-color: #fff;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 1.5em;
      position: relative;

}
.paso-content {
  flex-grow: 1;
  padding-right: 1em;
}
.paso-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
   margin-left: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
    font-size: 3em;
     color: #28a745;
}

.ejemplos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 3em;
}

.ejemplo {
  border: 1px solid #dee2e6;
  padding: 1.8em;
  width: 40%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  min-width: 300px;
  text-align: left;
}

.ejemplo h3 {
color: #495057;
margin-bottom: 1em;
}

/* Estilos para los enlaces de dependencia */
.dependencias {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 3em;
  gap: 20px;
}

.dependencia {
  text-align: center;
  border: 1px solid #dee2e6;
  padding: 1.5em;
  width: 30%;
  margin-bottom: 1.5em;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.dependencia:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dependencia a{
  text-decoration: none;
  color: #28a745;
  font-weight: 600;
}

.dependencia a:hover {
  text-decoration: underline;
}

/* Estilos para las imágenes de dependencias */
.dependencia img {
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  border-radius: 8px;
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Estilos para el video */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Aspect ratio 16:9 */
  padding-top: 25px;
  height: 0;
  overflow: hidden;
  margin-top: 1em;
  margin-bottom: 1em;

}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Estilos para el formulario de contacto */
#contacto form {
  max-width: 600px;
  margin: 2em auto;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #eee;
  background-color: #f8f9fa;
}

#contacto form label {
  display: block;
  margin-bottom: 0.8em;
  font-weight: 600;
}

#contacto form input,
#contacto form textarea {
  width: 100%;
  padding: 1.1em;
  margin-bottom: 1.2em;
  border: 1px solid #ced4da;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Pie de página */
footer {
  text-align: center;
  padding: 1.5em 0;
  background-color: #6c757d;
  color: #fff;
}

/* Estilos adicionales para textos y elementos */
h2 {
  color: #495057;
  font-weight: 700;
  margin-bottom: 1em;
  text-align: center;
}

p {
  color: #495057;
  line-height: 1.8;
}