/* =========================
   Contact Form
   ========================= */

.form-intro {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--muted);
}

.contact-form {
  max-width: 100%;
}

/* Contact page heading spacing */
.section-inner > h1 {
  margin-bottom: 0.35em; /* reduce space above the next heading */
}

.section-inner > h1 + h3 {
  margin-top: 0.15em; /* ensure small top offset just in case */
}

/* Row layout */
.form-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Individual fields */
.form-group {
  display: flex;
  flex-direction: column;
}

/* Add spacing between standalone groups (e.g., Email, Message) */
.contact-form > .form-group {
  margin-bottom: 24px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Inputs */
.form-group input,
.form-group textarea {
  padding: 14px 14px 16px;
  border-radius: 8px;
  border: 2px solid #1f2937;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

/* Focus state */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Textarea */
.form-group textarea {
  resize: vertical;
}

/* Subheading */
h6 {
  font-size: 1.0rem;
  text-align: center;
  font-weight: 600;

}

/* =========================
   Form Submit Button
   ========================= */

/* Submit button spacing */
.contact-form .btn {
  padding: 0.8rem 1.6rem;   /* bigger click area */
  width: fit-content;
  font-size: 1.05rem;       /* slightly larger text */
  font-weight: 650;
  border-radius: 10px;
  border: 2px solid #000000;
  background: #4fedff;      /* sky blue */
  color: #000000;
}

/* Optional hover emphasis */
.contact-form .btn:hover {
  transform: translateY(-1px);
  background: var(--primary); /* blue */
  color: #ffffff;
  border-color: #000000;
}


/* =========================
   Checkbox Group
   ========================= */

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.0rem;          /* slightly larger than base */
  font-weight: 600;         /* bold text */
  line-height: 1.4;
  margin-bottom: 24px;
  color: #020617;           /* optional: stronger contrast */
}

.checkbox-group input[type="checkbox"] {
  position: relative;
  top: 0;                   /* align via flex instead of offset */
}

/* =========================
   GoHighLevel Embedded Form
   ========================= */

/* Wrapper that controls layout */
.ghl-form-wrapper {
  width: 100%;
  max-width: 720px;          /* Matches typical form width */
  margin: 2.5rem auto 0;     /* Center + spacing from text */
  padding: 0;
}

.ghl-form-wrapper-left {
  width: 100%;
  max-width: 720px;
  margin: 2.5rem 0 0;         /* removes horizontal centering */
}

/* HighLevel iframe */
.ghl-form-wrapper iframe {
  width: 100%;
  min-height: 660px;         /* Matches data-height from embed */
  border: none;
  display: block;
  background: transparent;
}

/* Tablet */
@media (max-width: 768px) {
  .ghl-form-wrapper {
    max-width: 100%;
    margin-top: 2rem;
  }
    .ghl-form-wrapper-left {
    max-width: 100%;
    margin-top: 2rem;
  }

  .ghl-form-wrapper iframe {
    min-height: 720px;       /* Prevents cutoff on tablets */
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .ghl-form-wrapper iframe {
    min-height: 800px;       /* HighLevel forms need more vertical room */
  }
}

