
        /* --- Base and Reset Styles for Navbar --- */
#sticky-navbar * {
    margin: 0 auto;
    padding: 0rem;
    box-sizing: border-box;
}

#sticky-navbar a {
    text-decoration: none;
    padding:1rem;
}

/* --- Main Navbar Styling --- */
#sticky-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    color: white;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 9999px;
    margin-right: 0.75rem;
}

.logo-container .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- Desktop Navigation --- */
.desktop-menu {
    display: none; /* Hidden by default, shown on larger screens */
}

.desktop-menu .nav-link {
    transition: color 0.2s;
}

.desktop-menu .nav-link:hover {
    color: #d1d5db;
}

.subscribe-btn {
    background-color: #191e31;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: rgba(25, 30, 49, 0.9);
}

/* --- CSS-Only Mobile Menu --- */
#navbar-menu-toggle {
    display: none; /* Hide the checkbox */
}

.mobile-menu-label {
    cursor: pointer;
    display: block; /* Make label visible for click */
}

.mobile-menu-label svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    display: none;
    background-color: white;
    color: black;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Show menu when checkbox is checked */
#navbar-menu-toggle:checked ~ .mobile-menu {
        display: block;
    padding: 1rem;
    margin: 1rem;
    border-radius: 2rem;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.mobile-menu a:hover {
    background-color: #e5e7eb;
}

.mobile-menu .subscribe-wrapper {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu .subscribe-btn {
    width: 100%;
    text-align: center;
}

/* --- Scrolled Navbar State --- */
#sticky-navbar.navbar-scrolled {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #191e31;
}

.navbar-scrolled .logo-text,
.navbar-scrolled .nav-link,
.navbar-scrolled .mobile-menu-label {
    color: #191e31;
}

.navbar-scrolled .desktop-menu .nav-link:hover {
    color: #4a5568;
}

.navbar-scrolled .subscribe-btn {
    color: white; /* Keep subscribe button text white */
}

/* --- Responsive Breakpoint (Tablet and Up) --- */
@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
        align-items: center;
    }
    .desktop-menu > *:not(:last-child) {
        margin-right: 2rem;
    }
    .mobile-menu-label {
        display: none;
    }
}