body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header {
    background: #1f3a5f;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.header h1 {
    margin: 0;
    font-size: 34px;
}

.header p {
    margin-top: 10px;
    font-size: 18px;
}

/* HERO BANNER (FIXED BIG ISSUE) */
.hero {
    background:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('../images/handyman.png') no-repeat center;
    background-size: cover;
    height: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;
    text-align: center;
    padding: 20px;
}

.hero h2 {
    font-size: 32px;
    margin: 0;
    max-width: 800px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
    max-width: 600px;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 25px 20px;
}

.cta {
    background: #28a745;
    color: white;
    padding: 14px 26px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* CENTER BUTTON FIX */
.contact-form button,
.contact-form .cta {
    align-self: center;
    margin-top: 10px;
}

/* SERVICES */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 30px;
    margin-bottom: 25px;
}

.cards {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.card {
    background: #f4f4f4;
    padding: 25px;
    flex: 1;
    border-radius: 8px;
}

.card h3 {
    margin-top: 0;
}

.card p {
    line-height: 1.6;
}

/* ABOUT */
.about {
    padding: 40px 20px;
    text-align: center;
}

.about p {
    max-width: 900px;
    margin: auto;
    line-height: 1.7;
}

/* CALL NOW */
.call-now {
    text-align: center;
    font-size: 20px;
    padding-bottom: 20px;
}

.call-now a {
    color: #1f3a5f;
    font-weight: bold;
    text-decoration: none;
}

/* CONTACT */
.demo-contact {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.demo-contact h2 {
    margin-bottom: 10px;
}

.demo-note {
    color: #c0392b;
    font-size: 14px;
    margin-bottom: 20px;
}

/* FORM */
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

/* 🔥 FOOTER FIX (THIS WAS YOUR ISSUE) */
.footer {
    background: #111;
    color: white;
    padding: 0;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-col {
    flex: 1;
    text-align: center;
}

.footer-col h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-col p {
    margin: 0;
    line-height: 1.7;
}

.footer a {
    color: #28a745;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #333;
}

/* 🔥 MOBILE FIX */
@media (max-width: 768px) {

    .cards {
        flex-direction: column;
    }

    .hero {
        height: 240px;
    }

    .hero h2 {
        font-size: 22px;
        padding: 0 10px;
    }

    .hero p {
        font-size: 16px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        width: 100%;
    }
}

.site-credit {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

.site-credit a {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
}

.site-credit a:hover {
    text-decoration: underline;
}