        <!-- Header Section Start -->
        <header id="header-sticky" class="header-1">
            <div class="logo-shape">
                <img src="<?php echo e(asset('assets/front/img/inner/logo-shape.png')); ?>" alt="img">
            </div>
            <div class="container-fluid">
                <div class="mega-menu-wrapper">
                    <div class="header-main">
                        <div class="logo">
                            <?php $siteName = site_name(); ?>
                            <a href="<?php echo e(route('home')); ?>" class="header-logo">
                                <img src="<?php echo e(branding_asset(['dark_logo_path', 'logos.secondary', 'primary_logo_path', 'logos.primary'], 'assets/front/img/logo/black-logo.svg')); ?>"
                                    alt="<?php echo e($siteName); ?> logo">
                            </a>
                            <a href="<?php echo e(route('home')); ?>" class="header-logo2">
                                <img src="<?php echo e(branding_asset(['primary_logo_path', 'logos.primary'], 'assets/front/img/logo/white-logo.svg')); ?>"
                                    alt="<?php echo e($siteName); ?> logo">
                            </a>
                        </div>
                        <div class="header-right-items">
                            <div class="mean__menu-wrapper">
                                <div class="main-menu">
                                    <nav id="mobile-menu">
                                        <ul>
                                            <?php $mainMenu = $frontendMenus['main-navigation'] ?? []; ?>
                                            <?php if(!empty($mainMenu)): ?>
                                                <?php echo $__env->make('partials.menu-items', [
                                                    'items' => $mainMenu,
                                                    'isRoot' => true,
                                                ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                            <?php else: ?>
                                                <li><a href="<?php echo e(route('home')); ?>"><?php echo e(__('frontend.home')); ?></a></li>
                                            <?php endif; ?>
                                        </ul>
                                    </nav>
                                </div>
                            </div>
                            <div class="header-right d-flex justify-content-end align-items-center">
                                <a href="#" class="main-header__search search-toggler">
                                    <i class="fa-regular fa-magnifying-glass"></i>
                                </a>

                                <?php if(Auth::check()): ?>
                                    <?php $currentUser = Auth::user(); ?>
                                    <?php echo $__env->make('partials.notification-dropdown', ['currentUser' => $currentUser], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

                                    <?php
                                        $userRole = 'guest';
                                        if($currentUser->isAdmin()) $userRole = 'admin';
                                        elseif($currentUser->isInstructor()) $userRole = 'instructor';
                                        elseif($currentUser->isStudent()) $userRole = 'student';
                                        
                                        $dashboardRoute = route('home');
                                        $dashboardText = __('frontend.dashboard');
                                        
                                        if($userRole === 'admin') { 
                                            $dashboardRoute = route('admin.dashboard'); 
                                            $dashboardText = __('frontend.admin_dashboard'); 
                                        } elseif($userRole === 'instructor') { 
                                            $dashboardRoute = route('instructor.dashboard'); 
                                            $dashboardText = __('frontend.instructor_dashboard'); 
                                        } elseif($userRole === 'student') { 
                                            $dashboardRoute = route('student.dashboard'); 
                                            $dashboardText = __('frontend.my_dashboard'); 
                                        }
                                    ?>

                                    <a href="<?php echo e($dashboardRoute); ?>" class="theme-btn">
                                        <?php echo e($dashboardText); ?>

                                        <i class="fa-solid fa-arrow-up-right"></i>
                                    </a>
                                <?php else: ?>
                                    <a href="<?php echo e(route('login')); ?>" class="theme-btn">
                                        <?php echo e(__('frontend.login')); ?>

                                        <i class="fa-solid fa-arrow-up-right"></i>
                                    </a>
                                <?php endif; ?>

                                <div class="header__hamburger d-xl-none my-auto">
                                    <div class="sidebar__toggle">
                                        <i class="fas fa-bars"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </header>

        <?php echo $__env->make('partials.search', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php /**PATH /Users/mahmudul/Codecanyone/edu_ex_full/Eduex_laravel/resources/views/partials/header.blade.php ENDPATH**/ ?>