@php($d = $d ?? [])
<section class="vs-section vs-services" id="services">
    <div class="vs-container">
        <div class="vs-head" data-aos="fade-up">
            <h2 class="vs-h2">{{ $d['heading'] ?? '' }}</h2>
            @if(!empty($d['subheading']))<p class="vs-lead">{{ $d['subheading'] }}</p>@endif
        </div>
        <div class="vs-cards">
            @foreach(($d['items'] ?? []) as $i => $item)
                <div class="vs-card" data-aos="fade-up" data-aos-delay="{{ ($i % 3) * 80 }}">
                    <div class="vs-card-icon"><i class="{{ $item['icon'] ?? 'fas fa-paw' }}"></i></div>
                    <h3 class="vs-card-title">{{ $item['title'] ?? '' }}</h3>
                    <p class="vs-card-text">{{ $item['text'] ?? '' }}</p>
                </div>
            @endforeach
        </div>
    </div>
</section>
