.join-team {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-color: #00412f;
  padding: 200px 160px;
  overflow: hidden;
}

/* Bottom left gradient decorator */
.join-team::before {
  content: "";
  position: absolute;
  bottom: -266px;
  left: -780px;
  width: 1482.038px;
  height: 703.157px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(26.36deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
}

/* Top right gradient decorator */
.join-team::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -720px;
  width: 1049.077px;
  height: 599.424px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(5.57deg);
  pointer-events: none;
  z-index: 0;
}

.join-team__container {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.join-team__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  max-width: 832px;
  margin: 0 auto;
}

.join-team__heading {
  font-size: 40px;
  font-weight: normal;
  line-height: 48px;
  color: #ffffff;
  margin: 0;
  font-family: 'schibsted_grotesk_demi', 'Verdana';
}

.join-team__text {
  font-size: 16px;
  font-weight: normal;
  line-height: 28px;
  color: #e6e6e6;
  margin: 0;
  font-family: 'avenir_next_worldmedium', 'Verdana';
}

.join-team__link {
  color: #ffffff;
  transition: color 0.3s ease;
}

.join-team__link:hover {
  color: #4fb3a3;
}

/* Responsive design */
@media (max-width: 1024px) {
  .join-team {
    padding: 150px 80px;
  }

  .join-team__heading {
    font-size: 36px;
    line-height: 44px;
  }

  .join-team::before {
    bottom: -250px;
    left: -650px;
    width: 1100px;
    height: 520px;
    transform: rotate(26.36deg);
  }

  .join-team::after {
    top: -80px;
    right: -600px;
    width: 800px;
    height: 450px;
    transform: rotate(5.57deg);
  }
}

@media (max-width: 768px) {
  .join-team {
    padding: 100px 40px;
  }

  .join-team__content {
    max-width: 100%;
  }

  .join-team__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .join-team::before {
    bottom: -200px;
    left: -500px;
    width: 850px;
    height: 400px;
    transform: rotate(26.36deg);
  }

  .join-team::after {
    top: -60px;
    right: -450px;
    width: 600px;
    height: 340px;
    transform: rotate(5.57deg);
  }
}

@media (max-width: 480px) {
  .join-team {
    padding: 80px 20px;
  }


  .join-team::before {
    bottom: -135px;
    left: -350px;
    width: 600px;
    height: 280px;
    transform: rotate(26.36deg);
  }

  .join-team::after {
    top: -40px;
    right: -300px;
    width: 420px;
    height: 240px;
    transform: rotate(5.57deg);
  }
}
