@php
    $showSocial = $showSocial ?? true;
@endphp

<section class="page-header">
    <div class="page-header__bg" style="background-image: url({{ asset('images/shapes/page-header-bg-shape.png') }});">
    </div>
    <div class="page-header__shape-4">
        <img src="{{ asset('images/shapes/page-header-shape-4.png') }}" alt="">
    </div>
    <div class="page-header__shape-5">
        <img src="{{ asset('images/shapes/page-header-shape-5.png') }}" alt="">
    </div>
    @if($showSocial)
        <div class="page-header__social">
            <a href="#">Facebook</a>
            <span>//</span>
            <a href="#">Instagram</a>
            <span>//</span>
            <a href="#">LinkedIn</a>
            <span>//</span>
            <a href="#">Twitter</a>
        </div>
    @endif
    <div class="container">
        <div class="page-header__inner">
            <div class="page-header__img">
                <img src="{{ asset('images/resources/page-header-img-1.png') }}" alt="">
                <div class="page-header__shape-1">
                    <img src="{{ asset('images/shapes/page-header-shape-1.png') }}" alt="">
                </div>
                <div class="page-header__shape-2">
                    <img src="{{ asset('images/shapes/page-header-shape-2.png') }}" alt="">
                </div>
                <div class="page-header__shape-3">
                    <img src="{{ asset('images/shapes/page-header-shape-3.png') }}" alt="">
                </div>
            </div>
            <h2>{{ $title }}</h2>
            <div class="thm-breadcrumb__box">
                <ul class="thm-breadcrumb list-unstyled">
                    @foreach($breadcrumbs as $index => $crumb)
                        <li>
                            @if(!empty($crumb['url']))
                                <a href="{{ $crumb['url'] }}">{{ $crumb['label'] }}</a>
                            @else
                                <span>{{ $crumb['label'] }}</span>
                            @endif
                        </li>
                        @if(!$loop->last)
                            <li><span>//</span></li>
                        @endif
                    @endforeach
                </ul>
            </div>
        </div>
    </div>
</section>
