@php
    $facilitiesContents = getLandingContents('facilities');
@endphp

<!-- our facility section start -->
<section class="td-our-facility">
    <div class="td-our-facility-wrapper">
        <div class="container">
            <div class="row td-our-facility-card-full">
                <div class="col-6 col-sm-4 col-md-3 td-our-facility-card">
                    <h2><span>{{ $data['facility_title'] }}</span></h2>
                </div>
                @foreach ($facilitiesContents as $content)
                    <div class="col-6 col-sm-4 col-md-3 td-our-facility-card">
                        <div class="td-our-facility-card-single">
                            <img src="{{ asset($content->photo) }}" alt="">
                            <h5>{{ $content->title }}</h5>
                        </div>
                    </div>
                @endforeach
            </div>
        </div>
        <div class="td-our-facility-wrapper-title">
            <div class="td-our-facility-wrapper-title-text">
                <h2>{{ __('FACILITY') }}</h2>
            </div>
        </div>
        <div class="td-our-facility-wrapper-element">
            <img class="d-none d-xxl-block"
                src="{{ asset('frontend/default/img/facility-img/facility-right-element.png') }}" alt="">
        </div>
    </div>
</section>
<!-- our facility section end -->
