html, body {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 0;
}

/* Hero Section */
.hero-section {
    background: url('../images/hero-banner1.jpg') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4em;
    margin: 0;
    color: #ffffff;
}

.hero-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    margin: 0;
    color: #2c8a42;
}

.hero-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    margin: 0;
    color: #2c8a42;
}

.hero-text a {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    margin: 0;
    color: #4285F4;
}

/* About Us Section */
.about-us {
        background: url('../images/about-us-banner1.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em 0;
}

.about-us h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5em;
    margin-bottom: 1em;
    color: #ffffff;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
}

.about-us p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Our Services Section */
.our-services {
    padding: 2em 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    text-align: left;
}

.service-item {
    background-color: white;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Service Area Section */
.service-area {
    background-color: white;
    padding: 2em 0;
}

.service-area .locations {
    font-size: 1.2em;
    font-weight: 600;
    color: #4285F4;
    line-height: 1.8;
}

/* Footer */
.bottom-section {
    background-color: #333;
    color: white;
    padding: 2em 0;
    border-top: 5px solid #EA4335;
}

.bottom-section p {
    margin: 0.5em 0;
}

.bottom-section .phone-number {
    font-size: 2.4em;
    color: #34A853;
    font-weight: bold;
}

.bottom-section .medium-text {
    font-size: 1.5em;
}

.bottom-section .x-small-text, .bottom-section .legal-text {
    font-size: 0.9em;
}

.bottom-section a {
    color: #4285F4;
    text-decoration: none;
}

.bottom-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3em;
    }
    .hero-text .subtitle {
        font-size: 1.2em;
    }
    .about-us h2, .our-services h2, .service-area h2 {
        font-size: 2em;
    }
}

/* Smaller phones - ensure hero text wraps and fits */
@media (max-width: 480px) {
    .hero-section {
        height: auto; /* allow the hero to grow to fit wrapped text */
        padding: 2.5em 1em;
        align-items: center;
        justify-content: center;
    }

    .hero-text {
        width: 100%;
        max-width: 36rem; /* keep lines reasonably short */
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .hero-text h1 {
        font-size: 2.2rem; /* ~35px -> smaller for phones */
        line-height: 1.05;
        margin-bottom: 0.25rem;
        word-break: break-word;
        hyphens: auto;
    }

    .hero-text h2 {
        font-size: 1rem; /* reduce subtitle-like line */
        line-height: 1.2;
        margin: 0.25rem 0 0.5rem 0;
        color: #d0ffd6; /* slight contrast to remain visible */
        word-break: break-word;
    }

    .hero-text p, .hero-text .subtitle {
        font-size: 0.95rem;
        line-height: 1.3;
        margin: 0;
        color: #d0ffd6;
        white-space: normal;
    }

    /* Reduce text-shadow to reduce perceived blur on small screens */
    .hero-section {
        text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    }
}