.navigation-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000; /* Ensure it's above everything */
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--primary-dark);
    min-height: 60px;
    height: 85px; /* Set a fixed height */
}

.navigation-bar.lhs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: absolute; /* Position it absolutely within the parent */
    bottom: -10px; /* Align to top of parent */
    right: 0; /* Align to right of parent */
    margin-bottom: 10px; /* Add some spacing from the bottom */
    margin-right: 5px;

}

.burger-line {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 40px; /* Adjust as needed to position correctly */
    background-color: var(--primary-dark);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1001;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content a.nav-cta-button {
    background-color: var(--accent);
    color: var(--neutral-dark);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.dropdown-content a.nav-cta-button:hover {
    background-color: var(--accent-light);
    cursor: pointer;
}

#menu-toggle {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Show the dropdown menu when the checkbox is checked */
#menu-toggle:checked ~ .dropdown-content {
    display: block;
}

/* Animate burger to X when menu is open */
#menu-toggle:checked ~ .burger-menu .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-menu .burger-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .burger-menu .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.version-banner {
    margin-top: 4px;
    padding: 2px 0;
}

.site-name {
    color: var(--accent);
    font-size: 24px;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 600;
    line-height: 3px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-self: flex-end;  /* Add this line */
    margin-bottom: 10px;   /* Add this to match padding */
}

.nav-buttons button {
    cursor: pointer;
    top: 16px;
    left: 1216px;
    width: 80px;
    height: 42px;
    padding: 0 8px;
    border: 0;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: var(--accent);
    color: var(--neutral-dark);;
    font-size: 16px;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 600;
    line-height: 24px;
    outline: none;
}

.nav-buttons button:hover {
    background-color: var(--accent-light);
}

.version-tag {
    color: var(--neutral-light);
    font-family: "Lexend Deca", sans-serif;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: var(--primary-light);
    display: inline-block;
}

.version-name {
    color: var(--neutral-light);
    font-weight: 600;
    margin-left: 4px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Deeper shadow on scroll */
}

.header-title-container {
    display: flex;
    flex-direction: column;
}

.header-title {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
}

.header-subtitle {
    font-size: 1rem;
    color: white;
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lexend Deca', sans-serif;
}

body {
    font-family: "Lexend Deca", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--neutral-dark);
    background-color: var(--bg-very-light);
    line-height: 1.6;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.desktop-nav a {
    color: var(--bg-light);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.desktop-nav a:hover {
    opacity: 0.8;
}

.desktop-nav .nav-cta-button {
    background-color: var(--accent);
    color: var(--neutral-dark);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.desktop-nav .nav-cta-button:hover {
    background-color: var(--accent-light);
    cursor: pointer;
}

.mobile-nav {
    display: none; /* Hide by default on desktop */
    position: relative;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Hide desktop nav on mobile */
    }

    .mobile-nav {
        display: block; /* Show mobile nav on mobile */
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 0.7rem;
    }

    .header {
        height: 60px; /* Slightly smaller header on mobile */
        padding: 15px 10px;
    }
}
