@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

.background_myfin{
    background-color: var(--bg);
    color: var(--ink);
    padding: 0px 0 0;
    position: relative;
    overflow: hidden;
}
:root{
    --ink: #2a2924;
    --muted: #4f5662;
    --accent: #434e78;
    --accent-2: #434e78;
    --bg: #fafafa;
    --panel: #ffffff;
    --card: #ffffff;
    --border: #e4e3df;
    --shadow: 0 12px 40px rgba(25, 28, 35, 0.12);
    --radius-lg: 12px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --sub-title-color:#5a5548;
    --title-color-:#554e7b;
    --x: 50%;
    --y: 50%;
    --r: 140px;         /* spotlight radius */
    --soft: 90px;       /* feather/blur size */
}
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: "Noto Sans TC","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    letter-spacing: 0.01em;
    position: relative;
}
a{
    color: inherit;
    text-decoration: none;
}
.background_myfin::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
}
body > *:not(.cursor-bg){
    /* position: relative; */
    z-index: 1;
}
.cursor-bg{
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background-repeat: no-repeat;
    background-size: 520px auto;
    background-position: 10% 60%;
    transition: opacity 0.4s ease, background-position 0.4s ease;
    z-index: 0;
}
.navbar{
    padding: 8px 12px;
    position: relative;
    z-index: 3;
}
.navbar.is-sticky{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg);
    box-shadow: 0 10px 30px rgba(12, 16, 33, 0.12);
    z-index: 999;
}
body.theme-dark .navbar,
body.theme-dark .navbar.is-sticky{
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
body.theme-dark .navbar-toggler{
    filter: invert(1);
}
body.has-sticky{
    padding-top: var(--nav-height, 0px);
}
.theme-toggle{
        border: 1px solid #cfcfcf;
    background: #ffffff;
    color: #2a2924;
    padding: 8px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
}
.theme-switch{
    width: 52px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #d7d9e0;
    background: #eceff6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin-left: 8px;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(12, 16, 33, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-switch-thumb{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(12, 16, 33, 0.18);
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left 0.2s ease, background 0.2s ease;
}
.theme-switch-icon{
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    opacity: 0.6;
    background-repeat: no-repeat;
    background-size: contain;
}
.theme-switch-icon--sun{
    left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%235a6272'%3E%3Cpath d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0-5a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1Zm0 18a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Zm10-9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1ZM7 12a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1Zm12.07 7.07a1 1 0 0 1-1.41 0l-1.41-1.41a1 1 0 1 1 1.41-1.41l1.41 1.41a1 1 0 0 1 0 1.41ZM7.76 7.76a1 1 0 0 1-1.41 0L4.93 6.35a1 1 0 1 1 1.41-1.41l1.42 1.41a1 1 0 0 1 0 1.41Zm12.9-2.82a1 1 0 0 1 0 1.41l-1.41 1.41a1 1 0 0 1-1.41-1.41l1.41-1.41a1 1 0 0 1 1.41 0ZM7.76 16.24a1 1 0 0 1 0 1.41l-1.42 1.41a1 1 0 1 1-1.41-1.41l1.42-1.41a1 1 0 0 1 1.41 0Z'/%3E%3C/svg%3E");
}
.theme-switch-icon--moon{
    right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23434e78'%3E%3Cpath d='M21 14.5A7.5 7.5 0 0 1 9.5 3a.9.9 0 0 0-1.08-1.12A9.5 9.5 0 1 0 22.12 15.6.9.9 0 0 0 21 14.5Z'/%3E%3C/svg%3E");
}
.theme-switch.is-on{
    background: #111827;
    border-color: #1f2937;
}
.theme-switch.is-on .theme-switch-thumb{
    left: calc(100% - 25px);
    background: #f1f5f9;
}
.theme-switch--mobile{
    display: none;
}
.apply-now-inline{
    display: inline-flex;
}
.apply-now-fab{
    display: none;
    pointer-events: auto;
}
.theme-toggle:hover{
        background: #434e78;
    color: #ffffff;
    border-color: #434e78;
}
.nav-cta{
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 999px !important;
    line-height: 1.2;
    box-shadow: none;
}
.graph-section{
    background: #000000;
    padding: 80px 0 120px;
}
.graph-wrap{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
}
.graph-card{
    background: #0b0b0b;
    border-radius: 18px;
    padding: 18px 16px;
    width: 160px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.graph-label{
    color: #d9d9d9;
    font-size: 11px;
    margin-bottom: 10px;
}
.graph-bar{
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2f63ff 0%, #6f9cff 100%);
    transition: height 0.6s ease;
}
.graph-bar.right{
    height: 220px;
}
.graph-section:hover .graph-bar{
    height: 280px;
}
.graph-section:hover .graph-bar.right{
    height: 320px;
}
@media (max-width: 576px){
    .graph-wrap{
        justify-content: center;
        gap: 20px;
    }
    .graph-card{
        width: 140px;
    }
}
.feature-split{
    background: #f2f1fb;
    padding: 90px 0;
}
.feature-split .feature-wrap{
    position: relative;
    display: flex;
    gap: 40px;
    align-items: center;
}
.feature-split .feature-title{
    min-width: 220px;
    color: #2a2924;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}
.feature-split .feature-title h3{
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #2a2924;
}
.feature-split .feature-line{
    width: 4px;
    height: 180px;
    background: #434E78;
    border-radius: 999px;
    flex: 0 0 auto;
}
.feature-split .feature-stack{
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.feature-split .feature-card{
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(25, 28, 35, 0.12);
}
.feature-split .feature-visual{
    width: 350px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #ecebf2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.feature-split .feature-text{
    font-size: 15px;
    line-height: 1.7;
    color: #2a2924;
    margin: 0;
}
.feature-split .feature-text span{
    display: block;
    margin-top: 6px;
}
@media (max-width: 768px){
    .feature-split .feature-wrap{
        flex-direction: column;
        align-items: flex-start;
    }
    .feature-split .feature-title{
        min-width: auto;
    }
    .feature-split .feature-line{
        height: 140px;
    }
}
.navbar-collapse{
    display: flex;
    align-items: center;
}
.navbar-toggler{
    filter: invert(0);
}
.navbar-nav{
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-right: 7%;
}
.nav-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.nav-actions--primary{
    margin-left: auto;
}
.nav-login-inline{
    display: none;
    align-items: center;
    margin-right: 8px;
}

body.theme-dark{
    background-color: #1a1a1a;
    color: #ffffff;
}
body.theme-dark a,
body.theme-dark p,
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6,
body.theme-dark li,
body.theme-dark span,
body.theme-dark strong{
    color: #ffffff !important;
}
body.theme-dark .feature-line{
    background: #434E78;
}
body.theme-dark .background_myfin,
body.theme-dark .section_1,
body.theme-dark .section_2,
body.theme-dark .section_4,
body.theme-dark .section_savings,
body.theme-dark .stack-section,
body.theme-dark .mercury-split,
body.theme-dark .feature-split,
body.theme-dark .section_6{
    background-color: #1a1a1a !important;
    background-image: none !important;
}
body.theme-dark .myfin_section_1,
body.theme-dark .why_choose,
body.theme-dark .mercury-card,
body.theme-dark .stack-card,
body.theme-dark .feature-card,
body.theme-dark footer,
body.theme-dark .foorer_min{
    background-color: #111111 !important;
    border-color: #222222 !important;
}
body.theme-dark .border_1{
    border-color: #222222;
    background-color: #111111;
}
body.theme-dark .myfin_menu{
    color: #ffffff !important;
}
body.theme-dark .myfin_button,
body.theme-dark .myfin_button_two,
body.theme-dark .myfin_button3{
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
    box-shadow: none;
}
body.theme-dark .feature-card_1{
       border: 1px solid #222222;
       box-shadow: 0px 0px 0px !important;
}
/* .feature-card_1 {
    border: 1px solid #ffffff;
} */
body.theme-dark .theme-toggle{
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}
.myfin_menu{
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 15px !important;
    margin: 0 24px !important;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}
.myfin_menu:hover{
    color: var(--accent) !important;
}
.section_6 {
    padding: 120px 0;
    background-color: #f3f3fc;
}
    .border_1{
        border: 1px solid #bebbbb;
        padding: 50px 0px !important;
        border-radius: 10px;
    }
 .smokeBtn{
    background-color: #434e78;
    padding: 8px 34px;
    font-weight: 400;
    font-size: 16px;
    border-radius: 999px !important;
    text-decoration: none;
    color: #fdfdfd !important;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    isolation:isolate;
    user-select:none;
    -webkit-tap-highlight-color: transparent;
    }

 .smokeBtn .label{
      position:relative;
      z-index:2;
    }

    .smokeBtn .smokeCanvas{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      display:block;
      pointer-events:none;
    }
    
.myfin_button{
    background-color: #434e78;
    padding: 8px 34px;
    font-weight: 400;
    font-size: 16px;
    border-radius: 999px !important;
    text-decoration: none;
    color: #fdfdfd !important;
    border: 1px solid transparent;
    display: inline-block;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.myfin_button:hover{
    background: linear-gradient(135deg, #566dff, #7890ff);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.myfin_button_two{
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    padding: 8px 34px;
    font-weight: 400;
    font-size: 16px;
    border-radius: 999px !important;
    text-decoration: none;
    color: #ffffff !important;
    display: inline-block;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.myfin_button_two:hover{
    transform: translateY(-2px);
    background: linear-gradient(135deg, #566dff, #7890ff);
    color: #ffffff !important;
}
.myfin_button3{
    border: 1px solid #e3e4e7;
    background-color: #ebe8e8;
    padding: 8px 34px;
    font-weight: 400;
    font-size: 14px;
    border-radius: 999px !important;
    text-decoration: none;
    color: #0b1021;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.myfin_button3:hover{
       border-color: #434e78;
    background-color: #434e78;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(99, 224, 255, 0.35);
}
@media (min-width: 1200px){
    .container,.container-lg,.container-md,.container-sm,.container-xl{
        max-width: 950px !important;
    }
}
.padding_right_sub1 {
    padding-right: 100px;
}
.padding_left_sub1 {
    padding-left: 100px;
}
.padding_top_sub1 {
    padding-top: 50px;
}
.slider{
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.slider h1{
    color: var(--ink);
    font-weight: 600;
    font-size: 52px !important;
    margin-bottom: 18px;
    line-height: 1.08;
    letter-spacing: -0.01em;
}
.slider p{
    color: var(--sub-title-color) !important;
    font-weight: 400;
    font-size: 21px !important;
    margin: 0 auto 26px;
    max-width: 720px;
}
.slider_image{
    display: none;
}
.section_1{
    padding: 110px 0 60px;
    background: var(--bg);
}
ul{
    padding-left: 18px;
}
.img_icon{
    width: 20px;
}
.section_2{
    padding: 60px 0;
    background-color: #fafafa;
}
.section_1 p,
.section_2 p{
    margin-left: auto;
    margin-right: auto;
}
.section_1 ul,
.section_2 ul{
    margin-left: auto;
    margin-right: auto;
}

h2{
    color: #2a2924 !important;
    font-weight: 500;
    font-size: 36px !important;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.section h2::after{
    content: "";
    display: block;
    width: 200px;
    max-width: 58%;
    height: 1.5px;
    background: #d6d5d0;
    border-radius: 999px;
    margin: 18px auto 10px;
}
.section_2 p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.78;
    color: #56506a;
    letter-spacing: 0.01em;
    margin: 0 auto 10px;
    max-width: 780px;
}
.myfin_section_1{
    background-color: var(--card);
    padding: 28px;
    margin-top: 12px;
    min-height: 380px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.myfin_section_1::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(99, 224, 255, 0.08), transparent 32%);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.myfin_section_1:hover{
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(12, 16, 33, 0.12);
}
.myfin_section_1:hover::before{
    opacity: 1;
}
.myfin_section_1 hr{
    border-top: 1px solid var(--border);
    opacity: 1;
    margin: 14px 0;
}
.myfin_section_1 h5{
    color: #2b2633 !important;
    font-weight: 700;
    font-size: 24px !important;
    margin-bottom: 12px;
    line-height: 1.52;
    letter-spacing: 0.01em;
}
.myfin_section_1 p,.myfin_section_1 li{
    font-weight: 400;
    font-size: 16px !important;
    line-height: 1.72;
    color: #56506a;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
}
.residential_mortgage li{
    font-weight: 400;
    font-size: 16px !important;
    line-height: 1.72;
    color: #56506a;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}
.myfin_section_1 ul,
.residential_mortgage{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.myfin_section_1 ul li,
.residential_mortgage li{
    position: relative;
    padding-left: 38px;
}
.myfin_section_1 ul li::before,
.residential_mortgage li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background: url("../images/arrow.svg") no-repeat center;
    background-size: contain;
}
.list-check li::before{
    background: url("../images/check.svg") no-repeat center;
    background-size: contain;
    width: 24px;
    height: 24px;
    top: 3px;
}
.text-subfin {
    color: #535461 !important;
    font-size: 18px !important;
}
.main_head{
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 24px !important;
    margin-bottom: 12px;
    line-height: 1.38;
    letter-spacing: -0.01em;
}
.sub_head{
    color: var(--title-color) !important;
    font-weight: 600;
    font-size: 18px !important;
    margin-bottom: 12px;
    line-height: 1.45;
}
strong{
    color: var(--ink) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.45;
}
.sub_head_padding_top{
    padding-top: 86px;
}
.img_padding{
    padding: 24px;
}
.why_choose{
    background-color: #ededf3;
    border-radius: var(--radius-lg);
    padding: 16px 16px;
    margin-bottom: 30px;
    min-height: 460px;
}
.main_head2{
    color: var(--ink) !important;
    font-weight: 600;
    font-size: 20px !important;
    margin-bottom: 12px;
    line-height: 1.45;
    border-radius: var(--radius-sm);
}
.section_4{
    padding: 120px 0;
    background-color: #ffffff;
}
.footer_head{
    color: var(--ink) !important;
    font-weight: 600;
    font-size: 24px !important;
    margin-bottom: 16px;
    line-height: 1.32;
    letter-spacing: -0.01em;
    padding-top: 50px;
}
.logo{
    width: 120px;
}
footer{
    background-color: #0b0f1c;
    padding: 90px 0 60px;
    color: #e8ecfb;
}
.padding_footer{
    padding-top: 16px;
}
.padding_footer p{
    color: #ced5eb !important;
    font-weight: 400;
    font-size: 13px !important;
    margin-bottom: 12px;
    line-height: 1.6;
}
.footer_address p{
    color: #ced5eb !important;
    font-weight: 400;
    font-size: 15px !important;
    margin-bottom: 12px;
    line-height: 1.55;
}
.footer_address h3{
    color: #f6f7fb !important;
    font-weight: 600;
    font-size: 20px !important;
    margin-bottom: 12px;
    line-height: 1.45;
}
.foorer_min{
    background-color: #070a15;
    padding: 28px 0;
    color: #c6ccdd;
}
.foorer_min p{
    color: #c6ccdd !important;
    font-weight: 400;
    font-size: 14px !important;
    margin-bottom: 0;
    line-height: 1.5;
}
.myfin_section_1::after{
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: var(--radius-lg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 1;
    background: linear-gradient(90deg, transparent 0%, transparent 50%, var(--accent) 50%, var(--accent) 100%) top/200% 3px no-repeat, linear-gradient(90deg, transparent 0%, transparent 50%, var(--accent) 50%, var(--accent) 100%) bottom/200% 3px no-repeat, linear-gradient(0deg, transparent 0%, transparent 50%, var(--accent) 50%, var(--accent) 100%) left/3px 200% no-repeat, linear-gradient(0deg, transparent 0%, transparent 50%, var(--accent) 50%, var(--accent) 100%) right/3px 200% no-repeat;
}
.myfin_section_1:hover::after,.myfin_section_1:focus-within::after{
    opacity: 1;
    animation: border-run 1.6s linear infinite;
}
@keyframes border-run{
    0%{
        background-position: 0% 0%, 100% 100%, 0% 0%, 100% 100%;
    }
    50%{
        background-position: 100% 0%, 0% 100%, 0% 100%, 100% 0%;
    }
    100%{
        background-position: 0% 0%, 100% 100%, 0% 0%, 100% 100%;
    }
}
html{
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
    html{
        scroll-behavior: auto;
    }
}
[data-animate].anim-init{
    opacity: 0;
    transform: translateY(80px);
}
[data-animate].is-visible{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
@media (prefers-reduced-motion: reduce){
    [data-animate]{
        opacity: 1 !important;
        transform: none !important;
    }
}
.section_savings{
    background: #f5f4fd;
    padding: 110px 20px;
    color: var(--ink);
}
.savings_overline{
    letter-spacing: 1.6px;
    font-size: 12px;
    font-weight: 700;
    color: #707783;
    margin-bottom: 10px;
}
.savings_title{
    font-size: 36px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.savings_subtitle{
    font-weight: 400;
    font-size: 15px !important;
    line-height: 1.7;
    color: #4f5662;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}
.savings_value{
    font-size: 48px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}
.savings_label{
    font-weight: 500;
    font-size: 15px !important;
    line-height: 1.7;
    color: #4f5662;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}
.savings_slider_wrapper{
    padding: 12px 0 18px;
}
.savings_slider_wrapper input[type=range]{
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #4b63ff 50%, #e4e3df 50%);
    border-radius: 10px;
    outline: none;
    transition: background 0.3s ease;
}
.savings_slider_wrapper input[type=range]::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: 3px solid #0b1021;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
.savings_slider_wrapper input[type=range]::-moz-range-thumb{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: 3px solid #0b1021;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
.savings_scale{
    margin-top: 8px;
}
.savings_scale_value{
    font-weight: 600;
    font-size: 15px !important;
    line-height: 1.6;
    color: var(--ink);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.savings_scale_label{
    color: #a8b3d6;
    font-size: 13px;
    margin-top: 4px;
}
.chatbot-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  overflow: hidden;
  border: 1px solid #e7e7e7;
  z-index: 9999;
  display: none;
}
.chatbot-widget.active {
  display: flex;
  flex-direction: column;
}
.chatbot-header {
  padding: 14px 16px;
  background-color: #434e78;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-title {
  font-weight: 600;
  font-size: 16px;
}
.chatbot-subtitle {
  font-size: 12px;
  opacity: 0.85;
}
.chatbot-toggle {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.chatbot-body {
  max-height: 320px;
  overflow-y: auto;
  padding: 14px 14px 6px;
  background: #fafafa;
}
.chat-message {
  margin-bottom: 10px;
  display: flex;
}
.chat-message.bot {
  justify-content: flex-start;
}
.chat-message.user {
  justify-content: flex-end;
}
.chat-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
}
.chat-message.bot .chat-bubble {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  color: #1b1b1b;
}
.chat-message.user .chat-bubble {
  background: #434E78;
  color: #ffffff;
  border: 1px solid #434E78;
}
.chatbot-input {
  padding: 12px 12px 14px;
  background: #ffffff;
  border-top: 1px solid #e1e1e1;
}
.chatbot-input input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  font-size: 14px;
  margin-bottom: 10px;
}
.chatbot-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.chatbot-btn {
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}
.chatbot-btn.primary {
  background: #434e78;
  color: #ffffff;
}
.chatbot-btn.ghost {
  background: #f1f1f1;
  color: #1b1b1b;
}
.chatbot-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #434e78;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  z-index: 9998;
}
.modal-open{
  overflow: hidden;
}
.consultation-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.consultation-modal.is-open{
  display: flex;
}
.consultation-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 20, 0.6);
  backdrop-filter: blur(2px);
}
.consultation-card{
  position: relative;
  z-index: 1;
  width: min(540px, 92vw);
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(12, 16, 33, 0.28);
  border: 1px solid #e4e3df;
}
.consultation-card h3{
  margin: 0 0 6px;
  font-size: 24px;
  color: #2a2924;
}
.consultation-subtitle{
  margin: 0 0 20px;
  color: #5a5548;
  font-size: 14px;
}
.consultation-close{
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}
.consultation-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.consultation-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.consultation-field label{
  font-size: 13px;
  font-weight: 600;
  color: #2a2924;
  margin-bottom: 6px;
  display: block;
}
.consultation-field input,
.consultation-field textarea{
  width: 100%;
  border: 1px solid #dcdbe0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
.consultation-field textarea{
  resize: vertical;
}
.consultation-actions{
  display: flex;
  justify-content: flex-end;
}
.consultation-submit{
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  background: #434e78;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}
.consultation-hint{
  font-size: 12px;
  color: #6a6470;
}
.consultation-status{
  min-height: 18px;
  font-size: 13px;
  color: #2a2924;
}
.consultation-status.is-pending{
  color: #5a5548;
}
.consultation-status.is-success{
  color: #1d6b3a;
}
.consultation-status.is-error{
  color: #b42318;
}
.theme-dark .consultation-card{
  background: #111111;
  border-color: #222222;
}
.theme-dark .consultation-card h3,
.theme-dark .consultation-subtitle,
.theme-dark .consultation-field label,
.theme-dark .consultation-hint{
  color: #f5f5f5;
}
.theme-dark .consultation-field input,
.theme-dark .consultation-field textarea{
  background: #0b0b0b;
  border-color: #2a2a2a;
  color: #ffffff;
}
.theme-dark .consultation-close{
  color: #ffffff;
}
@media (max-width: 576px) {
  .chatbot-widget {
    right: 10px;
    width: calc(100% - 20px);
  }
  .chatbot-launcher {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 991px){
  .navbar-collapse{
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-nav{
    width: 100%;
    justify-content: flex-start;
    margin-right: 0;
  }
  .nav-actions{
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .nav-actions--primary{
        order: 3;
        margin-top: 6px;
        display: none;
  }
  .nav-login-inline{
    display: flex;
  }
  .nav-login-desktop{
    display: none;
  }
  .theme-toggle{
    display: none;
  }
  .theme-switch--mobile{
    display: inline-flex;
  }
  .apply-now-inline{
    display: none !important;
  }
  .apply-now-fab{
    display: inline-flex !important;
    position: fixed !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    border-radius: 12px 0 0 12px;
    padding: 14px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}

@media (min-width: 992px){
  .apply-now-fab{
    display: none !important;
  }
}

@media (max-width: 768px){
  .slider{
    padding: 70px 0 35px;
  }
  .slider h1{
    font-size: 30px !important;
  }
  .slider p{
    font-size: 15px !important;
  }
  .slider_o{
    max-width: 100%;
    height: auto;
  }
  .reveal-wrap{
    width: 100%;
    height: 320px;
    margin: 24px auto 0;
  }
  .stack-section{
    height: auto;
    padding: 40px 0;
  }
  .stack-wrap{
    height: auto;
    max-height: none;
  }
  .stack-card{
    position: relative;
    inset: auto;
    transform: none !important;
    margin-bottom: 20px;
  }
  .graph-wrap{
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .feature-split{
    padding: 60px 0;
  }
  .feature-split .feature-wrap{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .feature-split .feature-title{
    min-width: auto;
  }
  .feature-split .feature-title h3{
    font-size: 20px;
    line-height: 1.3;
  }
  .feature-split .feature-line{
    display: none;
  }
  .feature-split .feature-stack{
    width: 100%;
  }
  .feature-split .feature-card{
    width: 100%;
  }
  .mobile-content-first > .col-lg-6:first-child{
    order: 2;
  }
  .mobile-content-first > .col-lg-6:last-child{
    order: 1;
  }
}
[data-animate].anim-init {
  opacity: 0;
  transform: translateY(80px);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width:1380px){
    .feature-split .feature-visual {
    width: 288px !important;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #ecebf2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.residential_mortgage li {
    font-weight: 400;
    font-size: 14px !important;
    line-height: 1.72;
    color: #56506a;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}
.feature-split .feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 15px 15px !important;
    box-shadow: 0 10px 26px rgba(25, 28, 35, 0.12);
}
.section{
    padding-bottom: 25px !important;
    text-align: center;
}
}
.section{
    padding-bottom:80px;
    text-align: center;
}
.video-container{
    position: relative;
    overflow: hidden;
}
.video-container video{
    width: 100%;
}
.video-container2{
   position: relative;
    overflow: hidden;
    padding: 10px;
    background-color: #f3f3fc;
}
.video-container2 video{
    width: 100%;
}
.border_radious{
    border-radius: var(--radius-md);
}
@media(max-width:1024px){
    .slider{
        padding: 90px 18px 50px !important;
    }
    .slider h1{
        font-size: 34px !important;
    }
    h2{
        font-size: 30px !important;
    }
    .anim-init2{
        text-align: center !important;
    }
    .display_hidden_sm{
        display: none !important;
    }
    .myfin_button3{
        margin-bottom: 12px;
    }
    .section_4{
        padding: 60px 20px;
    }
    .sub_head_padding_top{
        padding-top: 48px;
    }
    .section_2{
        padding-top: 40px;
    }
    .main_head{
        font-size: 18px !important;
    }
    .section{
        padding-bottom: 30px;
    }
    footer{
        padding: 50px 20px;
    }
    .img_padding{
        padding: 10px;
    }
    .why_choose {
    background-color: #ededf3;
    border-radius: var(--radius-lg);
    padding: 16px 16px;
    margin-bottom: 30px;
    min-height: 250px;
}
    .smokeBtn {
    background-color: #434e78;
    padding: 8px 32px !important;
    font-weight: 400;
    font-size: 14px !important;
    border-radius: 999px !important;
    text-decoration: none;
    color: #fdfdfd !important;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.apply-now-inline{
    display: none;
}
.mt-t5 {
    margin-top: 16px !important;
}
.theme-toggle {
    border: 1px solid #cfcfcf;
    background: #ffffff;
    color: #2a2924;
    padding: 8px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
}
.padding_left_sub1 {
    padding-left: 12px;
}
.section {
    padding-bottom: 80px;
    text-align: left;
}
.slider {
    padding: 140px 0 100px;
    text-align: left;
    position: relative;
    z-index: 2;
}
.text-subfin {
    color: #535461 !important;
    font-size: 14px !important;
}
.section_2 p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.78;
    color: #56506a;
    letter-spacing: 0.01em;
    margin: 0 auto 10px;
    max-width: 780px;
}
.logo {
    width: 80px;
}
.myfin_menu {
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 14px !important;
    margin: 0 6px !important;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    padding-right: 10px !important;
    padding-left: 10px !important;
    margin-right: auto;
    margin-left: auto;
}
.main_head3 {
    color: #56506a !important;
    font-weight: 400;
    font-size: 14px !important;
    margin-bottom: 12px;
    line-height: 1.45;
    border-radius: var(--radius-sm);
}
}
@media(min-width:1025px){
    .display_hidden_lg{
        display: none !important;
    }
    .text_fin_center{
        text-align: center;
    }
}




 .spacer{
      height:85vh;display:flex;align-items:center;justify-content:center;
      opacity:.6;letter-spacing:.12em;text-transform:uppercase;font-size:14px;
    }

    .stack-section{
      height:100vh;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      position:relative;
    }

    .stack-wrap{
      position:relative;
      width:100%;
      max-width:1240px;
      height:65vh;
      max-height:450px;
      border-radius:12px;
      overflow:visible; /* allow cards to come from outside viewport (we hide with body/section) */
    }
     .slider_o{
        padding-top: 60px;
     }
     .stack-section{
        background-color: #f5f4fd;
     }
    .stack-card{
      position:absolute;
      inset:0;
      border-radius:12px;
      padding:3rem;
      display:flex;
      align-items:center;
      will-change:transform;
    }

    .card-bg-1{background-color:#ffffff;}
    .card-bg-2{background-color:#ffffff;}
    .card-bg-3{background-color:#ffffff;}
    /* .card-bg-4{background-color:#e8e6f9;} */

    .badge-custom{
      display:inline-block;
      padding:6px 12px;
      border-radius:999px;
      background:rgba(255,255,255,.18);
      font-size:12px;
      letter-spacing:.08em;
    }
    .title{
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 24px !important;
    margin-bottom: 12px;
    line-height: 1.38;
    letter-spacing: -0.01em;
    }
    .desc{margin-top:1rem;max-width:520px;opacity:.9;font-size:15px;line-height:1.55}

    .media-box{
      width:100%;
      height:100%;
      max-height:520px;
      border-radius:16px;
      overflow:hidden;
      position:relative;
    }
.media-box img{width:100%;height:100%;object-fit:cover}
   

.mercury-split{
    padding: 90px 0;
    background: #f6f5f2;
}
.mercury-card{
    background: #d9d9d9;
    border-radius: 24px;
    padding: 32px;
    min-height: 180px;
}
.mercury-card--media{
    min-height: 520px;
}
.mercury-card--title{
    display: flex;
    align-items: center;
}
.mercury-card--list{
    min-height: 220px;
}
.mercury-title{
    font-size: 22px;
    font-weight: 600;
    color: #2a2924;
    margin: 0;
}
.mercury-list{
    margin: 0;
    padding-left: 18px;
    color: #2a2924;
    font-size: 14px;
    line-height: 1.6;
}
.mercury-list li{
    margin-bottom: 14px;
}
.mercury-stack{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reveal-text{
    display: inline-block;
}
.reveal-text span{
    opacity: 0.18;
    transition: opacity 0.2s ease;
}
.reveal-wrap{
    width: min(1100px, 92vw);
    height: min(520px, 70vh);
    margin: 40px auto 0;;
    background: #ffffff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.theme-dark .reveal-wrap{
    background: #000000;
}
.reveal-img{
    position: absolute;
    inset: 0;
    background: url("../images/Frame_25.png") center/cover no-repeat;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0, rgba(0,0,0,1) calc(var(--r,180px) - 20px), rgba(0,0,0,0) calc(var(--r,180px) + var(--soft,140px)));
    -webkit-mask-position: var(--x,50%) var(--y,50%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 300px 300px;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 0, rgba(0,0,0,1) calc(var(--r,180px) - 20px), rgba(0,0,0,0) calc(var(--r,180px) + var(--soft,140px)));
    mask-position: var(--x,50%) var(--y,50%);
    mask-repeat: no-repeat;
    mask-size: 300px 300px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.reveal-wrap.is-out .reveal-img{ opacity: 0; }
.reveal-wrap:not(.is-out) .reveal-img{ opacity: 0.95; }
.scale-on-scroll{
    transform: scale(0.7);
    opacity: 0;
    transform-origin: center;
    will-change: transform;
}
.main_head3 {
    color: #56506a !important;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.45;
    border-radius: var(--radius-sm);
}
/* .images_rel {
    position: relative;
} */
.images_rel{
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.images_rel img{
    position: absolute;
    width: clamp(64px, 6vw, 100px);
    height: auto;
    z-index: 100;
    animation: icon-float 6s ease-in-out infinite;
}
.images_1{animation-delay: 0s;}
.images_2{animation-delay: 0.4s;}
.images_3{animation-delay: 0.8s;}
.images_4{animation-delay: 1.2s;}
.images_5{animation-delay: 1.6s;}

@keyframes icon-float{
    0%, 100%{transform: translate(0, 0);}
    50%{transform: translate(6px, -4px);}
}
.images_1{top: 68%; left: 8%;}
.images_2{top: 16%; left: 18%;}
.images_3{top: 20%; right: 14%;}
.images_4{top: 68%; right: 8%;}
.images_5{top: 80%; left: 32%;}

@media (max-width: 1200px){
    .images_1{top: 70%; left: 6%;}
    .images_2{top: 18%; left: 16%;}
    .images_3{top: 22%; right: 12%;}
    .images_4{top: 70%; right: 6%;}
    .images_5{top: 88%; left: 29%;}
}

@media (max-width: 768px){
    .images_rel{
        display: none;
    }
}

 .reveal-wrap{
      /* width:min(1100px, 92vw);
      height:min(520px, 70vh); */
      width: 100%;
      height: 600px;
      background:#fafafa;
      position:relative;
      overflow:hidden;
    }
    .theme-dark .reveal-wrap{
      background:#1a1a1a;
    }

    /* Your “normal” content can be here */
    .ui{
      position:absolute;
      inset:0;
      padding:26px;
      z-index:2;
      pointer-events:none;
    }
    .ui h2{ margin:0; font-size:18px; color:#111827; }
    .ui p{ margin:8px 0 0; color:#6b7280; font-size:14px; }

    /* Image layer that is revealed only under mouse */
    .reveal-img{
      position:absolute;
      inset:0;
      background:
        url("../images/Frame_25.png")
        center/cover no-repeat;
      z-index:1;

      /* The trick: mask the image with a soft radial gradient following mouse */
      -webkit-mask-image: radial-gradient(
        circle,
        rgba(0,0,0,1) 0,
        rgba(0,0,0,1) calc(var(--r) - 10px),
        rgba(0,0,0,0) calc(var(--r) + var(--soft))
      );
      -webkit-mask-position: var(--x) var(--y);
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-size: 1200px 1200px;

      mask-image: radial-gradient(
        circle,
        rgba(0,0,0,1) 0,
        rgba(0,0,0,1) calc(var(--r) - 10px),
        rgba(0,0,0,0) calc(var(--r) + var(--soft))
      );
      mask-position: var(--x) var(--y);
      mask-repeat: no-repeat;
      mask-size: 450px 450px;
      opacity:0.5;
      transition: opacity .2s ease;
    }

    /* Optional: a tiny glow ring for premium feel */
    .glow{
      position:absolute;
      width: calc(var(--r) * 2);
      height: calc(var(--r) * 2);
      left: var(--x);
      top: var(--y);
      transform: translate(-50%, -50%);
      border-radius:999px;
      z-index:3;
      pointer-events:none;
      mix-blend-mode: multiply;
      opacity:.35;
    }

    /* Hide effect on mouse leave */
    .reveal-wrap.is-out .reveal-img{ opacity:0; }
    .reveal-wrap.is-out .glow{ opacity:0; }
    .reveal-wrap:not(.is-out) .reveal-img{ opacity:.95; }
#hero{
    position: relative;
}
.slider{
    position: relative;
    z-index: 2;
}
.slider_o{
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.slider_o.light-only{
    display: block;
}
.slider_o.dark-only{
    display: none;
}
.theme-dark .slider_o.light-only{
    display: none;
}
.theme-dark .slider_o.dark-only{
    display: block !important;
    opacity: 1;
    visibility: visible;
}
.theme-dark .slider_o.light-only{
    display: none !important;
    opacity: 0;
    visibility: hidden;
}
.hero-reveal{
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: auto;
}
.mt-t5 {
    margin-top: 48px;
}
.smokeBtn23 {
        background-color: #434e78;
        padding: 18px 8px !important;
        font-weight: 400;
        font-size: 14px !important;
        border-radius: 24px !important;
        text-decoration: none;
        color: #fdfdfd !important;
        border: 1px solid transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
}
.navbar-toggler {
    padding: 0.18rem .75rem !important;
    font-size: 12px !important;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 8.25rem !important;
    transition: box-shadow .15s ease-in-out;
}
