body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header, footer {
    background-color: #8fc6de;;
    color: white;
    padding: 1em;
}
nav {
    display: flex;
    align-items: center; /* This centers items vertically */
    justify-content: space-between; /* Distributes space between the logo and the list */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox for horizontal alignment of list items */
    justify-content: flex-end; /* Align list items to the right side of the nav */
}

nav ul li {
    margin-left: 20px; /* Space between list items */
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.logo {
    margin-right: 20px; /* Space between logo and list */
}

.logo img {
    max-height: 60px;  /* Adjust this value to your preference */
    width: auto;       /* Keeps proportions */
    display: block;
}
main {
    padding: 2em;
}

section {
    margin-bottom: 2em;
}

h1, h2, h3 {
    color: #2c3e50;
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #2980b9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin-bottom: 1em;
    padding: 10px;
}

footer {
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}