/* ═══════════════════════════════════════════════════════════ */
/* CONTACT BANNER */
/* ═══════════════════════════════════════════════════════════ */

#contact-banner {
    margin: 0;
}

.contact-banner {
    position: relative;
    /* background-image: url('../../images/content/contact.png'); */
    background-image: url('../../images/content/contact.webp');
    background-size: cover;
    background-position: 65% center;
    height: clamp(400px, 45vw, 600px);
    width: 100%;
}

.contact-heading-box {
    position: absolute;
    top: 30px;
    left: 0;
    background: linear-gradient(to bottom, rgba(222, 226, 228, 0.9), rgba(245, 243, 240, 0.9));
    padding: var(--spacing-md);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.contact-heading-box h1 {
    font-size: var(--font-size-hero);
    color: var(--brand-primary-500);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 1 - Introduction */
/* ═══════════════════════════════════════════════════════════ */

.contact-intro {
    margin-top: var(--spacing-2xl);
    margin-bottom: 35px;
}

.contact-intro-container h2 {
    font-size: clamp(1rem, 0.67rem + 2.14vw, 1.4rem);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 2 - Contact Form */
/* ═══════════════════════════════════════════════════════════ */

.form-container, .contact-intro-container {
    max-width: 650px;
}

.contact-form-section .form-container {
    background: #E8EFF5;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: var(--shadow-small);
}

#contact-form label {
    font-weight: 600;
    color: var(--brand-primary-500);
}

#contact-form .form-check-label {
    font-weight: normal;
    color: var(--text-primary);
}

#contact-form .form-check-input {
    -webkit-appearance: none;
    appearance: none;
    float: none;
    margin-left: 0;
    width: 1.4em;
    height: 1.4em;
    border: 2px solid var(--border-default);
    border-radius: 4px;
    background-color: var(--surface-background);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#contact-form .form-check-input:checked {
    background-color: var(--brand-primary-500);
    border-color: var(--brand-primary-500);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

#contact-form .form-check-input:focus {
    outline: 3px solid var(--brand-primary-tint-200);
    outline-offset: 2px;
}

.form-control {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background-color: var(--surface-background);
}

#message-count {
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────────── */
/* Custom Select Dropdown                                       */
/* ─────────────────────────────────────────────────────────── */
.visually-hidden-native-select {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--surface-background);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}

.custom-select-display {
    flex: 1;
    font-size: 1rem;
}

.custom-select-display.is-placeholder {
    color: var(--text-disabled);
}

.custom-select-chevron {
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select-chevron {
    transform: rotate(180deg);
}

.custom-select-listbox {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--surface-background);
    border: 1px solid var(--brand-primary-500);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 260px;
    overflow-y: auto;
}

.custom-select-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    list-style: none;
}

.custom-select-option:hover,
.custom-select-option:focus {
    background: var(--brand-primary-tint-100);
    color: var(--brand-primary-500);
}

.custom-select-option.placeholder-option {
    color: var(--text-disabled);
    font-style: italic;
}

.custom-select-trigger {
    border: 1px solid var(--border-strong);
}

.custom-select-trigger.is-invalid {
    border-color: #dc3545 !important;
}

.custom-select-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.form-control:focus,
.custom-select-trigger:focus {
    border-color: var(--brand-primary-500);
    box-shadow: var(--shadow-form-input);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: var(--surface-background);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.contact-method {
    background: var(--brand-primary-tint-100);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

form a {
    color: var(--brand-primary-500);
}

#submit-btn {
    background-color: var(--surface-background);
    color: var(--brand-primary-500);
    border: 2px solid var(--brand-primary-500);
    margin: 12px;
}

#submit-btn:hover {
    background-color: var(--brand-primary-tint-100);
    color: var(--brand-primary-600);
    border-color: var(--brand-primary-600);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 3 - Withdraw from Pilot */
/* ═══════════════════════════════════════════════════════════ */

.withdraw-from-pilot .cta-box {
    max-width: 650px;
    box-shadow: var(--shadow-small);
}

.withdraw-from-pilot h2 {
    font-size: clamp(1rem, 0.67rem + 2.14vw, 1.4rem);
}

/* 
@media screen and (min-width: 768px) {
    .contact-banner {
        background-image: url('../../images/content/contact.webp');
    }
} */