
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f3f3f3;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
    background-color: #0078d4;
    color: #fff;
    text-align: center;
}

/* Navigation Bar */
.navbar {
    position: sticky;
	/** 1 px of space is otherwise visible above the navbar. */
    top: -1px;
    background-color: #004578;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    left: 20px; /* Keep hamburger icon on the left */
}

.nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Center the navigation links */
}

.nav-button {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #0078D4;
    border-radius: 5px;
    
}

/** Remove the circle beside each list item button. */
ul {
    list-style-type: none;
}

.nav-button:hover {
    background-color: #005a9e;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #004578;
        padding: 10px;
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        border-radius: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > li  {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

/* Services Section */
#services {
    padding: 40px 40px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    border-radius: 5px;
}

/* About Us Section */
#about-us {
    padding: 40px 20px;
    background-color: #eaeaea;
    text-align: center;
}

/* Contact Section */
#contact {
    padding: 40px 20px;
    background-color: #eaeaea;
    text-align: center;
}

/* Contact Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

#contact-form input,
#contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    padding: 10px;
    background-color: #0078D4;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #005a9e;
}


/* Footer */
footer {
    padding: 20px;
    background-color: #004578;
    color: #fff;
    text-align: center;
}
