/* ══════════════════════════════════════════
   CONTACT FORM — scoped styles
══════════════════════════════════════════ */
.nxf-wrap {
    max-width: 1500px;
    margin: 0 auto;
    background: linear-gradient(155deg, #ffffff 0%, #f6f6f8 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 26px;
    padding: 40px 40px 34px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 30px 60px -34px rgba(15, 23, 42, 0.25);
}
.nxf-wrap,
.nxf-wrap * {
    box-sizing: border-box;
}
/* Safeguard: hide the honeypot field even if Bootstrap's .d-none isn't loaded on this page */
.nxf-wrap .d-none {
    display: none !important;
}
.nxf-form .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}
.nxf-form .col-sm-6,
.nxf-form .col-12 {
    padding: 0 8px;
    width: 100%;
}
.nxf-form .col-sm-6 {
    width: 100%;
}

/* ---------- Field shell ---------- */
.nxf-field {
    position: relative;
    margin-bottom: 18px;
}
.nxf-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9aa3b2;
    pointer-events: none;
    transition: color 0.2s ease;
}
.nxf-icon svg {
    width: 100%;
    height: 100%;
}
.nxf-icon-textarea {
    top: 18px;
    transform: none;
}

/* ---------- Input base ---------- */
.nxf-input {
    width: 100%;
    padding: 22px 16px 10px 46px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    color: var(--text, #111);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nxf-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.nxf-field:focus-within .nxf-icon {
    color: #2563eb;
}
.nxf-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 26px;
    line-height: 1.5;
}

/* ---------- Floating label ---------- */
.nxf-label {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #424242;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.18s ease, top 0.18s ease, color 0.18s ease;
}
.nxf-input:focus + .nxf-label,
.nxf-input:not(:placeholder-shown) + .nxf-label {
    top: 9px;
    transform: translateY(0) scale(0.72);
    color: #2563eb;
    font-weight: 600;
}
.nxf-label-textarea {
    top: 18px;
    transform: none;
}
.nxf-input:focus ~ .nxf-label-textarea,
.nxf-textarea:not(:placeholder-shown) ~ .nxf-label-textarea {
    top: 8px;
    transform: none;
}

/* ---------- Alerts ---------- */
.nxf-alert {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin: 4px 8px 6px;
}
.nxf-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.nxf-alert-success {
    background: #e4f8ee;
    border: 1px solid #b8ecd0;
    color: #0d6b46;
}
.nxf-alert-error {
    background: #fdeceb;
    border: 1px solid #f6c2bd;
    color: #a3281a;
}
.nxf-alert.is-visible {
    display: flex;
}

/* ---------- Turnstile spacing ---------- */
.nxf-turnstile-wrap {
    margin: 6px 8px 4px;
}

/* ---------- Submit button ---------- */
.nxf-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nxf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(37, 99, 235, 0.6);
}
.nxf-submit:active {
    transform: translateY(0);
}
.nxf-submit svg {
    transition: transform 0.2s ease;
}
.nxf-submit:hover svg {
    transform: translateX(3px);
}

/* ---------- Responsive ---------- */
@media (min-width: 576px) {
    .nxf-form .col-sm-6 {
        width: 50%;
    }
}
@media (max-width: 480px) {
    .nxf-wrap {
        padding: 28px 22px 26px;
        border-radius: 20px;
    }
}

.formbottommargin	{
	margin-bottom: 60px;
}

/* ---------- Static-label fields (date / time) ----------
   Native date/time pickers don't reliably support the floating-label
   trick (:placeholder-shown behaves inconsistently across browsers for
   these input types), so these fields use a plain label above the input
   instead of one that floats on focus. */
.nxf-field-static {
    margin-bottom: 18px;
}
.nxf-label-static {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #667085);
    margin: 0 0 8px 2px;
}
.nxf-icon-static {
    top: 44px;
    transform: none;
}
.nxf-input-static {
    padding: 14px 16px 14px 46px;
}
.nxf-field-static:focus-within .nxf-label-static {
    color: #2563eb;
}