/* Custom Styles */

:root {
    --white: #fff;
    --orange-yellow: #d4af37;
    --black: #0f0f0f;
    --gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.opensans-condensed {
    font-family: 'Open Sans Condensed', sans-serif;
}

/* Hero Section */
.hero-section {
    background: url('../img/hero.png') top center/cover no-repeat;
    min-height: 100vh;
    position: relative;
    padding: 20px 0 40px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
    z-index: 1;
}

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

/* Logo */
.logo-wrapper {
    margin-bottom: 30px;
}

.logo {
    max-width: 250px;
    height: auto;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 70px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: 3px;
}

.text-gold {
    color: var(--orange-yellow);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 30px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-subtitle strong {
    font-weight: 700;
}

/* Qualification Section */
.qualify-section {
    background: var(--white);
    padding: 25px 30px 10px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.qualify-section p {
    color: var(--orange-yellow);
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qualify-label {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.qualify-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.qualify-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* background: rgba(255, 255, 255, 0.15); */
    /* padding: 12px 18px; */
    border-radius: 8px;
    /* backdrop-filter: blur(10px); */
}

.qualify-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    /* background: #d1cec7; */
}

.qualify-text {
    /* font-size: 0.75rem; */
    color: var(--black);
    line-height: 1.3;
    letter-spacing: 0.5px;
    font-family: 'Open Sans Condensed', sans-serif;
}

/* Eligibility Card */
.eligibility-card {
    background: var(--white);
    border-radius: 0 0 12px 12px;
    padding: 0px 30px 30px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
    margin-bottom: 25px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.step-number {
    background: transparent;
    color: #628ca5;
    width: auto;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.card-body .form-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    display: block;
}

.state-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: var(--white);
}

.btn-get-started {
    width: 100%;
    background: var(--orange-yellow);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px;
    border: none;
    border-radius: 8px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

span.input-group-text.phone-flag {
    border: unset;
}

.btn-get-started:hover {
    background: #c59d2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Bottom Text */
.hero-bottom-text {
    color: var(--white);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Logos Strip */
.logos-strip {
    margin-top: 20px;
}

.logos-img {
    max-width: 500px;
    height: auto;
}

/* Review Cards */
.review-card-img {
    height: 70px;
    width: auto;
}

/* Testimonials Section */
.testimonial-icon {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

.testimonial-title {
    font-size: 2rem;
}

.testimonial-subtitle {
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-card {
    background-color: #faf9f6;
    box-shadow: 0 4px 12px #ece7e5;
    border-radius: 8px;
}

/* Home Equity Section */
.home-equity-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--orange-yellow);
    line-height: 1.2;
}

.btn-apply {
    background-color: var(--orange-yellow);
    color: var(--white);
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #c59d2a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer-link {
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--orange-yellow);
}

.footer-icon {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.footer-company-name {
    font-size: 0.9rem;
}

.footer-address {
    font-size: 0.85rem;
}

/* Multi-Step Form */
#multi-step-form {
    background-color: #fcfbf7;
    min-height: 100vh;
}

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
/* .form-header-top {
    border-bottom: 1px solid #e0e0e0;
} */

.btn-back {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: var(--orange-yellow);
}

.form-logo {
    height: 100px;
}

.form-contact-info {
    font-size: 0.85rem;
    line-height: 1.5;
}

.form-contact-info p {
    color: #333;
}

/* Full Width Progress Bar */
.progress-bar-wrapper {
    background-color: #e9e9e9;
    height: 10px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background-color: #d3ad32;
    width: 12.5%;
    transition: width 0.4s ease;
    border-radius: 12px;
}

/* Property Cards */
.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.property-card {
    background-color: var(--white);
    border: 2px solid var(--orange-yellow);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    background-color: #fffdf8;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    background-color: #fffdf8;
}

.property-card.selected {
    background-color: #d3ad32;
}

.property-card.selected .property-icon, .property-card.selected .property-label {
    color: var(--white);
}

.property-icon {
    font-size: 2.5rem;
    color: var(--orange-yellow);
    /* margin-bottom: 12px; */
}

.property-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.form-step {
    padding: 40px 0;
}

/* Step 3: Form Inputs */
.form-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--orange-yellow);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label-small {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.phone-flag {
    background-color: var(--white);
    border: 1px solid #ddd;
    padding: 0 10px;
}

.consent-box {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
}

.consent-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
}

.trust-badge i {
    font-size: 1.2rem;
}

.btn-next {
    background-color: var(--orange-yellow);
    color: var(--white);
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-next:hover {
    background-color: #c59d2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}

/* Step 4: Property Address */
.btn-manual-entry {
    background: none;
    border: none;
    color: var(--orange-yellow);
    text-decoration: underline;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-manual-entry:hover {
    color: #c59d2a;
}

.form-step .form-control {
    font-size: 18px
}

.option-card {
    background-color: var(--white);
    border: 2px solid var(--orange-yellow);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    background-color: #fffdf8;
}

.option-card.selected {
    background-color: #d3ad32;
}

.option-card.selected .option-icon, .option-card.selected .option-label {
    color: var(--white) !important;
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.option-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
}

.footer-disclosure {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #7d7d7d;
}

.form-step .form-control,
.form-step .consent-box,
.form-step .input-group {
    border: 1px solid #b9b9b9 !important;
    border-radius: 6px;
    overflow: hidden;
}

.form-step .input-group .form-control {
    border: none !important;
}

#ph_container {
    font-size: 18px;
}

#ph_container>a {
    text-decoration: none;
    color: #000;
}

#ph_container>a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section::before {
        display: none;
    }

    .logo {
        max-width: 150px;
    }

    .hero-title {
        font-size: 24px;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .text-center {
        text-align: center !important;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .qualify-section {
        background: var(--white);
        padding: 25px 20px 1px;
        border-radius: 12px 12px 0 0;
        margin-bottom: 0;
        text-align: left;
        /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
    }

    .qualify-section p {
        color: #d3af37;
    }

    .eligibility-card {
        border-radius: 0 0 12px 12px;
        padding-top: 0;
        box-shadow: none;
        margin-bottom: 25px;
        text-align: left;
    }

    .card-header {
        gap: 8px;
        margin-bottom: 10px;
    }

    .qualify-icons {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        margin-bottom: 20px;
    }

    .qualify-item {
        width: auto;
        backdrop-filter: none;
        flex: 1;
        min-width: 0;
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }

    .qualify-item img {
        width: 45px;
        height: 45px;
    }

    .qualify-text {
        font-size: 0.7rem;
        line-height: 1.1;
        text-align: center;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .logos-img {
        max-width: 100%;
    }

    br {
        display: none;
    }

    .hero-bottom-text {
        color: var(--white);
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .logo-strip {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        width: 100% !important;
        justify-items: center;
    }

    .review-card-img {
        height: auto;
        width: 100px;
    }

    .testimonial-title {
        font-size: 22px;
    }

    .home-flex {
        flex-direction: column-reverse;
    }

    .home-equity-title {
        font-size: 27px;
        font-weight: 900;
        color: var(--orange-yellow);
        line-height: 1.2;
    }

    .row.justify-content-center.g-5 {
        --bs-gutter-y: 1rem;
    }

    form#userInfoForm .row {
        gap: 17px;
    }

    .step-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--black);
        margin: 0;
    }

    .col-4.no-need {
        display: none;
    }

    .form-logo {
        height: 45px;
    }

    .form-contact-info .mb-1.lead {
        display: none;
    }

    .col-md-4.col-6.text-center.logo-holder {
        text-align: left !important;
    }

    .form-contact-info p.mb-0.fw-semibold {
        font-size: 25px;
        margin-top: 5px;
    }

    .property-label {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--black);
        margin: 0;
    }

    .form-step .form-control {
        font-size: 16px;
    }

    .h5,
    h5 {
        font-size: 0.9rem;
    }

    .text-gold-mobile {
        color: var(--orange-yellow);
        font-weight: 900;
        font-size: 1.1rem;
    }

    .logo-wrapper {
        margin-bottom: 15px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }

    .eligibility-card {
        position: relative;
        top: -5px;
    }

    span.step-number {
        width: auto;
    }
}

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

fieldset {
    border: 1px solid #b9b9b9;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    margin-bottom: 15px;
}

legend {
    font-weight: bold;
    color: #333;
    padding: 0 10px;
    font-size: 1.2em;
}

#btnBackMob {
    font-size: 1em;
    background: #37677e;
    color: #fff;
}