@extends('layouts.app') @section('title', $seoData['seo_title'] ?? $subService->name . ' - ' . $service->name) @section('meta_description', $seoData['seo_description'] ?? $subService->description) @section('meta_keywords', $seoData['seo_keywords'] ?? 'services, ' . strtolower($service->name)) @section('og_image', $subService->image ? asset('storage/' . $subService->image) : asset('favicon.svg')) @section('content')

{{ $subService->name }}

{{-- Service Information Cards --}} @if ($subService->content || $subService->requirements || $subService->steps || $subService->documents_needed || $subService->fees || $subService->processing_time || $subService->contact_info || $subService->notes)

{{ app()->getLocale() === 'ar' ? 'معلومات الخدمة' : 'Service Information' }}

@if ($subService->content)

{{ app()->getLocale() === 'ar' ? 'نبذة عن الخدمة' : 'About the Service' }}

{!! $subService->content !!}
@endif @if ($subService->requirements)

{{ app()->getLocale() === 'ar' ? 'المتطلبات' : 'Requirements' }}

{{ $subService->requirements }}
@endif @if ($subService->steps)

{{ app()->getLocale() === 'ar' ? 'خطوات التقديم' : 'Application Steps' }}

{{ $subService->steps }}
@endif @if ($subService->documents_needed)

{{ app()->getLocale() === 'ar' ? 'المستندات المطلوبة' : 'Required Documents' }}

{{ $subService->documents_needed }}
@endif @if ($subService->fees)

{{ app()->getLocale() === 'ar' ? 'الرسوم' : 'Fees' }}

{{ $subService->fees }}

@endif @if ($subService->processing_time)

{{ app()->getLocale() === 'ar' ? 'مدة المعالجة' : 'Processing Time' }}

{{ $subService->processing_time }}

@endif @if ($subService->contact_info)

{{ app()->getLocale() === 'ar' ? 'معلومات الاتصال' : 'Contact Information' }}

{{ $subService->contact_info }}
@endif @if ($subService->notes)

{{ app()->getLocale() === 'ar' ? 'ملاحظات إضافية' : 'Additional Notes' }}

{{ $subService->notes }}
@endif
@endif {{-- Apply for Service Button --}}
@auth('citizen') @php $serviceRequestUrl = route('citizen.service_request.create.locale', [ 'locale' => app()->getLocale(), 'serviceSlug' => $service->slug, 'subServiceSlug' => $subService->slug ]); @endphp {{ app()->getLocale() === 'ar' ? 'قدّم طلبك الآن' : 'Apply for Service' }} @else {{ app()->getLocale() === 'ar' ? 'تسجيل الدخول لتقديم الطلب' : 'Login to Apply' }} @endauth
{{-- Sectors Section --}} @if ($subService->sectors && $subService->sectors->count() > 0)

{{ app()->getLocale() === 'ar' ? 'الأقسام المتاحة' : 'Available Sectors' }}

@endif
@endsection