div.wpforms-container-full .wpforms-form button[type=submit] {      margin: 0 auto !important;      display: block !important;      width: 100% !important; }


/*Home page information section grid row height and column height*/
.home-info-grid.e-grid {
  grid-template-rows: 30px 30px 1fr;
	grid-template-columns: 30px 1fr;
}

.home-questions-grid.e-grid {
	grid-template-columns: 600px 350px 1fr;
}

/*Hero grid spacing*/

.home-hero-grid.e-grid {
	grid-template-columns: 1fr 450px;
}

@media (max-width: 767px) {
    .home-hero-grid.e-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .home-hero-grid.e-grid {
        grid-template-columns: 55% 45% !important;
    }
}


/*Contact grid mobile alignment*/

@media (max-width: 767px) {
	.home-questions-grid.e-grid {
		grid-template-columns: 1fr !important;
	}
	
}

/* Force WPForms field labels, text, and sublabels to white */
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    color: #ffffff !important;
}












/*Home page contact form button adjustment and placeholder text color change*/

/* 1. Stop Elementor grid/flex from stretching the submit container */
.contact-form-home .wpforms-submit-container,
div.wpforms-container-full .contact-form-home .wpforms-submit-container {
  width: max-content !important;
  max-width: 100% !important;
  display: block !important;
  text-align: left !important;
}

/* 2. Reset the button element itself across all state selectors */
.contact-form-home button[type=submit],
.contact-form-home .wpforms-submit,
.contact-form-home button[id^="wpforms-submit-"] {
  width: auto !important;
  min-width: auto !important;
  max-width: max-content !important;
  display: inline-block !important;
}

/* 1. Remove top padding and margin from the WPForms container */
.contact-form-home.wpforms-container,
.contact-form-home .wpforms-form,
.contact-form-home .wpforms-field-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 2. Remove top spacing from both fields in the first row (regardless of field type) */
.contact-form-home .wpforms-field-container > .wpforms-field:nth-child(1),
.contact-form-home .wpforms-field-container > .wpforms-field:nth-child(2) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 3. Reduce gap between all remaining fields */
.contact-form-home .wpforms-field {
  margin-bottom: 0px !important;
  padding-bottom: 0 !important;
}

/* 4. Placeholder text color (#AFAFAF) */
.contact-form-home ::-webkit-input-placeholder {
  color: #868686 !important;
  opacity: 1 !important;
}
.contact-form-home ::-moz-placeholder {
  color: #868686 !important;
  opacity: 1 !important;
}
.contact-form-home :-ms-input-placeholder {
  color: #868686 !important;
  opacity: 1 !important;
}
.contact-form-home ::placeholder {
  color: #868686 !important;
  opacity: 1 !important;
}

/* 5. Submit button sizing and left alignment */
.contact-form-home .wpforms-submit-container,
div.wpforms-container-full .contact-form-home .wpforms-submit-container {
  width: max-content !important;
  max-width: 100% !important;
  display: block !important;
  text-align: left !important;
  margin-top: 10px !important;
  padding-top: 0 !important;
}

.contact-form-home button[type=submit],
.contact-form-home .wpforms-submit,
.contact-form-home button[id^="wpforms-submit-"] {
  width: auto !important;
  min-width: auto !important;
  max-width: max-content !important;
  display: inline-block !important;
}

/*6.Adjust WPForms label font weight / thickness */
.contact-form-home .wpforms-field-label {
  font-weight: 300 !important; /* Choose a value from 100 to 900 or keywords like normal, bold */
}

/*7.  Reduce initial height of the message textarea */
.contact-form-home .wpforms-field-textarea textarea,
.contact-form-home textarea.wpforms-field-medium {
  height: 90px !important; /* Adjust this height (e.g., 80px to 120px) to fit your design */
  min-height: 80px !important;
}


/*Contact form text colors*/
/* Form 1574 labels */
#wpforms-1574 .wpforms-field-label,
#wpforms-1574 label {
color: #16171b !important;
}

/* Form 1574 single-line field text */
#wpforms-form-1574 input.wpforms-field-medium,
#wpforms-form-1574 input.wpforms-field-small,
#wpforms-form-1574 input.wpforms-field-large,
#wpforms-form-1574 textarea {
color: #16171b !important;
-webkit-text-fill-color: #16171b !important;
}