@extends('layouts.app')
@section('content')
@foreach ($data['moduleItems'] as $item)
<section class="page_title_wrap bottom_border">
    
    <div class="container">
        <h3>{{ $item['title'] }}</h3>
    </div>
</section>
<section class="land_info_wrap">
    <div class="container">
        <div class="lan_info_inner">
            <div>
                <p class="text-center">{!! $item['shortDescription'] !!}</p>
            </div>
            <div class="text-center">
                <p class="text-center">{!! $item['longDescription'] !!}</p>
            </div>
            @if (count($item['dynamicSections']) > 0)
            @foreach ($item['dynamicSections'] as $dynamicSection)
            <div class="text-center">
                <h3> {{ $dynamicSection['title'] }}</h3>
            </div>


            <div class="text-center">
                <img class="img-responsive land_img m-auto" src="{{ $dynamicSection['image'] }}" alt="land_img2"/>
                <p class="download_button mt-3">

                    <a href="{{ $dynamicSection['link'] }}" class="btn_theme">SBI COLLECT</a>
                </p>
            </div>
            @endforeach
            @endif
        </div>
    </div>
</section>
@endforeach
@endsection