body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

nav {
    background: #001561;
    background: linear-gradient(180deg, rgba(0, 21, 97, 1) 30%, rgba(91, 115, 223, 1) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative; /* Essential for absolute centering */
}

/* --- LOGO --- */
.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -1px;
}
/* .logo .MM { color: #0011ff; }
.logo .U { color: #cb0000; } */

/* --- NAV MIDDLE (THE SWITCHES) --- */
.nav-middle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* ONLY target links inside .nav-middle */
.nav-middle a {
    color: #c2e1ff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 25px; /* Pill shape */
    transition: all 0.3s ease;
    border: 2px solid transparent; 
}

/* Hover effect for .nav-middle links */
.nav-middle a:hover {
    background-color: #ffffff;
    color: rgb(8, 14, 120);
}

/* --- NAV RIGHT (PLAIN LINKS) --- */
.nav-right {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-right a {
    color: #c2e1ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-right a:hover {
    color: white;
}

.profile-circle {
    width: 35px;
    height: 35px;
    background-color: #8a0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    border: 1px solid #ffffff;
    cursor: pointer;
}

/* --- NAV RIGHT ICONS (SVG) --- */
/* You can change icon colors, sizes, and hover effects right here! */
.nav-icon-link {
    color: #c2e1ff; /* Default icon color (matches nav text) */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-icon-link:hover {
    color: #ffffff; /* Icon color when hovering */
    transform: scale(1.15); /* Slightly enlarge on hover */
}

.nav-icon-link svg, .nav-icon {
    width: 26px;  /* Icon width */
    height: 26px; /* Icon height */
    fill: currentColor; /* Inherits color (#c2e1ff or #ffffff) from .nav-icon-link */
    transition: fill 0.2s ease;
}

.container {
    padding: 2rem;
}