<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="<?php echo e(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>

             <?php if(auth()->user()->role == 'admin'): ?>

            <a href="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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>
            <?php 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="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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="<?php echo e(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>

        <?php if(auth()->user()->role == 'admin'): ?>
            <a href="<?php echo e(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>
        <?php endif; ?>

        <?php if(auth()->user()->role == 'admin'): ?>
            <a href="<?php echo e(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>
        <?php endif; ?>

        <a href="<?php echo e(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>

        <?php if(auth()->user()->role == 'admin'): ?>
            <a href="<?php echo e(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>
        <?php endif; ?>
    </div>
</nav>
<?php /**PATH C:\laragon\www\crm_new\resources\views/admin/layout/nav.blade.php ENDPATH**/ ?>