  :root {
            --primary-blue: #2c5aa0;
            --secondary-blue: #3a7bd5;
            --light-blue: #e8f1ff;
            --dark-blue: #1a3a6e;
            --accent-blue: #00b4d8;
            --white: #ffffff;
            --off-white: #f8f9fa;
            --text-dark: #2d3748;
            --text-light: #718096;
            --shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
            --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            --radius: 12px;
            --radius-lg: 16px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
            background: var(--off-white);
            color: var(--text-dark);
            padding-top: 80px;
        }

        /* Main Navbar Container - Single Line */
        #header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--white);
            box-shadow: var(--shadow);
            padding: 12px 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 1px solid #f0f4ff;
            transform: translateZ(0);
            text-transform: capitalize;
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            gap: 20px;
            animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Logo */
        .logo-container {
            flex: 0 0 auto;
            max-width: 160px;
            position: relative;
            animation: logoPulse 2s ease-in-out infinite alternate;
        }

        @keyframes logoPulse {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.03);
            }
        }

        .logo-container a {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .logo-container img {
            width: 250px;
            height: auto;
            max-height: 50px;
            object-fit: contain;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 2px 4px rgba(44, 90, 160, 0.2));
        }

        .logo-container img:hover {
            transform: rotate(-5deg) scale(1.1);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }


        .logo-container span {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-blue);
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: textShine 3s ease-in-out infinite alternate;
        }
         .logo-container span:last-child {
            font-size: 0.85rem;
            font-weight: 400;
            color: var(--text-light);
            background: none;
            -webkit-background-clip: none;
            -webkit-text-fill-color: var(--text-light);
            background-clip: none;
            animation: none;
        }
        @keyframes textShine {
            from {
                background-position: 0% 50%;
            }
            to {
                background-position: 100% 50%;
            }
        }
        .logo-container span:hover {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: textShine 3s ease-in-out infinite alternate;
        }



        /* Desktop Navigation Links */
        .nav-links-desktop {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            justify-content: center;
        }

        .nav-link-item {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            border-radius: var(--radius);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .nav-link-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.7s ease;
        }

        .nav-link-item:hover::before {
            left: 100%;
        }

        .nav-link-item:hover {
            background: var(--light-blue);
            color: var(--primary-blue);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 20px rgba(44, 90, 160, 0.15);
        }

        .nav-link-item.active {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            animation: activePulse 3s infinite;
            box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
        }

        @keyframes activePulse {
            0%, 100% {
                box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
            }
            50% {
                box-shadow: 0 5px 20px rgba(44, 90, 160, 0.5);
            }
        }

        .nav-link-item i {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .nav-link-item:hover i {
            transform: scale(1.2) rotate(5deg);
        }

        /* Right Side Controls */
        .nav-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
        }

        /* Search Trigger Button */
        .search-trigger {
            background: var(--light-blue);
            border: none;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-blue);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .search-trigger::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.8) 50%, transparent 70%);
            top: 0;
            left: -100%;
            transition: left 0.7s ease;
        }

        .search-trigger:hover::after {
            left: 100%;
        }

        .search-trigger:hover {
            background: var(--primary-blue);
            color: var(--white);
            transform: scale(1.1) rotate(10deg);
            box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
        }

        /* Language Selector - Desktop */
/* Language Selector - Desktop - FIXED VERSION */
.language-selector-desktop {
    position: relative;
    display: flex;
    align-items: center;
}

/* Remove the invisible bridge and replace with proper hover handling */
.language-selector-desktop::after {
    display: none;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 70px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 101; /* Higher z-index for button */
}

.language-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.1), transparent);
    transition: left 0.5s ease;
}

.language-btn:hover::before {
    left: 100%;
}

.language-btn:hover {
    border-color: var(--accent-blue);
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.2);
}

.language-btn img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.language-btn:hover img {
    transform: scale(1.2);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px); /* Reduced gap */
    right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    max-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    pointer-events: none; /* Initially not clickable */
}

/* Show dropdown on hover of parent container */
.language-selector-desktop:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto; /* Make clickable when visible */
    animation: dropdownAppear 0.3s ease forwards;
}

/* Add a pseudo-element to bridge the gap between button and dropdown */
.language-selector-desktop::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px; /* Bridge gap */
    background: transparent;
    z-index: 99; /* Below dropdown but above other elements */
}

/* Make the button and bridge area trigger the dropdown */
.language-selector-desktop:hover .language-btn {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-color: transparent;
    background: var(--light-blue);
}

@keyframes dropdownAppear {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f7fa;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.language-option::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--light-blue), transparent);
    transition: left 0.5s ease;
}

.language-option:hover::before {
    left: 100%;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 16px;
}

.language-option img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.language-option:hover img {
    transform: scale(1.2) rotate(5deg);
}

.language-option span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    transition: all 0.3s ease;
}

.language-option:hover span {
    transform: translateX(5px);
}

        /* Categories Dropdown */
        .categories-dropdown {
            position: relative;
        }

        .categories-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            border: none;
            border-radius: var(--radius);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .categories-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.7s ease;
        }

        .categories-btn:hover::before {
            left: 100%;
        }

        .categories-btn:hover {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(26, 58, 110, 0.3);
        }

        .categories-menu {
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 8px;
            background: var(--white);
            border-radius: var(--radius);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
            min-width: 240px;
            max-height: 400px;
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-15px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
            animation: dropdownAppear 0.3s ease forwards;
        }

        .categories-dropdown:hover .categories-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .category-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            text-decoration: none;
            color: var(--text-dark);
            transition: all 0.3s ease;
            border-bottom: 1px solid #f1f5f9;
            position: relative;
            overflow: hidden;
        }

        .category-item::before {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, var(--light-blue), transparent);
            transition: left 0.5s ease;
            
        }

        .category-item:hover::before {
            left: 100%;
        }

        .category-item:last-child {
            border-bottom: none;
        }

        .category-item:hover {
            background: var(--light-blue);
            color: var(--primary-blue);
            padding-left: 20px;
        }

        .category-item img {
            width: 18px;
            height: 18px;
            border-radius: 4px;
            transition: transform 0.3s ease;
        }

        .category-item:hover img {
            transform: scale(1.2) rotate(5deg);
        }

        /* Auth Links */
        .auth-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .auth-link {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            background: var(--off-white);
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            border-radius: var(--radius);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
        }

        .auth-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .auth-link:hover::before {
            left: 100%;
        }

        .auth-link:hover {
            background: var(--primary-blue);
            color: var(--white);
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 8px 20px rgba(44, 90, 160, 0.2);
        }

        /* Search Modal */
        .search-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(8px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .search-modal.active {
            opacity: 1;
            visibility: visible;
            animation: modalAppear 0.4s ease;
        }

        @keyframes modalAppear {
            from {
                opacity: 0;
                backdrop-filter: blur(0);
            }
            to {
                opacity: 1;
                backdrop-filter: blur(8px);
            }
        }

        .search-modal-content {
            background: var(--white);
            border-radius: var(--radius-lg);
            width: 90%;
            max-width: 700px;
            padding: 30px;
            transform: translateY(30px) scale(0.95);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: modalContentAppear 0.5s ease 0.1s forwards;
        }

        @keyframes modalContentAppear {
            to {
                transform: translateY(0) scale(1);
            }
        }

        .search-modal.active .search-modal-content {
            transform: translateY(0) scale(1);
        }

        .search-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .search-modal-title {
            font-size: 1.5rem;
            color: var(--text-dark);
            font-weight: 600;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: textShine 3s ease-in-out infinite alternate;
        }

        @keyframes textShine {
            from {
                background-position: 0% 50%;
            }
            to {
                background-position: 100% 50%;
            }
        }

        .close-search {
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-search:hover {
            background: var(--light-blue);
            color: var(--primary-blue);
            transform: rotate(90deg) scale(1.1);
        }

        .search-modal-form {
            position: relative;
            margin-bottom: 25px;
        }

        .search-modal-input {
            width: 100%;
            padding: 18px 60px 18px 20px;
            font-size: 1.1rem;
            border: 2px solid #e2e8f0;
            border-radius: var(--radius-lg);
            background: var(--off-white);
            color: var(--text-dark);
            transition: all 0.3s ease;
            animation: inputPulse 2s infinite;
        }

        @keyframes inputPulse {
            0%, 100% {
                border-color: #e2e8f0;
            }
            50% {
                border-color: var(--accent-blue);
            }
        }

        .search-modal-input:focus {
            outline: none;
            border-color: var(--accent-blue);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
            animation: none;
            transform: scale(1.01);
        }

        .search-modal-submit {
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            border: none;
            width: 48px;
            height: 48px;
            border-radius: var(--radius);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .search-modal-submit:hover {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
            transform: translateY(-50%) scale(1.1) rotate(5deg);
            box-shadow: 0 5px 15px rgba(26, 58, 110, 0.4);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .mobile-menu-toggle::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
            top: 0;
            left: -100%;
            transition: left 0.7s ease;
        }

        .mobile-menu-toggle:hover::before {
            left: 100%;
        }

        .mobile-menu-toggle:hover {
            background: var(--light-blue);
            transform: rotate(180deg) scale(1.1);
        }

        .toggle-line {
            width: 22px;
            height: 2px;
            background: var(--text-dark);
            border-radius: 2px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-menu-toggle:hover .toggle-line {
            background: var(--primary-blue);
            transform: scaleX(1.2);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            height: 100%;
            background: var(--white);
            z-index: 1001;
            box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
            transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .mobile-menu.active {
            right: 0;
            animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes slideIn {
            from {
                right: -320px;
                opacity: 0;
            }
            to {
                right: 0;
                opacity: 1;
            }
        }

        .mobile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }

        .mobile-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile Controls Container */
        .mobile-controls {
            display: none;
            align-items: center;
            gap: 10px;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .nav-links-desktop {
                gap: 4px;
            }
            
            .nav-link-item {
                padding: 10px 12px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 992px) {
            .nav-links-desktop {
                display: none;
            }
            
            .categories-dropdown {
                display: none;
            }
            
            .language-selector-desktop {
                display: none;
            }
            
            .auth-links {
                display: none;
            }
            
            .mobile-controls {
                display: flex;
            }
            
            .mobile-menu-toggle {
                display: flex;
            }
            
            .language-selector-mobile {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .nav-container {
                padding: 0 15px;
                gap: 15px;
            }
            
            .logo-container {
                max-width: 140px;
            }
            
            .search-trigger {
                width: 42px;
                height: 42px;
                font-size: 1.1rem;
            }
            
            .mobile-controls {
                gap: 8px;
            }
        }
        /* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo-container img {
    max-width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mobile-logo-container .logo-text {
    display: flex;
    flex-direction: column;
}

.mobile-logo-container .logo-text span:first-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--white);
    animation: none;
}

.mobile-logo-container .logo-text span:last-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Mobile Search */
.mobile-search-container {
    padding: 20px;
    border-bottom: 1px solid #f0f4ff;
}

.mobile-search-group {
    display: flex;
    align-items: center;
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 0 15px;
    border: 1px solid #e2e8f0;
}

.mobile-search-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1rem;
    outline: none;
}

.mobile-search-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
}

/* Mobile Navigation Links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f4ff;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.mobile-nav-link.active {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-blue);
}

.mobile-nav-link i {
    width: 24px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Sections */
.mobile-categories-section,
.mobile-language-section,
.mobile-auth-section {
    padding: 20px;
    border-bottom: 1px solid #f0f4ff;
}

.mobile-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-section-title i {
    color: var(--primary-blue);
}

/* Mobile Categories Grid */
.mobile-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-category-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--off-white);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 1px solid transparent;
}

.mobile-category-card:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.mobile-category-card img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Mobile Language Grid */
.mobile-language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-language-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--off-white);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.mobile-language-card:hover {
    background: var(--light-blue);
    border-color: var(--accent-blue);
}

.mobile-language-card.active {
    background: var(--light-blue);
    border-color: var(--accent-blue);
}

.mobile-language-card img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.mobile-language-card .active-indicator {
    position: absolute;
    top: 6px;
    right: 6px;
    color: var(--accent-blue);
    font-size: 0.8rem;
}

/* Mobile Auth Buttons */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.mobile-login-btn {
    background: var(--primary-blue);
    color: var(--white);
}

.mobile-login-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.mobile-register-btn {
    background: var(--off-white);
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
}

.mobile-register-btn:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
}

/* Mobile Dashboard Card */
.mobile-dashboard-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--radius);
    color: var(--white);
    margin-bottom: 15px;
}

.mobile-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.mobile-user-info {
    flex: 1;
}

.mobile-user-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.mobile-user-email {
    font-size: 0.8rem;
    opacity: 0.9;
}

.mobile-logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Mobile Menu */
@media (max-width: 576px) {
    .mobile-menu {
        width: 280px;
    }
    
    .mobile-categories-grid,
    .mobile-language-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        background: none;
        border: none;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle:hover {
        background: var(--light-blue);
    }
    
    .toggle-line {
        width: 22px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    /* Hide desktop elements on mobile */
    .nav-links-desktop,
    .categories-dropdown,
    .language-selector-desktop,
    .auth-links {
        display: none;
    }
}