.hero {
  min-height: 1000px;
  background: url("../img/hero-image.png") no-repeat right top;
}

.hero__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5.125rem;
  padding-top: 13.75rem;
}

.hero__content {
  max-width: 862px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.hero__content-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  color: #fffffc;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: "Syne", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.hero__title--coloured {
  color: #fa1f59;
}

.hero__text {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
}

.hero__buttons-wrapper {
  display: flex;
  gap: 1.25rem;
}

.button.hero__button--learnmore {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero__benefits {
  display: flex;
  gap: 4.125rem;
}

.hero__benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__benefit-number {
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Syne", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.hero__benefit-text {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

/* Media queries moved to the end */
@media (max-width: 1600px) {
  .hero {
    min-height: min-content;
    background-size: 700px;
    background-position: right center;
  }

  .hero__container {
    padding-top: 180px;
    padding-bottom: 150px;
  }

  .hero__content {
    max-width: 800px;
  }
}

@media (max-width: 1440px) {
  .hero {
    background-size: 600px;
  }

  .hero__container {
    padding-top: 160px;
    padding-bottom: 120px;
    gap: 4rem;
  }

  .hero__content {
    max-width: 650px;
    gap: 3rem;
  }

  .hero__content-container {
    gap: 1.5rem;
  }

  .hero__title {
    font-size: 3.25rem;
    letter-spacing: 0;
  }

  .hero__text {
    font-size: 1.125rem;
  }

  .hero__benefits {
    gap: 3rem;
  }
}

@media (max-width: 1280px) {
  .hero__container {
    padding-top: 140px;
    padding-bottom: 100px;
    gap: 3.25rem;
  }

  .hero__content {
    max-width: 580px;
    gap: 2.5rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__benefit-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 1440px) {
  .hero {
    background-size: 500px;
  }

  .hero__content {
    max-width: 700px;
  }

  .hero__content-container {
    gap: 24px;
  }

  .hero__title {
    font-size: 56px;
  }
}

@media (max-width: 1220px) {
  .hero__content {
    max-width: 600px;
  }
}

@media (max-width: 1023.98px) {
  .hero {
    background: none;
  }

  .hero__container {
    padding-top: 150px;
    padding-bottom: 100px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__content-container {
    text-align: center;
  }

  .hero__note {
    justify-content: center;
  }

  .hero__buttons-wrapper {
    justify-content: center;
  }

  .hero__benefits {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero__container {
    padding-top: 120px;
    padding-bottom: 72px;
  }

  .hero__content-container {
    gap: 1.125rem;
  }

  .hero__note {
    font-size: 1rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__text {
    font-size: 1.125rem;
  }

  .hero__buttons-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }

  .button.hero__button--learnmore {
    justify-content: center;
  }

  .hero__benefits {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
}

html[dir="rtl"] .hero {
  background-position: left top;
}

html[dir="rtl"] .hero__content {
  margin-left: auto;
  text-align: right;
}

html[dir="rtl"] .hero__note,
html[dir="rtl"] .hero__buttons-wrapper,
html[dir="rtl"] .hero__benefits {
  justify-content: flex-end;
}

@media (max-width: 1023.98px) {
  html[dir="rtl"] .hero__content {
    margin-left: 0;
    text-align: center;
  }

  html[dir="rtl"] .hero__note,
  html[dir="rtl"] .hero__buttons-wrapper,
  html[dir="rtl"] .hero__benefits {
    justify-content: center;
  }
}
