<footer class="footer pt-lg-5 pt-4">
    <div class="row mx-0 justify-content-center">
        <div class="col-lg-11">
            <div class="row justify-content-between align-items-center">
                <div class="col-lg-4 mb-3 text-lg-left text-center">
                    <a href="#"><img src="{{ asset('/front/images/logo.svg') }}" class="img-fluid" width="330" height="62" alt="HomeFlo Ltd."></a>
                </div>
                <div class="col-lg-8  mb-3 text-lg-right text-center footer-logos">
                    <img class="img-fluid mr-2 mb-md-0 mb-3 safecontractor" src="{{ asset('/front/images/safecontractor.jpg') }}" width="90" height="90" alt="">
                    <img class="img-fluid mr-2 nappit mb-md-0 mb-3" src="{{ asset('/front/images/nappit.jpg') }}" width="200" height="76" alt="">
                    <img class="img-fluid mr-2 trustmark-logo" src="{{ asset('/front/images/trustmark-logo.jpg') }}" width="143" height="85" alt="">
                    <img class="img-fluid Gas-Safe-Logo mr-2" src="{{ asset('/front/images/Gas-Safe-Logo.png') }}" width="70" height="79" alt="">
                    <img class="img-fluid ahpc mt-md-0 mt-3" src="{{ asset('/front/images/ahpc.png') }}" width="134" height="79"  alt="">

                </div>
                <div class="col-md-12 mb-3">
                    <div class="border-bottom"></div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-3 col-md-6 mb-lg-0 mb-3">
                    <h3 class="mb-lg-4 text-primary">Contact</h3>
                    @if(isset($cell))
                    <small>Telephone</small>
                    <p><strong> <a href="tel:{{$cell->content}}">{{$cell->content}}</a></strong></p>
                    @endif
                    @if(isset($email))
                    <small>Email</small>
                    <p><strong> <a
                                href="mailto:{{$email->content}} ">{{$email->content}}</a>
                        </strong></p>
                    @endif
                    @if(isset($address))
                    <small>Address</small>
                    <p>{{$address->content}}</p>
                    @endif
                </div>
                <div class="col-lg-3 col-md-6 mb-lg-0 ">
                    <h3 class="mb-lg-4 text-primary footer-links-title">Company</h3>
                    <ul class="footer-links">
                        <li><a href="{{url('/home-care')}}">Home Care</a></li>
                        <li><a href="{{url('/landlord-care')}}">Landlord Care</a></li>
                        <li><a href="{{url('boiler_installation')}}">Boiler Installation</a></li>
                        <li><a href="{{url('what-we-cover')}}">What's Covered</a></li>
                        <li><a href="{{url('about')}}">About Us</a></li>
                        <li><a href="{{url('become_an_engineer')}}">Become An Engineer</a></li>
                        <li><a href="{{url('blogs')}}">Latest News</a></li>
                        <li><a href="{{url('frequently-asked-questions')}}">FAQ's</a></li>
                        <li><a href="{{url('contact-us')}}">Contact Us</a></li>
                    </ul>
                </div>
                <div class="col-lg-3 col-md-6 mb-lg-0">

                    @foreach($categories as $category )
                    <h3 class="mb-lg-4 text-primary footer-links-title">{{$category["buttonTitle"]}}</h3>
                    <ul class="footer-links">
                        @foreach($category["packages"] as $cat )
                        <li><a href="{{url('/').'/'.$cat["url"]}}">{{$cat["title"]}}</a></li>
                        @endforeach
                    </ul>

                    @endforeach


                </div>
                <div class="col-lg-3 col-md-6 mb-lg-0">
                    <h3 class="mb-lg-4 text-primary footer-links-title">Legal</h3>
                    <ul class="footer-links">
                        <li><a href="{{url('gdpr')}}">GDPR Policy</a></li>
                        <li><a href="{{url('complaints')}}">Complaints Policy</a></li>
                        <li><a href="{{url('cancellation')}}">Cancellation Policy</a></li>
                        <li><a href="{{url('terms')}}">Terms & Conditions</a></li>
                        <li><a href="{{url('privacy_policy')}}">Privacy Policy</a></li>

                    </ul>
                    <h3 class="mt-3 text-primary">Socials</h3>
                    <div class="socials">
                        @if(isset($facebook))

                        <a href="{{url($facebook->content)}}" rel="nofollow" title="Facebook" aria-label="Homeflo facebook" class="mr-2"><i class="fab fa-facebook"></i></a>
                        @endif 
                        @if(isset($twitter))
                        <a href="{{url($twitter->content)}}" rel="nofollow" title="twitter" aria-label="Homeflo twitter" class="mr-2"><i class="fab fa-twitter"></i></a>
                        @endif 
                        @if(isset($instagram))
                        <a href="{{url($instagram->content)}}" rel="nofollow" title="instagram" aria-label="Homeflo instagram" class="mr-2"><i class="fab fa-instagram"></i></a>
                        @endif 
                        @if(isset($linkedin))
                        <a href="{{url($linkedin->content)}}" rel="nofollow" title="linkedin" aria-label="Homeflo linkedin" class="mr-2"><i class="fab fa-linkedin"></i></a>
                        @endif 
                    </div>
                </div>
                <div class="col-md-12 my-3">
                    <div class="border-bottom"></div>
                </div>
            </div>
            <div class="row">
                @if(isset($footer))
                <div class="col-md-6 mb-3">
                    {{$footer->content}}
                    <!--                            &copy; 2020 HomeFlo Ltd. Company Reg No: 0000000. All Rights Reserved.-->
                </div>
                @endif 
                <div class="col-md-6 mb-3 text-md-right text-center">
                    <span class="web-author">Crafted With <img src="{{ asset('/front/images/heart-icon.png') }}" width="30" height="30" class="mx-2 entered lazyloaded" alt="Love"> By <a href="https://www.amixconsulting.com/" rel="noopener noreferrer" class="text-primary" target="_blank">Amix</a></span>
                </div>
            </div>
        </div>
    </div>
</footer>

