/* Shared page / banner background rotator */
.page-bg-rotator {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0e121d;
}

.page-bg-rotator__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.page-bg-rotator__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.page-bg-rotator__image,
.page-bg-rotator__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.page-bg-rotator__image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.page-bg-rotator__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(14, 18, 29, 0.35);
  pointer-events: none;
}
.page-bg-rotator__mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Soft left/right edge fade into surrounding page background */
    background:
      linear-gradient(
        90deg,
        rgba(14, 18, 29, 1) 0%,
        rgba(14, 18, 29, 0.55) 8%,
        rgba(14, 18, 29, 0) 22%,
        rgba(14, 18, 29, 0) 78%,
        rgba(14, 18, 29, 0.55) 92%,
        rgba(14, 18, 29, 1) 100%
      );
    pointer-events: none;
  }
.page-header {
  position: relative;
  overflow: hidden;
  background: #0e121d;
}

.page-header .page-bg-rotator {
  z-index: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.page-header .page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}
.page-header__bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(90deg, rgba(14, 18, 29, 0.976) 0%, rgba(14, 18, 29, 0.85) 60%, rgba(14, 18, 29, 0) 80%); */
    background: linear-gradient(90deg, rgba(14, 18, 29, 1) 0%, rgba(14, 18, 29, 0.55) 8%, rgba(14, 18, 29, 0) 22%, rgba(14, 18, 29, 0) 78%, rgba(14, 18, 29, 0.55) 92%, rgba(14, 18, 29, 1) 100%);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}
.page-header__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(14, 18, 29, 0.35);
    pointer-events: none;
}
.page-header .container {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.banner-one {
  position: relative;
}

.banner-one .page-bg-rotator {
  z-index: 0;
}

.banner-one .container,
.banner-one__shape-1,
.banner-one__shape-2,
.banner-one__shape-3,
.banner-one__shape-4 {
  position: relative;
  z-index: 2;
}

.banner-video .container {
  position: relative;
  z-index: 2;
}

.banner-one__bg--rotator-hidden {
  opacity: 0 !important;
}

.banner-video .page-bg-rotator {
  z-index: 0;
}

.banner-video .page-bg-rotator__overlay {
  background: rgba(14, 18, 29, 0.45);
}

.page-bg-rotator__controls {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.page-bg-rotator__nav {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.page-bg-rotator__nav:hover {
  background: var(--builza-base, #Eb6900);
}

.page-bg-rotator__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-bg-rotator__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-bg-rotator__dot.is-active,
.page-bg-rotator__dot:hover {
  background: var(--builza-base, #Eb6900);
  transform: scale(1.15);
}

html[dir="rtl"] .page-bg-rotator__nav.page-bg-rotator__nav--prev{
    transform: scaleX(-1);
}

.page-header .page-bg-rotator__controls {
  bottom: 18px;
}
