/* ---------- Banner container & image ---------- */
.homeBanner {
  position: relative;
  overflow: hidden;
  min-height: 642px;          /* match your image height */
  height: auto;
}

/* Keep the original <img> but make it act as a full-bleed bg */
.homeBanner-bg img {
  position: absolute;
  inset: 0;                  /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;         /* preserve aspect ratio, fill area */
  object-position: center;
  z-index: 0;
  filter: none !important;   /* NO blur - image stays clear */
  opacity: 1 !important;
  transform: none;
}

/* Very subtle overlay - keeps image visible */
.homeBanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 48, 0.3) 0%,
    rgba(10, 25, 48, 0.1) 50%,
    transparent 100%
  ); /* gradient from left, transparent on right to show liver */
  z-index: 1;
  pointer-events: none;
}

/* ---------- Content layering & vertical centering ---------- */
.homeBanner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;  /* vertically center the left content */
  min-height: 642px;
  padding: 3rem 0;
}

/* Container positioning */
.homeBanner .container-lg {
  position: relative;
  width: 100%;
}

.homeBanner .row {
  position: relative;
  min-height: 500px;  /* ensure enough height for positioning */
}

/* ---------- Left text (vertically centered) ---------- */
.homeBanner .col-lg-6.col-md-7.text-white {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  z-index: 2;
}

.titleText {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 1.5rem !important;
}

.titleText + p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  max-width: 560px;
}

/* ---------- Right box (pinned to bottom-right corner) ---------- */
.homeBanner .col-lg-6.col-md-5 {
  position: static;  /* Reset positioning */
  margin-top: 0;
}

.right-info-box {
  position: absolute;  /* Position relative to .homeBanner */
  right: 48px;         /* Distance from right edge */
  bottom: 32px;        /* Distance from bottom edge */
  max-width: 500px;
  background: rgba(15, 23, 42, 0.85);  /* darker, more solid background */
  color: #fff;
  padding: 24px 26px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
}

/* Heading inside box */
.right-info-box h4 {
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
}

/* List styling */
.right-info-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.right-info-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.right-info-list li:last-child {
  margin-bottom: 0;
}

/* ---------- Responsive: tablets and below ---------- */
@media (max-width: 992px) {
  .homeBanner {
    min-height: 500px;
  }

  .homeBanner-content {
    min-height: 500px;
    padding: 2rem 0;
  }

  .homeBanner .row {
    min-height: auto;
    flex-direction: column;
  }

  /* Stack content normally on mobile */
  .homeBanner .col-lg-6.col-md-5 {
    position: static;
    max-width: 100%;
    margin-top: 2rem;
    pointer-events: auto;
  }

  .right-info-box {
    margin: 0 auto;
    max-width: 100%;
  }

  .titleText {
    font-size: 2rem;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .homeBanner {
    min-height: 400px;
  }

  .homeBanner-content {
    min-height: 400px;
    padding: 1.5rem 0;
  }

  .titleText {
    font-size: 1.75rem;
    margin-bottom: 1rem !important;
  }

  .right-info-box {
    padding: 20px;
  }

  .right-info-box h4 {
    font-size: 1.1rem;
  }

  .right-info-list li {
    font-size: 0.9rem;
  }
}