/* Starter styles */
:root {
    --bs-body-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.lead {
    font-weight: 400;
}

/* Navbar adjustments */
.navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem
}

/* Phone link styles */
.phone-link-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
}

.phone-link-small i {
    line-height: 1
}

.phone-link-lg {
    font-size: 1rem
}



/* Hero */
.hero {
    position: relative;
    background-image: url("../images/hero.webp");
    background-size: cover;
    background-position: center 20%;
    color: #0b2b45;
    height: 639px;
}

.hero-content {
    height: 500px;
}

/* .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(0.6px);
} */

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    color: #133352;
}

.hero-lead {
    max-width: 680px;
    color: #133352;
    margin-bottom: 1.5rem;
}

.btn-rounded {
    border-radius: 999px
}

/* Section headings: 30px bold */
.section-heading {
    font-size: 30px;
    font-weight: 700;
    color: #0b2b45;
    margin-bottom: 1rem;
}

.info-list .info-item {
    background: #f6f7f8;
    border-radius: 12px;
}

.content-wrapper img {
    max-width: 100%;
    height: auto
}

/* Steps (orange) section */
.steps-section {
    position: relative;
    background-color: #fe7030;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.steps-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    background-image: url("../images/red-bg.webp");
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    /* #fe7030 overlay */
}

.steps-section .container {
    position: relative;
    z-index: 2
}

.steps-heading {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.step-item {
    background: transparent;
    border-radius: 8px
}

.step-icon {
    width: 78px;
    height: auto;
    display: block
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-top: 0.5rem
}

.step-item p {
    color: rgba(255, 255, 255, 0.9)
}

/* Qualified CTA button */
.btn-qualify {
    background-color: #133352;
    border-color: #133352;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 999px;
    display: inline-block;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-qualify:hover,
.btn-qualify:focus {
    text-decoration: none;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(19, 51, 82, 0.22);
    animation: btn-pulse 600ms ease;
}

.btn-qualify:active {
    transform: translateY(-2px) scale(0.995)
}

@keyframes btn-pulse {
    0% {
        transform: translateY(-2px) scale(1)
    }

    50% {
        transform: translateY(-8px) scale(1.03)
    }

    100% {
        transform: translateY(-2px) scale(1)
    }
}

/* Ensure high specificity over bootstrap defaults */
.btn-qualify,
.btn-qualify:hover,
.btn-qualify:focus {
    border-radius: 999px
}

/* Cards section */
.cards-section .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.75rem;
}

.cards-section .card-img-top {
    max-height: 220px;
    object-fit: cover
}

.cards-section .card-text {
    font-size: 15px
}

/* Numbers section */
.numbers-section .stats-card {
    background: #fff6f2;
    /* user specified */
    border-radius: 14px;
}

.numbers-section .stat-number {
    font-size: 38px;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
}

.numbers-section .stat-label {
    font-size: 15px;
    color: #111;
}

.numbers-section img {
    max-width: 100%;
    height: auto
}

@media (max-width:767px) {
    .numbers-section .stat-number {
        font-size: 28px
    }
}

/* Stats bar styling (centered full-width card look) */
.stats-bar {
    background: #fff6f2;
    border-radius: 14px;
    max-width: 1100px;
}

.stats-bar .stat-number {
    font-size: 40px
}

.stats-bar .stat-label {
    font-weight: 700;
    margin-top: 6px
}

.error {
    color: red;
    font-size: 13px;
    padding: 6px;
    font-weight: bold;
    font-family: 'Montserrat';
    display: none;
}
.error.visible {
    display: block;
}

.city-state-zip {
    display: none;
}

@media (max-width:767px) {
    .stats-bar {
        padding-left: 18px;
        padding-right: 18px
    }
}

/* Site footer (orange) */
.site-footer {
    background: #fe7030;
    color: #fff;
    /* border-radius: 0 0 12px 12px; */
}

.site-footer .container {
    position: relative;
    z-index: 2
}

.site-footer img {
    max-width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45
}

.footer-link {
    color: #153b78;
    text-decoration: none;
    font-size: 13px
}

.footer-link:hover {
    color: #0f2e5a;
    text-decoration: none
}

@media (max-width:767px) {
    .site-footer .footer-disclaimer {
        font-size: 13px
    }

    .site-footer img {
        max-width: 160px;
        height: auto;
    }

    .site-footer {
        border-radius: 0
    }
}

/* Modal tweaks */
.modal-content {
    border-radius: 10px
}

.modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    padding: 0;
    opacity: 1;
}

.modal-close::after {
    content: "\00d7";
    font-size: 30px;
    color: white;
    line-height: 1;
    position: relative;
}


/* Exact modal sizing & border per design */
.modal-dialog {
    max-width: 720px;
    width: 720px;
    margin: 1.75rem auto;
}

.modal-content {
    border: 10px solid #cbd5e0;
    border-radius: 8px;
    overflow: visible;
}

.modal-body {
    padding: 15px 20px !important;
}

.modal-disclaimer {
    font-size: 13px;
    color: black;
}

.modal .btn-qualify {
    background-color: #133352;
    border: 0 none #ffffff;
    border-radius: 20px;
    padding: 15px 5px;
    white-space: normal;
    width: 100%;
    box-shadow: 0 0 0 0 #ffffff;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.modal .btn-qualify:hover,
.modal .btn-qualify:focus {
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
    text-decoration: none;
}

/* Use Montserrat for all modal text */
.modal,
.modal-content,
.modal-body,
.modal * {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial !important;
}

@media (max-width:767px) {
    .modal-dialog {
        max-width: calc(100% - 32px);
        width: auto;
        margin: 12px;
    }

    .modal-body {
        padding: 20px
    }
}

/* Thank you page specific styles */
.thank-you-hero {
    position: relative;
    background-image: url("../images/thanks-bg.webp");
    background-size: cover;
    background-position: center center;
    color: #0b2b45;
    padding-top: 60px;
    padding-bottom: 60px;
}

.thank-you-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
}

.thank-you-hero .container {
    position: relative;
    z-index: 2;
}

.thank-you-title {
    font-size: 70px;
    font-weight: 800;
    line-height: 1;
    color: black;
    margin-bottom: 30px;
}

.thank-you-lead {
    font-size: 16px;
    color: rgba(17, 48, 73, 0.9);
    max-width: 680px;
}

@media (max-width: 992px) {
    .thank-you-title {
        font-size: 48px;
    }
}

/* Ensure the thank-you hero + footer together fill viewport */
.thank-you-page .site-footer {
    min-height: 160px;
    display: flex;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 28px;
}

.thank-you-page .thank-you-hero {
    /* subtract footer height so hero + footer = 100vh */
    min-height: calc(100vh - 250px);
    height: 639px;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 767px) {
    .thank-you-page .site-footer {
        min-height: 220px;
    }

    .thank-you-page .thank-you-hero {
        min-height: calc(100vh - 220px);
    }

    .hero {
        height: 639px;
    }

    .hero-content {
        min-height: 500px !important;
    }

    .hero-title {
        font-size: 32px;
    }

    p.lead.hero-lead {
        font-size: 15px;
    }

    .section-heading {
        font-size: 30px;
    }

    p.lead {
        font-size: 15px;
    }

    .btn-qualify {
        font-size: 14px;
    }

    .d-flex.flex-column.h-100.gap-4 {
        gap: 0 !important;
    }

    .thank-you-page .thank-you-hero {
        min-height: 95vh;
        background-position: center;
    }
}

/* ensure the Google suggestions dropdown is visible and clickable above the modal */
.pac-container {
    z-index: 2000 !important;
    pointer-events: auto !important;
}

.help-text {
    font-size: 0.8em;
    color: #676a67;
}

.form-label {
    color: #000;
}

.street-example {
    position: absolute;
    right: 31px;
}