.contact_cta {
  width: 100%; /* Avoid horizontal overflow from vw */
  min-height: 415px; /* Reduced height, allows content to grow */
  background-image: url('/images/homeCta.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  box-sizing: border-box;
}

.contact_cta_content {
  text-align: center;
}

.contact_cta_content h1 {
  font-family: 'Young Serif', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 34px;
  line-height: 48px;
  letter-spacing: 0px;
  color: #FFFF;
  margin: 0 0 18px 0;
  max-width: 900px;
}

.cta_button {
  width: 150.31px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #0ADBCD; /* Solid border color */
  background-color: #0ADBCD;  /* Initial button background color */
  color: #FFFFFF;              /* Text color initially white */
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
  will-change: background-color, border-color;
}

.cta_button:hover {
  background-color: #000000; /* Fully black on hover */
  color: #FFFFFF;            /* Text remains white */
  border-color: #000000;     /* Border also becomes black */
}

/* Responsive typography & sizing */
@media (max-width: 992px) {
  .contact_cta {
    min-height: 340px;
    padding: 36px 20px;
  }

  .contact_cta_content h1 {
    font-size: 30px;
    line-height: 42px;
    max-width: 760px;
  }

  .cta_button {
    width: 148px;
    height: 42px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .contact_cta {
    min-height: 320px;
    padding: 32px 18px;
  }

  .contact_cta_content h1 {
    font-size: 26px;
    line-height: 36px;
    max-width: 640px;
  }
}

@media (max-width: 576px) {
  .contact_cta {
    min-height: 320px;
    padding: 28px 16px;
  }

  .contact_cta_content h1 {
    font-size: 22px;
    line-height: 32px;
    max-width: 480px;
  }

  .cta_button {
    width: 142px;
    height: 40px;
    font-size: 12px;
  }
}
