        :root {
            --primary: #2563eb;
            --primary-light: #3b82f6;
            --primary-dark: #1e40af;
            --secondary: #10b981;
            --accent: #f59e0b;
            --dark: #0f172a;
            --dark-light: #1e293b;
            --gray: #64748b;
            --gray-light: #f8fafc;
            --white: #ffffff;
            --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
            /* Unified navbar height used by ERP pages for sticky offsets */
            --navbar-height: 56px; /* main nav row only; total (util+nav) = 90px set in dashboard.css */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            overflow-x: hidden;
      /* softened page background to reduce stark white areas */
      background: linear-gradient(180deg, #f8fbff 0%, #ffffff 40%);
    }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .container-wide {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navigation - Dark Modern Design */
        /* ── Utility strip inside navbar ── */
        #util-bar {
            width: 100%;
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
        }
        .util-bar-inner {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            height: 34px;
            padding: 0 24px;
            gap: 8px;
        }
        .util-bar-inner .nav-auth-buttons {
          order: 1;
          margin-left: 0;
          gap: 6px;
        }
        .util-bar-inner #navUserProfile {
          order: 1;
        }
        /* Base utility button */
        .util-btn {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 3px 12px;
            border-radius: 5px;
            border: 1px solid #d1d5db;
            background: transparent;
            color: #374151;
            font-size: 0.78rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            white-space: nowrap;
            transition: background 0.15s, border-color 0.15s;
        }
        .util-btn:hover { background: #f3f4f6; border-color: #9ca3af; }
        /* CTA variant */
        .util-btn-cta {
            background: linear-gradient(135deg,#f97316,#ef4444);
            color: #ffffff !important;
            border: none;
        }
        .util-btn-cta:hover { opacity: 0.88; background: linear-gradient(135deg,#f97316,#ef4444); }
        /* Language toggle */
        .util-lang-btn {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 8px;
            border-radius: 5px;
            border: 1px solid #e5e7eb;
            color: #374151;
            font-size: 0.78rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: background 0.15s;
        }
        .util-lang-btn:hover { background: #f3f4f6; }
        /* Language dropdown wrapper inside util bar */
        .util-lang-wrap {
            position: relative;
            z-index: 100002;
          order: 2;
        }
        .util-lang-wrap > .util-lang-btn::after { display: none; }
        .util-lang-wrap .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            left: auto;
        }
        .util-lang-wrap:hover .dropdown-menu { display: block; }

        .navbar {
            position: sticky;
            top: 0;
            width: 100%;
            z-index: 100000;
            /* Glassy / Dark Dock Style (Matching Sub-Nav) */
            background: rgba(10, 15, 30, 0.97);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 0;
        }

        .navbar.scrolled {
            background: rgba(8, 12, 24, 1);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        }

        .nav-container {
            display: flex;
            align-items: center;
            width: 100%;
            max-width: 100% !important;
          min-height: 68px; /* reduced nav row height */
          padding: 0.35rem 24px;
            flex-wrap: nowrap;
            justify-content: space-between; /* Changed from flex-start to space-between */
            gap: 1.5rem;
            position: relative; /* anchor for mega-menu centering */
        }

        .nav-actions-group {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            margin-left: auto;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 1.3rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: transform 0.3s ease;
            margin-right: 0; /* Remove fixed margin */
            flex-shrink: 0;
            order: 0; /* Removing negative order to be safe */
        }

        /* Hide "ERP & Business Marketplace" subtitle from navbar logo */
        .logo > div > span:last-child:not(:first-child) {
            display: none !important;
        }
        }
        
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0 auto; /* Center the menu if space allows, or use margin-left: auto if separate */
            padding: 0;
            list-style: none;
            flex-shrink: 1; /* Allow shrinking */
            order: 0; /* Reset order */
            overflow-x: auto; /* Prevent breaking if too small */
            scrollbar-width: none; /* Hide scrollbar */
        }

        .nav-actions-group {
             display: flex;
             align-items: center;
             gap: 6px;
             margin-left: auto; /* Push to the right */
             flex-shrink: 0;
             order: 2; /* Ensure it stays on the right */
        }

        .logo:hover {
            transform: translateY(-2px);
        }

        .logo svg {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            box-shadow: 0 4px 16px #6366f1cc, 0 2px 8px #f59e0b88;
            display: block;
            transition: transform 0.35s cubic-bezier(.4,1.6,.4,1), box-shadow 0.3s, filter 0.3s;
        }
        .logo:hover svg {
            transform: rotate(-18deg) scale(1.12);
            box-shadow: 0 12px 40px -4px #6366f1cc, 0 6px 20px -2px #f59e0b88;
            filter: brightness(1.15);
        }

        .logo svg rect {
            fill: url(#elinomEGrad);
        }

        .logo svg text {
            fill: #fff;
            font-size: 2.1rem;
            font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
            font-weight: 900;
            dominant-baseline: middle;
            text-shadow: 0 2px 8px #6366f1cc;
        }

        .logo:hover {
            filter: drop-shadow(0 4px 24px #6366f1cc) brightness(1.15);
            text-shadow: 0 2px 16px #6366f1cc, 0 1px 0 #fff;
        }

        .nav-menu {
            display: flex;
            align-items: center;
          justify-content: flex-start;
          gap: 1rem;
            margin: 0;
            padding: 0;
            list-style: none;
            flex: 1 1 auto; /* let menu use available space between logo and actions */
            min-width: 0;
            order: 0; /* Reset order */
            overflow: visible; /* must be visible so dropdowns are not clipped */
        }

        .nav-link {
            text-decoration: none;
            color: rgba(255, 255, 255, 0.85);
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 2px 3px;
            position: relative;
            border-radius: 8px;
            letter-spacing: 0.1px;
            white-space: nowrap;
        }
        .nav-link i { font-size: 0.48rem; }

        .nav-link:hover {
            color: #ffffff;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(56, 189, 248, 0.2));
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
        }


        /* Dropdown triggers now share car-mart-btn; only override hover lift */
        .nav-dropdown > a.car-mart-btn.nav-dropdown-trigger:hover,
        .nav-dropdown:hover > a.car-mart-btn.nav-dropdown-trigger {
            transform: none;
            box-shadow: none;
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
            color: #fff !important;
        }

        .nav-link.home-btn i {
            font-size: 1rem;
            color: #38bdf8;
            filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
        }
        
        .nav-link.home-btn span {
            font-size: 0.55rem;
            color: #38bdf8;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6));
        }
        
        .nav-link.home-btn:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 0 30px rgba(56, 189, 248, 0.6), inset 0 0 20px rgba(56, 189, 248, 0.2);
            background: radial-gradient(circle, #1a2942 0%, #0a0f1a 100%);
        }
        
        .nav-link.home-btn:hover i {
            filter: drop-shadow(0 0 10px rgba(56, 189, 248, 1));
        }
        
        .nav-link.home-btn:hover span {
            filter: drop-shadow(0 0 8px rgba(56, 189, 248, 1));
        }
        
        .nav-link.home-btn::before,
        .nav-link.home-btn::after {
            display: none !important;
        }

        /* Ensure consistent order in right-side action group */
        .nav-actions-group > .cta-button {
            order: 0;
        }
        .nav-actions-group > .nav-search-bar {
            order: 1;
        }
        .nav-actions-group > .nav-auth-buttons {
            order: 2;
        }
        /* Language selector MUST be the last item on the extreme right */
        .nav-actions-group > .nav-dropdown {
            order: 3;
        }
        
        .navbar .nav-link.active:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn),
        .navbar .nav-menu li:first-child .nav-link:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn) {
            color: #1a2942;
            background: transparent;
            font-weight: 700;
            position: relative;
            z-index: 1;
        }
        
        .navbar .nav-link.active:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn)::before,
        .navbar .nav-menu li:first-child .nav-link:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn)::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #f59e0b, #fbbf24);
            transform: skewX(-20deg);
            border-radius: 6px;
            z-index: -1;
            box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
        }
        
        .navbar .nav-link.active:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn):hover,
        .navbar .nav-menu li:first-child .nav-link:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn):hover {
            transform: translateY(-2px);
        }
        
        .navbar .nav-link.active:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn):hover::before,
        .navbar .nav-menu li:first-child .nav-link:not(.home-btn):not(.car-mart-btn):not(.nav-dropdown-trigger):not(#solutionsBtn):hover::before {
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 14px;
            right: 14px;
            height: 2px;
            background: linear-gradient(90deg, #f59e0b, #38bdf8);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-link:hover::after {
            transform: scaleX(1);
        }
        
        .nav-link.active::after,
        .nav-menu li:first-child .nav-link::after {
            display: none;
        }

        #productBtn::after {
          content: '▼';
          display: inline-block !important;
          position: relative;
          bottom: auto;
          left: auto;
          right: auto;
          height: auto;
          width: auto;
          margin-left: 6px;
          font-size: 0.6rem;
          color: #f59e0b;
          background: none;
          transform: none;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        /* Dropdown Menu Styles */
        .nav-dropdown {
            position: relative;
            display: inline-block;
            z-index: 100;
        }

        .nav-dropdown > a {
          padding-right: 0;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-dropdown > a::after {
            content: '▼';
            font-size: 0.6rem;
            margin-left: 6px;
          color: #f59e0b;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            width: auto;
            height: auto;
            background: none;
            display: inline-block;
            bottom: auto;
            left: auto;
            right: auto;
            height: auto;
            transform: none;
            transform-origin: none;
        }

        .nav-dropdown:hover > a {
            color: #fff;
        }

        /* Rotate the ▼ indicator arrow to ▲ when dropdown is open */
        .nav-dropdown:hover > a::after {
            transform: rotate(180deg);
        }

        /* Neutralize gradient hover background on ALL dropdown trigger button types */
        .nav-dropdown > a:hover,
        .nav-dropdown:hover > a {
            background: rgba(255, 255, 255, 0.05) !important;
            box-shadow: none !important;
            transform: none !important;
            border-color: rgba(255, 255, 255, 0.1) !important;
        }
        /* Suppress login-btn sweep-shine animation on dropdown triggers */
        .nav-dropdown > a.login-btn::before,
        .nav-dropdown:hover > a.login-btn::before {
            display: none !important;
        }

        .nav-dropdown > a .fa-chevron-down {
          color: #f59e0b;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #1a2942 0%, #0f172a 100%);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            list-style: none;
            padding: 8px 0;
            margin-top: 8px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
            min-width: 200px;
            max-height: 180px;
            overflow-y: auto;
            overscroll-behavior: contain;
            z-index: 2000;
        }
        
        /* Custom scrollbar for dropdown */
        .dropdown-menu::-webkit-scrollbar {
            width: 6px;
        }
        
        .dropdown-menu::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 3px;
        }
        
        .dropdown-menu::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.5);
            border-radius: 3px;
        }
        
        .dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.7);
        }

        .dropdown-menu.active {
            display: block;
            animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .nav-dropdown:hover .dropdown-menu {
            display: block;
        }

        /* ── Financial Services / any nav-menu dropdown: global fixes ── */
        #navbar .nav-menu { overflow: visible !important; }
        #navbar .nav-menu > li.nav-dropdown { position: relative !important; }
        #navbar .nav-menu > li.nav-dropdown > .dropdown-menu {
            margin-top: 0 !important;
            top: calc(100% + 4px) !important;
            left: 0 !important;
            transform: none !important;
            z-index: 999999 !important;
            pointer-events: auto !important;
        }
        /* Invisible bridge so menu doesn't close when cursor moves from button to menu */
        #navbar .nav-menu > li.nav-dropdown > .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -8px; left: 0; right: 0;
            height: 8px;
            background: transparent;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .dropdown-menu li {
            margin: 0;
            list-style: none;
            width: 100%;
        }

        .dropdown-menu a {
            display: block;
            padding: 8px 16px;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            white-space: nowrap;
            transition: all 0.2s ease;
            position: relative;
        }

        .dropdown-menu a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%) scaleY(0);
            height: 18px;
            width: 3px;
            background: #f59e0b;
            border-radius: 0 4px 4px 0;
            transition: transform 0.2s ease;
        }

        .dropdown-menu a:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #f59e0b;
            padding-left: 25px;
        }

        .dropdown-menu a:hover::before {
            transform: translateY(-50%) scaleY(1);
        }

        /* Fix positioning for right-side dropdowns */
        .nav-menu > li:last-child .dropdown-menu,
        .nav-dropdown:last-child .dropdown-menu,
        .nav-actions-group .nav-dropdown .dropdown-menu {
            left: auto;
            right: 0;
            transform: none;
            animation: slideDownRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 9999;
        }
        
        /* Ensure the nav-actions-group dropdown doesn't overlap other elements */
        .nav-actions-group .nav-dropdown {
            position: relative;
            z-index: 1000;
        }
        
        .nav-actions-group .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            left: auto;
            margin-top: 4px;
            min-width: 160px;
            max-height: 180px;
            overflow-y: auto;
            overscroll-behavior: contain;
        }

        @keyframes slideDownRight {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .dropdown-menu a:hover {
            background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.1));
            color: #f59e0b;
            padding-left: 36px;
            box-shadow: inset 4px 0 0 #f59e0b;
        }

        .dropdown-menu a:first-child {
            border-radius: 10px 10px 4px 4px;
            margin-top: 4px;
        }

        .dropdown-menu a:last-child {
            border-radius: 4px 4px 10px 10px;
            margin-bottom: 4px;
        }

        .dropdown-menu li:not(:last-child) a {
            border-bottom: 1px solid rgba(99, 102, 241, 0.08);
        }

        .cta-button {
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            background-size: 100% 100%;
            color: #fff;
            padding: 10px 20px;
            border-radius: 99px;
            font-weight: 700;
            font-size: 0.95rem;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
            border: none;
            outline: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-left: 18px;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            animation: none;
        }
        
        @keyframes ctaGlow {
            0% {
                box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
            }
            50% {
                box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
            }
            100% {
                box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
            }
        }

        .cta-button:hover {
            background: linear-gradient(135deg, #fbbf24, #f87171);
            box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
            transform: translateY(-2px);
        }
        
        .cta-button:active {
            transform: translateY(-1px);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #ffffff;
        }

                /* Small Search Bar Styles - Dark Theme */
                .nav-search-bar {
                    display: flex;
                    align-items: center;
                    margin-left: 0; /* let language dropdown own the far-right */
                    position: relative;
                    min-width: auto;
                    max-width: 440px;
                    width: auto;
                    flex-shrink: 1;
                    order: 0;
                }
        .nav-search-input {
          padding: 8px 36px 8px 14px;
          border-radius: 20px;
          border: 2px solid rgba(255, 255, 255, 0.35);
          background: rgba(255, 255, 255, 0.08);
          font-size: 0.95rem;
          transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
          outline: none;
          width: 360px;
          color: #ffffff;
          font-weight: 500;
          letter-spacing: 0.3px;
        }
        .nav-search-input::placeholder {
          color: rgba(255, 255, 255, 0.5);
        }
        .nav-search-input:hover {
          border-color: rgba(255, 255, 255, 0.5);
          background: rgba(255, 255, 255, 0.12);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        .nav-search-input:focus {
          border-color: #f59e0b;
          background: rgba(255, 255, 255, 0.15);
          box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2), inset 0 0 0 1px rgba(245, 158, 11, 0.1);
          width: 420px;
        }
        .nav-search-icon {
          position: absolute;
          right: 10px;
          top: 50%;
          transform: translateY(-50%);
          color: rgba(255, 255, 255, 0.7);
          font-size: 0.9rem;
          pointer-events: none;
          transition: transform 0.3s ease;
        }
        .nav-search-input:focus ~ .nav-search-icon {
          transform: translateY(-50%) scale(1.1);
        }

        /* Navigation Language Dropdown */
        .nav-lang-dropdown {
          order: 2;
          flex-shrink: 0;
        }

        /* Navigation Auth Buttons */
        .nav-auth-buttons {
          display: flex !important;
          align-items: center;
          gap: 12px;
          margin-left: 16px;
          flex-shrink: 0;
          order: 4;
          z-index: 50;
          visibility: visible;
        }

        /* Login Button Styles */
        .login-btn {
          display: inline-flex !important;
          align-items: center;
          justify-content: center;
          padding: 4px 10px !important;
          border-radius: 5px !important;
          border: 1px solid rgba(255, 255, 255, 0.2) !important;
          color: #ffffff !important;
          font-weight: 600 !important;
          text-decoration: none !important;
          background: rgba(255, 255, 255, 0.08) !important;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          white-space: nowrap;
          flex-shrink: 0;
          font-size: 0.65rem;
          letter-spacing: 0.2px;
          cursor: pointer;
          position: relative;
          overflow: hidden;
          z-index: 51;
          visibility: visible;
        }

        .login-btn::before {
          content: '';
          position: absolute;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
          transition: left 0.5s ease;
        }

        .login-btn:hover {
          border-color: #f59e0b !important;
          background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.15)) !important;
          box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25) !important;
          transform: translateY(-2px);
          color: #fbbf24 !important;
        }

        .login-btn:hover::before {
          left: 100%;
        }

        .login-btn:active {
          transform: translateY(-1px);
        }

        #createAccountBtn {
          background: linear-gradient(135deg, #f97316, #ef4444) !important;
          border: none !important;
          box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
        }
        #createAccountBtn:hover {
          background: linear-gradient(135deg, #ea580c, #dc2626) !important;
          box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4) !important;
          color: #fff !important;
        }

        /* Create Account button styling */
        #createAccountBtn {
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          padding: 8px 18px !important;
          border-radius: 8px !important;
          font-weight: 600 !important;
          font-size: 0.85rem !important;
          white-space: nowrap !important;
          text-decoration: none !important;
          cursor: pointer !important;
        }

        /* Solutions dropdown trigger: same size as before, neutral nav color */
        .solutions-btn {
          background: rgba(255, 255, 255, 0.05) !important;
          border: 1px solid rgba(255, 255, 255, 0.1) !important;
          box-shadow: none !important;
          color: rgba(255, 255, 255, 0.9) !important;
          padding: 0 !important;
          border-radius: 99px !important;
          font-size: 0.85rem !important;
        }
        .solutions-btn:hover {
          background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
          border-color: transparent !important;
          box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
          color: #ffffff !important;
        }
        .nav-dropdown > .solutions-btn:hover {
          background: rgba(255, 255, 255, 0.05) !important;
          border-color: rgba(255, 255, 255, 0.1) !important;
          box-shadow: none !important;
          color: #fff !important;
        }

        @media (max-width: 1100px) {
            .nav-menu { gap: 0.5rem; }
            .cta-button.enhanced-cta-btn.get-started-animated { padding: 10px 18px; font-size: 1rem; }
            .logo.enhanced-logo { font-size: 1.2rem; }
            .logo-icon.enhanced-logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
            .nav-auth-buttons { display: flex !important; }
        }
        @media (max-width: 900px) {
          .nav-lang-dropdown { display: none; }
          .nav-search-bar { min-width: auto; max-width: 120px; }
          .nav-menu { gap: 0.4rem; }
          .nav-auth-buttons { display: flex !important; }
        }
        @media (max-width: 700px) {
            .nav-container { flex-wrap: nowrap !important; gap: 0.2rem; }
            .logo.enhanced-logo { font-size: 1rem; }
            .logo-icon.enhanced-logo-icon { width: 28px; height: 28px; font-size: 0.9rem; }
            .nav-auth-buttons { display: flex !important; }
            .login-btn { padding: 5px 12px !important; font-size: 0.72rem; }
        }
        
        /* Mobile Menu Slide-Out Drawer */
        @media (max-width: 900px) {
            /* ── Hide util-bar on mobile ── */
            #util-bar { display: none !important; }

            .mobile-menu-btn {
                display: flex !important;
                align-items: center;
                justify-content: center;
                width: 44px;
                height: 44px;
                border-radius: 8px;
                background: rgba(255, 255, 255, 0.08);
                border: 1px solid rgba(255, 255, 255, 0.15);
                color: #ffffff;
                font-size: 1.4rem;
                cursor: pointer;
                transition: all 0.3s ease;
                flex-shrink: 0;
            }
            
            .mobile-menu-btn:hover {
                background: rgba(245, 158, 11, 0.2);
                border-color: #f59e0b;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                left: -300px;
                width: 280px;
                height: 100vh;
                background: linear-gradient(180deg, #1a2942 0%, #0f172a 100%);
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                padding: 80px 20px 120px 20px;
                gap: 0;
                z-index: 99998;
                transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
                overflow-y: auto;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            }
            
            .nav-menu .nav-link {
                display: block;
                width: 100%;
                padding: 16px 20px;
                font-size: 1rem;
                border-radius: 0;
            }
            
            .nav-menu .nav-link.active:not(.nav-dropdown-trigger),
            .nav-menu li:first-child .nav-link:not(.nav-dropdown-trigger) {
                background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), transparent);
                border-left: 4px solid #f59e0b;
                border-radius: 0;
                color: #f59e0b;
            }
            
            .nav-menu .nav-link:hover {
                background: rgba(255, 255, 255, 0.05);
                padding-left: 24px;
            }

            /* ── Mega-dropdown overflow fix ── */
            .nav-menu .dropdown-menu {
                position: static !important;
                min-width: unset !important;
                max-width: 100% !important;
                width: 100% !important;
                max-height: 60vh;
                overflow-y: auto;
                box-shadow: none !important;
                border-radius: 8px !important;
                margin-top: 4px;
                transform: none !important;
                left: auto !important;
            }
            .nav-menu .dropdown-menu .dropdown-columns {
                flex-direction: column !important;
                gap: 0 !important;
            }
            .nav-menu .dropdown-menu .dropdown-column {
                min-width: unset !important;
                width: 100% !important;
                padding: 0 !important;
                border: none !important;
            }

            /* ── Nav-actions-group: hidden until drawer opens ── */
            .nav-actions-group {
                position: fixed !important;
                bottom: 0 !important;
                left: -300px !important;
                top: auto !important;
                width: 280px !important;
                margin: 0 !important;
                padding: 16px 20px !important;
                background: linear-gradient(180deg, rgba(15,23,42,0.95), #0f172a) !important;
                border-top: 1px solid rgba(255,255,255,0.1);
                display: flex !important;
                flex-wrap: wrap !important;
                justify-content: center !important;
                align-items: center !important;
                gap: 10px !important;
                z-index: 99999;
                transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                visibility: hidden;
            }
            .nav-menu.active ~ .nav-actions-group {
                left: 0 !important;
                visibility: visible;
            }
            /* Ensure action items fit inside drawer bottom bar */
            .nav-actions-group .login-btn,
            .nav-actions-group .util-btn,
            .nav-actions-group .cta-button {
                padding: 10px 16px !important;
                font-size: 0.9rem !important;
                white-space: nowrap;
            }
            .nav-actions-group .nav-dropdown {
                flex-shrink: 0;
                z-index: auto !important;
            }
            .nav-actions-group .nav-dropdown .dropdown-menu {
                z-index: auto !important;
            }
            
            .nav-search-bar {
                display: none;
            }
            
            .cta-button.get-started-animated {
                padding: 8px 14px !important;
                font-size: 0.85rem !important;
            }

            /* ── Nav-container: single row, no wrap ── */
            .nav-container {
                flex-wrap: nowrap !important;
                gap: 8px;
            }
        }

        /* Hero Section */
    .hero {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
      color: white;
      /* further reduced vertical padding to tighten hero height */
      padding: 6px 0 8px;
      position: relative;
      overflow: hidden;
      border-radius: 0 0 28px 28px;
      box-shadow: 0 6px 20px -6px var(--primary-light), 0 2px 14px -6px var(--secondary);
      /* lower min-height */
      min-height: 100px;
      animation: heroGlow 6s ease-in-out infinite alternate;
    }
    .hero::after {
      content: '';
      position: absolute;
      left: 50%;
      /* bring decorative glow closer to the hero bottom */
      bottom: -20px;
      transform: translateX(-50%);
      width: 80vw;
      height: 60px;
      background: radial-gradient(ellipse at center, rgba(16,185,129,0.12) 0%, rgba(37,99,235,0.04) 100%);
      z-index: 1;
      pointer-events: none;
    }
        @keyframes heroGlow {
          0% { box-shadow: 0 12px 48px -12px var(--primary-light), 0 2px 24px -8px var(--secondary); }
          100% { box-shadow: 0 24px 64px -16px var(--accent), 0 4px 32px -10px var(--primary); }
        }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 700px;
      /* reduce upward overlap to tighten overall hero height */
      margin: -6px auto 0 auto;
      padding: 10px 12px 8px 12px;
      background: rgba(255,255,255,0.10);
      border-radius: 16px;
      box-shadow: 0 2px 10px -8px var(--primary-light);
      backdrop-filter: blur(4px) saturate(120%);
      min-height: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
        .hero-content .hero-marquee-container {
            margin-bottom: 0.5rem !important;
        }
        .animated-hero-title {
            font-size: 3.2rem;
            font-weight: 900;
            margin-bottom: 1.2rem;
            line-height: 1.15;
            letter-spacing: 1px;
            text-shadow: 0 4px 24px rgba(37,99,235,0.18), 0 1px 0 #fff;
            background: linear-gradient(90deg, #38bdf8, #6366f1, #f472b6, #f59e0b, #38bdf8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .animated-hero-sub.hero-entrance-message {
            font-size: 1.25rem;
            color: #e0f2fe;
            font-weight: 600;
            background: linear-gradient(90deg, #38bdf8 10%, #6366f1 60%, #f472b6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 2px 12px #6366f1cc, 0 1px 0 #fff;
            margin-bottom: 0.7rem;
            min-height: 0;
            padding: 0 0.5rem;
            letter-spacing: 0.2px;
            line-height: 1.5;
            border-radius: 8px;
            animation: fadeInUp 1s cubic-bezier(.4,0,.2,1);
        }
        .hero-buttons.animated-hero-btns {
            margin-top: 0.2rem;
            gap: 0.7rem;
        }
        .hero-buttons .btn-primary {
            font-size: 1.1rem;
            padding: 16px 38px;
            border-radius: 10px;
            background: var(--gradient-accent);
            color: #fff;
            font-weight: 700;
            box-shadow: 0 4px 16px -4px var(--primary-light), 0 2px 8px -4px var(--secondary);
      animation: gradientMove 3s ease-in-out infinite;
    }
    /* LIVE badge (improved) */
    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(90deg,#ef4444,#f97316);
      color: #fff;
      font-weight: 900;
      padding: 8px 12px;
      border-radius: 14px;
      margin: 0 10px 0 8px;
      font-size: 0.85rem;
      vertical-align: middle;
      box-shadow: 0 10px 30px rgba(239,68,68,0.14);
      letter-spacing: 0.6px;
    }
    .live-badge .live-dot {
      width:10px; height:10px; border-radius:50%; background:#fff; box-shadow:0 0 12px rgba(239,68,68,0.6); display:inline-block; position:relative;
    }
    .live-badge .live-dot::after{ content:''; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:10px; height:10px; border-radius:50%; background:#ef4444; animation: liveDotPulse 1s ease-in-out infinite; }
    @keyframes liveDotPulse { 0% { transform:translate(-50%,-50%) scale(1); opacity:1 } 50% { transform:translate(-50%,-50%) scale(0.7); opacity:0.5 } 100% { transform:translate(-50%,-50%) scale(1); opacity:1 } }

    /* Brand style for inline Elinom text */
    .brand-style {
      background: linear-gradient(90deg,#6366f1,#38bdf8,#f472b6);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 900;
      text-shadow: 0 2px 12px rgba(99,102,241,0.15);
      font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    }

    /* BI animated text */
    .bi-animate {
      font-weight:900;
      background: linear-gradient(90deg,#60a5fa,#7c3aed,#f97316,#60a5fa);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: biShift 4s linear infinite;
      text-shadow: 0 6px 20px rgba(96,165,250,0.12);
    }
    @keyframes biShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
        .hero-buttons .btn-primary {
            transition: background-position 0.4s, box-shadow 0.3s, transform 0.3s;
        }
        .hero-buttons .btn-primary:hover {
            background-position: right center;
            box-shadow: 0 8px 32px -8px var(--accent), var(--shadow-lg);
            transform: translateY(-3px) scale(1.04);
        }
        .hero-buttons .btn-secondary {
            font-size: 1.1rem;
            padding: 16px 38px;
            border-radius: 10px;
            background: rgba(255,255,255,0.12);
            color: #fff;
            border: 2px solid rgba(255,255,255,0.18);
            font-weight: 700;
            box-shadow: 0 2px 8px -4px var(--primary-light);
            transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
        }
        .hero-buttons .btn-secondary:hover {
            background: rgba(255,255,255,0.22);
            box-shadow: 0 4px 16px -4px var(--primary-light);
            transform: translateY(-2px) scale(1.03);
        }

        /* Stats Section */
        .stats {
            background: var(--white);
            padding: 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0;
            text-align: center;
        }

        .stat-item {
            animation: fadeInUp 0.8s ease-out;
            margin: 0;
            padding: 0;
        }

        .stat-number {
            font-size: 2.1rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0;
            display: block;
        }

        .stat-label {
            font-size: 0.85rem;
            margin: 0;
            color: var(--gray);
            font-weight: 500;
        }

        /* Featues Section */
        .features {
            padding: 60px 0;
            background: var(--gray-light);
        }

        .section-header {
            text-align: center;
            margin-bottom: 2rem !important;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: white;
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid #e2e8f0;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: white;
        }

        .feature-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .feature-card p {
            color: var(--gray);
            line-height: 1.7;
        }

        /* Solutions Section */
    .solutions {
      padding: 60px 0;
      background: white;
      position: relative;
    }

    .solutions-inner {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 2rem;
      align-items: start;
    }

    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      margin-top: 1rem;
    }

    .solution-card {
      background: #fff;
      color: var(--dark);
      padding: 0.6rem;
      border-radius: 12px;
      text-align: left;
      transition: transform .22s ease, box-shadow .22s ease;
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(18,24,40,0.04);
    }

    .solution-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(18,24,40,0.08); }

    .solution-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem 0; }
    .solution-card p { margin:0 0 0.75rem 0; color:var(--gray); }

    .solution-card .btn { display:inline-block; padding:6px 10px; border-radius:8px }

    /* Sticky TOC */
    .solutions-toc { position:sticky; top:90px; background:transparent; padding-left:0.5rem }
    .solutions-toc h4 { margin:0 0 0.5rem 0; font-size:0.95rem }
    .solutions-toc ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
    .solutions-toc a{display:block;padding:8px 10px;border-radius:8px;color:var(--dark);background:linear-gradient(180deg,#fff,#fafafa);border:1px solid #efefef;text-decoration:none}
    .solutions-toc a.active{background:linear-gradient(90deg,#1e90ff,#00c6ff);color:#fff}

    /* Fullscreen modal */
    .embed-modal { position:fixed;inset:0;background:rgba(6,10,22,0.6);display:none;align-items:center;justify-content:center;z-index:1200 }
    .embed-modal.open{display:flex}
    .embed-modal .content{width:92%;max-width:1200px;height:86%;background:#fff;border-radius:12px;overflow:hidden;position:relative}
    .embed-modal .close{position:absolute;right:12px;top:12px;background:#fff;border-radius:6px;padding:8px;cursor:pointer;box-shadow:0 4px 8px rgba(0,0,0,0.08)}

        /* About Section */
        .about {
            padding: 60px 0;
            background: var(--gray-light);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .about-image {
            background: var(--gradient);
            border-radius: 16px;
            padding: 3rem;
            text-align: center;
            color: white;
        }

        .about-image h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        /* Team Section */
        .team {
            padding: 60px 0;
            background: white;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 1.5rem;
        }

        .team-card {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .team-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .team-avatar {
            width: 100px;
            height: 100px;
            background: var(--gradient);
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            font-weight: 700;
        }

        .team-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .team-card .role {
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .team-card p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        /* Contact Section */
        .contact {
            padding: 60px 0;
            background: var(--dark);
            color: white;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .contact-info h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .contact-info p {
            font-size: 1.1rem;
            opacity: 0.8;
            margin-bottom: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .contact-form {
            background: var(--dark-light);
            padding: 2.5rem;
            border-radius: 16px;
            border: 1px solid #334155;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid #475569;
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            height: 120px;
        }

        .form-group select option {
            background: var(--dark-light);
            color: white;
        }

        /* ===== FOOTER ===== */
        .footer {
          background: linear-gradient(180deg, #0d1526 0%, #0a0f1e 100%);
          color: #cbd5e1;
          border-top: 3px solid #3b82f6;
          padding: 0;
          position: relative;
        }

        /* Top brand bar */
        .footer-brand-bar {
          background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
          padding: 1.4rem 3rem 1.2rem;
          display: flex;
          align-items: center;
          justify-content: space-between;
          flex-wrap: wrap;
          gap: 1.5rem;
          border-bottom: 1px solid rgba(59,130,246,0.2);
        }
        .footer-brand-bar .brand-identity {
          display: flex;
          align-items: center;
          gap: 1rem;
        }
        .footer-brand-bar .brand-logo-circle {
          width: 52px;
          height: 52px;
          border-radius: 14px;
          background: linear-gradient(135deg, #3b82f6, #6366f1);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 1.5rem;
          font-weight: 800;
          color: #fff;
          flex-shrink: 0;
        }
        .footer-brand-bar .brand-name-text {
          font-size: 1.45rem;
          font-weight: 800;
          color: #fff;
          letter-spacing: -0.3px;
        }
        .footer-brand-bar .brand-tagline-text {
          font-size: 0.82rem;
          color: #94a3b8;
          margin-top: 2px;
        }
        .footer-brand-bar .footer-social-row {
          display: flex;
          align-items: center;
          gap: 0.75rem;
        }
        .footer-brand-bar .footer-social-row a {
          width: 38px;
          height: 38px;
          border-radius: 10px;
          background: rgba(255,255,255,0.07);
          display: flex;
          align-items: center;
          justify-content: center;
          color: #94a3b8;
          font-size: 1rem;
          transition: background 0.2s, color 0.2s, transform 0.2s;
          text-decoration: none;
        }
        .footer-brand-bar .footer-social-row a:hover {
          background: #3b82f6;
          color: #fff;
          transform: translateY(-2px);
        }

        /* Main columns */
        .footer-content {
          display: grid;
          grid-template-columns: 2fr 1fr 1fr 1fr;
          gap: 2rem;
          padding: 2rem 3rem 1.8rem;
        }
        @media (max-width: 1100px) {
          .footer-content { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 600px) {
          .footer-content { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
          .footer-brand-bar { padding: 1.5rem; }
        }

        .footer-section h4 {
          font-size: 0.78rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 1.2px;
          color: #3b82f6;
          margin-bottom: 1.2rem;
          padding-bottom: 0.6rem;
          border-bottom: 1px solid rgba(59,130,246,0.2);
        }
        .footer-section h3 {
          font-size: 0.78rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 1.2px;
          color: #3b82f6;
          margin-bottom: 1.2rem;
          padding-bottom: 0.6rem;
          border-bottom: 1px solid rgba(59,130,246,0.2);
        }
        .footer-section p,
        .footer-section a,
        .footer-section span {
          color: #94a3b8;
          text-decoration: none;
          line-height: 1.9;
          display: block;
          font-size: 0.9rem;
          transition: color 0.2s;
        }
        .footer-section a:hover,
        .footer-section span:hover {
          color: #e2e8f0;
        }
        .footer-section .footer-desc {
          color: #64748b;
          font-size: 0.88rem;
          line-height: 1.7;
          margin-bottom: 1.2rem;
        }

        /* Office cards */
        .footer-offices {
          display: flex;
          flex-direction: column;
          gap: 1rem;
        }
        .footer-office-card {
          background: rgba(255,255,255,0.04);
          border: 1px solid rgba(255,255,255,0.07);
          border-radius: 10px;
          padding: 0.85rem 1rem;
          display: flex;
          gap: 0.75rem;
          align-items: flex-start;
          transition: background 0.2s;
        }
        .footer-office-card:hover {
          background: rgba(59,130,246,0.08);
        }
        .footer-office-card .office-flag {
          font-size: 1.4rem;
          flex-shrink: 0;
          line-height: 1;
          margin-top: 1px;
        }
        .footer-office-card .office-info { flex: 1; }
        .footer-office-card .office-country {
          font-size: 0.78rem;
          font-weight: 700;
          color: #e2e8f0;
          text-transform: uppercase;
          letter-spacing: 0.6px;
          margin-bottom: 0.15rem;
        }
        .footer-office-card .office-city {
          font-size: 0.82rem;
          color: #94a3b8;
          margin-bottom: 0.25rem;
        }
        .footer-office-card .office-phone {
          font-size: 0.82rem;
          color: #60a5fa;
          font-weight: 600;
          text-decoration: none;
          display: flex;
          align-items: center;
          gap: 4px;
        }
        .footer-office-card .office-phone:hover { color: #93c5fd; }

        /* Bottom bar */
        .footer-bottom {
          background: rgba(0,0,0,0.3);
          padding: 1.4rem 3rem;
          display: flex;
          align-items: center;
          justify-content: space-between;
          flex-wrap: wrap;
          gap: 1rem;
          border-top: 1px solid rgba(255,255,255,0.06);
        }
        .footer-bottom .footer-legal {
          font-size: 0.83rem;
          color: #475569;
        }
        .footer-bottom .footer-legal a {
          color: #64748b;
          text-decoration: none;
          margin: 0 0.4rem;
          transition: color 0.2s;
        }
        .footer-bottom .footer-legal a:hover { color: #94a3b8; }
        .footer-bottom .footer-cert {
          display: flex;
          align-items: center;
          gap: 0.6rem;
          font-size: 0.78rem;
          color: #475569;
        }
        .footer-bottom .footer-cert span {
          background: rgba(59,130,246,0.12);
          border: 1px solid rgba(59,130,246,0.25);
          color: #60a5fa;
          padding: 2px 8px;
          border-radius: 4px;
          font-size: 0.72rem;
          font-weight: 600;
          letter-spacing: 0.4px;
        }

        .footer-social {
          margin-bottom: 1.2rem;
        }
        .footer-social-icon {
          margin: 0 8px;
          display: inline-block;
          color: #6366f1;
          font-size: 1.5rem;
          transition: color 0.2s;
        }
        .footer-social-icon:hover {
          color: var(--primary);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes heroTitleIn {
          to {
            opacity: 1;
            transform: translateY(0) scale(1);
          }
        }

        @keyframes heroSubIn {
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }

        @keyframes heroBtnsIn {
          to {
            opacity: 1;
            transform: scale(1);
          }
        }

        /* --- Animated Hero Video Background and Pulse Rings --- */
    .animated-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
        top: 0; left: 0;
        pointer-events: none;
    }
    .particle {
        position: absolute;
        background: linear-gradient(45deg, #00d4ff, #0099cc);
        border-radius: 50%;
        opacity: 0.6;
        animation: float 6s infinite ease-in-out;
    }
    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
        50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
    }
    .pulse-ring {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
        border: 2px solid rgba(0, 212, 255, 0.3);
        border-radius: 50%;
        animation: pulse 4s infinite;
        z-index: 2;
        pointer-events: none;
    }
    .pulse-ring:nth-child(2) {
        animation-delay: 1s;
        width: 400px;
        height: 400px;
    }
    .pulse-ring:nth-child(3) {
        animation-delay: 2s;
        width: 500px;
        height: 500px;
    }
    @keyframes pulse {
        0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
        100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
    }
    @keyframes heroMarqueeGradient {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    @media (max-width: 768px) {
        .pulse-ring { width: 180px; height: 180px; }
        .pulse-ring:nth-child(2) { width: 260px; height: 260px; }
        .pulse-ring:nth-child(3) { width: 340px; height: 340px; }
    }

    /* === DARK MODE TOGGLE === */
.dark-mode-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 24px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px #6366f11a;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
  margin-left: 18px;
}
.dark-mode-toggle .toggle-icon {
  font-size: 1.3em;
  transition: transform 0.3s;
}
.dark-mode-toggle.active {
  background: rgba(30,41,59,0.85);
  color: #f1f5f9;
}

body.dark-mode {
  background: #181f2a;
  color: #f1f5f9;
}

/* Navbar is already dark - no overrides needed for dark mode */
body.dark-mode .enhanced-logo-icon {
  background: linear-gradient(135deg,#6366f1,#38bdf8,#f472b6,#f59e0b);
}
body.dark-mode .enhanced-logo span {
  filter: drop-shadow(0 2px 8px #6366f1cc);
}
body.dark-mode .cta-button,
body.dark-mode .enhanced-cta-btn {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
body.dark-mode .testimonials-section {
  background: linear-gradient(135deg,#181f2a 60%,#334155 100%);
}
body.dark-mode .strategy-card, body.dark-mode .why-card, body.dark-mode .glass-card {
  background: rgba(30,41,59,0.85) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 2px 12px #0f172a44;
}
body.dark-mode .footer {
  background: #181f2a;
  color: #f1f5f9;
}
body.dark-mode .footer a {
  color: #38bdf8;
}
body.dark-mode .nav-search-bar {
  background: rgba(30,41,59,0.7);
}
body.dark-mode .progress-bar {
  background: linear-gradient(90deg,#6366f1,#38bdf8,#f472b6,#f59e0b);
}
body.dark-mode .live-chat-window {
  background: rgba(30,41,59,0.95);
  color: #f1f5f9;
}
body.dark-mode .live-chat-header {
  background: linear-gradient(90deg,#6366f1,#38bdf8);
  color: #fff;
}
body.dark-mode .live-chat-input {
  background: rgba(30,41,59,0.7);
  color: #f1f5f9;
}
/* Chat bubble styles */
.elinom-chat-message { margin:6px 0; display:flex; }
.elinom-chat-message.user { justify-content:flex-end; }
.elinom-chat-message .chat-bubble { display:inline-block; padding:8px 16px; border-radius:12px; max-width:80%; font-weight:500; background:#f1f5f9; color:#111827; }
.elinom-chat-message.user .chat-bubble { background:#6366f1; color:#fff; }
body.dark-mode .elinom-chat-message .chat-bubble { background: rgba(255,255,255,0.06); color: #f1f5f9; }
body.dark-mode .elinom-chat-message.user .chat-bubble { background:#4f46e5; color:#fff; }
/* Ensure chat widget defaults to dark styling for immediate visibility */
#elinom-chat-body { background: #0f172a; color: #f1f5f9; border-radius: 0 0 16px 16px; box-shadow: 0 8px 32px -8px #6366f1cc; padding: 16px; width: 340px; max-width: 90vw; }
#elinom-chat-header { background: linear-gradient(90deg,#6366f1,#38bdf8,#f472b6); color: #fff; padding: 12px 18px; border-radius: 16px 16px 0 0; box-shadow: 0 2px 8px rgba(99,102,241,0.08); cursor: pointer; display:flex; align-items:center; gap:10px; }
#elinom-chat-input, #elinom-chat-input:focus { background: rgba(255,255,255,0.03); color: #f1f5f9; border: 1px solid rgba(255,255,255,0.06); }
body.dark-mode .client-carousel {
  background: rgba(30,41,59,0.7);
}
body.dark-mode .svg-wave path {
  fill: #181f2a;
}

/* Card Hover Effect */
.pc-card {
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pc-card > div {
  transition: transform 0.4s ease;
}
    


/* Car Mart Button Styles - Refined & Reduced */
.car-mart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 !important;
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap !important;
}
.car-mart-btn i {
  color: #f59e0b;
  transition: color 0.3s ease;
}
.car-mart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  border-color: transparent;
  color: white !important;
}
.car-mart-btn:hover i {
  color: #ffffff;
}


/* =========================================
   PREMIUM CAR MART STYLES
   ========================================= */

.car-mart-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  position: relative;
  overflow: hidden;
}

.car-mart-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 20%);
  pointer-events: none;
}

/* Search Bar */
.car-search-bar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 1rem;
  border-radius: 99px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
  flex-wrap: wrap;
}

.search-input-group {
  flex: 2;
  position: relative;
  min-width: 200px;
}

.search-input-group i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.search-input-group input {
  width: 100%;
  border: none;
  background: #f1f5f9;
  padding: 0.8rem 1rem 0.8rem 3rem;
  border-radius: 99px;
  outline: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input-group input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-select {
  flex: 1;
  min-width: 140px;
  border: none;
  background: #f1f5f9;
  padding: 0.8rem 1.5rem;
  border-radius: 99px;
  outline: none;
  font-size: 0.95rem;
  cursor: pointer;
  color: #475569;
}

.search-btn {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 99px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* Categories */
.car-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.cat-pill {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-pill:hover, .cat-pill.active {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Car Grid */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.car-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.car-image-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.car-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image-container img {
  transform: scale(1.08);
}

.car-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.car-badge.new { background: #10b981; }
.car-badge.deal { background: #f59e0b; }

.car-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.car-card:hover .car-overlay {
  opacity: 1;
}

.view-btn {
  background: white;
  color: #0f172a;
  padding: 0.7rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.car-card:hover .view-btn {
  transform: translateY(0);
}

.car-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.car-header-row h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.car-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #6366f1;
}

.car-location {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.2rem;
}

.car-specs {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 0.8rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: #475569;
  gap: 4px;
}

.spec-item i {
  font-size: 1rem;
  color: #38bdf8;
}

.car-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}

.contact-seller-btn {
  flex: 1;
  background: #25D366; /* WhatsApp Green */
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.contact-seller-btn:hover {
  background: #128c7e;
}

.save-btn {
  background: #f1f5f9;
  width: 42px;
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.save-btn:hover {
  background: #ffecf0;
  color: #ec4899;
}

.view-all-cars-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid #e2e8f0;
  border-radius: 99px;
  transition: all 0.3s;
}

.view-all-cars-btn:hover {
  border-color: #0f172a;
  background: #0f172a;
  color: white;
}

@media (max-width: 768px) {
  .car-search-bar {
    flex-direction: column;
    padding: 1rem;
    border-radius: 20px;
    gap: 0.8rem;
  }
  
  .search-input-group, .search-select, .search-btn {
    width: 100%;
  }

  .car-specs {
    padding: 0.8rem 0.5rem;
  }
}


/* =========================================
   CAR MART / MARKETPLACE MODULE STYLES (NEW)
   ========================================= */
.car-mart-section { padding: 4rem 0; background: #f8fafc; }
.expanded-width { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.app-layout-wrapper { display: flex; gap: 2rem; position: relative; }
/* Sidebar Styling */
.sidebar-filters { width: 280px; flex-shrink: 0; background: white; padding: 1.5rem; border-radius: 16px; border: 1px solid #e2e8f0; height: fit-content; position: sticky; top: 100px; }
.filter-section { margin-bottom: 2rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 1.5rem; }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section h3 { font-size: 0.85rem; text-transform: uppercase; color: #64748b; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.05em; }
/* Custom Checkboxes */
.filter-radio { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #334155; cursor: pointer; margin-bottom: 0.75rem; transition: color 0.2s; }
.filter-radio:hover { color: #6366f1; }
/* Range Slider */
.range-slider { width: 100%; -webkit-appearance: none; height: 4px; background: #e2e8f0; border-radius: 5px; outline: none; }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #6366f1; cursor: pointer; transition: transform 0.2s; border: 2px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
/* Main Content */
.main-listings { flex: 1; min-width: 0; }
.listings-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; background: white; padding: 1rem; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); }
.search-wrap input:focus { background: white; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); border-color: #6366f1; }
/* Grid Layout */
.car-grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
/* Card Styling */
.ad-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; position: relative; height: 100%; }
.ad-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); border-color: rgba(99, 102, 241, 0.3); }
.ad-image-container { height: 200px; position: relative; overflow: hidden; }
.ad-image-container img { transition: transform 0.5s ease; width: 100%; height: 100%; object-fit: cover; }
.ad-card:hover .ad-image-container img { transform: scale(1.05); }
.ad-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(4px); border-radius: 99px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 2; }
.ad-price-tag { position: absolute; bottom: 12px; right: 12px; background: white; padding: 6px 14px; border-radius: 10px; font-weight: 800; color: #1e293b; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
/* Responsive */
@media (max-width: 1024px) { .app-layout-wrapper { flex-direction: column; } .sidebar-filters { width: 100%; position: static; order: -1; } }

/* Bright colored badges for ERP Business Unit icons (left nav) */
.sidebar [aria-label="Modules"] .nav-link i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff !important;
  font-size: 18px;
  margin-right: 10px;
  box-shadow: 0 4px 12px rgba(2,6,23,0.2), inset 0 -3px 8px rgba(255,255,255,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  background: linear-gradient(135deg,#60a5fa,#7c3aed); /* default fallback */
}
.sidebar [aria-label="Modules"] .nav-link:hover i { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 26px rgba(2,6,23,0.3); }

/* Explicit per-module colors with increased specificity and !important to ensure application */
.sidebar a[href*="#hr"] i { background: linear-gradient(135deg,#06b6d4,#3b82f6) !important; }
.sidebar a[href*="#crm"] i { background: linear-gradient(135deg,#8b5cf6,#f472b6) !important; }
.sidebar a[href*="#accounting"] i { background: linear-gradient(135deg,#fb923c,#f59e0b) !important; }
.sidebar a[href*="#inventory"] i { background: linear-gradient(135deg,#10b981,#059669) !important; }
.sidebar a[href*="#procurement"] i { background: linear-gradient(135deg,#6366f1,#4f46e5) !important; }
.sidebar a[href*="#school"] i { background: linear-gradient(135deg,#f472b6,#db2777) !important; } /* Pink/Rose */
.sidebar a[href*="#ngo"] i { background: linear-gradient(135deg,#6366f1,#818cf8) !important; } /* Indigo */
.sidebar a[href*="#healthcare"] i { background: linear-gradient(135deg,#ef4444,#b91c1c) !important; } /* Red */
.sidebar a[href*="#hotel"] i { background: linear-gradient(135deg,#f97316,#c2410c) !important; } /* Orange */
.sidebar a[href*="#foodpro"] i { background: linear-gradient(135deg,#0ea5e9,#0284c7) !important; } /* Sky Blue */
.sidebar a[href*="#agropro"] i { background: linear-gradient(135deg,#16a34a,#059669) !important; } /* Green — Agriculture */
.sidebar a[href*="#treasury"] i { background: linear-gradient(135deg,#0e7c61,#10b981) !important; } /* Teal — Treasury */
.sidebar a[href*="#pos"] i { background: linear-gradient(135deg,#84cc16,#3f6212) !important; } /* Lime */
.sidebar a[href*="#inventory?section=overview"] i { background: linear-gradient(135deg,#34d399,#10b981) !important; }
.sidebar a[href*="#procurement?section=overview"] i { background: linear-gradient(135deg,#a78bfa,#f472b6) !important; }

/* Fallback nth-child coloring REMOVED to allow href specific styles to win */
/* .sidebar [aria-label="Modules"] li:nth-child(1) .nav-link i { ... } */


/* Make sure small-screen menu keeps readable contrast */
@media (max-width: 900px) {
  .sidebar [aria-label="Modules"] .nav-link i { width: 40px; height: 40px; font-size: 16px; margin-right: 8px; }
}

/* ── Responsive: Narrow phone (≤ 480px) ─────────────────────── */
@media (max-width: 480px) {
  .hero-section { padding: 2rem 1rem; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .section-title { font-size: 1.3rem; }
  h1 { font-size: 1.5rem; }
  .main-content { padding: 12px; }
}

