<div class="bravo-form-search-boat @if(!empty($style) and $style == "boatousel") bravo-form-search-slider @endif" @if(empty($style)) style="background-image: linear-gradient(0deg,rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2)),url('{{$bg_image_url}}') !important" @endif>
    @if(!empty($style) and $style == "boatousel" and !empty($list_slider))
        <div class="effect">
            <div class="owl-boatousel">
                @foreach($list_slider as $item)
                    @php $img = get_file_url($item['bg_image'],'full') @endphp
                    <div class="item">
                        <div class="item-bg" style="background-image: linear-gradient(0deg,rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2)),url('{{$img}}') !important"></div>
                    </div>
                @endforeach
            </div>
        </div>
    @endif
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="text-heading text-center">{{$title}}</h1>
                <h2 class="sub-heading text-center">{{$sub_title}}</h2>
                <div class="g-form-control">
                    @include('Boat::frontend.layouts.search.form-search')
                </div>
            </div>
        </div>
    </div>
</div>