 /* Hero Image Wrapper */
.hero-image-module {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Responsive Hero Image */
.responsive-hero-image {
  width: 100%;
  height: auto;
  object-fit: contain; /* Ensures the full image is visible */
  object-position: center; /* Centers the image within its container */
  z-index: -10;
  position: relative;
}
/* Container Styling */
.heading-text-form-section {
  padding: 20px;
  border-radius: 10px;
  margin: 0 auto;
  width: 70%;
  z-index: 10;
  margin-top: -8%;
}

.heading-text-form-section.with-shadow {
   box-shadow: -10px 10px #FF7F00;
}

/* Header Styling */
.section-header {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Two-Column Layout */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.text-column {
  flex: 1;
  min-width: 280px;
  max-width: 48%;
}

.form {
  flex: 1;
  min-width: 280px;
  max-width: 48%;
}

/* Form Button Styling */
.hs-button {
  background-color: #FF7F00;
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;}
.hs-button:hover {
  background-color: F3991C;
}

.input {
  width: 100%;
}
.hs-input {
  padding: 5px;
  margin-bottom: 10px;
}
.form-columns-2 input {
  width: 90%; 
}
.form form button:hover {
  background-color: #002a4c;
}
/* Tablet (screens between 601px and 900px wide) */
@media only screen and (min-width: 601px) and (max-width: 900px) {
  .heading-text-form-section {
    width: 90%; /* Adjust width for tablet */
    margin-top: 0px;
  }

  .content-wrapper {
    flex-direction: row; /* Keep side-by-side layout */
    gap: 20px;
  }

  .text-column, .form {
    min-width: 45%;
    max-width: 45%;
  }
  .hero-image-module {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .responsive-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin-bottom: 0; /* Remove negative margin */
    position: relative;
  }
}

/* Mobile (screens up to 600px wide) */
@media only screen and (max-width: 600px) {
  .heading-text-form-section {
    width: 90%; /* Reduce padding for mobile */
    padding: 15px;
  }

  .content-wrapper {
    flex-direction: column; /* Stack elements vertically */
    gap: 15px;
  }

  .text-column, .form {
    width: 100%; /* Full width on mobile */
    max-width: 100%;
  }

  .section-header {
    font-size: 24px; /* Adjust header size */
  }

  .form form button {
    width: 100%; /* Full-width button for better mobile experience */
  }
  .hero-image-module {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .responsive-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin-bottom: 0; /* Remove negative margin */
    position: relative;
  }
}
@media only screen and (min-width: 1750px)
  {
    .heading-text-form-section {
      width: 55%;
}