@extends('layouts.app')
@section('content')
    <section class="page_title_wrap bottom_border">
        <div class="container">
            <h3>{{ $data['title'] }}</h3>
        </div>
    </section>
    @foreach ($data['moduleItems'] as $item)        
        @if ($item['id'] == '1522')
        <section class="land_info_wrap">
            <div class="container">
                <div class="row">
                    <div class="lan_info_inner col-md-6 col-sm-6">
                        <div>
                            <h3>{{ $item['title'] }}</h3>
                        </div>
                        @if (count($item['dynamicSections']) > 0)
                            @foreach ($item['dynamicSections'] as $dynamicSection)
                                <div>
                                   
                                    <p class="download_button">
                                        {{ $dynamicSection['title'] }}
                                        <a href="{{ $dynamicSection['file'] }}" class="btn_theme">Download</a>
                                    </p>
                                </div>
                            @endforeach
                        @endif
						 
                        @endif
						@endforeach
                    </div>
					@foreach ($data['moduleItems'] as $item)        
                    @if ($item['id'] == '1523')
						@if (count($item['dynamicSections']) > 0)
                        @foreach ($item['dynamicSections'] as $dynamicSection)
                    <div class="lan_info_inner col-md-6 col-sm-6">
                        <div>
                            <h3>{{ $item['title'] }}</h3>
                        </div>
                        <div>
                            <p class="download_button">
                                {{ $dynamicSection['title'] }}
                                <a href="{{ $dynamicSection['file'] }}" class="btn_theme">Download</a>
                            </p>
                        </div>
                    </div>
					@endforeach
                        @endif
						@endif
					  @endforeach
                        
                </div>
            </div>
        </section>
       
        @if ($item['id'] == '1524')
        <section class="land_info_wrap">
            <div class="container">
                <div class="row">
                    <div class="lan_info_inner col-md-6 col-sm-6">                           
                        <div>
                            <h3>{{ $item['title'] }}</h3>
                        </div>                           
                        @if (count($item['dynamicSections']) > 0)
                            @foreach ($item['dynamicSections'] as $dynamicSection)
                                <div class="row mt-2">                                  
                                   
                                    <div class="col-md-9">
                                        <p class="download_button">{{ $dynamicSection['title'] }}</p>
                                    </div>
                                    <div class="col-md-3">
                                    <a href="{{ $dynamicSection['file'] }}" class="btn_theme">Download</a>
                                    </div>
                                </div>
                            @endforeach
                        @endif                       
                    </div>
                    <div class="lan_info_inner col-md-6 col-sm-6">
                        <div>
                            <h3 class="application-text">{{ $item['shortDescription'] }}</h3>
                        </div>
                        <div>
                            <p class="download_button">
                                {{ $dynamicSection['title'] }}
                                <a href="{{ $dynamicSection['file'] }}" class="btn_theme">Download</a>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        @endif
    
@endsection
