/* Consistent Header Styling for All Pages */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--light-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.sticky-header .logo {
    font-size: 1.5rem;
    font-weight: 700; /* Bolder for brand consistency */
    color: var(--primary-color); /* Using primary color variable */
    text-decoration: none;
    transition: var(--transition);
}

.sticky-header .logo:hover {
    color: var(--primary-dark);
}

.sticky-header .hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.sticky-header .hamburger-menu:hover {
    color: var(--primary-color);
}

.sticky-header .nav-links {
    display: flex;
    gap: 1.5rem;
}

.sticky-header .nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600; /* Consistent semi-bold weight */
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.sticky-header .nav-links a:hover {
    color: var(--primary-color);
}

.sticky-header .nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Active link indicator */
.sticky-header .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Compact Mobile Menu */
@media (max-width: 768px) {
    .sticky-header {
        padding: 1rem;
    }
    
    .sticky-header .hamburger-menu {
        display: block;
    }

    .sticky-header .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        min-width: 200px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow-hover);
        border: 1px solid var(--light-gray);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .sticky-header .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .sticky-header .nav-links a {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }

    .sticky-header .nav-links a:hover {
        background-color: var(--light-gray);
        color: var(--primary-color);
    }

    .sticky-header .nav-links a.active::after {
        display: none;
    }

    .sticky-header .nav-links a.active {
        background-color: rgba(67, 97, 238, 0.05);
    }
}
