.pb-section-banner-section {
  position: relative;
  padding: 0 !important;
  z-index: 2 !important;
}

.pb-section-banner-section ul.slide-wrap {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.pb-section-banner-section .slide {
  position: relative;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.pb-section-banner-section .slide .slide-stretcher {
  height: 100%;
  min-height: 80vh;
  position: relative;
}

.pb-section-banner-section.half-height .slide .slide-stretcher {
  min-height: 40vh;
}

@media (min-width: 768px) {
  .pb-section-banner-section .slide .slide-stretcher {
    min-height: 90vh;
  }
  .pb-section-banner-section.half-height .slide .slide-stretcher {
    min-height: 50vh;
  }
}

@media (min-width: 1330px) {
  .pb-section-banner-section .slide .slide-stretcher {
    min-height: 907px;
  }
  .pb-section-banner-section.half-height .slide .slide-stretcher {
    min-height: 450px;
  }
}

/* .preload-invisible {
  position: absolute !important;
  top: -9999px !important;
}

.preload-invisible img {
  opacity: 0;
  transition: 0.4s linear opacity;
} */

@media (min-width: 768px) {
  .pb-section-banner-section .slide.fullheight .slide-stretcher {
    height: 100vh;
  }

}

.pb-section-banner-section picture {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
}

.pb-section-banner-section img.banner-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* @media (max-width: 1599px) {

  .pb-section-banner-section img.banner-img {
    object-position: 70% 0;
  }
} */

/* Video Background Styles */

.pb-section-banner-section .slide.has-video-bg .video-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.pb-section-banner-section .slide.has-video-bg .video-bg-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.pb-section-banner-section .slide.has-video-bg iframe.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  pointer-events: none;
}

.pb-section-banner-section .slide.has-video-bg .slide-content {
  z-index: 2;
}

.pb-section-banner-section .slide-content {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: calc(100% - 40px);
  max-width: var(--pb-section-margin-width-longer);
  margin: 0 auto;
  color: #fff;
}

@media (min-width: 768px) {
  .pb-section-banner-section .slide-content {
    bottom: 4rem;
    top: auto;
 } 
}

.pb-section-banner-section .slide-content .columns {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 4rem;
}

.pb-section-banner-section .slide-content .columns .text-wrap {
  flex: 1;
}

.pb-section-banner-section .slide-content .columns.taller {
  margin-bottom: 6.3rem;
}

@media (min-width: 768px) {
  
  .pb-section-banner-section .slide-content .columns {
    flex-direction: row;
    align-items: flex-end;
 }
}

.pb-section-banner-section ul.splide__pagination {
  width: calc(100% - 40px);
  max-width: 1400px;
  margin: 50px 0 0;
  display: block;
  padding: 0;
  position: static;
}

.pb-section-banner-section ul.splide__pagination button {
  border-radius: 0;
  height: 3px;
  width: 40px;
  opacity: 0.4;
  background: #fff;
  margin: 0 5px;
  box-sizing: border-box;
  border: 0;
  transform: scale(1);
}

.pb-section-banner-section ul.splide__pagination button.is-active {
  opacity: 1;
}

.pb-section-banner-section .splide__list > li {
    margin: 0;
}

.pb-section-banner-section h1 {
  margin-bottom: 1.5rem;
  max-width: 1300px;
  line-height: 1.2;
  margin-bottom: 3.5rem;
}

.pb-section-banner-section p {
  font-size: 2.2rem;
  max-width: 800px;
}

@media (min-width: 768px) {

  .pb-section-banner-section .slide-content, 
  .pb-section-banner-section ul.splide__pagination {
      width: calc(100% - 60px);
 }
}
@media (min-width: 1400px) {

  .pb-section-banner-section .slide-content, 
  .pb-section-banner-section ul.splide__pagination {
      width: calc(100% - 128px) !important;
  }
}

.pb-section-banner-section .splide__arrows {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.pb-section-banner-section .custom-arrows {
  display: flex;
  gap: 4rem;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .pb-section-banner-section .custom-arrows {
      justify-content: flex-start;
 }
}

.pb-section-banner-section .custom-arrows .custom-arrow {
  background: none;
  opacity: 1;
  outline: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin-top: 4rem;
}

.pb-section-banner-section .custom-arrows .custom-arrow img {
  width: 100%;    
  height: auto;
}

.pb-section-banner-section .custom-arrows .custom-arrow svg {
  width: 20px;
  height: 20px;
  fill: #fff !important;
  stroke: #fff !important;
}

.pb-section-banner-section .custom-arrows .custom-arrow.prev {
  left: 0;

}

.pb-section-banner-section .custom-arrows .custom-arrow.prev svg {
  transform: rotate(180deg);
}

.pb-section-banner-section .custom-arrows .custom-arrow.next {
  right: 0;
}

.pb-section.pb-section-banner-section .pb-btn-wrap {
  margin-top: 0;
}

@media (min-width: 768px) {
  .pb-section.pb-section-banner-section .pb-btn-wrap {
    flex-direction: column;
 }
}

.pb-section-banner-section .scroll-down-arrow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 3;
  transition: .2s linear all;
}

.pb-section-banner-section .scroll-down-arrow:hover {
  bottom: -50px;
}

.pb-section-banner-section .scroll-down-arrow svg path {
  fill: var(--brand-color-residential);
}

.pb-section-banner-section .scroll-down-arrow.white svg path {
  fill: #fff;
}

.pb-section-banner-section .scroll-down-arrow.black svg path {
  fill: var(--brand-color-black);
}

.pb-section-banner-section .scroll-down-arrow.residential svg path {
  fill: var(--brand-color-residential);
}

.pb-section-banner-section .scroll-down-arrow.commercial svg path {
  fill: var(--brand-color-commercial);
}

/* Floating Image Overlay
   Displays a positioned image on top of the banner background but beneath slide-content.
   Retina sizing is handled via inline styles on the img (max-width/max-height set to
   half the source dimensions by PHP). */

.pb-section-banner-section .floating-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.pb-section-banner-section .floating-image-inner {
  position: absolute;
  top: 130px;
  left: 30px;
  right: 30px;
  bottom: 0;
}

.pb-section-banner-section .floating-image-bp {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.pb-section-banner-section .floating-image-bp img {
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Horizontal positioning */

.pb-section-banner-section .floating-h-left img { left: 5%; }
.pb-section-banner-section .floating-h-center img { left: 50%; transform: translateX(-50%); }
.pb-section-banner-section .floating-h-right img { right: 5%; left: auto; }

/* Vertical positioning */

.pb-section-banner-section .floating-v-top img { top: 10%; }
.pb-section-banner-section .floating-v-middle img { top: 50%; transform: translateY(-50%); }
.pb-section-banner-section .floating-v-bottom img { bottom: 10%; top: auto; }

/* Combined transforms for center/middle combinations */

.pb-section-banner-section .floating-h-center.floating-v-middle img {
  transform: translate(-50%, -50%);
}

.pb-section-banner-section .floating-h-center.floating-v-top img,
.pb-section-banner-section .floating-h-center.floating-v-bottom img {
  transform: translateX(-50%);
}

.pb-section-banner-section .floating-h-left.floating-v-middle img,
.pb-section-banner-section .floating-h-right.floating-v-middle img {
  transform: translateY(-50%);
}

/* Breakpoint visibility and header offsets */

@media (max-width: 767px) {
  .pb-section-banner-section .floating-image-inner {
    top: 130px;
  }
  .pb-section-banner-section .floating-image-mobile {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1139px) {
  .pb-section-banner-section .floating-image-inner {
    top: 150px;
  }
  .pb-section-banner-section .floating-image-tablet {
    display: block;
  }
}

@media (min-width: 1140px) {
  .pb-section-banner-section .floating-image-inner {
    top: 200px;
  }
  .pb-section-banner-section .floating-image-desktop {
    display: block;
  }
}

@media (min-width: 1400px) {
  .pb-section-banner-section .floating-image-inner {
    top: 220px;
  }
}

@media (max-width: 500px) {
  .pb-section-banner-section .floating-h-left img,
  .pb-section-banner-section .floating-h-right img {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .pb-section-banner-section .floating-h-left.floating-v-middle img,
  .pb-section-banner-section .floating-h-right.floating-v-middle img {
    transform: translate(-50%, -50%);
  }
  .pb-section-banner-section .floating-h-left.floating-v-top img,
  .pb-section-banner-section .floating-h-left.floating-v-bottom img,
  .pb-section-banner-section .floating-h-right.floating-v-top img,
  .pb-section-banner-section .floating-h-right.floating-v-bottom img {
    transform: translateX(-50%);
  }
}