/* Navigation Bar Styling - Clean and Modern */
nav {
    background-color: #fafafa;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #002FA7;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #002FA7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.2s ease;
    display: inline-block;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

nav a:hover {
    color: #2c5aa0;
    transform: translateY(-1px);
}

nav a:focus {
    outline: 2px solid #002FA7;
    outline-offset: 2px;
}

/* Active/Current page styling */
nav a.active {
    color: #1a202c;
    font-weight: 600;
    border-bottom: 2px solid #002FA7;
}

nav a.active:hover {
    color: #1a202c;
}

/* Separator styling */
.separator {
    color: #cbd5e0;
    margin: 0 0.25rem;
    font-weight: 300;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 0 2.5rem 0;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }

    /* Hide navigation links by default on mobile */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fafafa;
        border-top: 1px solid #e2e8f0;
        display: none;
        flex-direction: column;
        z-index: 1000;
    }

    /* Show navigation links when menu is active */
    .nav-links.active {
        display: flex;
    }

    nav a {
        display: block;
        margin: 0;
        padding: 1rem;
        border-bottom: 1px solid #f8fafc;
        width: 100%;
        text-align: left;
        transform: none;
    }

    nav a:hover {
        background-color: #f8fafc;
        transform: none;
    }

    nav a:last-child {
        border-bottom: none;
    }

    nav .separator {
        display: none;
    }
}
