/* Ensure header and nav are flush */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

header {
    margin: 0;
    padding: 0;
}

nav {
    width: 100%; /* Full width */
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem 0; /* Top and bottom padding only */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: center; /* Center the items horizontally */
}

nav ul li {
    margin: 0 1.5rem; /* Space between items */
    display: inline; /* Inline display to align properly */
}


nav ul li a {
    color: #ecf0f1; /* Lighter text for better contrast */
    text-decoration: none;
    font-family: 'Roboto', sans-serif; /* Modern font */
    font-weight: 500; /* Slightly bolder text */
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Smooth transition */
}

nav ul li a:hover {
    color: #3498db; /* Blue accent color on hover */
    border-bottom: 2px solid #3498db; /* Underline effect on hover */
}
