/* Form Section Styling */
.tour-form-section {
    margin: 6rem 0;
}

.tour-form-section .container {
    max-width: 800px;  /* Reduced from 1200px for a more compact centered form */
    margin: 0 auto;
    padding: 0 20px;
}

.tour-form-section .section-title-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.tour-form-section .section-title {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.2;
    font-size: 42px;
    color: black;
    font-weight: normal;
}

.tour-form-section .section-title-container::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background-color: #d4b044;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Form Column Styling */
.form-centered {
    display: flex;
    justify-content: center;
}

.form-column {
    width: 100%;
    max-width: 600px;  /* Control the form width */
}

/* General Form Styling */
.nf-form-cont {
    max-width: 100%;
    margin: 0 auto;
}

/* Field Containers - 2-column layout */
.nf-form-layout .nf-form-content .nf-field-container {
    margin-bottom: 20px;
}

/* Create two-column layout */
.nf-form-layout .nf-form-content .one-half {
    clear: none;
    float: left;
    margin-left: 2%;
    width: 48%;
}

.nf-form-layout .nf-form-content .first {
    margin-left: 0;
}

/* Input Fields Styling */
.nf-form-layout .nf-form-content .ninja-forms-field:not(select):not([type=button]) {
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    font-family: serif;
    transition: border 0.3s ease;
}

/* Dropdown Styling */
.nf-form-layout .nf-form-content select.ninja-forms-field {
    height: 60px;
    padding: 15px 20px;
    font-size: 16px;
    color: #888;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23888"/></svg>');
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    font-family: serif;
    transition: border 0.3s ease;
}

.nf-field-description {
    margin-bottom: 6px;
}

.nf-field-description p {
    text-align: left;
    font-size: 16px;
    color: black;
}

/* Textarea Styling */
.nf-form-layout .nf-form-content textarea.ninja-forms-field {
    height: 250px;
    font-family: serif;
}

/* Field Labels */
.nf-form-layout .nf-form-content .nf-field-label label {
    display: none; /* Hide labels as they appear to be inside as placeholders */
}

/* Placeholder Text */
.nf-form-layout .nf-form-content input::placeholder,
.nf-form-layout .nf-form-content textarea::placeholder {
    color: #888;
    font-family: serif;
    font-size: 16px;
    opacity: 1;
}

/* Submit Button Styling */
#nf-field-10 {
    background-color: #000;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    width: auto;
    display: inline-block;
    height: auto;
    font-family: sans-serif;
    position: relative;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#nf-field-10:hover {
    background-color: #333;
}

/* Focus states */
.nf-form-layout .nf-form-content .ninja-forms-field:not(select):not([type=button]):focus,
.nf-form-layout .nf-form-content select.ninja-forms-field:focus,
#nf-field-5:focus {
    outline: none;
    border: 1px solid #000000 !important;
}

/* Error messages */
.nf-form-layout .nf-error .ninja-forms-field {
    border-color: #e80000;
}

.nf-form-layout .nf-error-msg {
    color: #e80000;
    font-size: 12px;
}

/* Ensure form button is properly positioned */
.nf-form-content .submit-container {
    text-align: left;
}

.nf-response-msg {
    color: black;
    font-size: 24px;
    text-align: center;
}

  .terms-link:visited {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: #0250BB;
    text-underline-offset: 2px;
    color: #0250BB;
  }