.background-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .background-section {
    padding: 80px 0;
  }
}

@media (min-width: 992px) {
  .background-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 27.75rem;
  }
}

.background-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.background-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 2;
}

.background-section__deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.background-section__deco img {
  display: block;
  width: auto;
  height: 17.5rem;
}

@media (min-width: 992px) {
  .background-section__deco img {
    height: 23.75rem;
  }
}

.background-section__deco--left {
  left: -15rem;
  transform: translateY(-50%);
}

.background-section__deco--right {
  right: -15rem;
  transform: translateY(-50%);
}

.background-section--deco-centered .background-section__deco--left {
  left: 20rem;
}

.background-section--deco-centered .background-section__deco--right {
  right: 20rem;
}

.background-section--deco-centered .background-section__deco--right img {
  color: #83905E;
}

.background-section--align-center-image .background-section__center-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22.5rem;
}

@media (min-width: 992px) {
  .background-section--align-center-image .background-section__center-wrap {
    min-height: 30rem;
  }
}

.background-section--align-center-image .background-section__circle-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 992px) {
  .background-section--align-center-image .background-section__circle-image {
    width: 28.75rem;
    height: 28.75rem;
  }
}

.background-section--align-center-image .background-section__circle-image .section-image {
  width: 100%;
  height: 100%;
}

.background-section--align-center-image .background-section__circle-image .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.background-section--align-center-image .background-section__center-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: fit-content;
}

.background-section__container {
  position: relative;
  z-index: 3;
  width: 100%;
}

@media (min-width: 768px) {
  .background-section__row {
    align-items: center;
  }
}

.background-section:not(.has-image) .background-section__col {
  max-width: 49.25rem;
}

.background-section__col>*:last-child {
  margin-bottom: 0;
}

.background-section__col--image {
  margin-top: 2.5rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .background-section__col--image {
    margin-top: 0;
    overflow: visible;
  }
}

.background-section--text-dark .section-title,
.background-section--text-dark .section-subtitle,
.background-section--text-dark .section-description {
  color: var(--color--text);
}

.background-section--text-light .section-title,
.background-section--text-light .section-subtitle,
.background-section--text-light .section-description,
.background-section--text-light .background-section__stats-title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .background-section--hero .background-section__row {
    align-items: center;
  }
}

.background-section__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

@media (min-width: 992px) {
  .background-section__image-wrapper {
    justify-content: flex-end;
  }
}

.background-section__image-wrapper .section-image {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}

.background-section__image-wrapper .section-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.background-section__deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.background-section__deco-circle--1 {
  width: 100px;
  height: 100px;
  background: #CEDC00;
  opacity: 0.7;
  top: 0;
  right: 10%;
}

@media (min-width: 992px) {
  .background-section__deco-circle--1 {
    width: 140px;
    height: 140px;
    top: -40px;
    right: 5%;
  }
}

.background-section__deco-circle--2 {
  width: 60px;
  height: 60px;
  background: rgba(129, 178, 154, 0.5);
  bottom: 10%;
  left: 0;
}

@media (min-width: 768px) {
  .background-section__deco-circle--2 {
    width: 80px;
    height: 80px;
  }
}

.background-section .section-title {
  font-size: 1.75rem;
  line-height: 1.2857142857;
  font-weight: 700;
  margin-bottom: 1.125rem;
}

@media (min-width: 768px) {
  .background-section .section-title {
    font-size: 3rem;
    line-height: 1.1666666667;
    margin-bottom: 1.5rem;
  }
}

.background-section .section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color--primary);
  margin-bottom: 0.75rem;
}

.background-section .section-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .background-section .section-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}

.background-section--stats {
  background-color: #FFF8D2;
}

.background-section__stats-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .background-section__stats-wrapper {
    gap: 3rem;
  }
}

.background-section__stats-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #2e5f3a;
  font-style: italic;
  margin: 0;
}

@media (min-width: 768px) {
  .background-section__stats-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 992px) {
  .background-section__stats-title {
    font-size: 2.625rem;
  }
}

.background-section__stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: #FFF8D2;
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .background-section__stats-strip {
    flex-wrap: nowrap;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
  }
}

.background-section__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 1.25rem;
  min-width: 6.25rem;
  flex: 1;
}

.background-section__stat:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .background-section__stat {
    padding: 1rem 1.75rem;
    min-width: 8.125rem;
  }
}

@media (max-width: 575px) {
  .background-section__stat {
    width: 50%;
    flex: none;
  }

  .background-section__stat:nth-child(2) {
    border-right: none;
  }

  .background-section__stat:nth-child(1),
  .background-section__stat:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .background-section__stat:nth-child(3) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
}

.background-section__stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color--text);
  line-height: 1.1;
  margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
  .background-section__stat-number {
    font-size: 2.25rem;
  }
}

@media (min-width: 992px) {
  .background-section__stat-number {
    font-size: 2.625rem;
  }
}

.background-section__stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #555;
  text-transform: none;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .background-section__stat-label {
    font-size: 0.75rem;
  }
}

.background-section.color-change .background-section__deco--left img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(10%) saturate(1000%) hue-rotate(340deg) brightness(95%) contrast(90%);
}
.background-section.color-change .background-section__deco--right img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(15%) saturate(700%) hue-rotate(50deg) brightness(95%) contrast(85%);
}