/* Home hero slider */
.h5_nh_hero-area {
  position: relative;
  z-index: 1;
}

.h5_nh_slider_active {
  width: 100%;
  overflow: hidden;
}

.h5_nh_slider_active .swiper-slide {
  height: auto;
}

.h5_nh_slider_active .h5_nh_hero-single,
.h5_nh_hero-single {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 85vh, 900px);
  padding-top: clamp(130px, 16vw, 180px);
  padding-bottom: clamp(110px, 12vw, 200px);
  background: #0b0c0f;
}

.h5_nh_hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.h5_nh_hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.h5_nh_hero-single::before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(11, 12, 15, 0.62) 0%,
    rgba(11, 12, 15, 0.38) 42%,
    rgba(11, 12, 15, 0.18) 100%
  );
}

.h5_nh_hero-single::after {
  z-index: 1;
  opacity: 0.45;
}

.h5_nh_hero-single > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.h5_nh_hero-content.text-center .nh_theme-btn {
  margin-left: auto;
  margin-right: auto;
}

.h5_nh_hero-content.text-end .nh_theme-btn {
  margin-left: auto;
}

.h5_nh_slider-nav {
  position: absolute;
  right: 40px;
  bottom: 48px;
  z-index: 5;
  display: flex;
  gap: 12px;
}

.h5_nh_slider-nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 12, 15, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  cursor: pointer;
}

.h5_nh_slider-nav button:hover {
  background: var(--clr-theme-primary, #06b16e);
  border-color: var(--clr-theme-primary, #06b16e);
}

.h5_nh_slider-pagination {
  position: absolute !important;
  left: 50% !important;
  bottom: 28px !important;
  transform: translateX(-50%);
  width: auto !important;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.h5_nh_slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.45);
  transition: 0.25s ease;
}

.h5_nh_slider-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: var(--clr-theme-primary, #06b16e);
}

@media (max-width: 991px) {
  .h5_nh_slider-nav {
    right: 20px;
    bottom: 64px;
  }

  .h5_nh_slider-nav button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 767px) {
  .h5_nh_slider_active .h5_nh_hero-single,
  .h5_nh_hero-single {
    min-height: 72vh;
    padding-top: 130px;
    padding-bottom: 110px;
  }

  .h5_nh_hero-single::before {
    background: linear-gradient(
      180deg,
      rgba(11, 12, 15, 0.55) 0%,
      rgba(11, 12, 15, 0.42) 100%
    );
  }

  .h5_nh_hero-content-title {
    font-size: 36px !important;
    line-height: 1.15 !important;
  }

  .h5_nh_hero-content p {
    font-size: 15px;
  }

  .h5_nh_slider-pagination {
    bottom: 18px !important;
  }
}

@media (max-width: 480px) {
  .h5_nh_hero-content-title {
    font-size: 30px !important;
  }
}
