/* PLUGIN STYLING */


/* Add top margin to the reviews section */
.reviews {
    margin-top: 50px; /* Adjust this number to increase/decrease the space */
}






/* === Ninja Forms === */
.nf-form-cont {
    text-align: left;
}
.nf-form-cont .nf-form-title {
    display: none;
}
.signup-section .nf-form-cont { 
    max-width: 500px; 
    margin: 2rem auto;
    text-align: center;
}

.entry-content .nf-form-cont {
    margin-top: 2em;
    margin-bottom: 2em;
    padding-top: 2em !important;
    background-color: rgba(241, 241, 241, 0.45) !important;
    border: 1px solid rgba(201, 201, 201, 0.55);
}
.entry-content .nf-form-cont .nf-form-title {
    display: block; 
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 1.0rem;
    text-align: left;
}

.nf-form-cont .nf-field-label label {
    font-size: 1rem;
    font-weight: 600;
    color: #515151;
    margin-bottom: 0.5rem;
    display: block;
}
.nf-form-cont .nf-form-fields-required { 
    font-style: italic;
    font-size: 0.8em; 
    color: #555;       
    margin-bottom: 1.5rem; 
    display: block; 
    text-align: left;
}
.signup-section .nf-form-fields-required {
    text-align: center;
}
.nf-form-cont .nf-field-container { 
    margin-bottom: 1.25rem;
}
/* Base styles for TEXT and TEXTAREA fields */
.nf-form-cont .nf-field-element input[type="text"],
.nf-form-cont .nf-field-element input[type="email"],
.nf-form-cont .nf-field-element input[type="tel"],
.nf-form-cont .nf-field-element textarea {
    width: 100%;
    padding: 0.9rem 1.1rem; 
    border: 1px solid rgba(169, 169, 169, 0.55);
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}
.nf-form-cont .nf-field-element textarea {
    min-height: 120px;
    resize: vertical;
}

/* Specific styles for the SELECT dropdown wrapper */
.nf-form-cont .list-select-wrap .ninja-forms-field {
    width: 100%;
    padding: 0; /* Wrapper itself has no padding */
    border: 1px solid rgba(209, 209, 209, 0.69);
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    /* Add the dropdown arrow ONLY to this wrapper */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
}

/* Styles for the actual <select> element inside the styled wrapper */
.nf-form-cont .list-select-wrap .ninja-forms-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important; /* Ensures native arrow is hidden */
  border: none !important;
  padding: 0.9rem 2.5rem 0.9rem 1.1rem; /* More space on the right for arrow */
  width: 100%;
  background-color: transparent;
  font-size: 1rem;
  color: #292929;
  line-height: 1.4;
  box-sizing: border-box;
}
.nf-form-cont .list-select-wrap select {
  padding: 10px !important;
}

/* Focus states */
.nf-form-cont .nf-field-element input[type="text"]:focus,
.nf-form-cont .nf-field-element input[type="email"]:focus,
.nf-form-cont .nf-field-element input[type="tel"]:focus,
.nf-form-cont .nf-field-element textarea:focus,
.nf-form-cont .list-select-wrap .ninja-forms-field:focus-within { /* Focus on the wrapper */
    border-color: green;
    box-shadow: 0 0 0 3px green, 0.25); 
    outline: none;
}

.nf-form-cont .submit-container input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Use the existing .cta-button styles as a base */
    background-color: #55c932;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    width: 100%; 
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.entry-content .submit-container input[type="submit"] {
    width: auto; 
}

.nf-form-cont .submit-container input[type="submit"]:hover {
    background-color: #81d572;
    transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nf-response-msg {
  background-color: #f0f9f4;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nf-response-msg p {
  margin: 0;
}


/* === Ninja Forms Styled Container === */
.entry-content .nf-form-cont {
  background-color: #fff;
  padding: .5rem 2rem 1rem 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
  margin-bottom: 3rem;
}
