@extends('front.layout')
@section('title')
{{$meta_title}}
@endsection
@section('description')
{{$meta_description}}
@endsection
@include('front/common/meta')

@section('content')
@if(!empty($corporate)) 
<section class="page-banner corporate overlay-gradiant"
           style="background-image: url({{asset(Config("params.media_path.large").$corporate->HeaderImageName)}})">
            <div class="page-inner-box col-12 col-lg-6 text-center text-white">
                <h1 class="display-4">{{$corporate->Title}}</h1>
                <?php echo $corporate->short_description; ?>
                <p class="pt-4 d-lg-inline-flex row">
                    <a href="#" class="col-md col-6 mb-md-0 mb-3"><img src="{{ asset('/front/images/trustpilot-reviews-logo.png') }}" height="70" alt=""></a>
                    <a href="#" class="col-md col-6 mb-md-0 mb-3 text-md-center text-right"><img src="{{asset('/uploads/media/safe-contractor.png
')}}" height="70"  alt=""></a>
                    <a href="#" class="col-md col-6 mb-md-0 mb-3"><img src="{{asset('/uploads/media/napit-logo.png')}}" height="70" alt=""></a>
                    <a href="#" class="col-md col-6 mb-md-0 mb-3 text-md-center text-right"><img src="{{ asset('/front/images/Gas-Safe-Logo.png') }}" height="70" alt=""></a>
                </p>
            </div>
        </section>
<section class="py-lg-5 py-4 mb-lg-0 mb-4">
    <div class="row no-gutters align-items-center">
        <?php echo $corporate->Content; ?>
    </div>
</section>
<section class="py-lg-5 py-4 our-clients">
    <div class="container">
                <div class="row">
                    <div class="col-md-12 text-center">
                        <h3 class="display-4 text-primary mb-lg-5 mb-4">{{$some_of_our_clients->Title}}</h3>
                        <div class="clients-slider corporate-clients owl-carousel">
                           <?php echo $some_of_our_clients->Content; ?>
                        </div>
                    </div>
                </div>
            </div>
</section>
<section class="py-lg-5 py-3 bg-overlay text-white" style="background-image:url({{ asset('/front/images/engineer_installation_repair_boiler.jpg') }})">
            <div class="container py-3">
                <div class="row justify-content-center">
                    <div class="col-lg-8 text-center">
                        <h2 class="display-4 mb-lg-5">Why Choose <span class="text-primary">Homeflo</span> For Your
                            Business?</h2>
                    </div>
                </div>
                <div class="row">
                       <?php echo $corporate->Content2;?>
                </div>
            </div>
        </section>
@if(!empty($sec3) )
<section class="py-lg-5 py-3">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h2 class="h1 text-primary ">Why Customers Love Us</h2>
                <p class="text-center pb-4"><img src="front/images/trustpilot-logo.svg" width="250" height="61" alt="" ></p>
                 <script src="https://apps.elfsight.com/p/platform.js" defer></script>
                <div class="elfsight-app-7d15d6d0-c59a-499b-80e2-af99c88b68b9"></div>
            </div>
        </div>
    </div>
</section>
@endif
@if(!empty($our_verification))
<section class="py-lg-5 py-3 bg-overlay text-white" style="background-image:url(<?php echo asset('/uploads/media/'.$our_verification->ImageName); ?>)">
            <div class="container py-3">
                <div class="row justify-content-center">
                    <div class="col-md-7 text-center">
                        <h2 class="display-4 mb-lg-5">{{$our_verification->Title}}</h2>
                        
                    </div>
                </div>
                <div class="row">
                    <?php echo $our_verification->Content ?>
                </div>
            </div>
        </section>
        
 @endif     
 <section class="py-lg-5 py-3">
            <div class="container">
                {!! Form::open(array( 'class' => '','url' => '/corporate-us','files'=>true,'enctype'=>'multipart/form-data')) !!}
                    <div class="row justify-content-center">
                        <div class="col-md-12 text-center">
                            <h3 class="display-4 mb-lg-5 mb-4 text-primary">Get In Touch</h3>
                        </div>
                        <div class="col-md-6 form-group">
                            <input type="text" name="first_name" class="form-control form-control-lg" placeholder="Frist Name" required>
                             @if($errors->has('first_name')) <span class="text-danger">{{ $errors->first('first_name')}}</span> @endif
                        </div>
                        <div class="col-md-6 form-group">
                            <input type="text" name="last_name" class="form-control form-control-lg" placeholder="Last Name" required>
                            @if($errors->has('last_name')) <span class="text-danger">{{ $errors->first('last_name')}}</span> @endif
                        </div>
                        <div class="col-md-6 form-group">
                            <input type="text" name="company_name" class="form-control form-control-lg" placeholder="Companay Name:" required>
                             @if($errors->has('company_name')) <span class="text-danger">{{ $errors->first('company_name')}}</span> @endif
                        </div>
                        <div class="col-md-6 form-group">
                            <input type="text" name="postcode" class="form-control form-control-lg" placeholder="Postcode:" required>
                             @if($errors->has('postcode')) <span class="text-danger">{{ $errors->first('postcode')}}</span> @endif
                        </div>
                        <div class="col-md-6 form-group">
                            <input type="email" name="email" class="form-control form-control-lg" placeholder="Email Address" required>
                             @if($errors->has('email')) <span class="text-danger">{{ $errors->first('email')}}</span> @endif
                        </div>

                        <div class="col-md-6 form-group">
                            <input type="text" name="phone" class="form-control form-control-lg" placeholder="Contact Number:" required>
                            @if($errors->has('phone')) <span class="text-danger">{{ $errors->first('phone')}}</span> @endif
                        </div>
                        <div class="col-md-12 form-group pb-3">
                            <textarea name="message" rows="4" class="form-control form-control-lg" placeholder="Additional Information Box"></textarea>
                        </div>
                        <div class="col-md-12 form-group text-center">
                            <button type="submit" class="btn bg-block btn-lg btn-primary text-uppercase px-5 font-weight-bold">Submit</button>
                        </div>
                    </div>
                {!! Form::close() !!}
            </div>
        </section>   
@endif



@endsection