@foreach($items as $srv)
@php
$catStr = $srv['category'] ?? '';
$catSlugs = [];
if (!empty($catStr)) {
foreach (preg_split('/[•,]+/', $catStr) as $c) {
$t = trim($c);
if ($t !== '') $catSlugs[] = \Illuminate\Support\Str::slug($t);
}
}
$dataCatAttr = implode(' ', $catSlugs);
$srvImage = $srv['image'] ?? $srv['img'] ?? asset('assets/website_builder/Templates/Texigo_agency/services/service_city_rides.png');
$srvIcon = $srv['icon'] ?? 'fa-taxi';
@endphp
{{ $srv['title'] ?? '' }}
{{ $srv['desc'] ?? $srv['description'] ?? '' }}
@endforeach