@once @push('head') {{ $service->meta_title ?? $service->title }} @endpush {{-- ================= SCHEMA FROM DB ================= --}} @foreach ([$service->schema_markup, $service->service_schema, $service->faq_schema, $service->org_schema, $service->webpage_schema, $service->article_schema, $service->breadcrumb_schema, $service->localbusiness_schema] as $schema) @if (!empty($schema)) @push('schema') {!! $schema !!} @endpush @endif @endforeach @endonce

{{ $service->title }}

@if ($service->hero_video)
@endif
@if (!empty($service->h1))

{!! nl2br(e($service->h1)) !!}

@endif
@if (!empty($service->h2))

{{ $service->h2 }}

@endif

{!! nl2br(e($service->description)) !!}

@if ($service->works->count())

Bharat at the core.
Impact at scale.

@php $works = $service->works; $patterns = ['6-4-2', '5-7', '2-4-6', '7-5']; $i = 0; $p = 0; $total = $works->count(); @endphp @while ($i < $total) @php $pattern = $patterns[$p % count($patterns)]; @endphp {{-- 6 / 4 / 2 --}} @if ($pattern === '6-4-2' && $i + 1 < $total)
@php $i += 2; $p++; @endphp @continue @endif {{-- 5 / 7 --}} @if ($pattern === '5-7')
@php $i++; $p++; @endphp @continue @endif {{-- 2 / 4 / 6 --}} @if ($pattern === '2-4-6' && $i + 1 < $total)
@php $i += 2; $p++; @endphp @continue @endif {{-- 7 / 5 --}}
@php $i++; $p++; @endphp @endwhile
@endif