@php $pt = $section->settings['padding_top'] ?? '80px'; $pb = $section->settings['padding_bottom'] ?? '80px'; $bg = $section->settings['bg_color'] ?? 'transparent'; $ptStyle = "padding-top: $pt;"; $pbStyle = "padding-bottom: $pb;"; $bgStyle = $bg !== 'transparent' ? "background-color: $bg;" : ''; // Animation Settings $animType = $section->settings['anim_type'] ?? 'fade-in-up'; $animDuration = $section->settings['anim_duration'] ?? '0.8s'; $animDelay = $section->settings['anim_delay'] ?? '0s'; $stagger = $section->settings['anim_stagger'] ?? true; $title = $section->settings['title'] ?? ($section->title ?? 'How it works'); $subtitle = $section->settings['subtitle'] ?? ($section->subtitle ?? 'Get started in 3 simple steps'); $steps = $section->settings['steps'] ?? [ ['icon' => 'user-plus', 'title' => 'Sign Up', 'desc' => 'Create your account in seconds'], ['icon' => 'search', 'title' => 'Search', 'desc' => 'Find the perfect asset for your project'], ['icon' => 'download', 'title' => 'Download', 'desc' => 'Download and start building'] ]; @endphp
{{-- Refined Background Effect --}}

{{ $title }}

{{ $subtitle }}

@foreach($steps as $index => $step)
{{-- Connector Line --}} @if(!$loop->last) @endif
{{-- Step Number Float --}}
0{{ $index + 1 }}

{{ $step['title'] ?? 'Step Name' }}

{{ $step['description'] ?? ($step['desc'] ?? 'Step description goes here.') }}

@endforeach