@font-face {
    font-family: Handscript;
    font-display: swap;
    src: url('../fonts/Handscript.eot');
    src: url('../fonts/Handscript.woff') format('embedded-opentype'), url('../fonts/Handscript.woff') format('woff'), url('../fonts/Handscript.ttf') format('truetype')
}

.new-header {
    padding: 0;
}

.navbar-expand-lg {
    padding: 0;
}

.header-navbar {
    border-radius: 0;
    margin-top: 0;
}

.new-inner-header {
    background-color: #e4e4e7;
}

.topbar-action {
    padding: 10px 100px;
}

.topbar-action ul {
    margin: 0;
}

.topbar-action ul li a {
    color: #000;
}

.topbar-action ul li a.btn-primary {
}

.topbar-action ul li a.btn-primary {
    padding: 0;
    font-size: 14px;
    border-color: #fbc572;
    background-color: transparent !important;
    border: none;
    border-bottom: solid 4px #fbc572;
    border-radius: 0 !important;
    max-width: max-content !important;
    min-width: auto;
    font-weight: 700;
}

.topbar-action ul li a.btn-primary:hover {
    padding: 0;
    font-size: 14px;
    border-color: #fbc572;
    background-color: transparent !important;
    border: none;
    color: #000;
}

.header-navbar {
    box-shadow: none;
}


/* page-hearo-section */

.page-hero-section {
    background: linear-gradient(90deg, rgba(0, 84, 166, 1) 60%, rgba(0, 51, 102, 1) 100%);
    padding: 60px 0;
}

.page-hero-content {
    text-align: center;
}

.page-hero-content {
    padding-top: 60px;
}

.page-hero-content h1 {
    color: #ffffff;
    font-weight: 600;
    font-size: 60px;
    margin-bottom: 40px;
    font-family: Poppins;
    text-transform: capitalize;
    line-height: 44px;
}

.page-hero-content h1 span {
    color: #fbc572;
    font-weight: 600;
    font-size: 60px;
    margin-bottom: 40px;
    font-family: Poppins;
    text-transform: capitalize;
    line-height: 44px;
}

.page-hero-content h2 {
    color: #ffffff;
    font-family: Handscript;
    margin-bottom: 25px;
    font-size: 40px;
}

.page-hero-content p {
    color: #ffffff;
    margin: 0 0 10px;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.page-hero-content span {
    color: #ffffff;
    margin: 0;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}


.page-hero-section .nav-breadcrumb a {
    color: #ffffff !important;
}

/*  */
.page-hero-option-section {
    padding: 60px 0;
}

.page-hero-option-section .page-hero-content {
    text-align: center;
}

.page-hero-option-section .page-hero-content {
    padding-top: 60px;
}

.page-hero-option-section .page-hero-content h1 {
    color: #0054a6;
    font-weight: 600;
    font-size: 60px;
    margin-bottom: 40px;
    font-family: Poppins;
    text-transform: capitalize;
    line-height: 44px;
}

.page-hero-option-section .page-hero-content h1 span {
    color: #fbc572;
    font-weight: 600;
    font-size: 60px;
    margin-bottom: 40px;
    font-family: Poppins;
    text-transform: capitalize;
    line-height: 44px;
}

.page-hero-option-section .page-hero-content h2 {
    color: #535354;
    font-family: Handscript;
    margin-bottom: 30px;
    font-size: 40px;
}

.page-hero-option-section .page-hero-content p {
    color: #535354;
    margin: 0 0 10px;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.page-hero-option-section .page-hero-content span {
    color: #535354;
    margin: 0;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}


.page-hero-option-section .page-hero-section .nav-breadcrumb a {
    color: #ffffff !important;
}


/* text content */

.mb120 {
    margin-bottom: 120px !important;
}

.max-w-800 .container {
    max-width: 900px !important;
    margin: 0 auto;
}

.text-section .officer-pro-block {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 auto;
}

.text-section .officer-pro-block:hover {
    width: fit-content;
}

.text-section .officer-pro-block .officer-pro-img {
    max-width: 200px;
    margin: 0 auto;
    height: auto;
}

.text-section {
    position: relative;
    margin-bottom: 80px;
}

.text-section::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    min-height: 40px;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 84, 166, 1) 60%, rgba(0, 51, 102, 1) 100%);
}

.text-section .text-box {
    box-shadow: 3px 1px 16px 2px rgb(8 67 125 / 20%);
    background-color: #eeeeef;
    padding: 40px;
    max-width: 750px;
    position: relative;
    z-index: 11;
    margin: 0 auto;
    border-radius: 40px;
}

.text-section .text-box h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #545455;
}

.text-box.text-left h3 {
    text-align: left;
}

.text-box.text-left p {
    text-align: left !important;
}

.text-section .text-box p {
    text-align: center;
    font-size: 16px;
}

/*  */
.text-option-section {
    margin-bottom: 120px;
}

.text-option-section .officer-pro-block {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 auto;
}

.text-option-section .officer-pro-block:hover {
    width: fit-content;
}

.text-option-section .officer-pro-block .officer-pro-img {
    max-width: 200px;
    margin: 0 auto;
    height: auto;
}


.text-option-section .text-box {
    box-shadow: 3px 1px 16px 2px rgb(8 67 125 / 20%);
    background-color: #0054a6;
    padding: 40px;
    max-width: 750px;
    position: relative;
    z-index: 11;
    margin: 0 auto;
    border-radius: 40px;
}

.text-option-section .text-box h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
}

.text-option-section .text-box.text-left h3 {
    text-align: left;
    color: #ffffff;
}

.text-option-section .text-box.text-left p {
    text-align: left !important;
    color: #ffffff;
}

.text-option-section .text-box p {
    text-align: center;
    font-size: 16px;
    color: #ffffff;
}

/*  */

.meet-mortgage-section .container {
    max-width: 1024px;
}

.meet-mortgage-section .officer-bio li {
    list-style: none !important;
}

.meet-mortgage-section .officer-info {
    font-family: 'Poppins';
}

.meet-mortgage-section .officer-pro-img img {
    width: 100%;
}

.meet-mortgage-section h2.header-title {
    text-align: center;
    margin-bottom: 30px;
}

.meet-mortgage-section {
    margin-bottom: 80px;
}

.meet-mortgage-section .officer-pro-img a {
    text-decoration: none;
}

.meet-mortgage-section .officer-pro-img {
    height: auto;
    margin-bottom: 0;
    width: 100%;
}

/* loanAction */

.loanAction {
    margin: 80px 0;
}

.loanActionBox {
    box-shadow: 3px 1px 8px 2px #66666d33;
    background-color: #eeeeef;
    padding: 30px 90px;
    max-width: 1024px;
    position: relative;
    z-index: 11;
    margin: 0 auto;
    border-radius: 30px;
    text-align: center;
}

.loanActionBox h2 {
    font-family: 'Poppins';
    color: #545455;
    font-size: 28px;
    font-weight: 600;
}

.loanActionBox a {
    background-color: #fbc572;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-top: 10px;
}

/* mortgage-services-section */

.mortgage-services-section {
    margin: 120px 0 80px;
}

.section-header-underline h2 {
    max-width: fit-content;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.section-header-underline h2::after {
    content: '';
    max-width: 200px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    background-color: #d19c49;
}

.section-header-underline p {
    font-size: 14px;
    line-height: normal;
    font-family: 'Poppins';
}

.section-header p {
    font-size: 14px;
    line-height: normal;
    font-family: 'Poppins';
}

.mortgage-service {
    background-color: #0054a6;
    padding: 20px;
    border-radius: 26px;
    box-shadow: 3px 1px 16px 2px rgb(8 67 125 / 20%);
}

.mortgage-service h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.mortgage-service p {
    color: #fff;
    font-family: Poppins;
    line-height: normal;
    font-size: 15px;
    font-weight: 400;
}


/* locations-section */
.locations-section {
    margin: 110px 0;
}

.locations-section .row {
    --bs-gutter-x: 72px;
}

.locations-list {
    box-shadow: 3px 1px 8px 2px #66666d33;
    background-color: #eeeeef;
    padding: 30px;
    border-radius: 30px;
}

section.locations-section .locations-list ul {
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0;
    column-count: 2;
    column-gap: 20px;
    /* Adjust spacing between columns */
    row-gap: 20px;
    display: block;
    flex-direction: column;
}

.locations-list ul li {
    list-style: none !important;
    padding: 9px 0;
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* locations-section */
.locations-second-section {
    margin: 110px 0;
}

.locations-second-section .container {
    max-width: 1024px;
}

.locations-second-section .section-header-underline h2 {
    text-align: center;
    max-width: 100%;
}

.locations-second-section .section-header-underline h2::after {
    display: none;
}

.locations-second-section .section-header-underline {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.locations-second-section .section-header-underline::after {
    content: '';
    height: 2px;
    left: 0;
    width: 200px;
    background-color: #d19c49;
    margin: 20px auto;
}

.locations-second-section .section-header-underline {
    margin-bottom: 30px;
}

.locations-second-section .section-header-underline p {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.locations-second-section .row {
    --bs-gutter-x: 72px;
}

.locations-second-list ul li {
    box-shadow: 3px 1px 8px 2px #66666d33;
    background-color: #eeeeef;
    padding: 30px;
    border-radius: 30px;
    list-style: none !important;
    padding: 9px 0;
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

section.locations-second-section .locations-second-list ul {
    margin: 0 !important;
    padding: 0;
    column-count: 3;
    column-gap: 30px;
    /* Space between columns */
}

section.locations-second-section .locations-second-list ul li {
    margin-bottom: 30px;
    /* Space between rows */
}

section.locations-second-section .locations-second-list ul li a {
    text-decoration: none;
    color: #545455;
}

/* testimonial-section */

.testimonial-section {
    background-color: #eeeeef;
    padding: 80px 0;
}

.testimonial-box .testimonials {
    background-color: #ffffff;
    box-shadow: 3px 1px 8px 2px #66666d33;
    padding: 30px;
    border-radius: 30px;
}

.owl-carousel .testimonial .icons-star {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 20px;
}

.owl-carousel .testimonial .icons-star img {
    height: 30px;
    width: 30px;
}

.owl-carousel .testimonial p {
    font-size: 18px;
    color: #212529;
    font-family: 'Poppins';
}

.owl-carousel .testimonial h4 {
    color: #545455;
    font-size: 20px;
    font-weight: 700;
}

.owl-carousel .testimonial h5 {
    color: #535353;
    font-size: 18px;
    font-weight: 600;
}

.custom-dots {
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.owl-dots {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 20px;
}

/* insights-section */

.insights-section {
    margin: 80px 0;
}

.insights-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.insights-section .section-header p {
    max-width: 800px;
    margin: 0 auto;
    color: #282828;
}

.insights-section .container {
    max-width: 1024px;
}

.insights-row .row {
    --bs-gutter-x: 42px;
}

.insights-section .insight-item {
    box-shadow: 3px 1px 8px 2px #66666d33;
    background-color: #eeeeef;
    padding: 20px;
    border-radius: 30px;
}

.insights-section .insight-img {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.insights-section .insight-item p {
    text-align: center;
    line-height: normal;
    font-size: 18px;
    color: #212529;
    font-family: 'Poppins';
    margin-bottom: 40px;
}

.insight-item .insight-action {
    display: flex;
    justify-content: center;
}

.learn-btn {
    margin-top: 40px;
}

/* Style individual dots */
.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3a97f4;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Active dot styling */
.owl-dot.active {
    background-color: #0054a6;
}

/* Additional hover effect (optional) */
.owl-dot:hover {
    background-color: #0054a6;
}


/* mortgage-content-section */

.mortgage-content-section .row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
}

@media (max-width: 767px) {

    .meet-our-team-section {
        margin-bottom: 0 !important;
    }

    section.locations-second-section .locations-second-list ul {
        column-count: 1;
    }

    .loanActionBox {
        padding: 30px 20px;
    }

    .loanActionBox h2 {
        font-size: 24px;
    }

    .loanActionBox a {
        font-size: 24px;
    }

    .page-hero-content h1 {

        line-height: 70px;
    }

    .page-hero-content h1 span {
        line-height: 70px;
    }

    .page-hero-content h2 {

        line-height: normal;
    }
}

@media (max-width: 700px) {
    .hero-info h1 {
        min-height: 140px;
        transition: font-family 2s ease;
        /* Add transition for font-family property */
        font-family: 'Poppins', monospace, sans-serif;
        /* Use 'Poppins' as primary and fallback to sans-serif */
    }

    .hero-info p,
    .loan-program-info-section p {
        min-height: 128px;
    }
}

.hero-info h1 {
    transition: font-size .9s ease, font-family .9s ease;

}

#zip_code::placeholder {
    font-family: Poppins;
    font-weight: 700;
    color: #0555a4
}

@media (max-width: 821px) {
    .hero-home-first .img-box {
        display: none
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .hero-home-first .img-box {
        display: none
    }

    section.locations-second-section .locations-second-list ul {
        column-count: 2;
    }
}

.why-choose-section .img-box {
    max-width: initial !important
}

lite-youtube {
    width: 100%;
    max-height: 100vh;
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer
}

lite-youtube::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
    background-position: top;
    background-repeat: repeat-x;
    height: 60px;
    padding-bottom: 50px;
    width: 100%;
    transition: .2s cubic-bezier(0, 0, .2, 1)
}

lite-youtube::after {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9))
}

lite-youtube > iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0
}

lite-youtube > .lty-playbtn {
    width: 68px;
    height: 48px;
    position: absolute;
    cursor: pointer;
    transform: translate3d(-50%, -50%, 0);
    top: 50%;
    left: 50%;
    z-index: 1;
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 68 48"><path fill="%23f00" fill-opacity="0.8" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"></path><path d="M 45,24 27,14 27,34" fill="%23fff"></path></svg>');
    filter: grayscale(100%);
    transition: filter .1s cubic-bezier(0, 0, .2, 1);
    border: none
}

lite-youtube .lty-playbtn:focus,
lite-youtube:hover > .lty-playbtn {
    filter: none
}

lite-youtube.lyt-activated {
    cursor: unset
}

lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
    opacity: 0;
    pointer-events: none
}

.lyt-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: scroll;
    position: absolute;
    white-space: nowrap;
    width: 1px
}

img {
    aspect-ratio: attr (width) / attr (height)
}


.footer-bottom-text #span_dis {
    font-size: 16px
}

.footer-bottom-text p {
    line-height: normal;
}

.mortgage-home img {
    width: 100%;
}

@media only screen and (max-width: 558px) {
    .hero-selector {
        min-height: 435px
    }

    .header-title-section {
        min-height: 275px
    }

    .header-title-section-h1 {
        min-height: 140px
    }

    .header-title-section-p {
        min-height: 128px
    }
}
