.contact-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.contact-intro p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.contact-form {
  background-color: white;
}
.gform-body ul{
  padding: 0;
  margin: 0;
}
.gform-body ul li{
  list-style: none;
}

.gform-body label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.gform-body input[type="text"],
.gform-body input[type="email"],
.gform-body textarea,
.gform-body input[type="tel"] {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px 12px;
  background: linear-gradient(0deg,rgba(247, 247, 247, 1) 0%, rgba(234, 234, 234, 1) 100%);
	width: 100%;
}

.gform-body input[type="text"]:focus,
.gform-body input[type="email"]:focus,
.gform-body textarea:focus,
.gform-body input[type="tel"]:focus {
  border-color: var(--theme-blue);
  box-shadow: 0 0 0 0.2rem rgba(24, 119, 202, 0.15);
  background-color: white;
}


.gform-footer input[type="submit"] {
  text-decoration: none;
  background-color: var(--theme-blue);
  color: white;
  border: 0;
  border-radius: 25px;
  font-size: 1.125rem;
  font-weight: 500;
  min-width: 244px;
  /* min-width: 100px; */
  min-height: 50px;
  padding: 10px 30px;
	margin-top: 1rem;
}

.gform-footer input[type="submit"]:hover {
  background-color: var(--theme-dark-blue);
}

/* Force Gravity Forms fields to respect width classes */
.gform_fields {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 20px !important;
}


.gfield--width-qhalf {
    grid-column: span 8 !important;
}

.gfield--width-half {
    grid-column: span 6 !important;
}

.gfield--width-third {
    grid-column: span 4 !important;
}

.gfield--width-quarter {
    grid-column: span 3 !important;
}

.gfield--width-full {
    grid-column: span 12 !important;
}

/* Ensure grid children can shrink and inputs respect box-sizing so two halves stay equal */
.gform_fields > .gfield,
.gform_fields > li {
  box-sizing: border-box;
  min-width: 0; /* allow items to shrink instead of overflowing */
}

/* Make sure input wrappers don't force extra width */
.gform_fields .ginput_container,
.gform_fields .gfield .gfield_label,
.gform_fields .gfield .gfield_description {
  box-sizing: border-box;
}

/* For two-column rows, force equal widths using grid spans and fallback to flex for older markup */
.gform_fields .gfield--width-half,
.gform_fields .gfield_half,
.gform_fields li.gfield_half {
  grid-column: span 6 !important;
}

/* Fallback: if Gravity Forms outputs rows with .gfield_half floats, ensure equal flex behavior */
.gform_fields .gfield_half {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
}

/* Ensure inputs still fill their container */
.gform-body input[type="text"],
.gform-body input[type="email"],
.gform-body textarea,
.gform-body input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
}
