@php
$stepItems = [
['id' => 'personal', 'label' => 'Personal', 'icon' => 'fa-user', 'color' => 'green'],
['id' => 'contact', 'label' => 'Contact', 'icon' => 'fa-phone', 'color' => 'teal'],
['id' => 'emergency', 'label' => 'Emergency', 'icon' => 'fa-exclamation-circle', 'color' => 'orange'],
['id' => 'account', 'label' => 'Account', 'icon' => 'fa-lock', 'color' => 'green'],
['id' => 'family', 'label' => 'Family', 'icon' => 'fa-users', 'color' => 'purple'],
['id' => 'assets', 'label' => 'Assets', 'icon' => 'fa-home', 'color' => 'blue'],
['id' => 'liabilities', 'label' => 'Debts', 'icon' => 'fa-credit-card', 'color' => 'red'],
['id' => 'kyc', 'label' => 'KYC', 'icon' => 'fa-file-upload', 'color' => 'indigo'],
];
@endphp
@foreach($stepItems as $index => $step)
@if($index < count($stepItems) - 1)
@endif
@endforeach