@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

html {
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif !important;
    background: #FFFFFF !important;
    color: #0B042F !important;
    scroll-behavior: smooth;
    font-weight: 400;
}

:root {
    --title-text: linear-gradient(90deg, #ffffff 0%, #60768f 100%);
    --blue-text: #60768f;
    --yellow-text: #d2a238;
    --main-text: #ffffff;
    --header-text: #ffffffe5;
}

.title-text {
    background: var(--title-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.blue-text {
    color: var(--blue-text);
}

.yellow-text {
    background: none !important;
    -webkit-text-fill-color: var(--yellow-text) !important;
    color: var(--yellow-text) !important;
}

.fw-300 {
    font-weight: 300;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-800 {
    font-weight: 800;
}

h1 {
    font-size: 42px !important;
}

h3 {
    font-size: 30px !important;
}

h6 {
    font-size: 16px !important;
}

p {
    font-size: 16px;
}

a {
    text-decoration: none !important;
    cursor: pointer;
}

.gold-btn,
.outline-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
    display: flex;
    align-items: center;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-btn::before,
.outline-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 2;
}

/* glow layer */
.gold-btn::after,
.outline-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

/* GOLD BUTTON */
.gold-btn {
    height: 54px;
    padding: 15px 20px;
    border-radius: 16px;
    background-color: var(--yellow-text);
    border: none;
    color: var(--header-text);
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}

.gold-btn::after {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.25),
        transparent 70%
    );
}

.gold-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 0 25px rgba(233, 188, 55, 0.45),
        0 12px 30px rgba(233, 188, 55, 0.28);
    background: #f0c247;
}

.gold-btn:hover::before {
    left: 140%;
}

.gold-btn:hover::after {
    opacity: 1;
}

/* OUTLINE BUTTON */
.outline-btn {
    height: 54px;
    padding: 15px 20px;
    border-radius: 16px;
    background-color: transparent;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.outline-btn::after {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.14),
        transparent 75%
    );
}

.outline-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.22),
        0 10px 28px rgba(255, 255, 255, 0.12);
}

.outline-btn1{
    color: #ffF;
    border: 2px solid #ffF;
}

.outline-btn1:hover{
    border-color: #ffF;
}

.outline-btn2{
    color: #0B042F;
    border: 2px solid #0B042F;
}

.outline-btn2:hover{
    border-color: #0B042F;
}

.outline-btn:hover::before {
    left: 140%;
}

.outline-btn:hover::after {
    opacity: 1;
}

.gold-btn:focus,
.outline-btn:focus {
    outline: none;
    box-shadow: none;
}

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999 !important;
    max-width: 100%;
    padding: 0 96px;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.header-container {
    margin-top: 40px;
    min-height: 80px;
    padding: 13px 16px;
    border-radius: 16px;

    background: #FFFFFF0F;

    box-shadow: 0px 1.27px 15.27px #0000000d;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    -webkit-backdrop-filter: blur(32px) saturate(140%);
    backdrop-filter: blur(32px) saturate(140%);

    border: 1px solid rgba(255, 255, 255, 0.06);

    position: relative;
    overflow: visible;
}

.brand-logo img {
    width: 240px;
    display: block;
}

.hero-section {
    position: relative;
    background: #0B042F;
    overflow: hidden;
    padding: 150px 96px 50px;
}

.hero-section .container-xl {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 815px;
    text-align: center;
}

.hero-buttons {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .hero-section {
        min-height: auto;
        padding: 150px 24px 65px;
        background-position: center;
    }

    .hero-content {
        margin-top: 55px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 260px;
    }
}

/*Forms */

.eligibility-section {
    background: #fff;
    color: #0B042F;
    padding: 55px 96px;
}

.eligibility-container {
    margin: auto;
}

.eligibility-title {
    text-align: center;
    margin-bottom: 48px;
    background: linear-gradient(90deg, #0B042F 0%, #3E4C75 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.eligibility-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.eligibility-step{
    margin-bottom: 150px;
}

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
}

.step-dot.active {
    border-color: #D2A238;
    background: #D2A238;
}

.step-dot.done {
    background: #0B042F;
    border-color: #0B042F;
    position: relative;
}

.step-dot.done::after {
    content: "✓";
    color: #fff;
    font-size: 11px;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-line {
    width: 120px;
    height: 1px;
    background: #D9D9D9;
}

.step-line.active{
    background:#0B042F;  
}

.eligibility-step {
    display: none;
}

.eligibility-step fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.eligibility-step.active {
    display: block;
}

label {
    font-size: 14px;
    color: #0B042F;
    margin-bottom: 8px;
}

label span,
label + span {
    color: #D2A238;
}

.input-square {
    height: 57px;
    border: 0.7px solid #DDDDDD !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    padding: 0 24px !important;
    color: #0B042F !important;
    outline: 0;
    box-shadow: none;
}

.form-control.input-square:focus{
    outline: 0;
    box-shadow: none;
    border-color: #ddd;
}

.form-control.input-square::placeholder {
    color: #88888888 !important;
}

/* Default: selected disabled placeholder = gray */
select.form-control.input-square {
    background-color: #fff;
    color: #88888888 !important;
}

/* لما يكون في option حقيقية selected */
select.form-control.input-square:has(option:checked:not(:disabled)) {
    color: #0B042F !important;
}

/* Dropdown options */
select.form-control.input-square option {
    background-color: #fff;
    color: #0B042F;
}

/* Disabled placeholder داخل dropdown */
select.form-control.input-square option:disabled {
    color: #88888888;
}

/* Selected real option داخل dropdown */
select.form-control.input-square option:checked:not(:disabled) {
    background: #f5f5f5;
    color: #0B042F;
}

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

.custom-select-wrapper::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url("../images/svg/select-arrow-navy.svg") no-repeat center;
    background-size: contain;
    pointer-events: none;
    transition: transform .3s ease;
}

/* Rotate while the select has focus */
.custom-select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 55px;
}

.custom-select-wrapper select::-ms-expand {
    display: none;
}

.phone-input,
#phoneInput{
    padding-left: 110px !important;
}

/* Container */
.iti {
    width: 100%;
}

/* Flag container */
.iti__selected-flag {
    padding-right: 28px !important;
    position: relative;
}

/* Hide default arrow */
.iti__arrow {
    display: none !important;
}

/* Custom arrow */
.iti__selected-flag::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url("../images/svg/select-arrow-navy.svg") no-repeat center;
    background-size: contain;
    pointer-events: none;
    transition: transform .25s ease;
}

/* Rotate when dropdown is open */
.iti--allow-dropdown.iti--container-open .iti__selected-flag::after,
.iti--allow-dropdown .iti__selected-flag[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-date-icon {
    width: 18px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

input[type="date"].custom-date-input::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    display: none !important;
    -webkit-appearance: none;
    width: 100%;
}

input[type="date"].custom-date-input::-webkit-inner-spin-button,
input[type="date"].custom-date-input::-webkit-clear-button {
    display: none !important;
}


.custom-date-input {
    background-color: transparent;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

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

.custom-date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 3;
}


.flatpickr-calendar .flatpickr-current-month .numInputWrapper input.numInput.cur-year {
    border-radius: 7px !important;
    margin-left: 5px !important;
    font-size:14px!important;
}

.custom-date-wrapper .form-control[readonly] {
    background-color: transparent!important;
}

.radio-group, .checkbox-row{
    display:flex;
    gap:42px;
    align-items:center;
}

.custom-radio{
    display:flex;
    align-items:center;
}

.custom-radio input{
    display:none;
}

.custom-radio label{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    margin:0;
    font-size:15px;
    color:#0B042F;
    font-weight:400;
}

.custom-radio label::before{
    content:"";
    width:20px;
    height:20px;
    border:1px solid #D9D9D9;
    border-radius:50%;
    background:#fff;
    transition:.25s;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:12px;
    font-weight:700;
}

.custom-radio input:checked + label::before{
    content:"✓";
    background:#0B042F;
    border-color:#0B042F;
    color:#fff;
}

.confirm-area{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-top:40px;
}

.custom-checkbox{
    display:flex;
    align-items:flex-start;
}

.custom-checkbox input{
    display:none;
}

.custom-checkbox label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    cursor:pointer;
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#0B042F;
}

.custom-checkbox label::before{
    content:"";
    flex-shrink:0;
    width:20px;
    height:20px;
    border:1px solid #D9D9D9;
    border-radius:5px;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:12px;
    font-weight:700;
    transition:.25s ease;
}

.custom-checkbox input:checked + label::before{
    content:"✓";
    background:#0B042F;
    border-color:#0B042F;
    color:#fff;
}

.custom-checkbox input:focus + label::before{
    box-shadow:0 0 0 3px rgba(11,4,47,.12);
}

input[type="radio"],
input[type="checkbox"] {
    accent-color: #0B042F;
    width: 18px;
    height: 18px;
}

.transaction-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-head span {
    font-size: 14px;
    color: #808080;
}

.transaction-head span b{
    color: #0B042F;
}

.add-more, .add-more-person {
    border: 0;
    background: transparent;
    color: #D2A238;
    font-weight: 600;
    font-size: 13px;
    margin-top: 18px;
}

/* UBO row action: keep the remove control aligned with the form design. */
#uboRows .remove-ubo {
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    margin-top: 0;
    border: 1px solid #D2A238;
    border-radius: 8px;
    background: #fff;
    color: #0B042F;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

#uboRows .remove-ubo:hover,
#uboRows .remove-ubo:focus-visible {
    border-color: #0B042F;
    background: #0B042F;
    color: #fff;
    outline: none;
}

#uboRows .remove-ubo:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.confirm-area {
    margin-top: 40px;
    display: grid;
    gap: 18px;
}

.confirm-area label span {
    color: #0B042F;
    font-size: 14px;
}

.eligibility-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(0,0,0,.07);
    padding: 24px 96px;
    display: flex;
    justify-content: space-between;
    z-index: 20;
}

.back-btn {
    min-width: 72px;
    height: 48px;
    border-radius: 13px;
    border: 2px solid #0B042F;
    background: #fff;
    color: #0B042F;
    font-weight: 600;
}

.continue-btn {
    min-width: 96px;
    height: 48px;
    border-radius: 13px;
    border: 0;
    background: #d9a12d;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.iti {
    width: 100%;
}

.eligibility-complete {
    padding: 150px 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.complete-content {
    max-width: 700px;
}

.complete-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #0B042F;
    color: #fff;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.complete-content h2 {
    margin-bottom: 25px;
}

.complete-content p {
    margin-bottom: 35px;
}

@media(max-width: 768px) {
    .eligibility-container {
        width: 92%;
    }

    .step-line {
        width: 70px;
    }

    .eligibility-footer {
        padding: 18px 5%;
    }
}

@media (max-width: 1280px) {
    h1 {
        font-size: 35px !important;
    }

    h2 {
        font-size: 32px !important;
    }

    h3 {
        font-size: 28px !important;
    }

    h4 {
        font-size: 22px !important;
    }

    h5 {
        font-size: 18px !important;
    }

    h6 {
        font-size: 14px !important;
    }

    p {
        font-size: 12px !important;
    }

    .eligibility-section {
        padding: 55px 20px;
    }

    .site-header{
        padding: 0 20px;
    }

    .brand-logo img {
        width: 175px;
    }

}

@media(max-width:567px){
    .step-dot{
        width: 20px;
        height: 17px;
    }

    .brand-logo img {
        width: 133px!important;
    }
}


.custom-multiselect {
    position: relative;
    width: 100%;
}

.multiselect-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background-color: #fff;
}

.multiselect-trigger .selected-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.multiselect-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background-color: #fff;
    padding-right: 55px !important;
}

.multiselect-trigger .selected-text {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 0;
}

.multiselect-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    flex-shrink: 0;

    background: url("../images/svg/select-arrow-navy.svg") no-repeat center;
    background-size: contain;

    border: 0;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform .3s ease;
}

.custom-multiselect.open .multiselect-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.multiselect-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    display: none;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
}

.custom-multiselect.open .multiselect-options {
    display: block;
}

.multiselect-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.multiselect-options label:hover {
    background-color: #f5f5f5;
}

.multiselect-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
