/* Current desktop styles */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #003366;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

nav a:hover {
    background-color: #00509e;
    transform: translateY(-2px);
}

nav a:active {
    transform: translateY(0);
}

/* Mobile styles */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: center;
        gap: 0; /* Remove gap between links */
        overflow-x: auto; /* Allow horizontal scrolling if needed */
    }

    nav a {
        display: inline; /* Inline links */
        padding: 0; /* Remove padding */
        background: none; /* Remove background */
        color: #003366; /* Text color only */
        font-size: 1rem; /* Smaller font size */
        box-shadow: none; /* Remove box shadow */
        transition: none; /* No hover effect */
        text-decoration: none; /* Simple links */
        white-space: nowrap; /* Prevent text wrapping */
    }

    nav a:not(:last-child)::after {
        content: " | "; /* Add a separator between links */
        color: #003366;
    }
}
