<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="csrf-token" content="{{ csrf_token() }}"/>
    <meta name="application-name" content="{{ config('app.name') }}"/>
    <meta name="description" content="@yield('meta_description', 'Scholarship & Admission Consultancy')"/>

    <title>@yield('title', config('app.name', 'Insight Global Consultant'))</title>
    @include('layouts.partials.styles')

    @stack('styles')
</head>


<body class="custom-cursor">

<div class="custom-cursor__cursor"></div>
<div class="custom-cursor__cursor-two"></div>

<!--Start Preloader-->
<div class="loader js-preloader">
    <div></div>
    <div></div>
    <div></div>
</div>
<!--End Preloader-->

<div class="page-wrapper">

    @include('layouts.partials.header')
    <!-- Main Content -->
    <main @if (Route::currentRouteName() != 'home') style="margin-top: 90px;" @endif>
        @yield('content')
    </main>
{{--    @include('layouts.partials.newsletter')--}}
    @include('layouts.partials.contactinfo')

    @include('layouts.partials.footer')
</div><!-- /.page-wrapper -->

@include('layouts.partials.mobile_nav')

<!-- Search Popup -->
<div class="search-popup">
    <div class="color-layer"></div>
    <button class="close-search"><span class="far fa-times fa-fw"></span></button>
    <form action="{{ route('scholarships.index') }}" method="GET">
        <div class="form-group">
            <input type="search" name="search" value="" placeholder="Search Scholarships..." required="">
            <button type="submit"><i class="fas fa-search"></i></button>
        </div>
    </form>
</div>

<!-- Scroll to Top -->
<a href="#" data-target="html" class="scroll-to-target scroll-to-top">
    <span class="scroll-to-top__wrapper"><span class="scroll-to-top__inner"></span></span>
    <span class="scroll-to-top__text">Go Back Top</span>
</a>

@include('layouts.partials.scripts')

@stack('scripts')
</body>

</html>
