<!--Main Footer-->
    <footer class="main-footer style-two" style="background-image:url('{{asset('images/background/7.png')}}')">
    	<div class="auto-container"> 
        	<!--Widgets Section-->
            <div class="widgets-section">
            	<div class="row clearfix">

                    <!--Column-->
                    <div class="big-column col-lg-6 col-md-12 col-sm-12">
						<div class="row clearfix">

                        	<!--Footer Column-->
                            <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                                <div class="footer-widget logo-widget">
									<h2><span class="icon fa fa-thumbs-o-up" style="padding-left:6%;"></span>Useful Links</h2>

									<div class="row clearfix">
										<div class="column col-lg-12 col-md-6 col-sm-12">
											<ul class="footer-list">
												@if(count($usefullink)!=0)
												@foreach($usefullink as $key=>$value)
												@if($key<5)
												<li><a href="{{@$value->link}}" target="_blank" rel="noopener noreferrer">{{@$value->name}}</a></li>
												@endif
												@endforeach
												@endif
											</ul>
										</div>
									</div>

								</div>
							</div>

							<!--Footer Column-->
                            <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                                <div class="footer-widget news-widget">
									<!-- <div class="footer-widget news-widget" style="margin-left:-20%; padding-right:15%;"></div> -->
									<h2 style="color: #eb002700;"><span class="icon fa fa-bullhorn" style="color:#eb002700"></span>Recent News</h2>

									<!--News Widget Block-->
									<div class="column col-lg-12 col-md-6 col-sm-12">
										<div class="news-widget-block">
										<ul class="footer-list"> 
											@if(count($usefullink)!=0)
												@foreach($usefullink as $key=>$value)
												@if($key>=5)
												<li><a href="{{@$value->link}}" target="_blank" rel="noopener noreferrer">{{@$value->name}}</a></li>
												@endif
												@endforeach
										    @endif											
										</ul>
									</div>
									</div>
                                    <!-- <div class="news-widget-block">
                                        <div class="widget-inner">
                                            <div class="image">
                                                <img src="images/resource/news-image-1.jpg" alt="" />
                                            </div>
                                            <h3><a href="blog-detail.html">Lorem ipsum dolor sitam et, mandamus his ad</a></h3>
                                            <div class="post-date">Sept 26, 2018</div>
                                        </div>
                                    </div> -->

									<!--News Widget Block-->
                                    <!-- <div class="news-widget-block">
                                        <div class="widget-inner">
                                            <div class="image">
                                                <img src="images/resource/news-image-2.jpg" alt="" />
                                            </div>
                                            <h3><a href="blog-detail.html">Lorem ipsum dolor sitam et, mandamus his ad</a></h3>
                                            <div class="post-date">Oct 29, 2018</div>
                                        </div>
                                    </div> -->

									<!--News Widget Block-->
                                    <!-- <div class="news-widget-block">
                                        <div class="widget-inner">
                                            <div class="image">
                                                <img src="images/resource/news-image-3.jpg" alt="" />
                                            </div>
                                            <h3><a href="blog-detail.html">Lorem ipsum dolor sitam et, mandamus his ad</a></h3>
                                            <div class="post-date">Jan 26, 2020</div>
                                        </div>
                                    </div> -->

								</div>
							</div>

						</div>
					</div>

					<!--Column-->
                    <div class="big-column col-lg-6 col-md-12 col-sm-12">
						<div class="row clearfix"> 

							<!--Footer Column-->
                            <div class="footer-column col-lg-6 col-md-6 col-sm-12" >
                                <div class="footer-widget about-widget">
									<!-- <div class="footer-widget about-widget"style="margin-left:-7%; padding-right:5%"></div> -->
									<h2><span class="icon fa fa-user"></span>About Us</h2>
									<div class="column col-lg-12 col-md-6 col-sm-12">
										<ul class="footer-list"> 
											<!-- <ul class="footer-list" style="margin-left: -6%;">  -->
												<li><a href="domesticservices.html" target="_blank" rel="noopener noreferrer">Domestic Services</a></li>
												<li><a href="international.html" target="_blank" rel="noopener noreferrer">International</a></li>
												<li><a href="globallogistic.html" target="_blank" rel="noopener noreferrer">Global Logistics</a></li>
												<li><a href="custombrokerage.html" target="_blank" rel="noopener noreferrer">Customs Brokerage</a></li>
												<li><a href="cargoinsurance.html" target="_blank" rel="noopener noreferrer">Cargo Insurance</a></li>
										</ul>
									</div>
									<!-- <div class="text">Lorem ipsum dolor sit amet, conec tetur adipisicing elit, sed do eiusd tempor incididunt ut labore dolore magna aliqua tempor.</div>
									<div class="phone-number">0044 123 456</div>
									<div class="about-email">carga@example.com</div>-->
									
									<!--Social Box-->
									<!-- <ul class="social-icon-one">
										<li><a href="#"><span class="fa fa-twitter"></span></a></li>
										<li><a href="#"><span class="fa fa-facebook"></span></a></li>
										<li><a href="#"><span class="fa fa-linkedin"></span></a></li>
										<li><a href="#"><span class="fa fa-google-plus"></span></a></li>
										<li><a href="#"><span class="fa fa-instagram"></span></a></li>
										<li><a href="#"><span class="fa fa-youtube"></span></a></li>
									</ul> -->
								</div>
							</div>

							<!--Footer Column-->
                            <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                                <div class="footer-widget mail-widget" >
									<!-- <div class="footer-widget mail-widget" style="margin-left:-8%; padding-right:10%;"></div> -->
									<h2><span class="icon fa fa-envelope-o"></span>Contact Us</h2>
									<div class="text">Don't hesitate to contact us now!</div>
									<div class="phone-number"><a href="tel:@if(@$setting->phone) {{@$setting->phone}}@endif" style="color:#eb0028">@if(@$setting->phone) {{@$setting->phone}}@endif </a></div>
									<div class="phone-number-fax"><a href="tel:@if(@$setting->fax) {{@$setting->fax}}@endif" style="color:#555555;">@if(@$setting->fax) {{@$setting->fax}}@endif </a></div>
									<div class="about-email"><a href="mailto:@if(@$setting->email) {{@$setting->email}}@endif" style="color:#555555">@if(@$setting->email) {{@$setting->email}}@endif</a></div>
									<!--Social Box-->
									<?php 
									$facebook=(@$sociallink[1]) ? @$sociallink[1]->link : '#';
									$twitter=(@$sociallink[0]) ? @$sociallink[0]->link : '#';
									$linkedin=(@$sociallink[2]) ? @$sociallink[2]->link : '#';
									$google=(@$sociallink[3]) ? @$sociallink[3]->link : '#';
									$instagram=(@$sociallink[4]) ? @$sociallink[4]->link : '#';
									$youtube=(@$sociallink[5]) ? @$sociallink[5]->link : '#';
									?>
									<ul class="social-icon-one">
										<li><a target="_blank" href="{{$twitter}}"><span class="fa fa-facebook"></span></a></li>
										<li><a target="_blank" href="{{$facebook}}"><span class="fa fa-twitter"></span></a></li>
										<li><a target="_blank" href="{{$linkedin}}"><span class="fa fa-linkedin"></span></a></li>
										<li><a target="_blank" href="{{$google}}"><span class="fa fa-google-plus"></span></a></li>
										<li><a target="_blank" href="{{$instagram}}"><span class="fa fa-instagram"></span></a></li>
										<li><a target="_blank" href="{{$youtube}}"><span class="fa fa-youtube"></span></a></li>
									</ul>
									<!-- Email Form -->
									<!-- <div class="email-form">
										<form method="post" action="quote.html">
											<div class="form-group clearfix">
												<input type="email" name="email" value="" placeholder="Email address">
												<button type="submit" class="theme-btn submit-btn"><span class="icon fa fa-check"></span></button>
											</div>
										</form>
									</div> -->
									<!-- <div class="text wid-notice">(No Spam, We respect your privacy)</div> -->
								</div>
							</div>
						</div>
					</div>

				</div>
			</div>
		</div>

		<!-- Footer Bottom -->
		<div class="footer-bottom">
			<div class="privacy">
				<a href="privacy.html">Privacy</a> | Terms Of Use | Resources</div>
			<div class="copyright">All Rights Reserved &copy; 2010 - 2023 / {{@$setting->site_name}} | Powered by First Online</div>
		</div>

	</footer>

</div>
<!--End pagewrapper-->

<!--Scroll to top-->
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-up"></span></div>
<script src="js/jquery.js"></script>

<script src="js/popper.min.js"></script> 
<script src="js/bootstrap.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/jquery.validate.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/additional-methods.min.js"></script> -->
<!-- <script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="js/jquery.fancybox.js"></script>
<script src="js/appear.js"></script>
<script src="js/owl.js"></script>
<script src="js/wow.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/script.js"></script> -->

<script type="text/javascript" src="{{ URL::asset('js/jquery.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/bootstrap.min.js') }}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/jquery.validate.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/additional-methods.min.js"></script>
<script type="text/javascript" src="{{ URL::asset('js/jquery.mCustomScrollbar.concat.min.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/jquery.fancybox.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/appear.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/owl.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/wow.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/jquery-ui.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/script.js') }}"></script>

    <script>
        $(document).ready(function() {
        	$(document).ready(function() {
        	//quote form
            $("#quote_form").validate({
                rules: {
                    user_companyname: {
                        required: true,
                        maxlength: 35,
                    },user_title:{
                        required: true,
                        maxlength: 35,
                    },user_email: {
                        required: true,
                        email: true,
                        maxlength: 50
                    },user_phone:{
                        required: true
                    },user_ext:{
                        required: true
                    },user_fax:{
                        required: true
                    },user_name:{
                        required: true,
                        maxlength: 100,
                    },user_payablename: {
                        required: true,
                    },user_mobiledirect: {
                        required: true
                    },user_faxpod: {
                        required: true
                    }

                    ,p_address: {
                        required: true
                    },p_city: {
                        required: true
                    },p_postalzip: {
                        required: true
                    },p_state: {
                        required: true
                    },p_country: {
                        required: true
                    }

                    ,b_address: {
                        required: true
                    },b_city: {
                        required: true
                    },b_postalzip: {
                        required: true
                    },b_state: {
                        required: true
                    },b_country: {
                        required: true
                    },b_our_services: {
                        required: true
                    },b_numberlocation: {
                        required: true
                    },b_typeofbusiness: {
                        required: true
                    }

                    ,o_nameone: {
                        required: true
                    },o_titleone: {
                        required: true
                    }

                    ,myfile: {
                        required: true,
                        filesize: 2,
                    },classify: {
                        required: true
                    }

                    ,bank_principalbank: {
                        required: true
                    },bank_branchlocation: {
                        required: true
                    },bank_contactbankreference: {
                        required: true
                    },bank_telephonebankreference: {
                        required: true
                    },bank_extbankreference: {
                        required: true
                    },bank_accountbankreference: {
                        required: true
                    },bank_approve: {
                        required: true
                    }

                },
                messages: {
                	bank_principalbank: {
                        required: "Enter Principal Bank"
                    },bank_branchlocation: {
                        required: "Enter Branch"
                    },bank_contactbankreference: {
                        required: "Enter contact number"
                    },bank_telephonebankreference: {
                        required: "Enter telephone number"
                    },bank_extbankreference: {
                        required: "Enter Ext number"
                    },bank_accountbankreference: {
                        required: "Enter Account number"
                    },bank_approve: {
                        required: "This field is required"
                    },

                	myfile: {
                        required: "Please upload file"
                    },classify: {
                        required: "Please select one"
                    },

                    o_nameone: {
                        required: "Name is required"
                    },o_titleone: {
                        required: "Title is required"
                    },

                	b_address: {
                        required: "Billing address is required"
                    },b_city: {
                        required: "Billing city is required"
                    },b_postalzip: {
                        required: "Billing postal is required"
                    },b_state: {
                        required: "Billing state is required"
                    },b_country: {
                        required: "Billing country is required"
                    },b_our_services: {
                        required: "Select one service"
                    },b_numberlocation: {
                        required: "Number of locations is required"
                    },b_typeofbusiness: {
                        required: "Billing business is required"
                    },

                    user_companyname: {
                        required: "Company name is required",
                        maxlength: "Company name cannot be more than 35 characters"
                    },user_title: {
                        required: "User Title is required",
                        maxlength: "User Title cannot be more than 35 characters"
                    },user_email: {
                        required: "Email is required",
                        email: "Email must be a valid email address",
                        maxlength: "Email cannot be more than 50 characters",
                    },user_phone: {
                        required: "Telephone number is required"
                    },user_ext: {
                        required:  "Ext is required",
                    },user_fax: {
                        required: "Fax is required"
                    },user_name: {
                        required: "Name is required",
                        maxlength: "Name cannot not be more than 250 characters"
                    },user_payablename: {
                        required: "Account Payable Name is required"                        
                    },user_mobiledirect: {
                        required: "Mobile / Direct Line is required"
                    },user_faxpod: {
                        required: "Fax # for P.O.D is required"
                    }

                    ,p_address: {
                        required: "Physical Address is required"
                    },p_city: {
                        required: "Physical City is required"
                    },p_postalzip: {
                        required: "Physical Postal is required"
                    },p_state: {
                        required: "Physical State is required"
                    },p_country: {
                        required: "Physical Country is required"
                    }
                },
                /*errorPlacement: function(error, element) {
                if (element.attr("name") == "contactby[]") {
                    error.appendTo("#errorToShow1").css('color','#dc3545').css("fontSize", "14px").css('float','right');
                } else {
                    error.insertAfter(element);
                }
                if (element.attr("name") == "followingservice[]") {
                    error.appendTo("#errorToShow").css('color','#dc3545').css("fontSize", "14px");
                } else {
                    error.insertAfter(element);
                }
               }*/
            });
        });




            //user contact form
            $("#userfeedbackform").validate({
                rules: {
                    firstname: {
                        required: true,
                        maxlength: 35,
                    },lastname:{
                        required: true,
                        maxlength: 35,
                    },"followingservice[]":{
                        required: true
                    },"contactby[]":{
                        required: true
                    },heardabout:{
                        required: true
                    },company:{
                        required: true,
                        maxlength: 100,
                    },mobile: {
                        required: true,
                    },title: {
                        required: true
                    },email: {
                        required: true,
                        email: true,
                        maxlength: 50
                    },country: {
                        required: true
                    },address: {
                        required: true,
                        maxlength: 250
                    },city: {
                        required: true,
                        maxlength: 100
                    },state: {
                        required: true,
                        maxlength: 80
                    },postal: {
                        required: true,
                        number:true
                    },message: {
                        required: true,
                    }
                },
                messages: {
                    firstname: {
                        required: "First name is required",
                        maxlength: "First name cannot be more than 35 characters"
                    },lastname: {
                        required: "Last name is required",
                        maxlength: "Last name cannot be more than 35 characters"
                    },"followingservice[]": {
                        required: "Please select one following services"
                    },"contactby[]": {
                        required: "Please select one Contact me"
                    },company: {
                        required: "Company name is required",
                        maxlength: "Company name cannot be more than 100 characters"
                    },email: {
                        required: "Email is required",
                        email: "Email must be a valid email address",
                        maxlength: "Email cannot be more than 50 characters",
                    },mobile: {
                        required: "Mobile number is required",
                       // minlength: "Phone number must be of 10 digits"
                    },title: {
                        required:  "Title is required",
                    },country: {
                        required: "Country is required"
                    },heardabout: {
                        required: "Please select one"
                    },address: {
                        required: "Address is required",
                        maxlength: "Address cannot not be more than 250 characters"
                    },city: {
                        required: "City is required",
                        maxlength: "City cannot be more than 100 characters"
                    },state: {
                        required: "State is required",
                        maxlength: "City cannot be more than 80 characters"
                    },postal: {
                        required: "Zipcode is required",
                    },message: {
                        required: "Message is required"
                    } 
                },
                errorPlacement: function(error, element) {
                if (element.attr("name") == "contactby[]") {
                    error.appendTo("#errorToShow1").css('color','#dc3545').css("fontSize", "14px").css('float','right');
                } else {
                    error.insertAfter(element);
                }
                if (element.attr("name") == "followingservice[]") {
                    error.appendTo("#errorToShow").css('color','#dc3545').css("fontSize", "14px");
                } else {
                    error.insertAfter(element);
                }
               }
            });
        });
    </script>

</body>
</html>