/* WPForms fixes */
/* Initial field looks */
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
    background: #fff;
    border-width: 0 0 1px 0;
    color: var(--ast-global-color-2);
    opacity: 0.5;
}
/* On focus */
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    outline: none;
    opacity: 1;
    border-color: var(--ast-global-color-0);
}
/* Don't allow resizing the Message box */
.wpforms-container textarea {
    resize: none;
}
/* Message box fixed height */
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
    height: 136px;
}
/* Button size & font size */
.wpforms-container button {
    padding: 15px 34px;
    font-size: 15px;
}
/* WPForms done */
/* Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
    grid-template-columns: 3fr 1fr 3fr;
}

.wpforms-submit {
    background-color: #6BBE45 !important; /* Green background */
    color: #ffffff !important; /* White text */
    font-weight: bold !important; /* Bold text */
    text-align: center !important; /* Center text */
    border: none !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2) !important; /* Subtle shadow */
    padding: 12px 24px !important; /* Nice button size */
    border-radius: 6px !important; /* Rounded corners */
}

.wpforms-submit:hover {
    background-color: #5ca93c !important; /* Slightly darker green on hover */
}

/* Kill top gap under Astra transparent header on Elementor pages */
.ast-transparent-header #primary,
.ast-transparent-header .site-content,
.ast-page-builder-template .site-content > .ast-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}


/* ==== Aqua-Pro lead form card ==== */
.ap-lead-form {
  max-width: 760px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid #e7e9ec;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  padding: 24px;
}

/* Labels & fields */
.ap-lead-form label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
  color: #2b2f33;
}
.ap-input {
  width: 100%;
  padding: 12px 14px;
  margin: 0 0 18px;
  border: 1px solid #cfd6de;
  border-radius: 8px;
  font-size: 16px;
  background: #fafbfc;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ap-input:focus {
  border-color: #6BBE45;
  outline: none;
  box-shadow: 0 0 0 3px rgba(107,190,69,.15);
}

/* Consent blocks */
.ap-consent .wpcf7-list-item {
  display: block;
  margin: 10px 0 0;
}
.ap-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
}
/* Make consent checkbox text slightly smaller */
.ap-consent .wpcf7-list-item-label {
  font-size: 12px;   /* default is ~16px */
  color: #444;       /* softer gray than labels */
  font-weight: 400;  /* lighter than labels */
}


/* Submit button */
.ap-btn {
  background: #6BBE45 !important;   /* Aqua-Pro green */
  color: #fff !important;
  border: none !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(107,190,69,.25);
  transition: transform .02s ease, background .2s ease, box-shadow .2s ease;
}
.ap-btn:hover { background: #58a63a !important; }
.ap-btn:active { transform: translateY(1px); }

/* Center the submit button wrapper */
.wpcf7 .ap-btn {
  display: block;
  margin: 15px auto 0 auto; /* top, right, bottom, left */
}

/* Spacing tweaks inside CF7 wrapper */
.wpcf7 .ap-lead-form p { margin: 0; }

.ap-consent-text {
  font-size: 12px;
  line-height: 1.4;
  color: #555; /* optional: softer gray for disclaimers */
  margin-bottom: 10px;
}







