@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh !important;
    font-family: 'Inter', sans-serif;
}

    body img {
        object-fit: contain;
    }

.homePageTestimonials {
    padding: 2rem 1rem 2rem 1rem;
    border-radius: 2rem;
}

.sectionThreeTopText {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
}

.about-testimonial-outerDiv {
    padding: 1rem;
    border-radius: 2rem;
}

.about-testimonial-divider {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
}

.about-testimonial-textOnly {
    height: 60px;
    overflow-y: auto;
    text-overflow: ellipsis;
    font-size: 13px;
}

.about-testimonial-textOnly-OuterDiv {
    border-radius: 2rem;
    padding: 0 1rem 0 1rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-testimonial-name {
    font-size: 14px;
}

.nextStep-OuterDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.nextStep-learnMoreBtn {
    background-color: #fff;
    border-radius: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 13px;
}

    .nextStep-learnMoreBtn:hover {
        background-color: #fff;
    }

.whyUs-section2-Title {
    font-weight: 500;
    font-size: 1.75rem;
}

.whyUs-section2-subText {
    font-weight: 300;
    font-size: 1.125rem;
}

.whyUs-section2-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 4rem;
    padding-right: 5rem;
}

.rate-sectionTwo-subTitle {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 3rem;
}

.rate-sectionTwo-RateBox {
    border-radius: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.rate-boxTitle {
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
}

.rate-mainText {
    font-weight: 500;
    font-size: 3.75rem;
    color: #fff;
}

.rate-sectionTwo-RateBox a {
    width: 80%;
    font-size: 14px;
    color: black;
    font-weight: 500;
}

    .rate-sectionTwo-RateBox a:hover {
        color: black;
    }

.rate-tryCalcBtn {
    border-radius: 2rem;
}

/*Copied from site1.css - Rate Lenders slider */
/* The slider itself */
.slider {
    -webkit-appearance: none; /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 25px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */
    transition: opacity 0.2s;
}

    /* Mouse-over effects */
    .slider:hover {
        opacity: 1; /* Fully shown on mouse-over */
    }

    /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
    .slider::-webkit-slider-thumb {
        -webkit-appearance: none; /* Override default look */
        appearance: none;
        width: 25px; /* Set a specific slider handle width */
        height: 25px; /* Slider handle height */
        background: #04aa6d; /* Green background */
        cursor: pointer; /* Cursor on hover */
    }

    .slider::-moz-range-thumb {
        width: 25px; /* Set a specific slider handle width */
        height: 25px; /* Slider handle height */
        background: #04aa6d; /* Green background */
        cursor: pointer; /* Cursor on hover */
    }

    .slider img {
        max-height: 90px;
    }

.logo-slider {
    max-height: 110px;
    height: 140px;
    position: relative;
    background-color: white !important;
}
/***************************************************/

.sectionPages-commonHeaderTitle {
    font-size: 2.25rem;
    font-weight: 500;
}

.sectionPages-outerDivs_noBgColor {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.sectionPages-commonText {
    font-size: 18px;
    font-weight: 300;
}

.sectionPages-section_roundImgs {
    border-top-left-radius: 4.25rem;
    border-bottom-left-radius: 4.25rem;
    max-width: 100%;
    height: auto;
    width: 100%;
}

.sectionPages-section_roundedDiv {
    border-radius: 4.25rem;
}

.sectionPages-roundedSections {
    margin-top: 5rem;
    max-width: 1600px;
}

.firstHomeBuyer-Btn {
    border-radius: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 14px;
}

.sectionPages-commonHeader_smallTitle {
    font-size: 1.125rem;
    font-weight: 400;
}

.sectionPages-contactBtn {
    border-radius: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.sectionPages-commonFirstSection_textDiv {
    padding-left: 5rem;
    padding-right: 5rem;
}

.sectionPages-whyUs_tenReasonsImg {
    width: 90%;
}

.sectionPages-largeHeaderText {
    font-size: 48px;
    font-weight: 700;
    line-height: 46px;
    letter-spacing: 0em;
}

.sectionPages-homePage_sectionThree-subText {
    font-weight: 700;
    font-size: 25px;
}

.sectionPages-homePage_sectionThree {
    width: 100%;
    margin: 5rem auto 5rem auto;
    padding: 2rem 4rem;
}

    .sectionPages-homePage_sectionThree img {
        width: 90%;
        object-fit: contain;
    }

.sectionPages-indexPage_lastImg {
    width: 80%;
}

.sectionPages-noImgHeader {
    font-size: 56px;
    line-height: 53px;
    font-weight: 500;
    margin-bottom: 3rem;
}

.sectionPages-homePage_sectionFour-subTitle {
    font-size: 26px;
}

.sectionPages-homePage_sectionFour-ImgOuterBox {
    border-radius: 2rem;
    max-width: 340px;
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
}

.sectionPages-homePage_sectionFour-subText {
    font-size: 1rem;
}

.sectionPages-homePage_sectionFour-ImgOuterBox a, .sectionPages-homePage_sectionFive-textContainer a {
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 2rem;
    margin-top: 5px;
}

.sectionPages-nextSteps {
    margin-top: 5rem;
}

.sectionPages-nextStep_Title {
    font-size: 24px;
    font-weight: 500;
}

.sectionPages-nextStep_subText {
    font-size: 1rem;
    font-weight: 300;
}

.sectionPages-nextStep_OuterBox {
    max-width: 470px;
    width: 100%;
    padding: 2rem 4rem;
    border-radius: 2rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.onlineApplication-landingPage_innerBox {
    background-color: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 2rem;
    padding: 1rem 2rem;
}

.onlineApplication-Title {
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
}

.onlineApplication-subTitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 19px;
}

.onlineApplication-roundedDiv {
    border-radius: 2rem;
    margin-bottom: 5rem;
}

.onlineApplication-textBox {
    padding: 3rem 5rem;
}

.onlineApplication-startButton {
    border-radius: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.sectionPages-ourServices_icons {
    font-size: 4rem;
}

.sectionPages-ourServices_innerBox {
    display: flex;
    padding: 3rem 4rem;
    max-width: 610px;
    width: 100%;
    border-radius: 1rem;
}

.sectionPages-ourServices_textBox {
    margin-left: 2rem;
}

    .sectionPages-ourServices_textBox p {
        font-size: 24px;
        font-weight: 600;
        line-height: 23px;
    }

    .sectionPages-ourServices_textBox a {
        padding-left: 2rem;
        padding-right: 2rem;
        border-radius: 1rem;
    }

.sectionPages-mortgageProcess_subTitle {
    font-size: 24px;
    line-height: 23px;
    margin-bottom: 5px;
}

.sectionPages-mortgageProcess_text {
    font-weight: 300;
    font-size: 1rem;
}

.sectionPages-mortgageProcess_textSecond {
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
}

.sectionPages-homePage_sectionOne-Img img {
    width: 100%;
}

.sectionPages-commonHeader {
    font-weight: 700;
    font-size: 3rem;
    line-height: 46px;
}

.sectionPages-homePage_sectionFour-imgContainer {
    position: relative;
}

.sectionPages-homePage_sectionFour-pplImg, .sectionPages-homePage_sectionFour-crib {
    display: block;
    height: auto;
}

.sectionPages-homePage_sectionFour-pplImg {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 165px;
}

.sectionPages-homePage_sectionFour-crib {
    margin-left: auto;
    margin-right: auto;
    max-width: 150px;
}

.homePageTestimonials iframe {
    width: 500px;
    height: 300px;
}

.about-testimonial-outerDiv iframe {
    width: 450px;
    height: 200px;
}

.sectionPages-section_Imgs {
    max-width: 100%;
    height: auto;
}

.sectionPages-normalImgs {
    max-width: 100%;
    height: auto;
}

.sectionPages-mortgageRenewalTitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
    letter-spacing: 0em;
}

.sectionPages-noImgHeader_container {
    height: 250px;
}

.sectionPages-ourServices_renovation, .sectionPages-ourServices_consolidate, .sectionPages-ourServices_renewOrSwitch, .sectionPages-ourServices_newToCA, .sectionPages-ourServices_improveCredit, .sectionPages-ourServices_vacationHomes {
    margin-left: 2rem;
    font-size: 24px;
    font-weight: 600;
    line-height: 23px;
}

    .sectionPages-ourServices_renovation a, .sectionPages-ourServices_consolidate a, .sectionPages-ourServices_renewOrSwitch a,
    .sectionPages-ourServices_newToCA a, .sectionPages-ourServices_improveCredit a, .sectionPages-ourServices_vacationHomes a {
        padding-left: 2rem;
        padding-right: 2rem;
        border-radius: 1rem
    }

.sectionPages-contact_logo {
    border-radius: 50%;
}

.sectionPages-contact_msgTitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.02em;
}

    .sectionPages-contact_msgTitle span {
        font-family: Inter;
        font-size: 18px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.02em;
    }

.sectionPages-contact_inputs {
    border: 1px solid rgba(206, 206, 206, 1);
    border-radius: 15px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-left: 0.8rem;
    width: 95%;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 1);
}

.sectionPages-contact_inputs-title {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0em;
}

.sectionPages-contact_textArea {
    height: 150px;
    width: 95%;
    border: 1px solid rgba(206, 206, 206, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 15px;
    resize: none;
    padding-left: 0.8rem;
}

.sectionPages-contact_full-name {
    font-size: 32px;
    font-weight: 600;
    line-height: 31px;
    letter-spacing: 0em;
}

.sectionPages-contact_job {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.02em;
}

.sectionPages-contact_description {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.02em;
    margin-bottom: 0px;
}

.sectionPages-contact_infoBox {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.sectionPages-contact_logoDiv {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.sectionPages-contact_book-me {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.02em;
    margin-top: 1.5rem;
}

.sectionPages-contact_media {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 0.5rem;
    gap: 25px;
}

    .sectionPages-contact_media a {
        border-radius: 50%;
        width: 68px;
        height: 68px;
        text-decoration: none;
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
        font-size: 2.5rem;
    }

.sectionPages-contact_submit {
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.5rem;
    margin-top: 1.2rem;
}
/*************** Mobile CSS ***********************/
@media screen and (max-width: 576px) {
    .sectionPages-largeHeaderText {
        font-size: 36px;
        font-weight: 700;
        line-height: 45px;
        letter-spacing: 0em;
        margin-top: 10px;
    }

    .sectionPages-commonFirstSection_textDiv {
        padding-left: 0;
        padding-right: 0;
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .sectionPages-commonHeader_smallTitle {
        font-size: 16px;
        font-weight: 300;
        line-height: 19px;
        letter-spacing: 0.02em;
    }

    .homePageTestimonials iframe {
        width: 320px;
        height: auto;
    }

    .sectionPages-homePage_sectionThree {
        padding: 2rem;
        margin: 2rem auto 2rem auto;
    }

    .sectionPages-commonHeaderTitle {
        font-size: 28px;
        font-weight: 600;
        line-height: 30px;
        letter-spacing: 0.02em;
    }

    .sectionPages-commonHeader_smallTitle {
        font-size: 14px;
        font-weight: 300;
        line-height: 17px;
        letter-spacing: 0.02em;
        margin-top: 1rem;
    }

    .sectionPages-homePage_sectionThree img {
        width: 80%;
    }

    .sectionPages-homePage_sectionThree-subText {
        font-size: 20px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0.02em;
    }

    .sectionPages-outerDivs_noBgColor {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .sectionPages-homePage_sectionFour-ImgOuterBox {
        max-width: 85%;
    }

    .sectionPages-commonFirstSection_textDiv-mobile {
        margin-left: 0;
        padding-left: 1rem;
        padding-right: 0.5rem;
    }

    .sectionPages-homePage_sectionFour-crib {
        max-width: 110px;
    }

    .sectionPages-homePage_sectionFour-pplImg {
        top: 45%;
        max-width: 110px;
    }

    .sectionPages-homePage_sectionFour-subTitle {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.02em;
    }

    .sectionPages-homePage_sectionFour-subText {
        font-size: 14px;
        font-weight: 300;
        line-height: 17px;
        letter-spacing: 0.02em;
    }

    .sectionPages-homePage_sectionFour-ImgOuterBox a {
        margin-left: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 10px;
    }

    .sectionPages-commonSectionFour_cards {
        display: flex;
        justify-content: center;
    }

    .sectionPages-whyUs_tenReasonsImg {
        width: 317px;
        height: 317px;
        margin-top: 10px;
    }

    .sectionPages-homePage_sectionFive-textContainer a {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 1rem;
    }

    .sectionPages-commonText p {
        font-size: 17px;
        font-weight: 400;
        line-height: 21px;
        letter-spacing: 0em;
    }

    .sectionPages-indexPage_lastImg img {
        width: 300px;
        height: 300px;
    }

    .sectionPages-indexPage_lastImg {
        width: auto;
    }

    .newUI-about_container {
        margin-top: 0px;
    }

    .sectionPages-section_roundImgs {
        border-top-right-radius: 4.25rem;
        border-bottom-left-radius: 0;
        width: 100%;
        max-width: inherit;
    }

    .little-crib {
        width: 25px;
        height: 25px;
        margin-bottom: 10px;
    }

    .sectionPages-nextStep_OuterBox {
        margin-top: 2.5rem;
        margin-bottom: 2rem;
        max-width: 395px;
    }

    .about-testimonial-outerDiv iframe {
        width: 150px;
        height: 100px;
    }

    .sectionPages-testimonials_container {
        padding-left: 25px;
    }

    .sectionPages-section_Imgs {
        max-width: unset;
        width: 100%;
        height: auto;
    }

    .sectionPages-commonHeaderTitle_mobile_mobile {
        font-size: 24px !important;
        font-weight: 500;
        line-height: 29px !important;
        letter-spacing: 0.02em !important;
    }

    .sectionPages-commonText_mobile, .whyUs-SectionThree-subText {
        font-size: 14px !important;
        font-weight: 300;
        line-height: 17px !important;
        letter-spacing: 0.02em !important;
    }

    .sectionPages-normalImgs {
        width: 265px;
        height: auto;
    }

    .sectionPages-section_roundedDiv {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .sectionPages-mortgageRenewalTitle {
        letter-spacing: 0.02em;
    }

    .sectionPages-mortgagePages-mobile {
        margin-left: 0;
        padding-left: 13px;
        padding-right: 5px;
    }

    .sectionPages-renewal-mobile {
        margin-left: 0;
        padding-left: 1rem;
    }

    .sectionPages-noImgHeader {
        font-size: 36px;
        font-weight: 500;
        line-height: 25px;
        letter-spacing: 0em;
    }

    .sectionPages-noImgHeader_container {
        height: 210px;
    }

    .sectionPages-ourServices_innerBox {
        padding: 2rem;
    }

    .sectionPages-ourServices_icons {
        font-size: 5rem;
    }

    .sectionPages-ourServices_textBox p {
        font-size: 1rem;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0.02em;
    }

    .sectionPages-ourServices_renovation {
        margin-left: 3rem;
    }

    .sectionPages-ourServices_consolidate {
        margin-left: 5rem;
    }

    .sectionPages-ourServices_renewOrSwitch {
        margin-left: 4rem;
    }

    .sectionPages-ourServices_newToCA {
        margin-left: 3.5rem;
    }

    .sectionPages-ourServices_improveCredit {
        margin-left: 4.5rem;
    }

    .sectionPages-ourServices_vacationHomes {
        margin-left: 2.5rem;
    }

    .sectionPages-ourServices_renovation, .sectionPages-ourServices_consolidate, .sectionPages-ourServices_renewOrSwitch, .sectionPages-ourServices_newToCA, .sectionPages-ourServices_improveCredit, .sectionPages-ourServices_vacationHomes {
        font-size: 1rem;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0.02em;
    }

    .rate-boxTitle {
        font-size: 13px;
        font-weight: 500;
        line-height: 12px;
        letter-spacing: 0em;
    }

    .rate-mainText {
        font-size: 40px;
        font-weight: 500;
        line-height: 38px;
        letter-spacing: 0em;
    }

    .rate-sectionTwo-RateBox {
        padding-bottom: 1rem;
    }

    .logo-slider {
        max-height: 60px;
    }

    .slider img {
        max-height: 45px;
        width: 100%;
    }

    .onlineApplication-textBox {
        padding: 2rem;
    }

    .onlineApplication-landingPage_innerBox {
        margin-left: 1rem;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }

    .newNavBar {
        width: 100%;
    }

    .offcanvas.offcanvas-start {
        width: 100%;
    }

    .sectionPages-contact_logo {
        width: 200px;
    }

    .sectionPages-contact_full-name {
        font-size: 24px;
        font-weight: 600;
        line-height: 23px;
        letter-spacing: 0em;
    }

    .sectionPages-contact_job {
        font-size: 16px;
        font-weight: 500;
        line-height: 19px;
        letter-spacing: 0.02em;
    }

    .sectionPages-contact_description {
        font-size: 16px;
        font-weight: 400;
        line-height: 19px;
        letter-spacing: 0.02em;
    }

    .sectionPages-contact_book-me {
        font-size: 16px;
        font-weight: 700;
        line-height: 19px;
        letter-spacing: 0.02em;
    }

    .sectionPages-contact_media a {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-left: 0px;
    }

    .sectionPages-contact_msgTitle {
        font-size: 20px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 0.02em;
        margin-top: 2rem;
    }

    .sectionPages-contact_msgTitle span {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: 0.02em;
    }

    .sectionPages-contact_inputs-title {
        font-size: 15px;
        font-weight: 400;
        line-height: 18px;
        letter-spacing: 0em;
        margin-bottom: 10px;
    }

    .sectionPages-contact_media {
        gap: 20px;
    }

    .sectionPages-about_mobileTitle {
        padding-left: 1.5rem;
    }
}
