body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
    text-align: left;
}

header {
    background: #ffffff;
    color: #333;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #000 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

header .logo img {
    height: 50px; /* Adjust as needed */
    margin-right: 15px;
}

header h1 {
    margin: 0;
    padding: 0;
    font-size: 2.2em;
    color: #000;
    flex-grow: 1; /* Allows h1 to take available space */
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #000;
    font-weight: bold;
}

/* Hero Section */
#hero {
    min-height: 300px;
    background: #000 url('https://via.placeholder.com/1500x300/000/ffffff?text=Background+Image') no-repeat center center/cover; /* Placeholder for a background image */
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    color: #fff;
    background: #28a745;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #218838;
}

/* Sections */
section {
    padding: 40px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    color: #000;
    margin-bottom: 20px;
}

section.alt-background {
    background-color: #e2e6ea;
}

#services ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

#services li {
    background: #ffffff;
    border: 1px solid #ddd;
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33% - 40px); /* 3 items per row, adjust for margin */
    box-sizing: border-box;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

#services li:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: #333;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    margin-top: 30px;
}

footer .contact-info {
    margin-bottom: 20px;
}

footer .contact-info h3 {
    color: #000;
    margin-bottom: 10px;
}

footer .address {
    margin-top: 15px;
}

footer .address p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav li {
        display: block;
        padding: 5px 0;
    }

    header h1 {
        font-size: 1.8em;
    }

    #hero h2 {
        font-size: 2.5em;
    }

    #services li {
        flex: 1 1 calc(50% - 40px); /* 2 items per row */
    }
}

@media (max-width: 480px) {
    #services li {
        flex: 1 1 100%; /* 1 item per row */
    }
}