* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #031127;
    color: #fff;
    overflow-x: hidden;
}

/* ============ HEADER ============ */
.top-section {
    position: relative;
    background:
        linear-gradient(100deg, rgba(6, 24, 45, 0.80) 0%, rgba(20, 84, 160, 0.34) 100%),
        url('/assets/bg_img1.png') center center / cover no-repeat fixed;
    padding-bottom: 56px;
    overflow: hidden;
}

.top-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -22%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(65, 143, 233, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.top-section::after {
    content: '';
    position: absolute;
    bottom: -42%;
    left: -14%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(46, 114, 194, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.navbar-custom {
    padding: 14px 44px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

.navbar-brand .logo-icon {
    width: 120px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand .brand-text .top {
    font-size: 13px;
    letter-spacing: 3px;
}

.navbar-brand .brand-text .bottom {
    font-size: 9px;
    letter-spacing: 2px;
    color: #7cc6ff;
    font-weight: 500;
}

.navbar-custom .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
}

.navbar-custom .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.navbar-custom .nav-links a:hover {
    color: #4ba3ff;
}

.navbar-custom .nav-links .dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
}

.btn-get-started {
    background: #001d45;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.btn-get-started:hover {
    background: #0a2e63;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 16, 40, 0.35);
    color: #fff;
}

.btn-get-started:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 146, 255, 0.35);
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    text-align: center;
    padding: 56px 20px 52px;
    z-index: 5;
}

.hero-section h1 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.hero-section p {
    font-size: 14px;
    color: #d2dceb;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* ============ FORM SECTION ============ */
.form-section {
    background: #020c1d;
    padding: 32px 20px 70px;
    position: relative;
}

@media (max-width: 992px) {
    .top-section {
        background-attachment: scroll;
    }
}

.form-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
}

.form-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.form-description {
    text-align: center;
    color: #b2c0d1;
    font-size: 13px;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 auto 28px;
    font-weight: 400;
}

.lead-success-alert {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px !important;
    padding: 14px 16px;
    border: 1px solid #78c7af;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(194, 232, 219, 0.95) 0%, rgba(172, 223, 206, 0.95) 100%);
    color: #114a3b;
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 22px rgba(22, 98, 78, 0.18);
    animation: successAlertIn 0.55s ease-out, successAlertGlow 3.4s ease-in-out 0.55s 1;
}

.lead-success-alert::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
    animation: successAlertShine 1.15s ease-out 0.35s 1;
}

@keyframes successAlertIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successAlertGlow {
    0%,
    100% {
        box-shadow: 0 8px 22px rgba(22, 98, 78, 0.18);
    }
    50% {
        box-shadow: 0 10px 26px rgba(22, 98, 78, 0.26);
    }
}

@keyframes successAlertShine {
    from {
        left: -40%;
    }
    to {
        left: 110%;
    }
}

.thank-you-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(194, 232, 219, 0.08) 0%, rgba(120, 199, 175, 0.04) 100%);
    border: 1px solid rgba(120, 199, 175, 0.3);
    animation: thankYouIn 0.6s ease-out;
}

.thank-you-icon {
    font-size: 64px;
    color: #78c7af;
    margin-bottom: 20px;
    animation: thankYouIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thank-you-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.thank-you-text {
    color: #dce6f4;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.thank-you-redirect {
    color: #8595a8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 24px;
}

.thank-you-redirect span {
    color: #ffc107;
    font-weight: 700;
    font-size: 15px;
}

@keyframes thankYouIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes thankYouIconPop {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .thank-you-card {
        padding: 40px 20px;
    }
    .thank-you-title {
        font-size: 22px;
    }
    .thank-you-icon {
        font-size: 52px;
    }
}

.form-label-custom {
    color: #dce6f4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.form-sub-label {
    color: #8595a8;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

.form-control-custom {
    width: 100%;
    background: #14263c;
    border: 1px solid #1f324a;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #e6edf7;
    transition: all 0.25s ease;
}

.form-control-custom::placeholder {
    color: #8ea0b6;
}

.form-control-custom:focus {
    outline: none;
    background: #172c45;
    border-color: #2f6fd6;
    box-shadow: 0 0 0 2px rgba(47, 111, 214, 0.12);
}

.form-control-custom.is-invalid,
.form-control-custom.is-invalid:focus {
    border-color: #dc3545;
}

.form-control-custom.is-invalid {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18);
}

.form-control-custom.is-invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.22);
}

.form-select-custom {
    width: 100%;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 14px center;
    background-size: 14px;
    border: 1px solid #dce3ec;
    border-radius: 3px;
    padding: 11px 40px 11px 14px;
    font-size: 14px;
    color: #1a1a1a;
    appearance: none;
    -webkit-appearance: none;
}

.form-group-custom {
    margin-bottom: 22px;
}

.combobox {
    position: relative;
}

.combobox-field {
    position: relative;
}

.combobox-input {
    padding-right: 42px !important;
    cursor: pointer;
}

.combobox-input:focus {
    cursor: text;
}

.combobox-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.combobox-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8595a8;
    pointer-events: none;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.combobox.open .combobox-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #ffc107;
}

.combobox-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 260px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #14263c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    animation: comboboxFade 0.15s ease;
}

.combobox-list[hidden] {
    display: none;
}

@keyframes comboboxFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.combobox-item {
    padding: 10px 14px;
    color: #e0e6f0;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

.combobox-item:hover,
.combobox-item.active {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.combobox-empty {
    padding: 12px 14px;
    color: #8595a8;
    font-size: 13px;
    font-style: italic;
    list-style: none;
    text-align: center;
}

.combobox.is-invalid .combobox-input {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.combobox-list::-webkit-scrollbar {
    width: 6px;
}

.combobox-list::-webkit-scrollbar-track {
    background: transparent;
}

.combobox-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.combobox-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 193, 7, 0.4);
}

.consent-row {
    margin-top: 6px;
}

.checkbox-option {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #7ea5dc;
    border-radius: 4px;
    margin-top: 1px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkbox-mark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-mark {
    background: #2f6fd6;
    border-color: #2f6fd6;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-mark::after {
    transform: rotate(45deg) scale(1);
}

/* datetime-local calendar icon white */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.85;
    filter: invert(1);
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ============ RADIO BUTTONS ============ */
.radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 8px 0;
}

.radio-group.is-invalid .radio-mark,
.radio-group.is-invalid .radio-option:hover .radio-mark {
    border-color: #dc3545;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 6px 0;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #7ea5dc;
    border-radius: 50%;
    background: transparent;
    display: inline-block;
    position: relative;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2f6fd6;
    transition: transform 0.25s ease;
}

.radio-option input[type="radio"]:checked + .radio-mark {
    border-color: #2f6fd6;
    box-shadow: 0 0 0 2px rgba(47, 111, 214, 0.2);
}

.radio-option input[type="radio"]:checked + .radio-mark::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    color: #e0e8f2;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.radio-option:hover .radio-mark {
    border-color: #2979ff;
}

.field-error {
    display: block;
    margin-top: 8px;
    color: #ff8f98;
    font-size: 12px;
    font-weight: 500;
}

.btn-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 26px auto 0;
    background: #2f6fd6;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #285fb8;
    transform: none;
    box-shadow: none;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .navbar-custom {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar-custom .nav-links {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 10px 0 0;
        align-items: flex-start;
        margin-top: 10px;
        background: #e8e9eb;
        border-radius: 8px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: max-height 0.32s ease, opacity 0.26s ease, transform 0.26s ease;
    }

    .navbar-custom .nav-links.show {
        max-height: 420px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar-custom .nav-links li {
        width: 100%;
    }

    .navbar-custom .nav-links li a {
        display: block;
        width: 100%;
        padding: 14px 24px;
        color: #2b4f74;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .navbar-custom .nav-links li a:hover,
    .navbar-custom .nav-links li a.mobile-link-active {
        background: #1c8fe3;
        color: #ffffff;
    }

    .btn-get-started {
        display: none;
    }

    .navbar-custom .nav-links .nav-cta {
        display: none;
    }

    .hero-section h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-section p {
        font-size: 13px;
    }

    .hero-section {
        padding: 40px 20px 42px;
    }

    .form-section {
        padding: 28px 15px 52px;
    }

    .form-wrapper {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 27px;
    }

    .form-heading {
        font-size: 18px;
    }
}
