{{-- FAQ Accordion Component: Collapsible FAQ items using Alpine.js --}} @props(['faqs' => []]) @if(!empty($faqs))
{{-- FAQ Section Title: Large heading, cyan accent, bottom margin --}}

Frequently Asked Questions

{{-- FAQ Items: Loop through FAQs, each with toggle functionality --}} @foreach($faqs as $index => $faq) @php $question = is_array($faq) ? ($faq['question'] ?? $faq['q'] ?? '') : ''; $answer = is_array($faq) ? ($faq['answer'] ?? $faq['a'] ?? '') : $faq; @endphp @if(!empty($question) && !empty($answer)) {{-- FAQ Item: Card with border, rounded corners, hover effect --}}
{{-- Question Button: Clickable header with icon, flex layout --}} {{-- Answer Content: Collapsible content area with smooth transition --}}
@endif @endforeach
@endif