@extends('layouts.app')
@section('metades')
    <meta name="description" content="{{ $data['metaDescription'] }}" />
    <meta name="author" content="Kultikri Teacher Training Institute of Higher Studies (KTTIHS)" />
    <meta name="keywords" content="Kultikri Teacher Training Institute of Higher Studies (KTTIHS)" />
@endsection
@section('title')
    <title>{{ $data['metaTitle'] }}</title>
@endsection
@section('content')
    <section class="land_info_wrap mb-4">
        <div class="container">            
            <div class="w-100 mt-3 text-md-center title-bx1">
                <h3 class="one8">{{ $data['title'] }}</h3>
            </div>
            <div class="lan_info_inner">
                <div class="row">
                    @foreach ($data['moduleItems'] as $item)
                        @if ($item['id'] == '798')
                            <div class="column">
                                <div class="title_box4">
                                    <h3>{{ $item['title'] }}</h3>
                                </div>
                                @if (count($item['dynamicSections']) > 0)
                                    <ul class="land_details_li">
                                        @foreach ($item['dynamicSections'] as $dynamicSection)
                                                    <li>{{ $dynamicSection['title'] }} :-<a href="{{ $dynamicSection['file'] }}" target="_blank">Download</a></li>
                                        @endforeach
                                    </ul>
                                @endif
                            </div>
                        @endif
                        @if ($item['id'] == '800')
                            <div class="column">
                                <div class="title_box4">
                                    <h3>{{ $item['title'] }}</h3>
                                </div>
                                @if (count($item['dynamicSections']) > 0)
                                    <ul class="land_details_li">
                                     
                                          @foreach ($item['dynamicSections'] as $dynamicSection)
                                                    <li>{{ $dynamicSection['title'] }} :-<a href="{{ $dynamicSection['file'] }}" target="_blank">Download</a></li>
                                        @endforeach

                                    </ul>
                                @endif
                            </div>
                        @endif
                    @endforeach
                </div>
            </div>
    </section>
@endsection
<style>
    .column {
        float: left;
        width: 50%;
        text-align: center;
    }
    /* Clear floats after the columns */
    .row:after {
        content: "";
        display: table;
        clear: both;
    }
</style>
