/* 🔧 Set global font across the entire site */
body, p, span, li, a, div, section, header, footer {
  font-family: Helvetica, Arial, sans-serif !important;
  color: #1f2937; /* optional, sets dark gray for text */
}

/* 🔧 Force headings to use the same font */
h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Arial, sans-serif !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: #111827;
}

/* 🔧 Optional: Custom H1 layout fix */
h1 {
  font-size: 42px;
  margin-bottom: 200px; /* Matches your preference */
}

/* 🔧 Optional: Adjust H1 on mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
    margin-bottom: 100px;
  }
/* SECTION BACKGROUND — same as hero */
.wp-block-group.form-section { /* replace with your actual section class if different */
    background: linear-gradient(rgba(0,10,30,0.45), rgba(0,10,30,0.45)), url('/wp-content/uploads/2024/05/hvac-hero.jpg') center center / cover no-repeat;
    padding-top: 20px !important;    /* reduce vertical space */
    padding-bottom: 20px !important; /* reduce vertical space */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center;               /* center the form */
}

/* WPForms container */
.jjj-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    padding: 12px !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Reduce spacing between fields */
.jjj-form .wpforms-field {
    margin-bottom: 6px !important;
}

/* Inputs / Textareas / Selects */
.jjj-form input,
.jjj-form textarea,
.jjj-form select {
    width: 100% !important;
    padding: 6px 8px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    border: 1px solid #ccc !important;
    box-sizing: border-box;
}

/* Labels above fields */
.jjj-form label {
    margin-bottom: 4px !important;
    font-size: 13px !important;
    font-weight: 500;
}

/* Submit Button */
.jjj-btn {
    width: 100% !important;
    padding: 8px !important;
    font-size: 14px !important;
    font-weight: 700;
    background: #e53935 !important;
    color: #fff !important;
    border-radius: 6px;
    border: none !important;
    cursor: pointer;
    text-transform: uppercase;
}

.jjj-btn:hover {
    background: #b00000 !important;
}

/* Mobile adjustments */
@media (max-width: 720px) {
    .wp-block-group.form-section {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .jjj-form {
        max-width: 90%;
        padding: 10px !important;
    }
}



