<nav class="flex-1 overflow-y-auto py-6 px-3 z-10">
    <div class="space-y-1">
        <!-- Core Management -->
        <div class="px-3 mb-4">
            <p class="sidebar-text text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3">
                Management
            </p>
        </div>

       
            <a href="{{ route('admin.panel') }}" class="flex items-center p-3 menu-item group">
                <i class="fas fa-chart-line w-6 text-center text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Dashboard</span>
            </a>

             @if (auth()->user()->role == 'admin')

            <a href="{{ route('admin.users.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-users w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Users</span>
            </a>

            <a href="{{ route('admin.branches.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-users w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Branches</span>
            </a>


            <a href="{{ route('admin.services.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-cogs w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Services</span>
            </a>

            <a href="{{ route('admin.business-types.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-building w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Business
                    Type</span>
            </a>
            <a href="{{ route('admin.countries.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-building w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Country</span>
            </a>

            <a href="{{ route('admin.business-models.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-chart-line w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Business
                    Model</span>
            </a>

            <a href="{{ route('admin.states.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-map-marker-alt w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">States</span>
            </a>

            <a href="{{ route('admin.packages.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-box-open w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Packages</span>
            </a>
            @endif
            <!-- Business Operations -->
            <div class="px-3 mt-8 mb-4">
                <p
                    class="sidebar-text text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3">
                    Operations </p>
            </div>

            <a href="{{ route('admin.service-requests.index') }}" class="flex items-center p-3 menu-item group">
                <i class="fas fa-handshake w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Service Requests</span>
            </a>

            <a href="{{ route('admin.Project.allProject.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-project-diagram w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Projects</span>
            </a>

            <a href="{{ route('admin.invoice.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-file-invoice-dollar w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Invoices</span>
            </a>

            <a href="{{ route('admin.payments.transection') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-exchange-alt w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Transactions</span>
            </a>




        <!-- Content & Support -->
        <div class="px-3 mt-8 mb-4">
            <p
                class="sidebar-text text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3">
                Content & Support
            </p>
        </div>

        <a href="{{ route('admin.blog.index') }}" class="flex items-center p-3 menu-item group">
            <i
                class="fas fa-blog w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
            <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Blog</span>
        </a>

        @if (auth()->user()->role == 'admin')
            <a href="{{ route('admin.partners.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-blog w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Partner</span>
            </a>
        @endif

        @if (auth()->user()->role == 'admin')
            <a href="{{ route('admin.reviews.index') }}" class="flex items-center p-3 menu-item group">
                <i
                    class="fas fa-blog w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Reviews</span>
            </a>
        @endif

        <a href="{{ route('admin.contacts.index') }}" class="flex items-center p-3 menu-item group">
            <i
                class="fas fa-address-book w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
            <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Contacts</span>
        </a>

        @if (auth()->user()->role == 'admin')
            <a href="{{ route('admin.settings.index') }}" class="flex items-center p-3 menu-item group relative">
                <i
                    class="fas fa-gear w-6 text-center text-gray-500 dark:text-gray-400 group-hover:text-primary-700 transition-colors duration-300"></i>
                <span class="sidebar-text ml-3 font-medium text-gray-700 dark:text-gray-300">Settings</span>
            </a>
        @endif
    </div>
</nav>
