@extends($activeTemplate.'layouts.frontend')

@section('content')

@php
$banner = getContent('banner.content', true);
@endphp
<!-- hero section start -->
<section class="hero bg_img"
    style="background-image: url('{{ getImage( 'assets/images/frontend/banner/' .@$banner->data_values->image, '1920x1280') }}');">
    <div class="hero__wave-shape">
        <img src="{{ asset($activeTemplateTrue. 'images/elements/white-wave-1.png') }}" alt="wave image">
    </div>
    <div class="hero__wave-shape two">
        <img src="{{ asset($activeTemplateTrue. 'images/elements/white-wave-1.png') }}" alt="wave image">
    </div>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-xl-7 col-lg-9 text-center">
                <h2 class="hero__title text-white wow fadeInUp" data-wow-duration="0.5s" data-wow-delay="0.3s">
                    {{ __(@$banner->data_values->heading) }}
                </h2>
                <p class="text-white mt-4 wow fadeInUp" data-wow-duration="0.5s" data-wow-delay="0.3s">
                    {{ __(@$banner->data_values->subheading) }}
                </p>
                <a href="{{ @$banner->data_values->button_link }}" class="btn custom--bg text-white mt-4 wow fadeInUp"
                    data-wow-duration="0.5s" data-wow-delay="0.3s">
                    {{ __(@$banner->data_values->button_text) }}</a>
                </a>
            </div>
        </div>
    </div>
</section>

<!-- hero section end -->
@if($sections->secs != null)
@foreach(json_decode($sections->secs) as $sec)
    @include($activeTemplate.'sections.'.$sec)
@endforeach
@endif

@endsection
