*::selection {
    color: #fff !important;
    background: #3D2490 !important;
}

.container-self {
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.head-and-cont {
    text-align: center;
}

img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
.bi-telephone{
    margin-left:3px;
}

.nav-link:focus-visible {
    box-shadow: none;
}

body {
    font-family: 'Albert Sans', sans-serif;
    color: #0C0C0C;
    background-color: white;
}
button.KJEDefinitionIcon {
    color: #3D2490 !important;
    border-color: #3D2490 !important;
}
#KJECommandButtons > :first-child {
    color: #FFFFFF !important;
    background-color: #3D2490 !important;
}
#KJECommandButtons > :last-child {
    background-color: #ECE9F4 !important;
    color: #3D2490 !important;
    border-color: #ECE9F4 !important;
}
/* ---------hero content --------*/
.hero-main-hea-div {
    margin-top: 50px;
    margin-bottom: 50px;
}

.hero-main-hea {
    color: #000;
    text-align: center;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -2px;
}

.hero-main-hea-purple {
    color: #3D2490;
}

.common-hero {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-top: 10px;
    margin: auto 6%;
}
.calclll {
    display: flex;
    flex-direction: row;
}

.hero-content {
    /*    flex: 1.2;*/
    display: flex;
    flex-direction: column;
    width: 59%;
}

.hero-img {
/*    flex: 1;*/
    width: 39%;
}

.hero-content p, .intro-text-uu {
    color: #595959;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.2px;
}

.hero-img img {
    /*    display: block;*/
    width: 100%;
    max-width: 458px;
    height: auto;
    border-radius: 20px;
    margin-left: auto;
}

/* ---------------button -------*/
/* cta Buttons */
.btn-precomm {
    background-color: #3D2490;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    border: 3px solid #3D2490;
    border-radius: 8px;
    width:fit-content;
}

.btn-precomm:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.hero-btnn {
    padding: 15px 42px;
}

.btn-small-purple {
    padding: 10px 15px;
}

.hero-btn-buy {
    padding: 13px 65px;
}

























/*------------- CTA Banner ------------*/
.cta-banner-fcal {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/calculatorimg/BG.webp');
}

.cta-banner-index {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/homeimg/homepage2/BG.webp');
}

.cta-banner-buy {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/BuyImg/BG.webp');
}
.cta-banner-heloc {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/home-equity/7_Home Equity Financing.webp');
}
.cta-banner-reeee {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/Refinance-Page/7_Start your refinance evaluation.webp');
}

.cta-banner-firsttim {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/firstbuyerimg/BG.webp');
}
.cta-banner-homee {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/Hometown-Heroes-Program/4_Hometown Heroes Program.webp');
}
.cta-banner-nonn {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/Non-Qualified-Mortgage/4_Non-Qualified Mortgage.webp');
}
.cta-bannerprofit {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/Profit-and-Loss-Loans/4_Profit and Loss Loans.webp');
}
.cta-banner-bank {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/bank-stamen/4_Bank Statement Loans.webp');
}

.cta-banner-rates {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%), url('/images/rateimg/BG.webp');
}

.cta-banner {

    background-size: cover;
    background-position: center;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin-top: 60px;
    height: 545px;
    background-repeat: no-repeat;
    position: relative;
}

.cta-banner h2 {
    color: white;
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 65px;
    font-weight: 700;
}

.cta-banner p {
    font-weight: 700;
    font-size: 17px;
    line-height: 29px;
    margin-bottom: 30px;
    opacity: 0.7;
}

.div-hpb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* -------------------- BUTTONS -------------------- */
/* cta Buttons */
.btn-premium-cta {
    padding: 13px 0;
    background-color: #3D2490;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    width: 239px;
    border: 3px solid #3D2490;
}
.btn-premium-cta-single {
    padding: 13px !important;
    width: auto !important;
}
.btn-premium-cta:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.btn-premium-cta2 {
    background-color: #ECE9F4;
    color: #3D2490;
}

.btn-premium-cta2:hover {
    color: #3D2490;
}


.btn-premium-cta:active {
    background-color: none;
}

.btn-premium-cta:focus {
    box-shadow: none;
}

.btn-calc {
    padding: 15px 20px;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
    width: auto;
}

/* -------------heading ---------------*/


.top-cont-head {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1.2px;
    text-align:center;
}

.common-cont-descrip {
    color: #555555;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    max-width: 87%;
    margin: 0 auto 40px;
    line-height: 1.5;
    text-align: center;
}

.small-subhea-fi {
    color: #161C2D;
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.loan-card {
    /* padding: 40px; */
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1083px;
    margin: auto;
}

/*this datalist loan card color-profile buy page*/



/*loancarad css--------------*/

.loan-options-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
/*    margin-top: 50px;*/
}

.loan-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.loan-grid .loan-card {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 1083px;
    margin: auto;
    flex-direction: column;
    max-width: 348px;
    width: 338px;
    height: 500px;
    max-height: 500px;
    border-radius: 10px;
    background: #ECE9F4;
    position: relative;
    padding: 26px 21px;
}
.loangrid-2 .loan-card{
    height:415px;
    max-width: none;
    width: 100%;
}

.loan-a-po {
    position: absolute;
    left: 5%;
    bottom: 5%;

}

.loan-a-po a {
    color: #3D2490;
    text-align: center;
    font-family: "Albert Sans";
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.loan-content h4 {
    color: #161C2D;
    font-family: "Albert Sans";
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    /* 152.381% */
    letter-spacing: -0.5px;
}

.loan-content p {
    color: #161C2D;
    font-family: "Albert Sans";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px;
    /* 170.588% */
    letter-spacing: -0.2px;
}

.loan-top-buttomn {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 59px;
    gap: 15px;
}

.loan-bu2 {
    border-radius: 20px;
    border: 2px solid #979797;
    color: #979797;
    text-align: center;
    font-family: "Albert Sans";
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
    max-width: 519px;
    width: 100%;
    background: white;
    height: 71px;
}

.loan-buactive {
    border-radius: 20px;
    border: 3px solid #3D2490 !important;
    background: #ECE9F4 !important;
    color: #3D2490 !important;
    text-align: center;
    font-family: "Albert Sans";
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
    max-width: 519px;
    width: 100%;
    height: 71px;
}

.loan-card-image {
    border-radius: 20px;
}

.loan-card-image img {
    max-width: 492px;
    max-height: 333px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius:8px;
}

.loan-card-content h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.loan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loan-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #161C2D;
}

.list-num {
    width: 43px;
    height: 43px;
    background: #EBE9F3;
    color: #3D2490;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    min-width: 43px;
    min-height: 43px;
}
.step-number{
    font-size:24px;
}




/* -----------firsttiemhome ----------*/
/* Common Challenges Section */
.challenges-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.challenge-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.challenge-row.reverse {
    flex-direction: row-reverse;
}

.bubble-container {
    flex: 1;
    position: relative;
}

.speech-bubble-svg {
    position: absolute;
    top: -41px;
    left: -43px;
}

.right-speech {
    left: -16px;
}

.speech-bubble {
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    top: 50px;
    padding-left: 29px;
    max-width: 514px;
}

.challenge-info {
    flex: 1.2;
    color: #676B76;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.2px;
}

.challenge-image {
    max-width: 190px;
}

.challenge-image img {
    width: 100%;
    height: auto;
    max-height: 193px;
    max-width: 190px;
}










/* --------- faq ----------------*/



.faq-heading {
    color: #0C0C0C;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -1.8px;
}

.faq-item {
    margin-bottom: 12px;
    /* border-bottom: 1px solid #eee; */
}

.faq-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    justify-content: space-between;
}

.faq-q-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 5px;
}

.faq-q {
    color: #161C2D;
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.faq-answer p {
    padding-left: 43px;
}

.faq-num {
    width: 43px;
    min-width: 43px;
    height: 43px;
    min-height: 43px;
    background: #EBE9F3;
    color: #3D2490;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-icon-acc {
    transition: var(--transition);
    color: var(--text-gray);
}

.faq-item.active .faq-icon-acc {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #161C2D;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.2px;
}
.navbar-brand {
    outline: unset;
}
.process-grid{
    row-gap:58px !important;
}
.scrol-calds {
    height: 380px;
}
.process-step{
    min-height:300px;
}
@media (max-width: 1401px) {
    .challenge-row {
        flex-direction: column;
    }

    .challenge-info {
        margin-top: 73px;
    }

    .challenge-row.reverse {
        flex-direction: column !important;
    }
}





@media (max-width:990px) {
    .common-hero {
        flex-direction: column;
        text-align: center;
    }
    .calclll {
        flex-direction: column;
        text-align: center;
    }
    .hero-img, .hero-content{
        width:auto;
    }
        .hero-content p, .intro-text-uu {
            line-height: 1.5;
        }
    .hero-btnn {
        margin: auto;
    }
    .loan-card {
        gap: 40px;
    }

    .loan-grid .loan-card {
        gap: 18px;
        width: 324px;
        height: 476px;
    }
    .loangrid-2 .loan-card {
        height: 400px;
    }
    .speech-bubble-svg {
        width: 450px;
    }

    .speech-bubble {
        max-width: 408px;
        padding-left: 0px;
    }
}

@media (max-width:767px) {
    .footer-first-sec {
        display: flex;
        justify-content: space-between;
        flex-direction:row;
        align-items:center;
    }
    .scrol-calds {
        height: 350px;
    }
    .calculator-card h3{
        font-size:18px !important;
    }
    .hero-main-hea-div {
        margin-top: auto;
        margin-bottom: auto;
    }
    .cards-grid {
        margin-top: 18px !important;
    }
    .bottom-info-text {
        font-size: 16px !important;
        margin: 39px auto 0 !important;
        letter-spacing: normal !important;
        line-height: 1.5 !important;
    }
    .common-cont-descrip {
        max-width: max-content !important;
        margin: 0 auto 27px !important;
    }
    .btn-premium-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        padding: 10px;
    }
    .loan-card {
        flex-direction: column;
        padding: 30px;
    }

    .speech-bubble-svg {
        width: 386px;
    }

    .speech-bubble {
        max-width: 338px;
        padding-left: 0;
        text-align: center;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        top: 60px;
    }

    .speech-bubble-svg,
    .right-speech {
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        height: auto;
    }
    .hero-main-hea {
        font-size: 40px !important;
    }
    .challenge-info{
        font-size:16px;
    }
}


@media (max-width: 576px) {
    .main-con-call-calculator{
        margin-top:50px !important;
    }
    .faq-item {
        margin-bottom: 0px !important;
    }
    .footer-first-sec {
        flex-direction: column;
    }
    .trusted-grid-top{
        gap:15px !important;
    }
    .icon-box-h4 {
        font-size: 18px !important;
    }
    .icon-box-h4p {
        font-size: 16px!important;
    }

    .hero-btnn, .btn-premium-cta-single, .btn-small-purple, .btn-reartes {
        padding: 10px !important;
    }
    .calclll {
        padding: 20px;
    }
    .btn-premium-cta, .btn-apply-indigo, .btn-precomm {
        font-size: 14px !important;
    }
    .loan-top-buttomn {
        margin-bottom: 35px;
    }
    .modern-layout {
        gap: 10px !important;
        padding: 20px !important;
    }
    .modern-item {
        gap: 15px !important;
        margin-bottom: 5px !important;
    }
    .step-text p {
        font-size: 16px !important;
    }
    .step-text h4 {
        font-size: 18px !important;
    }
    .cta-banner {
        margin-top: 22px;
    }
    .tools-together-icon img {
        width: 60% !important;
    }
    .tools-together-content{
        gap:0px !important;
    }
    .hero-section-buy {
        margin-bottom: 0px !important;
    }
    .challenge-image img {
        width: 79%;
    }
    .challenge-row {
        gap: 25px;
    }
    .challenge-info {
        margin-top: 60px;
    }
    .challenges-container {
        margin-top: auto;
        gap: 24px;
    }

    .small-subhea-fi {
        margin-bottom: 0px;
    }
    .list-num{
        width: 35px !important;
        min-width: 35px !important;
        height: 35px !important;
        min-height: 35px !important;
        line-height: unset !important;
        font-size: 15px !important;
    }
    .process-step{
        min-height:auto !important;
    }
    .step-number {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        min-height: 76px !important;
    }
    .loan-list-item {
        margin-bottom: 7px;
    }
    .loan-options-grid .loan-card {
        padding: 20px;
        gap: 20px;
    }
    .process-grid {
        row-gap: 45px !important;
    }
    .process-step {
        max-width: 100% !important;
    }
    .status-card {
        padding: 19px !important;
    }
    .loan-options-grid {
        gap: 0px;
    }
    .faq-num {
        width: 35px;
        min-width: 35px;
        height: 35px;
        min-height: 35px;
        line-height: unset;
        font-size: 15px;
    }
    .faq-q {
        font-size: 18px;
    }
    .faq-answer {
        font-size: 14px !important;
    }

    .loan-bu2, .loan-buactive {
        border-radius: 10px;
        font-size: 16px;
        height: auto;
    }
    .hero-img img {
        max-width: auto;
    }
    .common-hero{
        margin:auto;
    }

    .hero-main-hea-div {
        margin-top: auto;
        margin-bottom: auto;
    }
    .cred-di-index-sub p {
        font-size: 14px !important;
        margin-left: 10px !important;
    }



    .hero-content p, .intro-text-uu {
        font-size: 16px !important;
    }

    .cred-di-index-sub p {
        letter-spacing: 0px;
        font-size: 14px !important;
    }
    .hero-main-hea {
        font-size: 32px !important;
    }
    .top-cont-head {
        font-size: 25px;
    }
    .faq-heading {
        font-size: 25px;
    }
    .common-cont-descrip {
        font-size: 16px;
    }
    .cta-banner h2 {
        font-size: 30px;
        line-height: normal;
    }


    .div-hpb {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 81%;
    }
    .cta-btns {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .section-padding {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .speech-bubble-svg, .right-speech {
        width: 300px;
    }
    .speech-bubble {
        padding: 0px;
        max-width: 250px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1500px;
    }
}