
        /* ========== GLOBAL RESET & VARIABLES ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #e55a00;
            --primary-dark: #cc5000;
            --primary-light: #ff6b00;
            --secondary: #222;
            --secondary-light: #333;
            --secondary-dark: #111;
            --text: #222;
            --text-light: #666;
            --text-muted: #999;
            --border: #e0e0e0;
            --border-light: #f0f0f0;
            --light: #f5f5f5;
            --lighter: #fafafa;
            --white: #ffffff;
            --black: #000000;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --info: #17a2b8;
            --shadow: 0 2px 10px rgba(0,0,0,0.1);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
            --transition: all 0.25s ease-in-out;
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        body {
            font-family: var(--font-family);
            background: var(--white);
            overflow-x: hidden;
        }

        /* ========== TOP BAR ========== */
        .top-bar {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
            font-size: 13px;
        }

        .top-bar a {
            color: var(--text-light);
            text-decoration: none;
            transition: var(--transition);
        }

        .top-bar a:hover {
            color: var(--primary);
        }

        .separator {
            margin: 0 10px;
            color: var(--text-muted);
        }

        /* ========== MAIN HEADER ========== */
        .header {
            background: var(--white);
            padding: 16px 0;
            box-shadow: var(--shadow-sm);
            position: relative;
            z-index: 100;
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: -0.5px;
            display: inline-block;
            transition: var(--transition);
        }

        .logo:hover {
            color: var(--primary-dark);
        }

        /* ========== RESPONSIVE SEARCH BOX (ENHANCED) ========== */
        .search-box {
            width: 100%;
            position: relative;
        }

        .search-wrapper {
            position: relative;
            width: 100%;
        }

        .search-form {
            display: flex;
            width: 100%;
            border-radius: 48px;
            overflow: hidden;
            background: var(--white);
            border: 2px solid var(--border-light);
            transition: var(--transition);
        }

        .search-form:focus-within {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(229, 90, 0, 0.1);
        }

        .search-form input {
            flex: 1;
            padding: 12px 18px;
            border: none;
            font-size: 15px;
            outline: none;
            background: var(--white);
            font-weight: 400;
            color: var(--text);
        }

        .search-form input::placeholder {
            color: var(--text-muted);
        }

        .search-form button {
            background: var(--primary);
            border: none;
            padding: 0 22px;
            color: var(--white);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .search-form button:hover {
            background: var(--primary-dark);
        }

        /* Header Icons */
        .header-icons {
            display: flex;
            justify-content: flex-end;
            gap: 28px;
            align-items: center;
        }

        .header-icons a {
            color: var(--text-light);
            font-size: 24px;
            text-decoration: none;
            position: relative;
            transition: var(--transition);
        }

        .header-icons a:hover {
            color: var(--primary);
            transform: scale(1.05);
        }

        .count-badge {
            position: absolute;
            top: -8px;
            right: -12px;
            background: var(--danger);
            color: var(--white);
            font-size: 11px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 50%;
            min-width: 18px;
            text-align: center;
            line-height: 1.2;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }

        /* ========== NAVIGATION ========== */
        .navbar {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            position: relative;
            z-index: 99;
            padding: 0;
        }

        .navbar .container {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding: 0 12px;
        }

        /* no toggle button visible — we use horizontal scroll + flex wrap (fully visible menu) */
        .navbar-toggler {
            display: none;
        }

        .navbar-nav {
            display: flex;
            flex-direction: row;
            list-style: none;
            margin: 0;
            padding: 0;
            width: 100%;
            flex-wrap: wrap;
            gap: 0;
            overflow-x: auto;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
        }

        .navbar-nav::-webkit-scrollbar {
            height: 4px;
        }

        .navbar-nav::-webkit-scrollbar-track {
            background: var(--secondary-light);
        }

        .navbar-nav::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }

        .nav-item {
            position: relative;
            flex: 0 0 auto;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 14px 18px;
            color: var(--white);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: var(--transition);
            white-space: nowrap;
        }

        .nav-link i {
            font-size: 14px;
        }

        .nav-link:hover {
            background: var(--primary);
            color: var(--white);
        }

        .nav-link.active {
            background: var(--primary);
            color: var(--white);
        }

     /* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: none;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    list-style: none;
    transform: translateY(0);
    will-change: transform;
}

.dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
}

/* Right-aligned dropdown for last items */
.nav-item:last-child .dropdown-menu,
.nav-item:nth-last-child(2) .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--lighter);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-divider {
    height: 1px;
    margin: 8px 0;
    background: var(--border-light);
}

        /* ========== RESPONSIVE: TABLETS & MOBILE ========== */
        @media (max-width: 991px) {
            .logo {
                font-size: 24px;
            }
            .nav-link {
                padding: 12px 14px;
                font-size: 13px;
            }
            .header-icons {
                gap: 20px;
            }
            .header-icons a {
                font-size: 22px;
            }
        }

        @media (max-width: 768px) {
            /* Header: row stacking for better search visibility */
            .header .row {
                row-gap: 12px;
            }
            /* Search box becomes full width on mobile (visible always) */
            .search-box {
                width: 100%;
                margin-top: 6px;
                margin-bottom: 4px;
            }
            .search-form input {
                padding: 10px 16px;
                font-size: 14px;
            }
            .search-form button {
                padding: 0 18px;
            }
            .logo {
                font-size: 22px;
            }
            .header-icons {
                gap: 18px;
                justify-content: flex-end;
            }
            .header-icons a {
                font-size: 20px;
            }
            .count-badge {
                font-size: 10px;
                min-width: 16px;
                padding: 1px 5px;
                top: -7px;
                right: -10px;
            }
            .top-bar {
                font-size: 12px;
                padding: 6px 0;
            }
            .separator {
                margin: 0 6px;
            }
            .navbar-nav {
                flex-wrap: nowrap;
                justify-content: flex-start;
                padding-bottom: 6px;
                gap: 2px;
            }
            .nav-link {
                padding: 10px 12px;
                font-size: 12px;
            }
            .nav-link i {
                font-size: 12px;
            }
            .dropdown-menu {
                min-width: 200px;
            }
        }

        @media (max-width: 576px) {
            .logo {
                font-size: 20px;
            }
            .header-icons {
                gap: 14px;
            }
            .header-icons a {
                font-size: 18px;
            }
            .count-badge {
                font-size: 9px;
                min-width: 14px;
                padding: 1px 4px;
                top: -6px;
                right: -8px;
            }
            .nav-link {
                padding: 8px 10px;
                font-size: 11px;
            }
            .nav-link i {
                font-size: 11px;
                margin-right: 2px;
            }
            .dropdown-item {
                padding: 8px 16px;
                font-size: 12px;
            }
            .search-form input {
                padding: 8px 12px;
                font-size: 13px;
            }
            .search-form button {
                padding: 0 14px;
                font-size: 14px;
            }
            .top-bar {
                font-size: 11px;
            }
            .top-bar a {
                font-size: 11px;
            }
            .separator {
                margin: 0 4px;
            }
        }

        @media (max-width: 450px) {
            .nav-link {
                padding: 6px 8px;
                font-size: 10px;
            }
            .nav-link i {
                font-size: 10px;
            }
            .logo {
                font-size: 18px;
            }
            .header-icons {
                gap: 12px;
            }
            .header-icons a {
                font-size: 17px;
            }
            .count-badge {
                font-size: 8px;
                min-width: 13px;
                padding: 1px 3px;
                top: -5px;
                right: -7px;
            }
            .dropdown-menu {
                min-width: 170px;
            }
            .dropdown-item {
                font-size: 11px;
                padding: 6px 14px;
            }
        }

        /* Container padding for no overflow */
        .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        @media (max-width: 768px) {
            .container {
                padding-left: 12px;
                padding-right: 12px;
            }
        }

        /* Ensure dropdowns never clip */
        .navbar, .navbar .container, .navbar-nav {
            overflow: visible !important;
        }