/* ================================
   SLIDER BASE
================================ */
.slider-section {
  position: relative;
}

.slider-section .single-slide {
  position: relative;
}

/* IMPORTANT: override bootstrap centering */
.slider-section .container.container-overlay {
  height: 100%;
  max-width: 100%;
  padding-left: 28px;
  /* ← MATCH HEADER LOGO LINE */
  padding-right: 20px;
}

.slider-section .row.align-items-end {
  min-height: inherit;
  justify-content: flex-start;
  /* ← FORCE LEFT */
}

.slider-section .row.align-items-end>.col-12 {
  display: flex;
  justify-content: flex-start;
  /* ← FORCE LEFT */
}

/* Dark image overlay */
.slider-overlay.box-overlay {
  background: rgba(0, 0, 0, 0.35);
}

/* ================================
   BANNER TEXT WRAPPER
================================ */
.slider-section .banner-text.banner-text-slick {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  /* LEFT */
  gap: 0 !important;

  max-width: 1000px;
  padding-bottom: 80px;
}

/* ================================
   LABEL
================================ */
.banner-label {
  margin-bottom: 0 !important;
}

.banner-label span {
  display: inline-block;
  background: #a4d725;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 16px;
  text-transform: uppercase;
}

/* ================================
   TITLE BAR
================================ */
.banner-title-bar {
  display: inline-block;
  background: rgba(0, 0, 0, 0.75);
  padding: 18px 22px;
}

.banner-title-bar h2 {
  margin: 0;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(32px, 4vw, 54px);
  color: #ffffff;
}

.slider-section .banner-text .banner-title-bar h2 {
  margin-bottom: 0 !important;
}


.banner-title-bar .muted {
  opacity: 0.45;
  /* ← THIS is the key */
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ================================
   CTA BAR
================================ */
.banner-cta-bar {
  display: inline-block;
  background: rgba(0, 0, 0, 0.75);
  padding: 14px 18px;
  margin-top: 0 !important;
}

.banner-cta-bar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #fdc830;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.banner-cta-bar a i {
  transition: transform 0.3s ease;
}

.banner-cta-bar a:hover i {
  transform: translateX(4px);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
  .slider-section .container.container-overlay {
    padding-left: 80px;
  }
}

@media (max-width: 991px) {
  .slider-section,
  .slider-section .single-slide {
    height: calc(100vh - 90px);
    min-height: calc(100vh - 90px);
  }

  .banner-title-bar h2 {
    font-size: clamp(26px, 5vw, 40px);
  }
}

@media (max-width: 768px) {
  .slider-section .container.container-overlay {
    padding-left: 20px;
    padding-right: 20px;
  }

  .banner-text-slick {
    padding-bottom: 40px;
  }
}

/* =========================================
   HERO SLIDE HEIGHT FIX (SAFE VERSION)
========================================= */

.slider-section .single-slide {
  min-height: calc(100vh - 115px); /* header-aware */
  display: flex;
}

/* Ensure image behaves correctly */
.slider-section .single-slide > img {
  width: 100%;
  height: auto;              /* IMPORTANT */
  min-height: 100%;
  object-fit: cover;
}


/* GPU acceleration */
.slider-section,
.slider-section * {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.slider-section .slick-track {
  will-change: transform;
}

.slider-section .slick-slide {
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Prevent layout thrashing */
.slider-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* 🔥 Pre-decode hint */
  image-rendering: auto;
}


/* ===========================
   SPLIT SECTION HEADER (FIXED)
=========================== */

.ss-section-header.ss-split-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* 🔑 balanced columns */
  column-gap: 6px;
  align-items: end !important;
  text-align: left;
}

/* Prevent heading wrap in split headers */
.ss-section-header.ss-split-header .ss-heading {
  white-space: nowrap;
}

.ss-header-left {
  max-width: none;
}

.ss-header-right {
  max-width: none;
}

.ss-header-right .ss-subheading {
  width: 100% !important;
  margin: 0;
  line-height: 1.6;
}


@media (max-width: 991px) {
  .ss-section-header.ss-split-header {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .ss-header-right .ss-subheading {
    max-width: 100%;
  }
}
