
        /* -------------------------------------------------------------------------- */
        /*  navbar.css - lightweight responsive navigation bar styles                   */
        /*                                                                            */
        /*  Add this file to pages with a top navigation bar. It includes a desktop    */
        /*  nav links layout + mobile 'burger' menu toggle + backdrop overlay.        */
        /* -------------------------------------------------------------------------- */

        /* ----------------------------- global reset ----------------------------- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Segoe UI', sans-serif; }

        /* ----------------------------- navbar wrapper ---------------------------- */
        /* The sticky top bar that contains branding, desktop nav, and mobile toggles */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #ff8c4f;
            padding: 0 20px;
            height: 60px;
            position: sticky;     /* keeps navbar visible while scrolling */
            top: 0;
            z-index: 1000;
            box-shadow: 2px 2px 5px rgb(0,0,0);
        }

        /* Branding / logo section */
        .logo {
            color: #ffffff;
            font-size: 24px;
            font-weight: bold;
            user-select: none;    /* prevents text selection during interactions */
        }

        .logo span { color: #ff3636; /* accent color inside logo */ }

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:visited {
    color: inherit;
}

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.logo a:active {
    color: inherit;
}

        /* -------------------------- desktop navigation -------------------------- */
        /* Desktop nav links shown in the navbar when viewport is wide enough */
        .nav-links {
            list-style: none;
            display: flex;
            gap: 20px;
        }

        .nav-links li a {
            text-decoration: none;
            color: #ffffff;
            font-size: 15px;
            font-weight: 500;
            padding: 6px 10px;
            border-radius: 6px;
            position: relative;
            transition: background 0.25s;
        }

        /* Underline animation for nav links */
        .nav-links li a::after {
            content: '';
            position: absolute;
            bottom: 0; left: 10px;
            width: 0; height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .nav-links li a:hover::after { width: calc(100% - 20px); }
        .nav-links li a:hover { background: rgba(255,255,255,0.15); }

        /* -------------------------- mobile hamburger ---------------------------- */
        /* Hidden by default, shown via media query when viewport is narrow */
        .burger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 26px; height: 20px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1100; /* above mobile menu */
        }

        /* 3 lines inside the burger button */
        .burger span {
            display: block;
            height: 3px; width: 100%;
            background: #fff;
            border-radius: 3px;
            transition: transform 0.35s ease, opacity 0.25s ease;
            transform-origin: center;
        }

        /* Transform to an 'X' when mobile menu is open */
        .burger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
        .burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .burger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

        /* -------------------------- mobile dropdown ----------------------------- */
        /* Hidden panel that slides down when the burger is toggled open */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 60px; left: 0;
            width: 100%;
            background: #ff8c4f;
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
            z-index: 999;
            max-height: 0;        /* collapsed by default */
            overflow: hidden;     /* hides content during animation */
            opacity: 0;
            transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
        }

        /* When open, reveal menu with max-height and fade in */
        .mobile-menu.open { max-height: 300px; opacity: 1; }

        /* Mobile menu list styles */
        .mobile-menu ul { list-style: none; padding: 10px 0 16px; }

        /* Animate each item sliding in from the left */
        .mobile-menu ul li {
            opacity: 0;
            transform: translateX(-20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        /* When menu opens, fade items in with staggered delays */
        .mobile-menu.open ul li { opacity: 1; transform: translateX(0); }
        .mobile-menu.open ul li:nth-child(1) { transition-delay: 0.05s; }
        .mobile-menu.open ul li:nth-child(2) { transition-delay: 0.10s; }
        .mobile-menu.open ul li:nth-child(3) { transition-delay: 0.15s; }
        .mobile-menu.open ul li:nth-child(4) { transition-delay: 0.20s; }

        .mobile-menu ul li a {
            display: block;
            padding: 13px 24px;
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            border-left: 3px solid transparent;
            transition: background 0.2s, border-color 0.2s;
        }

        .mobile-menu ul li a:hover {
            background: rgba(255,255,255,0.15);
            border-left-color: #fff;
        }

        /* ---------------------------- backdrop overlay -------------------------- */
        /* Covers the page content when mobile menu is open to capture clicks */
        .backdrop {
            display: none;
            position: fixed;
            inset: 0; top: 60px;
            background: rgba(0,0,0,0.3);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .backdrop.visible { opacity: 1; }

        /* ---------------------------- responsive tweaks ------------------------- */
        @media (max-width: 768px) {
            .menu        { display: none; }
            .burger      { display: flex; }
            .mobile-menu { display: block; }
            .backdrop    { display: block; }
        }

        /* demo content spacing */
        .page-content {
            padding: 80px 20px;
            text-align: center;
            color: #666;
            font-size: 17px;
        }
    