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

html {
    font-size: 95%;
    overflow-x: hidden;
}

:root {
    --primary-start: #3e7dfc;
    --primary-end: #7a54ff;
    --secondary-start: #34c8f5;
    --secondary-end: #6394ff;
    --text-main: #0b253a;
    --text-muted: #6c7a88;
    --bg-light: #f8f9fc;
    --bg-card: #ffffff;
    --border-light: #e4eaf3;
}

body {
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;

}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: #2A5AD2;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

input,
select,
textarea {
    font-family: "Outfit", sans-serif;
    font-size: inherit;
    color: inherit;
}

input::placeholder {
    color: #BFBFBF;
}


.container {
    width: 90%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-image: linear-gradient(to right, var(--primary-start), var(--primary-end));
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    transition: background-image 0.3s ease;
    font-weight: 500;
}

.btn:hover,
.btn:focus {
    background-image: linear-gradient(to right, #2d2d2d, #000);
    outline: none;
}

.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}


header {
    background-color: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.11);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.6rem 0;
    height: 76px;
}

.navbar .container {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-line1 br {
    display: none;
}

.navbar__links {
    display: inline-flex;
    float: right;
    align-items: center;
}

.navbar__logo img {
    height: auto;
    width: 234px;
}

a.navbar__logo {
    display: inline-block;
    position: relative;
    left: 0;
    width: 234px;
}

.navbar__menu {
    list-style: none;
    display: inline-flex;
    gap: 2rem;
    margin-right: 2rem;
    padding: 16px 0px;
}

.navbar__menu li a {
    font-size: 1rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.navbar__menu li a:hover,
.navbar__menu li a:focus {
    color: var(--primary-start);
}

.navbar__cta {
    display: inline-block;
    position: relative;
    float: right;
    padding: 0.8rem 1.65rem;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
    background-image: linear-gradient(to right, var(--primary-start), var(--primary-end));
    color: #FFF;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(62, 125, 252, 0.35);
    transition: background-image 0.2s ease, box-shadow 0.2s ease;
}

.navbar__cta:hover,
.navbar__cta:focus {
    background-image: linear-gradient(to right, #2d2d2d, #000);
    border-color: #2d2d2d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 0.5rem 0;
        height: 62px;
    }

    .navbar__menu {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 1rem;
        gap: 1rem;
    }

    .navbar__menu.active {
        display: flex;
    }

    a.navbar__logo {
        height: auto;
        width: 160px;
    }

    .navbar__cta {
        font-size: 16px;
        padding: 0.6rem 1.25rem;
    }
}


.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    margin-left: 1rem;
}

.hamburger__bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.3s ease,
    opacity 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        margin-left: 0.6rem;
    }
}

.hamburger--active .hamburger__bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger--active .hamburger__bar:nth-child(2) {
    opacity: 0;
}

.hamburger--active .hamburger__bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #FFF;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    padding-top: 4rem;
}

.mobile-menu--active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding-left: 1rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    font-size: 1.125rem;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    color: #2A5AD2;
}


.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.menu-overlay--active {
    opacity: 1;
    pointer-events: auto;
}


body.menu-open {
    overflow: hidden;
}

#home {
    position: relative;
    color: var(--text-main);
    text-shadow: none;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

img.hero-animation {
    position: absolute;
    width: 178px;
    height: 272px;
    top: 20%;
    right: 36%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .hero-video {
        display: none;
    }

}

.hero-content {
    position: relative;
    display: inline-block;
    float: left;
    text-align: left;
    color: #ffffff;
}

img.hero-stars-image {
    position: relative;
    width: 118px;
    height: 42px;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/home-page.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 1;
}

#home .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#home h1 {
    font-size: 64px;
    line-height: 1.2;
    max-width: 600px;
}

#home h1 span {
    color: #2D64F0;
}


#home p {
    font-size: 18px;
    color: RGBA(255, 255, 255, 0.6);
    max-width: 760px;
    font-weight: 300;
}

.hero-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    max-width: 455px;
    border-radius: 100px;
}

.hero-form select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    min-width: 120px;
    background-color: #ffffff;
    color: #333333;
}

.hero-form select:focus {
    outline: 2px solid #2A5AD2;
}

#home p.hero-disclaimer {
    font-size: 12px;
}

.hero-form .btn {
    padding: 1.3rem 2.6rem;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(to right, #3364E0 0%, #2A5AD2 100%);
    border: solid 2px #5079DF;
    color: #FFFFFF;
    border-radius: 60px;
    position: relative;
    z-index: 1;
}

.hero-form .btn:hover {
    background: linear-gradient(to right, #2D2D2D 0%, #000000 100%);
    border: solid 2px #3F3F3F;
}

.hero-form .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
}

:root {
    --dropdown-width: 200px;
    --header-height: 48px;
    --border-radius: 6px;
    --box-shadow: rgba(0, 0, 0, 0.11);
    --transition-speed: 0.3s;
    --max-list-height: 260px;
}

.loan-dropdown {
    position: relative;
    width: var(--dropdown-width);
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    user-select: none;
}

.loan-dropdown__toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.loan-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 2.3rem 1.6rem;
    background-color: RGBA(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 4px 0px var(--box-shadow);
    cursor: pointer;
    transition: box-shadow var(--transition-speed);
    position: relative;
    z-index: 3;
    border: solid 1px RGBA(0, 0, 0, 0.1);
}

.loan-dropdown__header:hover {
    box-shadow: 0px 6px 6px 0px RGBA(255, 255, 255, 0.2);
}


.loan-dropdown__selected {
    color: #0A0A0A;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 28px;
}

.loan-dropdown__arrow {
    width: 0;
    height: 0;
    border-radius: 6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #0A0A0A;
    transition: transform var(--transition-speed);
    margin-left: 0.5rem;
}

.loan-dropdown__toggle:checked + .loan-dropdown__header .loan-dropdown__arrow {
    transform: rotate(180deg);
}

.loan-dropdown__list {
    position: absolute;
    top: calc(var(--header-height) + 4px);
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 4px 0px var(--box-shadow);
    transition: max-height var(--transition-speed), opacity var(--transition-speed);
    opacity: 0;
    z-index: 10;
}

.loan-dropdown__toggle:checked ~ .loan-dropdown__list {
    max-height: var(--max-list-height);
    opacity: 1;
    border-radius: 0px 0px 6px 6px;
    padding: 3rem 1rem 0rem 0rem;
    top: 42px;
    z-index: 2;
    position: absolute;
}

.loan-dropdown__item {
    list-style: none;
    padding: 0.16rem 1rem;
    font-size: 24px;
    text-shadow: none;
    color: #212121;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    position: relative;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.loan-dropdown__item:hover {
    background-color: #2A5AD2;
    color: #FFF;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    padding-left: 1rem;
    padding-right: 1.5rem;
}

.loan-dropdown__item--selected {
    background-color: #2A5AD2;
    color: #FFFFFF;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    padding-left: 1rem;
    padding-right: 1.5rem;
}

.loan-dropdown__list {
    overflow-y: auto;
}

.loan-dropdown__list::-webkit-scrollbar {
    width: 6px;
}

.loan-dropdown__list::-webkit-scrollbar-track {
    background: transparent;
}

.loan-dropdown__list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.loan-dropdown__list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

@supports (scrollbar-width: thin) {
    .loan-dropdown__list {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    }
}

@media (max-width: 767px) {
    #home .container {
        flex-direction: column;
        gap: 0.26rem;
    }

    .hero-content {
        padding: 1.6rem 0rem;
    }

    #home h1 {
        font-size: 36px;
        line-height: 1.2;
        max-width: 670px;
    }

    .hero-form {
        display: block;
        gap: 0rem;
        padding: 0.5rem;
        border-radius: 40px;
    }

    .hero-form .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: inherit;
        z-index: -1;

    }

    .loan-dropdown {
        width: 100%;
    }

    .loan-dropdown__header {
        padding: 32px 1.75rem;
        margin-bottom: 0.6rem;
    }

    .loan-dropdown__selected {
        font-size: 1.6rem;
    }

    .loan-dropdown__item {
        font-size: 1.3rem;
        padding: 0.5rem 0.75rem;
    }

    .hero-form .btn {
        padding: 1.3rem 2.6rem;
        display: block;
        width: 100%;
        z-index: 0;
    }

    .loan-dropdown__toggle:checked ~ .loan-dropdown__list {
        max-height: 235px;
    }

}


.apr-table-section {
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Outfit", sans-serif;
}

.apr-table-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 1.5rem;
    color: #1D3571;
}

@media screen and (max-width: 767px) {
    .apr-table-title {
        font-size: 28px;
    }

}

.apr-table-title--highlight {
    color: #2A5AD2;
}

.apr-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.apr-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Outfit", sans-serif;
}

.apr-table thead th {
    background-color: #2A5AD2;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.apr-table thead th:first-child {
    border-top-left-radius: 8px;
}

.apr-table thead th:last-child {
    border-top-right-radius: 8px;
}

.apr-table tbody tr:nth-child(odd) {
    background-color: #F1F7FF;
}

.apr-table tbody tr:nth-child(even) {
    background-color: #fff;
}

.apr-table td {
    padding: 0.75rem 1rem;
    color: #555;
    font-size: 0.95rem;
}

.apr-table td:first-child {
    font-weight: 600;
    color: #1565C0;
}

.apr-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.apr-table-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}


.multi-step-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 660px;
    border-radius: 100px;
    display: none;
}

.step {
    text-align: center;
}

.multi-step-wrapper .step {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.multi-step-wrapper .step#step-email {
    display: block;
}

.step-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.step-label {
    flex-shrink: 0;
    background-color: #FFFFFF;
    border: 2px solid #2A5AD2;
    border-radius: 36px;
    width: 102px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #212121;
    padding: 0.25rem;
}

.step-label span {
    text-shadow: none;
}

.step-input {
    flex: 1;
    border: none;
    font-size: 1rem;
    padding: 1.35rem 2rem;
    border-radius: 6px;
    background-color: RGBA(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: solid 1px RGBA(0, 0, 0, 0.1);
    color: #212121;
    outline: none;
    transition: border 0.2s ease;
    height: 66px;
}


.step-btn {
    flex-shrink: 0;
    background: linear-gradient(to right, #3364E0 0%, #2A5AD2 100%);
    border: solid 2px #5079DF;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.step-btn:hover,
.step-btn:focus {
    background: linear-gradient(to right, #2D2D2D 0%, #000000 100%);
    border: solid 2px #3F3F3F;
}

.step-complete {
    padding: 2rem;
    text-align: center;
}

.step-complete h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #212121;
}

.step-complete p {
    font-size: 1rem;
    color: #555555;
}

.loading-image {
    width: 80px;
    height: 80px;
    display: inline-block;
    position: relative;
}

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

@media screen and (max-width: 767px) {
    .multi-step-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0.6rem;
        border-radius: 40px;
    }

    .step-inner {
        width: 100%;
        gap: 0;
        display: block;
        border-radius: 30px;
        padding: 0;
        text-align: center;
    }

    .step-label {
        width: 60px;
        padding: 8px 2px;
        font-size: 0.875rem;
        display: inline-block;
        height: 63px;
        float: left;
    }

    .step-input {
        display: inline-block;
        font-size: 14px;
        width: 95%;
        padding: 16px 18px;
    }

    .step-btn {
        display: inline-block;
        width: 95%;
        margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    }
}


.hero-features {
    position: relative;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features .feature-item {
    display: inline-block;
    border-radius: 60px;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    margin: 1rem;;
}

.hero-features .feature-item span {
    font-size: 18px;
    color: #FFF;
    font-weight: 600;
    text-align: left;
    margin: 1rem;
    display: table-cell;
    position: relative;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}

.feature-icon {
    display: inline-block;
    float: left;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 8px 13px;
}

.hero-features .feature-item img {
    width: 46px;
    height: auto;
}

@media (max-width: 767px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        margin-top: 0rem;
    }

    .hero-features .feature-item {
        max-width: 280px;
        margin: 1rem 0;
    }
}


#how-it-works {
    background-color: #2A5AD2;
    color: #FFF;
    text-align: center;
}

#how-it-works .step-label {
    background-color: RGBA(255, 255, 255, 0.05);
    color: #2A5AD2;
    font-weight: 600;
    font-size: 24px;
    padding: 0.5rem 0.5rem;
    border-radius: 60px;
    display: inline-block;
    margin-bottom: 1rem;
    width: 55px;
    height: 55px;
    color: #FFF;
}


#how-it-works .illustration {
    flex: 1 1 400px;
}

#how-it-works .illustration img {
    border-radius: 8px;
}

#how-it-works .steps {
    flex: 1 1 400px;
}

#how-it-works h2 {
    font-size: 36px;
    margin-bottom: 1rem;
}

#how-it-works .step {
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 28%;
    display: inline-block;
    margin: 0 1rem;
    vertical-align: top;
}

#how-it-works .step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    #how-it-works .container {
        flex-direction: column;
        align-items: center;
    }

    #how-it-works .illustration,
    #how-it-works .steps {
        flex: 1 1 auto;
        max-width: 100%;
    }

    #how-it-works .step {
        max-width: 100%;
        margin: 1rem 0;
    }

    #how-it-works .step p {
        display: grid;
    }

    #how-it-works .step-label {
        margin-right: 1rem;
    }
}


#loan-options {
    color: #1D3571;
}

#loan-options .container {
    max-width: 1300px;
}

#loan-options h2 {
    font-size: 36px;
    margin-bottom: 1.6rem;
}

#loan-options h2 span {
    color: #2A5AD2;
}

#loan-options img {
    width: 32px;
    height: auto;
    margin-bottom: 0rem;
}

#loan-options img.happy-enjoy {
    width: 100%;
    height: auto;
    margin-bottom: 0rem;
}

.options-grid {
    margin-top: 2rem;
}

#loan-options p {
    max-width: 500px;
    margin-right: auto;
    margin-bottom: 0.6rem;
    font-size: 18px;
    color: RGBA(29, 53, 113, 0.5);
    display: inline-block;
}

#loan-options .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

#loan-options .option-card {
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
    border: solid 1px RGBA(42, 90, 210, 0.1);
}

#loan-options .option-card.highlight p {
    color: #FFF;
}

#loan-options .option-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    display: inline-block;
}


@media (max-width: 767px) {
    #loan-options .options-grid {
        grid-template-columns: 1fr;
    }

    #loan-options .option-card {
        padding: 1rem;
    }

    #loan-options p {
        font-size: 16px;
    }

    #loan-options .option-card h3 {
        font-size: 1.125rem;
    }

    .section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}


#trust-security {
    background-color: #F0F5FF;
    color: #1D3571;
    text-align: center;
}

#trust-security .container {
    display: block;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

#trust-security .security-text {
    flex: 1 1 400px;
    margin-right: 2rem;
}

#trust-security h2 {
    font-size: 36px;
    margin-bottom: 1rem;
}

#trust-security h2 span {
    color: #2A5AD2;
}

.security-point {
    display: inline-block;
    background-color: #FFF;
    padding: 1.5rem;
    border: solid 1px RGBA(42, 90, 210, 0.1);
    border-radius: 16px;
    width: 44%;
    margin: 1rem 1rem;
    vertical-align: top;
    text-align: left;
}

#trust-security .security-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2A5AD2;
}

#trust-security .security-text p {
    font-size: 18px;
    color: RGBA(29, 53, 113, 0.5);
    margin-bottom: 1.5rem;
}

#trust-security .security-text a {
    color: #0052cc;
    text-decoration: underline;
}

#trust-security .security-text a:hover,
#trust-security .security-text a:focus {
    color: #003d99;
    outline: none;
}

#trust-security .security-image-wrapper {
    position: relative;
    flex: 1 1 360px;
}

#trust-security .security-image-wrapper img {
    border-radius: 8px;
}

#trust-security .support-block {
    position: absolute;
    bottom: -30px;
    right: -30px;
    max-width: 420px;
}

#trust-security .support-box {
    background-color: #ffffff;
    border-radius: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

#trust-security .support-box img {
    width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}

#trust-security .support-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

#trust-security .support-box p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #555555;
}

#trust-security .support-box .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background-color: #000;
}

#trust-security .support-box .btn:hover {
    background-color: #2A5AD2;
}


@media (max-width: 767px) {
    .security-point {
        padding: 1rem;
        width: 100%;
        margin: 1rem 0rem;
    }

    #trust-security .security-text p {
        font-size: 16px;
    }

    #trust-security .container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    #trust-security .security-text {
        text-align: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    #trust-security .security-image-wrapper {
        width: 100%;
        max-width: 360px;
    }

    #trust-security .support-block {
        position: static;
        max-width: none;
        width: 100%;
    }
}


#apply {
    background-image: url("../img/loan_now.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

#apply h2 {
    font-size: 36px;
    margin-bottom: 1rem;
}

#apply p {
    font-size: 12px;
    color: RGBA(255, 255, 255, 0.45);
    max-width: 800px;
    display: inline-block;
    text-align: center;
}

#apply .modal-body p {
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #000;
}

#apply form {
    width: 100%;
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    padding: 1rem 1rem;
    margin-top: 1.5rem;
}

#apply p.disclosure-link-wrapper {
    margin-top: 1rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.disclosure-link {
    color: #fff;
    font-size: 14px;
    opacity: 0.6;
    text-decoration: underline;
    cursor: pointer;
}

.disclosure-link:hover {
    opacity: 1;
}

#apply select {
    padding: 1rem 0.8rem;
    font-size: 20px;
    font-weight: 500;
    border-radius: 60px;
    min-width: 140px;
    background-color: RGBA(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.11);
    border: solid 1px RGBA(255, 255, 255, 0.1);
}

#apply select option {
    color: #000;
}

#apply select:focus {
    outline: 1px solid #2A5AD2;
}

#apply input {
    font-size: 1rem;
    padding: 1.25rem 2rem;
    vertical-align: top;
    margin: 0 1rem;
    border-radius: 60px;
    background-color: RGBA(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: solid 1px RGBA(255, 255, 255, 0.1);
    color: #FFF;
    outline: none;
    transition: border 0.2s ease;
}

#apply input:focus {
    outline: 1px solid #2A5AD2;
}

#apply button.btn {
    flex-shrink: 0;
    background: linear-gradient(to right, #3364E0 0%, #2A5AD2 100%);
    border: solid 2px #5079DF;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 60px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#apply button.btn:hover,
#apply button.btn:focus {
    background: linear-gradient(to right, #2D2D2D 0%, #000000 100%);
    border: solid 2px #3F3F3F;
}

@media (max-width: 767px) {
    #apply form {
        padding: 1rem;
    }

    #apply select,
    #apply input {
        width: 100%;
        margin: 0.5rem 0;
        margin-top: 0;
    }
}


#disclosure {
    background-color: #FFF;
    font-size: 0.75rem;
    color: RGBA(29, 53, 113, 0.5);
}

#disclosure .container {
    max-width: 90%;
}

#disclosure h2 {
    font-size: 36px;
    color: #1D3571;
}

#disclosure h2 span {
    color: #2A5AD2;
}

#disclosure p {
    margin-bottom: 1rem;
    line-height: 1.4;
}

#disclosure a {
    color: #0052cc;
    text-decoration: underline;
}

#disclosure a:hover,
#disclosure a:focus {
    color: #003d99;
    outline: none;
}

@media (max-width: 767px) {
    #disclosure .container {
        max-width: 100%;
    }

    #disclosure p {
        font-size: 0.7rem;
    }
}


footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(29, 53, 113, 0.1);
    padding-top: 0rem;
    padding-bottom: 2rem;
    text-align: center;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.footer-nav {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

footer a img {
    width: 216px;
    height: auto;
    display: inline-block;

}

footer nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

footer nav ul li a {
    font-size: 0.9rem;
    color: #1D3571;
    transition: color 0.2s ease;
}

footer nav ul li a:hover,
footer nav ul li a:focus {
    color: #0052cc;
    outline: none;
}

footer .copyright {
    font-size: 0.9rem;
    color: #555555;
    display: block;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(29, 53, 113, 0.1);
}

@media (max-width: 767px) {
    footer .container {
        display: block;
    }

    footer nav ul {
        display: block;
    }

    footer nav ul {
        display: block;
    }

    footer a img {
        display: inline-block;
    }
}


@media (max-width: 575px) {
    header .container {
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    #how-it-works .container,
    #trust-security .container {
        flex-direction: column;
    }

    #loan-options .options-grid {
        grid-template-columns: 1fr;
    }

    #apply form {
        flex-direction: column;
        border-radius: 36px;
    }
}


@media (min-width: 576px) and (max-width: 767px) {
    #loan-options .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #loan-options .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    #loan-options .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.legal-hero {
    position: relative;
    color: #1D3571;
    display: block;
    text-align: left;
    justify-content: center;
    padding: 3rem 1rem;
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    border-bottom: solid 1px #E7E9F0;
}

.legal-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.legal-hero span {
    color: #2A5AD2;
}

.legal-section {
    padding: 3rem 0;
    color: #1D3571;
    overflow-wrap: break-word;
}

/* Ordered lists in legal pages - ensure numbers are visible */
.legal-section ol {
    list-style-type: decimal;
    padding-left: 2.5rem;
}

.legal-section ol li {
    padding-left: 0.5rem;
}

.legal-section ol ol {
    list-style-type: lower-alpha;
    padding-left: 2rem;
}

/* Sub-points (i)(ii)(iii) in terms page */
.legal-section > ul li {
    list-style: none;
    padding-left: 2rem;
    position: relative;
}

.legal-section p {
    padding: 1rem 0;
}

.legal-section a {
    color: #2A5AD2;
}

.legal-section h2 {
    padding-top: 1rem;
    font-size: 22px;
    font-weight: 500;
}

.legal-hero__subtitle {
    max-width: 860px;
    display: inline-block;
    margin-bottom: 1rem;
}

.legal-section ul li {
    background-image: url("../img/benefit_star.svg");
    background-repeat: no-repeat;
    background-position: left top 0px;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

/* Contact Us section in legal pages - no bullets, just list */
.legal-section ol > li:last-child ul li {
    background-image: none;
    padding-left: 0;
}

.legal-section td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    padding-right: 6rem;
}

.legal-section thead th {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    padding-right: 6rem;
    font-weight: bold;
    text-align: left;
}


@media screen and (max-width: 767px) {
    .legal-hero {
        padding: 2rem 1rem;
    }

    .legal-hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .legal-section {
        padding: 2rem 0;
    }

    .legal-hero__subtitle {
        max-width: 100%;
        display: block;
        margin-bottom: 1rem;
    }

    .legal-section ul li {
        background-image: url("../img/benefit_star.svg");
        background-repeat: no-repeat;
        background-position: left center;
        padding-left: 2.5rem;
    }

    .legal-section ol {
        padding-left: 2rem;
    }

    .legal-section ol ol {
        padding-left: 1.5rem;
    }

    .legal-section td {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e0e0e0;
        font-size: 12px;
        font-weight: 600;
    }

    .legal-section thead th {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e0e0e0;
        font-size: 12px;
        font-weight: 600;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .table-wrapper table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
    }

}


.how-it-works-section {
    padding: 6rem 0;
    background-image: url("../img/how-it-works.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.how-it-works-section .step-label {
    flex-shrink: 0;
    background-color: RGBA(255, 255, 255, 0.1);
    border: none;
    border-radius: 36px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: #FFF;
    padding: 0.25rem;
}

.how-it-works-section .container {
    display: block;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.how-it-works-section .steps {
    width: 100%;
    display: block;
    text-align: center;

}

.how-it-works-section .steps .step {
    text-align: left;
    margin-top: 2rem;
    display: inline-block;
    width: 28%;
    vertical-align: top;
    margin: 0 1rem;
}

.how-it-works-section .steps .step h3 {
    margin: 1rem 0;
}

.how-it-works-section .steps .step p {
    color: rgba(255, 255, 255, 0.5);
    display: grid;
}

.how-it-works-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .how-it-works-section .step-label {
        width: 40px;
        height: 40px;
        font-size: 18px;
        padding: 0.25rem;
        margin-right: 1rem;
    }

    .how-it-works-section .steps .step h3 {
        margin: 0 1rem;
    }

    .how-it-works-section .steps .step {

        width: 100%;
    }

    .how-it-works-section .container {
        flex-direction: column;
        text-align: left;
    }

    .how-it-works-section .illustration,
    .how-it-works-section .steps {
        width: 100%;
        margin-left: 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .how-it-works-section .steps .step {
        text-align: left;
        margin: 1rem 0;
    }

    .how-it-works-section .steps h3 {
        font-size: 1.5rem;
    }

    .how-it-works-section h2 {
        margin-top: 1rem;
        text-align: center;

    }

    .how-it-works-section {
        padding: 2rem 0;
    }

}

.how-it-works-block-second .container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.info-left {
    flex: 1 1 300px;
}

.info-right {
    flex: 1 1 300px;
}

.how-it-works-block-second {
    background: #F0F5FF;
    color: #1D3571;
}

.section.how-it-works-block-second h3 {
    margin-bottom: 2rem;
    font-size: 22px;
    font-weight: 500;
}

.section.how-it-works-block-second p {
    font-size: 18px;
    color: RGBA(29, 53, 113, 0.5);
}

.section.how-it-works-block-second h3 span {
    color: #2A5AD2;
}

.section.how-it-works-block-second ul li {
    background-image: url("../img/benefit_star.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.section.how-it-works-block-second ul li strong {
    margin-left: 1rem;
    display: grid;
}

@media screen and (max-width: 767px) {
    .info-left, .info-right {
        flex: 1 1 100%;
    }

    .section.how-it-works-block-second h3 {
        margin-bottom: 1rem;
    }

    .section.how-it-works-block-second ul li {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .section.how-it-works-block-second p {
        margin-bottom: 1rem;;
    }

}

.faq-banner-section {
    position: relative;
    text-align: left;
    padding: 4rem 1rem 0rem 1rem;
}

.faq-banner-heading {
    font-size: 36px;
    color: #1D3571;
    text-align: left;
}

.faq-banner-heading span {
    color: #2A5AD2;
}


.faq-section {
    background-color: #ffffff;
    color: #1D3571;
}

.faq-container {
    max-width: 1260px;
    margin: 0 auto;
}

.faq-container details {
    padding: 0.5rem;
}

.faq-container summary {
    font-size: 18px;
    padding: 1rem;
    border-radius: 60px;
    border: 1px solid #E8EBF1;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

.faq-container summary:hover {
    color: #2A5AD2;
}

.faq-container summary::-webkit-details-marker {
    display: none;
}

.faq-container summary::after {
    content: '▸';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.faq-container details[open] summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq-container p {
    margin-top: 0.5rem;
    color: RGBA(29, 53, 113, 0.5);
    font-size: 16px;
    line-height: 1.5;
    padding-left: 1rem;
    border-left: solid 1px #E8EBF1;
}

.faq-container ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    list-style-type: disc;
}

.faq-container ul li {
    margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
    .faq-banner-section {
        min-height: 160px;
    }

    .faq-banner-heading {
        font-size: 2rem;
    }

    .faq-container {
        width: 100%;
        padding: 0 1rem;
    }

    .faq-container details {
        padding: 0.75rem 0;
    }

    .faq-container summary {
        font-size: 0.95rem;
        padding-right: 1rem;
    }

    .faq-container summary::after {
        font-size: 0.9rem;
    }

    .faq-container p {
        font-size: 0.9rem;
    }

    .faq-container ul {
        margin-left: 1.25rem;
    }
}


.contact-container {
    display: inline-block;
    width: 50%;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 320px;
}


.contact-heading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #111;
}

.contact-form {
    display: block;
}

.contact-input {
    padding: 1.25rem 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    margin: 0 1rem;
    width: 44%;
    display: inline-block;
    border: solid 1px #E7E9F0;
    margin-bottom: 1.5rem;
}


.contact-textarea {
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    resize: vertical;
    width: 100%;
    min-height: 120px;
    border: solid 1px #E7E9F0;
    margin: 0 1rem;
}

.contact-submit {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 0.75rem 2rem;
    float: right;
    background: linear-gradient(to right, #3364E0 0%, #2A5AD2 100%);
    border: solid 2px #5079DF;
    box-shadow: 0 0 50px 0 rgba(42, 90, 210, 0.75);
}

.contact-submit:hover {
    background: linear-gradient(to right, #2D2D2D 0%, #000000 100%);
    border: solid 2px #3F3F3F;
}

@media (max-width: 1111px) {
    .contact-form-wrapper {
        width: 100%;
    }

    .contact-input,
    .contact-textarea {
        width: 100%;
        margin: 0.5rem 0;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
}


.contact-info-wrapper {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.contact-info-inner {
    position: relative;
    display: block;
}

.contact-info-overlay {
    border-radius: 8px;
    max-width: 1200px;
    width: 100%;
    color: #1D3571;
    display: inline-block;
    width: 40%;
    margin: 0 2rem;
    text-align: left;
    vertical-align: top;
}

.contact-info-overlay h2 {
    color: #1D3571;
    font-size: 36px;
}

.contact-info-overlay h2 span {
    color: #2A5AD2;
}

.contact-info-overlay p {
    color: RGBA(29, 53, 113, 0.5);
    font-size: 16px;
    padding-bottom: 2rem;
    border-bottom: solid 1px #E8EBF1;
}

.contact-info-overlay a {
    color: RGBA(29, 53, 113, 0.5);
    text-decoration: underline;
    font-size: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;

}

.contact-icon img {
    width: 24px;
    height: 24px;
}

.contact-text {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 1rem;
}

.contact-info-wrapper.mobile {
    display: none;
}

.contact-info-wrapper.desktop {
    display: block;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}


@media (max-width: 767px) {
    .contact-info-wrapper.mobile {
        display: block;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
    }

    .contact-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-container {
        display: block;
        width: 100%;
    }

    .contact-input,
    .contact-textarea {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        float: none;
    }

    #contact.section {
        padding: 2rem 0rem;
    }

    .contact-info-overlay {
        margin: 0;
        display: block;
        width: 100%;
    }

    .contact-item {
        margin-bottom: 0.75rem;
    }

    .contact-text {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: #fff;
    color: #333;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 0.25rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    font-size: 3.6rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

#apply .modal-content h2 {
    margin-top: 0;
    font-size: 26px;
}

.modal-content h3 {
    margin-bottom: 0.25rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #000;
}


.hero-video,
img.hero-stars-image {
    display: none;
}

#home .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#home .hero-text {
    flex: 1 1 50%;
    max-width: 660px;
    text-align: left;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

#home .hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

#home .hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

#home .hero-text p.hero-disclaimer {
    font-size: 14px;
    opacity: 1;
    color: #5a6370;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#home .hero-image {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    margin-right: 1rem;
}

#home .hero-image img {
    max-width: 100%;
    border-radius: 20px;
}

#home .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
}

#home .hero-features .feature-item {
    flex: 1 1 24%;
    max-width: 30%;
    text-align: center;
    margin: 0 0.5rem;
}

#home .hero-features .feature-item .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background: #E6F2FA;
}

#home .hero-features .feature-item .feature-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#home .hero-features .feature-item span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    padding: 0rem 0rem 0rem 4rem;
    color: var(--text-main);
}

#home .hero-features .feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    margin-top: 1rem;
    text-align: left;
}

@media (max-width: 767px) {
    #home .hero-features .feature-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.hero-form {
    padding: 0rem;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: #F5F6FF;
    border-radius: 10px;
    padding: 1rem;
    border: solid 1px #E3E6FD;
}

.inner-images {
    max-height: 260px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.inner-images img {
    max-width: 100%;
}

.hero-form select,
.hero-form input {
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 0.6rem 1rem;
    background: #fff;
}

.hero-form .btn {
    border-radius: 6px;
    padding: 20px 2rem;
}

.section-label {
    display: inline-block;
    background: #E6F2FA;
    color: #097ACA;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    flex: 1 1 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-card .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #E6F2FA;
    display: inline-block;
    padding: 6px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #0A0A0A;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.options-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.option-card.highlight {
    background-image: linear-gradient(to right, var(--primary-start), var(--primary-end));
    color: #fff;
}

.option-card.highlight p {
    color: rgba(255, 255, 255, 0.85);
}

.option-card .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #E6F2FA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.options-image {
    flex: 1;
}

.options-image img {
    max-width: 100%;
    border-radius: 20px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(456px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.security-card .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #E6F2FA;
    display: inline-block;
    padding: 11px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.apr-table-section {
    padding-top: 4rem;
}

.apr-table-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.apr-table-title--highlight {
    background: linear-gradient(to right, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apr-table-wrapper {
    overflow-x: auto;
}

.apr-table {
    width: 100%;
    border-collapse: collapse;
}

.apr-table th,
.apr-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.apr-table thead th {
    color: #fff;
    background-image: #E6F2FA;
}

.cta-section {
    position: relative;
    background-image: url('../img/img_03.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

a.navbar__logo,
.navbar__logo {
    display: flex;
    align-items: center;
    width: auto;
    margin-right: 1rem;
}

.navbar__logo .logo-icon {
    width: 48px;
    height: 48px;
    margin-right: 0.5rem;
}

.navbar__logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar__logo .logo-line1 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-start);
}

.navbar__logo .logo-line2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
}

.footer-logo a,
.footer-logo .navbar__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
    margin-right: 0.5rem;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.footer-logo .logo-line1 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-start);
}

.footer-logo .logo-line2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-form select,
.cta-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    min-width: 200px;
}

.apply-btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
}

#apply-now-btn {
    position: relative;
    overflow: hidden;
}

#apply-now-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 40%;
    height: 200%;
    pointer-events: none;

    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%
    );

    transform: translateX(-150%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-150%);
    }
    50% {
        transform: translateX(350%);
    }
    100% {
        transform: translateX(350%);
    }
}

@media (max-width: 1200px) {
    #home .hero-image {
        flex: 1 1 60%;
    }

    img.hero-animation {
        right: 6%;
        top: 12%;
    }

    .hero-form .btn {
        padding: 20px 1rem;
    }
}

@media (max-width: 900px) {
    img.hero-animation {
        width: 148px;
        height: 242px;
        top: 12%;
        right: 32%;
        display: none;
    }

    #home .hero-image {
        flex: 1 1 80%;
    }

    #home .hero-features .feature-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #home .hero-features .feature-item p {
        padding: 0 0 0 4rem;
        text-align: left;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .security-grid {
    display: block;
    margin-top: 1rem;
}
.security-card {
    margin-top: 1rem;
}
    #loan-options img.happy-enjoy {
        max-width: 200px;
        display: inline-block;
    }

    .options-image {
        text-align: center;
        margin-top: 2rem;
    }

    .options-container {
        margin-top: 1rem;
        display: block;
    }

    #home .hero-image img.hero-animation {
        display: none;
    }

    #home .hero-image {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
    }

    #home .hero-image img {
        display: inline-block;
        max-width: 300px;
    }

    #home {
        padding-top: 0rem;
        padding-bottom: 1rem;
    }

    #home .hero-text {
        display: block;
        max-width: 100%;
        width: 100%;
    }

    #home .container {
        display: block;
        width: 100%;
        text-align: left;
    }

    #home .hero-text h1 {
        font-size: 2.6rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .hero-form {
        width: 100%;
        gap: 0.5rem;
    }

    #home .hero-text p {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
}


.step-back-btn {
    opacity: 0.6;
}


.loan-quick-range {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 0px;
}

.loan-quick-range__btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid rgba(0, 120, 255, 0.15);
    background: #ffffff;
    color: #0f78d8;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 120, 216, 0.08);
    transition: background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.loan-quick-range__btn:hover {
    background: #e7f3ff;
    box-shadow: 0 6px 16px rgba(15, 120, 216, 0.18);
    transform: translateY(-1px);
}

.loan-quick-range__btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.loan-quick-range__btn--active {
    background: #0f78d8;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 120, 216, 0.4);
}