<header>
    <div class="nav_container">
        <!--Menu-->
        <section class="top_navbar">
            <div class="container">
                <div class="content">
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="socail_icons">
                                <?php if(($settings['youtube'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['youtube'] ?? '#')); ?>">
                                        <i class="bi bi-youtube"></i>
                                    </a>
                                <?php endif; ?>
                                <?php if(($settings['linkedin'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['linkedin'] ?? '#')); ?>">
                                        <i class="bi bi-linkedin"></i>
                                    </a>
                                <?php endif; ?>
                                <?php if(($settings['snapchat'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['snapchat'] ?? '#')); ?>">
                                        <i class="bi bi-snapchat"></i>
                                    </a>
                                <?php endif; ?>
                                <?php if(($settings['twitter'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['twitter'] ?? '#')); ?>">
                                        <i class="bi bi-twitter"></i>
                                    </a>
                                <?php endif; ?>
                                <?php if(($settings['instagram'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['instagram'] ?? '#')); ?>">
                                        <i class="bi bi-instagram"></i>
                                    </a>
                                <?php endif; ?>
                                <?php if(($settings['tiktok'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['tiktok'] ?? '#')); ?>">
                                        <i class="bi bi-tiktok"></i>
                                    </a>
                                <?php endif; ?>
                                <?php if(($settings['facebook'] ?? '')): ?>
                                    <a target="_blank" href="<?php echo e(($settings['facebook'] ?? '#')); ?>">
                                        <i class="bi bi-facebook"></i>
                                    </a>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="top_links text-end">
                                <a href="tel::<?php echo e(($settings['site_phone'] ?? '+966-744522331')); ?>">
                                    <i class="bi bi-phone"></i>
                                    <span><?php echo e(($settings['site_phone'] ?? '+966-744522331')); ?></span>
                                </a>
                                <a href="#">
                                    <i class="bi bi-geo-alt"></i>
                                    <span><?php echo e(($settings['site_address'] ?? '')); ?></span>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <nav class="navbar navbar-expand-lg navbar-dark">
            <div class="container align-items-start">
                <a class="navbar-brand" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('home'), [], true)); ?>">
                    <img src="<?php echo e(asset('assets/web/images/logo.svg')); ?>" alt="">
                </a>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
                        data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
                        aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse mt-4" id="navbarSupportedContent">
                    <ul class="navbar-nav m-auto">
                        <li class="nav-item">
                            <a class="nav-link <?php echo e(isActive(route('home'))); ?>" aria-current="page" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('home'), [], true)); ?>"><?php echo e(__('main.home')); ?> </a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('aboutUs'), [], true)); ?>"><?php echo e(__('abouts.head')); ?></a>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
                               data-bs-toggle="dropdown" aria-expanded="false">
                                <?php echo e(__('main.services')); ?>

                            </a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('consulting.index'), [], true)); ?>"><?php echo e(__('main.consultation')); ?></a></li>
                                <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('cases.index'), [], true)); ?>"><?php echo e(__('main.issues')); ?></a></li>
                                <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('documentation.index'), [], true)); ?>"><?php echo e(__('main.documentation')); ?></a></li>
                                <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('trainings.index'), [], true)); ?>"><?php echo e(__('main.training')); ?></a></li>
                            </ul>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('home')); ?>#numbers"><?php echo e(__('main.mattered_numbers')); ?></a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="#partners"><?php echo e(__('partners.head')); ?></a>
                        </li>
                        <li class="nav-item">
                                <a class="nav-link <?php echo e(isActive(route('news.index'))); ?>" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('news.index'), [], true)); ?>"><?php echo e(__('articles.head')); ?></a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link <?php echo e(isActive(route('contactUs'))); ?>" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('contactUs'), [], true)); ?>"><?php echo e(__('visitorMessages.head')); ?></a>
                        </li>
                    </ul>
                    <div class="d-flex">
                        <div class="dropdown">
                            <button class="butn bg-white me-3 dropdown-toggle" type="button"
                                    id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
                                <span class="text-dark me-1"> <i class="bi bi-person"></i>
                                 <?php if(auth()->check() && auth()->user()->role == 'user'): ?>
                                        <?php echo e(wordLimit(auth()->user()->name, 1, '')); ?>

                                    <?php else: ?>
                                        <?php echo e(__('members.login_register')); ?>

                                    <?php endif; ?>
                                </span>
                            </button>
                            <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
                                <?php if(auth()->check() && auth()->user()->role == 'user'): ?>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.profile'), [], true)); ?>"><?php echo e(__('members.my_profile')); ?></a></li>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.myConsulting'), [], true)); ?>"><?php echo e(__('members.my_consulting')); ?></a></li>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.myDocumentations'), [], true)); ?>"><?php echo e(__('members.my_documentations')); ?></a></li>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.notifications'), [], true)); ?>"><?php echo e(__('members.notifications')); ?> <?php echo notifications() ? '<i class="fa fa-bell text-danger"></i> <span class="text-danger notification_counter">'. notifications() .' </span>' : ''; ?></a></li>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.logout'), [], true)); ?>"><?php echo e(__('members.logout')); ?></a></li>
                                <?php else: ?>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.login'), [], true)); ?>"><?php echo e(__('members.login')); ?></a></li>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('user.register'), [], true)); ?>"><?php echo e(__('members.register')); ?></a></li>
                                <?php endif; ?>
                            </ul>
                        </div>
                        <?php if($lang == 'ar'): ?>
                            <a href="<?php echo e(LaravelLocalization::getLocalizedURL('en', null, [], true)); ?>" class="butn sub_butn">
                                <span> <i class="bi bi-globe me-1"></i> <?php echo e(__('main.another_lang_short')); ?></span>
                            </a>
                            <?php else: ?>
                            <a href="<?php echo e(LaravelLocalization::getLocalizedURL('ar', null, [], true)); ?>" class="butn sub_butn">
                                <span> <i class="bi bi-globe me-1"></i> <?php echo e(__('main.another_lang_short')); ?></span>
                            </a>
                        <?php endif; ?>

                    </div>
                </div>
            </div>
        </nav>
    </div>
    <!--End-Menu-->
    <div class="container">
        <div class="head_slider">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <?php if(count($sliders)): ?>
                        <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                                <div class="content">
                                    <div class="row">
                                        <div class="col-lg-7">
                                            <div class="info">
                                                <h6><?php echo e($slider->first_title); ?></h6>
                                                <h2><?php echo e($slider->second_title); ?></h2>
                                                <div class="text"><?php echo stripText($slider->description); ?></div>
                                                <?php if($slider->button_url): ?>
                                                    <a target="_blank" href="<?php echo e($slider->button_url); ?>" class="butn sub_butn">
                                                        <span><?php echo e($slider->button_title); ?></span>
                                                    </a>
                                                <?php endif; ?>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>

                </div>
                <!-- -----------  -->
                <div class="swiper-pagination"></div>
                <!-- -----------  -->
                <div class="swiper_nav">
                    <div class="swiper_next">
                        <i class="bi bi-arrow-right"></i>
                    </div>
                    <div class="swiper_prev">
                        <i class="bi bi-arrow-left"></i>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<?php /**PATH C:\wamp64\www\legal\resources\views/web/layouts/home_nav.blade.php ENDPATH**/ ?>