<!--Page Title-->
<section class="page-title">
    <div class="auto-container">
        <div class="title-outer">
            <h1>{{ setting_item_with_lang('company_page_search_title') ?? __("Companies") }}</h1>
            <ul class="page-breadcrumb">
                <li><a href="{{ url("/") }}">{{__("Home")}}</a></li>
                <li>{{__("Companies")}}</li>
            </ul>
        </div>
    </div>
</section>
<!--End Page Title-->
<!-- Listing Section -->
<section class="ls-section">
    <div class="auto-container">
        <div class="filters-backdrop"></div>
        <div class="row">
            <!-- Filters Column -->
            <div class="filters-column col-lg-4 col-md-12 col-sm-12">
                @include('Company::frontend.layouts.sidebars.category-sidebar')
            </div>
            <!-- Content Column -->
            <div class="content-column col-lg-8 col-md-12 col-sm-12">
                <div class="ls-outer">
                    <button type="button" class="theme-btn btn-style-two toggle-filters">{{__("Show Filters")}}</button>
                    <!-- ls Switcher -->
                    <div class="ls-switcher">
                        <div class="showing-result">
                            <div class="text">{{ __("Showing :from - :to of :total",["from"=>$rows->firstItem(),"to"=>$rows->lastItem(),"total"=>$rows->total()]) }}</div>
                        </div>
                        @include('Company::frontend.layouts.search.company-sort')
                    </div>
                    <!-- Block Block -->
                    @if($rows->count() > 0)
                        @foreach($rows as $row)
                            @include('Company::frontend.layouts.loop.company-item-1')
                        @endforeach
                    @else
                        <div class="alert alert-danger">
                            {{__("Sorry, but nothing matched your search terms. Please try again with some different keywords.")}}
                        </div>
                    @endif
                    <div class="bravo-pagination">
                        {{$rows->appends(request()->query())->links()}}
                        @if($rows->total() > 0)
                            <span class="count-string">{{ __("Showing :from - :to of :total",["from"=>$rows->firstItem(),"to"=>$rows->lastItem(),"total"=>$rows->total()]) }}</span>
                        @endif
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!--End Listing Page Section -->
