/* Pre‑Foreclosure Page Styles */

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.4) 0%, rgba(27, 38, 59, 0.3) 100%), url('../images/preforclosure.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.2) 0%, rgba(27, 38, 59, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #e0e1dd;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

/* Sections */
.about { padding: 5rem 0; background-color: #ffffff; }
.about h2 { font-size: 2.2rem; margin-bottom: 1.5rem; color: #0d1b2a; text-align: center; }

/* Grid cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.service-card { background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%); padding: 2rem; border-radius: 12px; text-align: left; border: 2px solid rgba(13, 27, 42, 0.15); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(13, 27, 42, 0.2); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: #0d1b2a; }
.service-card p { color: #1b263b; line-height: 1.6; }

.service-features { list-style: none; margin-top: 0.5rem; padding: 0; }
.service-features li { padding: 0.4rem 0; color: #1b263b; position: relative; padding-left: 1.3rem; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: #0d1b2a; font-weight: bold; }

.narrow { max-width: 800px; margin: 0 auto 2rem; }
.truth-block h3 { text-align: center; color: #0d1b2a; }
.truth-block p { max-width: 800px; margin: 0 auto 1rem; color: #1b263b; }
.services-cta { text-align: center; margin-top: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero { 
        min-height: 40vh; 
        padding: 2rem 0;
        background-size: cover;
        background-position: center;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 35vh;
        padding: 2rem 0;
        background-size: cover;
        background-position: center;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
}


