@extends('layouts.app') @section('title', $service['meta']['title']) @section('description', $service['meta']['description']) @section('content') @php // Breadcrumb's final crumb: ServiceCatalog's clean per-route name (e.g. // "Customs Clearing") rather than hero.badge, which sometimes carries a // "Services / " prefix of its own (would read "Home / Services / Services / ..."). $currentServiceName = collect(\App\Support\ServiceCatalog::all())->firstWhere('route', $service['slug'])['name'] ?? $service['hero']['badge']; // Floating trust chip: prefer the service's own first stat (big number + // label), falling back to its first overview highlight, then a static // trust badge — hero.php has no dedicated field for this, so all three // paths reuse data the service already has rather than inventing new copy. if (!empty($service['stats']['items'][0])) { $firstStat = $service['stats']['items'][0]; $heroChip = ['big' => number_format($firstStat['target']) . $firstStat['suffix'], 'label' => $firstStat['label']]; } elseif (!empty($service['overview']['highlights'][0])) { $heroChip = ['big' => null, 'label' => $service['overview']['highlights'][0]]; } else { $heroChip = ['big' => null, 'label' => 'IATA Accredited']; } @endphp
{{ $service['hero']['badge'] }}

{!! $service['hero']['title'] !!}

Scroll

{!! $service['overview']['heading'] !!}

@foreach ($service['overview']['description'] as $paragraph)

{{ $paragraph }}

@endforeach @if (!empty($service['overview']['highlights']))
@foreach ($service['overview']['highlights'] as $highlight) {{ $highlight }} @endforeach
@endif
@if (!empty($service['overview']['lead']))

{{ $service['overview']['lead'] }}

@endif
{{ $service['hero']['badge'] }}

{!! $service['features']['heading'] !!}

@php $featureItems = $service['features']['items']; $heroFeature = null; $listFeatures = $featureItems; if (!empty($featureItems) && ($featureItems[0]['type'] ?? 'text') === 'photo') { $heroFeature = $featureItems[0]; $listFeatures = array_slice($featureItems, 1); } $listTotal = count($listFeatures); // Per-step images: use the item's own image if the data has one, else // cycle through the service's other known photos (hero feature / overview // / hero) so steps without dedicated art still look visually distinct // from one another instead of all repeating the same shot. $fallbackImages = array_values(array_unique(array_filter([ $heroFeature['image'] ?? null, $service['overview']['image'] ?? null, $service['hero']['image'] ?? null, ]))); if (empty($fallbackImages)) { $fallbackImages = [$service['hero']['image']]; } // Overlay darkness cycles through 3 preset CSS classes (feature-overlay-0/1/2, // defined in app.css) rather than inline gradients, purely so steps without // dedicated art still read as visually distinct from one another. $overlayCount = 3; @endphp @if ($listTotal)
@foreach ($listFeatures as $item) @php $mobileImg = $item['image'] ?? $fallbackImages[$loop->index % count($fallbackImages)]; @endphp
{{ str_pad($loop->iteration, 2, '0', STR_PAD_LEFT) }}

{{ $item['title'] }}

{{ $item['description'] }}

@if (!empty($item['tags']))
@foreach ($item['tags'] as $tag) {{ $tag }} @endforeach
@endif
@endforeach
@endif @if (!empty($service['features']['extra']))

{{ $service['features']['extra']['title'] }}

@foreach ($service['features']['extra']['tags'] as $tag) {{ $tag }} @endforeach
@else
@endif
@if (!empty($service['stats']))

{!! $service['stats']['heading'] !!}

@php $statsTotal = count($service['stats']['items']); @endphp @foreach ($service['stats']['items'] as $stat) @php $i = $loop->iteration; $isLastOverall = $loop->last; $smLastInRow = $i % 2 === 0; $smLastRow = $i > (intdiv($statsTotal - 1, 2) * 2); $lgLastInRow = $i % 4 === 0; $lgLastRow = $i > (intdiv($statsTotal - 1, 4) * 4); @endphp
Data Point {{ str_pad($i, 2, '0', STR_PAD_LEFT) }}
{{ number_format($stat['target']) }}{{ $stat['suffix'] }}
{{ $stat['label'] }}

{{ $stat['description'] }}

@endforeach
@if (!empty($service['stats']['note']))

{{ $service['stats']['note'] }}

@endif
@endif

Related services.

@php $allServices = \App\Support\ServiceCatalog::all(); $relatedTotal = 0; foreach ($allServices as $s) { if ($s['route'] !== $service['slug']) $relatedTotal++; } $relatedIndex = 0; @endphp
{{ $service['cta']['badge'] ?? 'Ready to Ship?' }}

Let's move the world
together.

{{ $service['cta']['description'] ?? 'Get a tailored logistics proposal in under 24 hours — no obligations, just a clear plan and an honest price.' }}

@endsection