section.home-hero {
  background: var(--background-sa-flag);
  background: linear-gradient(
    230deg,
    var(--background-primary) 0,
    var(--background-sa-flag) 100%
  );
  height: calc(100dvh - var(--drupal-displace-offset-top, 0px) - 30dvh);
  position: relative;
}

.home-hero {
  background: linear-gradient(
      rgba(9, 42, 30, 0.8) 100%,
      rgba(9, 42, 30, 0.85) 100%
    ),
    url("../assets/images/bg.jpg") !important;
  background-position: center;
  position: relative;
}
section.home-hero .hero-title {
  line-height: 1.5;
}
section.home-hero .hero-description p{
  color: #fff;
}
section.home-hero .slider-wrapper {
  position: relative;
}
section.home-hero .slider-wrapper::after {
  content: "";
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  z-index: 1;
}
section.home-hero .slick-current .slider-content {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 2;
}

.home-hero .slick-dots {
  bottom: 3rem !important;
}

/* ---------- background pattterns --------------- */

.path-frontpage section.section_pattern {
  position: relative;
  padding: 5rem 0;
}
.path-frontpage section.home {
  padding: 4rem 0;
}
.path-frontpage section.section_pattern::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 24px;
  inset: auto 0 0 auto;
  background-size: auto 100%;
  background-repeat: repeat-x;
}
.path-frontpage section#About::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/blue-pattern.svg");
}
.path-frontpage section#word::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/gold-pattern.svg");
}
.path-frontpage section#services::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/purple-pattern.svg");
}
.path-frontpage section#survey::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/red-pattern.svg");
}
.path-frontpage section#apps::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/blue-pattern.svg");
}
.path-frontpage section#news::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/gold-pattern.svg");
}
.path-frontpage section#info::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/purple-pattern.svg");
}
.path-frontpage section#partners::after {
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/red-pattern.svg");
}
/* ----------------- footer ------------------------------------------- */
footer.footer {
  position: relative;
  padding: 5.5rem 0;
}
footer.footer::after,
footer.footer::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 80px;
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-image: url("/themes/custom/momrah-theme/assets/images/section_patterns/footer_pattern.svg");
  opacity: 0.65;
}

footer.footer::after {
  inset: 0 0 auto 0;
}
footer.footer::before {
  inset: auto 0 0 0;
}
