* {
    padding: 0;
    margin: 0;
}

body {
    font-family: "Poppins";
    overflow-x: hidden;

}


:root {
    --primary-color: #000C66;
    --primary-dark-color: #000951;
    --secondary-color: #D6F2FC;
    --taritary-color: #7EC8E3;
    --taritary-dark-color: #61b1cf;
    --dark-color: #222222;
    --primary-font: "Poppins";
    --secondary-font: "Source Serif 4", serif;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
}

img {
    width: 100%;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-dark {
    color: var(--dark-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-taritary {
    background-color: var(--taritary-color) !important;
}

h1 {
    font-weight: 700;
    font-size: 50px;
}

h2 {
    font-weight: 700;
    font-size: 40px;
}

h3 {
    font-size: 34px;
    font-weight: 700;
}

h4 {
    font-size: 28px;
    font-weight: 700;
}

h5 {
    font-size: 21px;
    font-weight: 700;
    margin: 0;
}

h6 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

p {
    font-size: 17px;
}

.section-padding {
    padding: 70px 10px;
}


.header-fixed {
    position: fixed;
    /* Fix it at the top */
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    /* Start slightly out of view */
    animation: slide-down 1s ease forwards;
    /* Smooth slide-in effect */
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 4px 0 #2222222f;
}

@keyframes slide-down {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: translateY(0)
    }
}


.section-radius {
    border-radius: 30px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
    color: black;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #0157ff;
}

.dropdown,
.dropdown-center,
.dropend,
.dropstart,
.dropup,
.dropup-center {
    position: static;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    width: 100%;
    border-top: 2.5px solid #0d6efd;
    border-bottom: 2.5px solid #0d6efd;
    border-radius: 0;
    padding-top: 20px;
    padding-bottom: 30px;
    top: 90px;
    background-color: #fdfdfd;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
}

.dropdown-menu ul li {
    position: relative;
}

.dropdown-menu ul ul {
    position: absolute;
    background-color: white;
    box-shadow: 0 0 8px 0 #2222221a;
    padding: 10px;
    width: 280px;
    border-radius: 7px;
    display: none;
    z-index: 999;
}

.dropdown-menu ul>li:hover>ul {
    display: block;
}

.border-left {
    border-left: 2.5px solid #959595;
}

.submenu li {
    padding: 6px 0;
}




.hero {
    height: 600px;
    background: linear-gradient(to right, #020202de, rgba(0, 0, 0, 0)),
        url('../images/mortgagequote.webp') center/cover no-repeat;
}

.search-bar {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

.search-bar input {
    width: 100%;
    border: 0;
    outline: 0;
}

.btn {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-taritary {
    background-color: var(--taritary-color);
    border: 2px solid var(--taritary-color);
}

.btn-taritary:hover {
    background-color: var(--taritary-dark-color);
    border: 2px solid var(--taritary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}


.loan-calculator-image img {
    border-radius: 15px;
}

.calculator-box {
    padding: 18px 15px;
    border-radius: 7px;
}

.cal-icon img {
    height: 50px;
    width: auto;
}

.owl-carousel .owl-item .cal-icon img {
    width: auto;
}

.owl-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: -25px;
}

.owl-carousel .owl-nav button {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 10px;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    padding: 9px 20px !important;
}

.owl-carousel .owl-nav button.owl-next {
    border-left: 1px solid white;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.owl-carousel .owl-nav button.owl-prev {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.quick-calculator {
    border-radius: 10px;
    padding: 35px 22px;
}

.input-group {
    background-color: white;
    border-radius: 9px;
}

.input-group .input-group-text {
    font-weight: 700;
    color: var(--primary-color);
    background-color: white;
    border-right: 1.5px solid var(--dark-color);
}

.input-group .input-group-text,
.input-group input,
.input-group select {
    padding: 16px;
    font-size: 25px;
}

.property-box {
    background-color: var(--secondary-color);
    padding: 12px;
    border-radius: 8px;
}

.property-box img {
    border-radius: 8px;
}

.property-label {
    background-color: #222222b7;
    color: white;
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 4px;
}

.property-label p {
    font-size: 14px;
}

.property-name {
    top: auto;
    bottom: 15px;
}

.heart-icon {
    position: absolute;
    top: 15px;
    right: 15px;
}

.heart-icon img {
    width: 30px;
}

.property-location {
    font-weight: 500;
    color: black;
}

.property-cat {
    color: #696969;
}

.property-box .btn {
    padding: 11px 11px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

.why-icon img {
    width: 50px;
}

.why-point-box {
    box-shadow: 0 0 8px 0 #2222221a;
    padding: 20px 10px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.why-point-box::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 150px;
    background-color: var(--primary-color);
    top: 0;
    left: -16%;
    border-radius: 50%;
    z-index: -1;
}

.why-point-box h5 {
    font-size: 20px;
}

.blog-name {
    position: absolute;
    padding: 10px;
    left: 20px;
    bottom: 40px;
}

.feature-blog {
    border-radius: 15px;
    background: linear-gradient(#22222275, #22222275), url('../images/2-bedroom-condos-destin-fl-beachfront.webp') center/cover no-repeat;
}

.feature-blog .blog-name h4 {
    font-weight: 600;
}

.blog-box img {
    width: 175px;
    border-radius: 10px;
}

.blog-box h4 {
    font-weight: 600;
    font-size: 26px;
}

.blog-box a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 19px;
    padding: 2px 0;
    border-bottom: 2px solid var(--primary-color);
}

.unlock-goals {
    max-width: 900px;
    margin: auto;
}

.unlock-goals p {
    font-size: 22px;
}

.footer-logo img {
    width: auto;
    height: 80px;
}

.socail-links img {
    width: 30px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    padding-bottom: 8px;
}

.footer-menu li a {
    font-size: 16px;
    color: var(--dark-color);
}

.footer-text p {
    font-size: 12px;
    text-align: justify;
    margin-bottom: 13px;
}

footer .line-divider {
    height: 2px;
    background-color: #c8c8c8;
}

.modal-dialog {
    max-width: 1140px;
}

.modal-content {
    background-color: var(--secondary-color);
}

.modal-header {
    border-bottom: 0;
}

.calculator-data {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
}

.calculator-data table {
    width: 100%;
    text-align: center;

}

.calculator-data table tr td,
.calculator-data table tr th {
    padding: 6px 0;
    font-size: 17px;
}

.footer-brands-logo img {
    height: 40px;
    width: auto;
}

@media screen and (min-width: 1440px) {
    .modal-dialog {
        max-width: 1320px;
    }
}

@media screen and (max-width: 1280px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 16px;
    }

    .property-box .btn {
        padding: 10px 9px;
        font-size: 13px;
    }

    .footer-brands-logo img {
        height: 30px;
    }
}

@media screen and (max-width: 992px) {

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 26px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 17px;
    }

    p {
        font-size: 16px;
    }

    .blog-box h4 {
        font-weight: 600;
        font-size: 22px;
    }

    .blog-box img {
        width: 120px;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        width: 100%;
    }

    .sub-menu-heading {
        padding-top: 15px;
    }

    .dropdown-menu ul>li.open>ul {
        display: block;
    }

}

@media screen and (max-width: 767px) {

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 24px;
    }

    h5 {
        font-size: 19px;
    }

    h6 {
        font-size: 17px;
    }

    p {
        font-size: 14px;
    }

    .blog-box h4 {
        font-weight: 600;
        font-size: 18px;
    }

    .btn {
        padding: 10px 6px;
        font-size: 13px;
    }

    .section-padding {
        padding: 50px 10px;
    }

    .input-group .input-group-text,
    .input-group input,
    .input-group select {
        padding: 14px;
        font-size: 16px;
    }

    .hero {
        height: 450px;
    }

    .footer-text p {
        font-size: 10px;
    }

    .footer-menu li a {
        font-size: 14px;
    }

    .calculator-data table tr td,
    .calculator-data table tr th {
        padding: 6px 0;
        font-size: 14px;
    }

    .border-left {
        border-left: 0;
    }


    .property-box .btn {
        padding: 11px 5px;
        font-size: 12px;
    }
    .feature-blog {
        min-height: 230px;
    }

}