@extends('front.layouts.master')

@section('seo_title', $global_other_page_items->page_contact_seo_title)
@section('seo_meta_description', $global_other_page_items->page_contact_seo_meta_description)

@section('content')
<!-- Banner Section -->
<section class="page-title" style="background-image: url({{ asset('uploads/'.$global_setting->banner) }});">
    <div class="auto-container">
        <div class="title-outer">
            <h1 class="title">{{ $global_other_page_items->page_contact_title }}</h1>
            <ul class="page-breadcrumb">
                <li><a href="{{ route('home') }}">{{ __('Home') }}</a></li>
                <li>{{ $global_other_page_items->page_contact_title }}</li>
            </ul>
        </div>
    </div>
</section>
<!-- // Banner Section -->


<!-- Contact Information Section -->
<section class="contact-details">
    <div class="container ">
        <div class="row">
            <div class="col-xl-5 col-lg-6 mb-md-60">
                <div class="contact-details__right">
                    <div class="sec-title">
                        <span class="sub-title">{{ $global_other_page_items->page_contact_info_subheading }}</span>
                        <h2>{{ $global_other_page_items->page_contact_info_heading }}</h2>
                        <div class="text">{!! nl2br($global_other_page_items->page_contact_info_text) !!}</div>
                    </div>
                    <ul class="list-unstyled contact-details__info">
                        <li>
                            <div class="icon">
                                <span class="lnr-icon-phone-plus"></span>
                            </div>
                            <div class="text">
                                <h6>{{ $global_other_page_items->page_contact_info_phone_title }}</h6>
                                <a href="tel:{{ $global_other_page_items->page_contact_info_phone_value }}">{{ $global_other_page_items->page_contact_info_phone_value }}</a>
                            </div>
                        </li>
                        <li>
                            <div class="icon">
                                <span class="lnr-icon-envelope1"></span>
                            </div>
                            <div class="text">
                                <h6>{{ $global_other_page_items->page_contact_info_email_title }}</h6>
                                <a href="mailto:{{ $global_other_page_items->page_contact_info_email_value }}">{{ $global_other_page_items->page_contact_info_email_value }}</a>
                            </div>
                        </li>
                        <li>
                            <div class="icon">
                                <span class="lnr-icon-location"></span>
                            </div>
                            <div class="text">
                                <h6>{{ $global_other_page_items->page_contact_info_address_title }}</h6>
                                <span>{{ $global_other_page_items->page_contact_info_address_value }}</span>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-xl-7 col-lg-6">
                {!! $global_other_page_items->page_contact_map !!}
            </div>
        </div>
    </div>
</section>
<!-- // Contact Information Section -->


<!-- Contact Form Section -->
<section class="team-contact-form">
    <div class="container pb-100">
        <div class="sec-title text-center">
            <span class="sub-title">{{ $global_other_page_items->page_contact_send_mail_subheading }}</span>
            <h2 class="section-title__title">{!! nl2br($global_other_page_items->page_contact_send_mail_heading) !!}</h2>
        </div>
        <div class="row justify-content-center">
            <div class="col-lg-8">
                <form name="contact_form" action="{{ route('contact_send_message') }}" method="post">
                    @csrf
                    <div class="row">
                        <div class="col-sm-6 form-group">
                            <div class="mb-3">
                                <input name="name" class="form-control" type="text" placeholder="{{ __('Full Name') }}" required>
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
                            <div class="mb-3">
                                <input name="email" class="form-control" type="email" placeholder="{{ __('Email Address') }}" required>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 form-group">
                            <div class="mb-3">
                                <input name="phone" class="form-control" type="text" placeholder="{{ __('Phone Number') }}" required>
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
                            <div class="mb-3">
                                <input name="subject" class="form-control required" type="text" placeholder="{{ __('Subject') }}" required>
                            </div>
                        </div>
                    </div>
                    <div class="mb-3 form-group">
                        <textarea name="message" class="form-control required" rows="7" placeholder="{{ __('Message') }}" required></textarea>
                    </div>
                    <div class="mb-3 text-center">
                        <button type="submit" class="theme-btn btn-style-one"><span class="btn-title">{{ __('Send Message') }}</span></button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>
<!-- // Contact Form Section -->

@endsection