@if(isset($homeSections['features']) && $homeSections['features']->isNotEmpty())
@php
// ✅ Take ONLY the first feature section (lowest sort_order)
$featureSection = $homeSections['features']->first();
// ✅ Take only first 3 icons from that section
$featureItems = collect($featureSection->content['items'] ?? [])
->take(3);
@endphp
@if(isset($homeSections['features']) && $homeSections['features']->isNotEmpty())
@php
// ✅ Take ONLY the first feature section (lowest sort_order)
$featureSection = $homeSections['features']->last();
// ✅ Take only 4 feature items from that section
$featureItems = collect($featureSection->content['items'] ?? [])
->take(4);
@endphp