@php $settings = $section->settings ?? []; $pt = $settings['padding_top'] ?? '80px'; $pb = $settings['padding_bottom'] ?? '80px'; $bg = $settings['bg_color'] ?? 'transparent'; $ptStyle = "padding-top: $pt;"; $pbStyle = "padding-bottom: $pb;"; $bgStyle = $bg !== 'transparent' ? "background-color: $bg;" : ''; $titleAlignment = $settings['title_alignment'] ?? 'center'; @endphp
{{-- Decorative Background Effect --}}
@php $title = $settings['title'] ?? ($section->title ?? null); $subtitle = $settings['subtitle'] ?? ($section->subtitle ?? null); @endphp @if($title || $subtitle)
@if($title)

{{ $title }}

@endif @if($subtitle)

{{ $subtitle }}

@endif
@endif
@foreach ($section->settings['items'] ?? [] as $index => $item)

{{ $item['answer'] ?? '' }}

@endforeach