/* Global Navigation Styles */
:root {
    --primary-blue: #2563EB;
    --light-blue: #60A5FA;
    --dark-blue: #1E40AF;
    --primary-teal: #0d9488;
    --dark-teal: #0f766e;
    --lightest-blue: #EFF6FF;
    --off-white: #F9FAFB;
    --nav-background: #203F58;
}

/* Brand/Logo Styling */
.header-nav h1,
.nav-brand {
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    color: white !important;
}

/* Mobile-optimized font sizing */
@media (max-width: 640px) {
    .header-nav h1,
    .nav-brand {
        font-size: 1.25rem !important; /* text-xl equivalent */
        letter-spacing: 0.05em !important;
        line-height: 1.2 !important;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .header-nav h1,
    .nav-brand {
        font-size: 1.5rem !important; /* text-2xl equivalent */
        letter-spacing: 0.075em !important;
    }
}

@media (min-width: 769px) {
    .header-nav h1,
    .nav-brand {
        font-size: 1.875rem !important; /* text-3xl equivalent */
        letter-spacing: 0.1em !important;
    }
}

.header-nav h1 a,
.nav-brand a {
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

.header-nav h1 a:hover,
.nav-brand a:hover {
    color: #60A5FA !important;
}

.header-nav {
    background: var(--nav-background);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: white;
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: #60A5FA;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #60A5FA;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 1rem;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(135deg, #203F58 0%, #1a3447 100%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu .nav-link {
    color: white;
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
}