:root {
    --purple-dark: #022a76;
    --purple-main: #0a309b;
    --purple-light: #169bc2;
    --orange: #0034b3;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch; 
}

html {
    height: 100%;
    background-color: var(--white);
    overscroll-behavior-y: none;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--purple-dark);
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: none;
    -webkit-tap-highlight-color: transparent;
}

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

.wrapper {
    padding-top: 70px;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--white);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    color: var(--purple-dark);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 4px solid #007BFF;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    width: 100%;
}

.logo { flex-shrink: 1; }

.img-logo {
    width: 170px;
    height: 75px;
    display: block;
    transition: width 0.3s ease;
}

.logo-intro { display: none; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dropdown-container { display: none; }

.nav-item.phone {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(2, 42, 118, 0.05);
    margin-left: 20px !important;
}

.nav-item.phone svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple-dark);
}

.nav-item.phone span { display: none; }

.button-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu .btn {
    padding: 8px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-orange {
    background-color: var(--orange);
    color: var(--white);
}

.btn-purple {
    background-color: var(--purple-light);
    color: var(--white);
}

.nav-menu .btn svg { width: 16px; height: 16px; }

.nav-menu #become-partner-btn1,
.nav-menu #become-partner-btn,
.nav-menu #new-trigger-id {
    display: none !important;
}

.nav-menu #new-trigger-id-mobile {
    display: flex !important;
}

@media (max-width: 500px) {
    .img-logo { width: 130px; height: auto; }
    .nav-menu .btn { padding: 6px 10px; font-size: 11px; }
    .nav-menu .btn svg { width: 14px; height: 14px; }
    .nav-menu { gap: 20px; }
    .header .container { padding: 0 10px; }
}


.hero {
    background-color: var(--purple-main);
    color: var(--white);
    margin-top: 10px;
    padding: 30px 0;
    min-height: auto;
    display: block;
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-woman {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.woman-image {
    position: relative;
    margin: 0;
    width: 80%;
    height: auto;
    max-width: 350px;
    margin-left: 0;
}

.hero-content {
    padding-top: 0;
    text-align: left;
    order: 1;
    margin-left: 20px;
}

.hero-content h1 {
    font-size: 70px;
    line-height: 1.2;
    margin-bottom: 15px;
    margin-top: 35px;
    color: var(--white);
}

.hero-subtitle h2 {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.highlight {
    font-style: italic;
    font-weight: 800;
    position: relative;
    display: inline-block;
    opacity: 0.8;
}

.hero-subtitle p {
    font-size: 16px;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.9);
}

.loan-card {
    position: relative;
    width: 47%;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(22, 155, 194, 0.1);
    border-radius: 15px;
    order: 2;
}

.loan-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
    text-align: center;
}

.loan-card p { display: none; }

.loan-types {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.loan-type-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.loan-type svg { width: 32px; height: 32px; }
.loan-type span { display: none; }

.awards-container {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.awards-scroll {
    display: flex;
    gap: 30px;
    animation: scrollAwards 20s linear infinite;
}

@keyframes scrollAwards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.award {
    width: 80px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

.hero-footer { display: none; }

@media (max-width: 425px) {
    .hero-content h1 { margin-top: 45px; }
    .header .container { flex-direction: column; gap: 10px; }
    .loan-calc-quote-btn { padding: 8px 15px; font-size: 1rem; }
}

@media (max-width: 768px) {
    .hero-section .btn {
        background-color: var(--purple-light);
        color: var(--white);
        padding: 7px 18px;
        border-radius: 25px;
        font-weight: 500;
        font-size: 1.1rem;
        width: 75%!important;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 660px) {
    .nav-menu .btn[onclick*="Calendly"] {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        max-width: 110px;
        padding: 4px 8px;
    }
    .nav-menu .btn[onclick*="Calendly"] svg { display: none; }
}

@media (max-width: 600px) {
    .loan-card { width: 80%; }
    .loan-types { gap: 5px; }
    .hero-content h1 { font-size: 45px; }
    .hero-subtitle h2 { font-size: 20px; }
    .hero .btn { width: 90% !important; }
}

@media (max-width: 550px) {
    .loan-calculator-section p { font-size: 0.8rem; }
}

.white-segment {
    background: white;
    padding: 40px 0;
    color: var(--purple-dark);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.segment-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
    padding: 0 15px;
}

.segment-subtitle {
    text-align: center;
    color: var(--purple-light);
    margin-bottom: 30px;
    font-size: 16px;
    max-width: 100%;
    padding: 0 20px;
}

.cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 0 10px;
    transform: translateZ(0);
}

.interactive-card {
    background: var(--white);
    border-radius: 12px;
    padding: 15px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1 1 30%;
    min-width: 90px;
    border: 1px solid var(--gray-light);
}

.card-image {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.interactive-card h3 {
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--purple-dark);
}

.interactive-card p {
    font-size: 10px;
    margin-bottom: 5px;
    color: #666;
    line-height: 1.3;
}

@media (max-width: 450px) {
    .interactive-card { flex: 1 1 45%; }
}

.full-image-card {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image-container {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-light);
    transform: translateZ(0);
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-content { padding: 20px; }

.card-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--purple-dark);
}

.card-content p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;
}

.card-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-light);
}

.grey-segment {
    background: rgb(230, 226, 226);
    padding: 40px 0;
    color: var(--purple-dark);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.big-interactive-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    width: 100%;
    background: url('stress-man.jpg') center/cover no-repeat;
    height: 300px;
    border: 1px solid var(--gray-light);
}

.container-1 { padding: 0 20px; width: 100%; }

.split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 20px;
}

.left-content { width: 100%; text-align: center; }

.segment-title-l {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--purple-dark);
    text-align: center;
}

.segment-subtitle-l {
    font-size: 16px;
    color: var(--purple-light);
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.5;
}

.split-layout .button-group {
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.split-layout .button-group .btn {
    width: 40%;
    justify-content: center;
    padding: 15px;
    font-size: 16px;
    border-radius: 50px;
    font-weight: 600;
}

@media (max-width: 400px) {
    .split-layout .button-group .btn { width: 65%; }
}

.calculator-overlay,
.refer-popup-overlay,
.contact-popup-overlay { display: none !important; }

.finance-bot-icon {
    width: 50px;
    height: 50px;
}

@media (max-width: 480px) {
    .finance-bot-icon { width: 40px; height: 40px; }
}

.footer-container {
    background-color: #011f5a;
    color: white;
}

.footer-banner {
    background-color: #0a309b;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.footer-banner-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.footer-banner-text h2 span { color: #FF5C39; }

.footer-banner-text p {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.footer-banner-cta {
    background-color: #169bc2;
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.footer-column { display: none !important; }

.mobile-simple-links {
    display: block !important;
    padding: 20px;
}

.mobile-simple-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-simple-links ul li { margin-bottom: 12px; }

.mobile-simple-links ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #ffffff;
}

.mobile-simple-links ul li a:hover { text-decoration: underline; }

.footer-social,
.social-icons-mobile,
.footer-social-icons,
.social-icon,
.social-icon-mobile { display: none !important; }

.footer-bottom { padding: 20px; }

.footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-company-info p1,
.footer-copyright p1 {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.footer-disclaimer {
    font-size: 11px;
    margin-top: 10px;
}

.policy-segment {
    background: var(--white);
    padding: 20px 0;
    color: var(--purple-dark);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.policy-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    width: 100%;
    border: 1px solid var(--gray-light);
    margin-top: 10px;
}

.policy-card p, .policy-card li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.finance-bot-container {
    bottom: 16px !important;
    right: 16px !important;
}

@media (max-width: 425px) {
    .policy-segment { margin-top: 50px; }
}

.faq-title {
    font-size: 24px;
    color: var(--purple-dark);
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--purple-dark);
    transition: color 0.3s ease;
    margin: 0;
    text-align: left;
    padding-right: 10px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.faq-icon span {
    font-size: 24px;
    font-weight: 400;
    position: absolute;
    transition: all 0.3s ease;
    color: var(--purple-main);
}

.faq-icon .plus { opacity: 1; }
.faq-icon .minus { opacity: 0; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    text-align: left;
}

.faq-item.active .faq-question h3 { color: var(--purple-light); }
.faq-item.active .faq-icon .plus { opacity: 0; }
.faq-item.active .faq-icon .minus { opacity: 1; }

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
}

.faq-answer p { margin-bottom: 10px; }
.faq-answer ul { padding-left: 20px; margin-bottom: 10px; }
.faq-answer ul li { margin-bottom: 5px; }
