.hero-container {
  background-image: url("../img/affiliates-program/hero.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.hero-content > div {
  max-width: 100%;
  text-align: center;
}

.relative-img .team-icon {
  top: 0;
  right: 30%;
  transform: translateY(-50%);
  position: absolute;
  max-width: 70%;
}

.steps-content {
  display: flex;
  gap: 1.8rem;
}

.steps-content-box {
  flex: 1;
  background: #f6f6f6;
  border-radius: 15px;
  padding: 3.5rem;
  min-height: 100%;
  color: #112439;
  position: relative;
}

.steps-content-box > h4 {
  font-size: 2.6rem;
  line-height: 2.8rem;
  color: #112439;
  margin-bottom: 2rem;
  font-weight: 400;
}

.steps-content-box > div {
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-family: "Roboto";
}

.steps-content-box > span {
  position: absolute;
  left: 3.5rem;
  top: 0;
  transform: translateY(-50%);
  font-size: 3.3rem;
  line-height: 3.6rem;
  color: #01e5a0;
}

.gift-box {
  background: #f6f6f6;
  border-radius: 15px;
  padding: 4.4rem;
  padding-right: 10rem;
  display: flex;
}

.gift-box > div {
  flex: 1;
}

.gift-box > div:first-child {
  flex: 1.75;
}

.gift-box > div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: end;
}

.gift-box h4 {
  font-size: 4.4rem;
  line-height: 4.7rem;
  margin-bottom: 4rem;
  margin-top: 0;
  color: #112439;
  font-weight: 400;
}

.gift-box .desc {
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-family: "Roboto";
  color: #112439;
}

.gift-box button {
  padding: 2rem 6rem;
  font-size: 1.8rem;
  line-height: 2rem;
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .team-icon {
    width: 4.5rem;
  }

  .gift-box {
    padding: 2rem;
  }

  .gift-box button {
    padding: 2rem 4rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .team-icon {
    width: 3rem;
  }

  .steps-content,
  .gift-box {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }
}
