.banner-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #e8f4ed;
}

/* ---- Mobile image (real <img>, bottom of stack) ---- */
.image-col-mobile {
  padding: 0;
}
.image-col-mobile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- Content column ---- */
.content-col {
  position: relative;
  z-index: 2; /* above both the background image and the fade overlay */
  padding: 1.75rem 1.5rem;
}

@media (min-width: 992px) {
  .image-col-mobile {
    display: none;
  }

  .banner-section {
    background-image: url("../images/banner-section-image.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    min-height: 260px;

    /* Center the .container vertically within the section's full height */
    display: flex;
    align-items: center;
  }

  .banner-section .container {
    width: 100%; /* flex items shrink to content by default — keep it full-width */
  }

  /* Transparency overlay, positioned to sit ON the image, not before it */
  .banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    
  }

  .content-col {
    padding: 2rem 3rem;
    padding-right: calc(12% + 2rem);
  }
}
/* ---- Icon ---- */
.banner-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 2px solid #1d6b3e;
  border-radius: 10px;
  color: #1d6b3e;
  font-size: 1.25rem;
}

/* ---- Heading & copy ---- */
.banner-heading {
  color: #1d2b22;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.banner-copy {
  color: #4b564f;
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 38rem;
}

/* ---- Form ---- */
.banner-form .form-control {
  border: 1px solid #cfe3d7;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
}
.banner-form .form-control::placeholder {
  color: #6b756f;
}
.banner-form .form-control:focus {
  border-color: #1d6b3e;
  box-shadow: 0 0 0 0.2rem rgba(29, 107, 62, 0.15);
}

.btn-register {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  white-space: nowrap;
}


.banner-hint {
  color: #6b756f;
  font-size: 0.78rem;
}