.how-it-works {
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.how-it-works-header {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;

  margin-bottom: 10.2rem;
}

.how-it-works-header-head {
  max-width: 58.4rem;
}

.how-it-works-title {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 157%;
}

.how-it-works-subtitle {
  font-family: "Georgia", sans-serif;
  font-weight: 700;
  font-size: 5rem;
  line-height: 157%;
  color: #01996d;
}
.how-it-works-header-content {
  max-width: 67rem;
  font-weight: 500;
  line-height: 150%;

  padding-top: 5rem;
}
/*---------------------media-------------------*/
@media (max-width: 1150px) {
  .how-it-works-subtitle {
    line-height: 130%;
  }
}

@media (max-width: 600px) {
  .how-it-works-subtitle {
    font-size: 4rem;
    line-height: 110%;
  }

  .how-it-works-title {
    font-size: 2rem;
    line-height: 110%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 400px) {
  .how-it-works-header {
    margin-bottom: 4rem;
  }

  .how-it-works-subtitle {
    font-size: 2.5rem;
    line-height: 100%;
  }
}

/*----------------step------------------*/

.how-it-works-steps {
  background-color: rgba(153, 205, 50, 0.305);

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.step {
  max-width: 39rem;
}

.step1 {
  padding-top: 10rem;
}

.step2 {
  padding-top: 20.7rem;
}

.step3 {
  padding-top: 15rem;
}

.step-heading {
  position: relative;
  font-family: "Georgia", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 150%;
  text-align: center;
  color: #000;

  margin-bottom: 2.5rem;
}

.step-heading::before {
  content: attr(data-number);

  position: absolute;

  left: 2rem;
  top: -13rem;

  font-weight: 400;
  font-size: 15rem;
  line-height: 150%;
  color: rgba(1, 153, 109, 0.2);
}

.step-text {
  font-weight: 500;
  line-height: 150%;

  text-align: justify;

  margin-bottom: 3rem;
}

.step-img {
  width: 100%;
  height: auto;
  object-fit: cover;

  border-radius: 8px;

  margin-bottom: 5rem;
}

/*------------------media-----------------*/

@media (max-width: 802px) {
  .step3 {
    padding-top: 1rem;
  }
}

@media (max-width: 630px) {
  .how-it-works-steps {
    background-color: rgba(153, 205, 50, 0.305);

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }

  .step-heading {
    line-height: 100%;

    margin-bottom: 1rem;
  }

  .step-heading::before {
    font-size: 10rem;
  }

  .step-text {
    font-weight: 500;
    line-height: 110%;

    text-align: justify;

    margin-bottom: 1rem;
  }

  .how-it-works-steps {
    gap: 1rem;
  }

  .step {
    width: 40rem;
  }

  .step2 {
    padding-top: 3rem;
  }

  .step3 {
    padding-top: 3rem;
  }
}
