<?php
$bg_img = ( $bg_img ) ? $bg_img : get_template_directory_uri() . '/assets/images/background/4.jpg';
?>
<!--Quote Section-->
<section class="quote-section" style="background-image:url( <?php echo esc_url( $bg_img );  ?> );">
	<div class="auto-container">
		<!--Sec Title-->
		<div class="sec-title light centered">
			<h2><?php echo wp_kses_post( $title );  ?></h2>
		</div>
		<div class="quote-inner">
			<div class="row clearfix">
				<!--Form Column-->
				<div class="form-column col-md-8 col-sm-12 col-xs-12">

					<!--Default Form-->
					<div class="default-form style-two">
						<?php if ( $quote_form ) : ?>

							<?php echo do_shortcode( '[contact-form-7 id="'.$quote_form.'"]' ); ?>

						<?php endif; ?>
					</div>

				</div>
				<!--Contact Column-->
				<div class="contact-column col-md-4 col-sm-12 col-xs-12">
					<div class="column-inner">
						<h2><?php echo wp_kses_post( $info_title );  ?></h2>
						<!--List Style Two-->
						<ul class="list-style-two">
						
							<?php  if ( $info_address ) :  ?>
						
								<li><span class="icon fa fa-home"></span><strong><?php esc_html_e( 'Address:', 'buildark' ); ?></strong> <?php echo wp_kses_post( $info_address );  ?></li>
								
							<?php endif; ?>
							<?php  if ( $info_phone ) :  ?>

								<li><span class="icon fa fa-phone"></span><strong><?php esc_html_e( 'Phone:', 'buildark' ); ?></strong> <?php echo wp_kses_post( $info_phone );  ?></li>
								
							<?php endif; ?>
							<?php  if ( $info_email ) :  ?>

								<li><span class="icon fa fa-envelope"></span><strong><?php esc_html_e( 'Email:', 'buildark' ); ?></strong> <?php echo sanitize_email( $info_email );  ?></li>
								
							<?php endif; ?>
							
						</ul>
					</div>
				</div>
			</div>
		</div>

		<!--Clients Section-->
		<section class="clients-section-three">
			<div class="auto-container">
				<!--Sponsors Carousel-->
				<ul class="sponsors-carousel owl-carousel owl-theme">
				
					<?php  if ( $partners ) :  ?>
		
						<?php foreach( $partners as $parts ) :   ?>

							<li class="slide-item">
								<figure class="image-box">
									<a href="<?php echo esc_url( $parts->partner_link );  ?>"><img src="<?php echo esc_url( $parts->partner_img );  ?>" alt="<?php esc_attr_e('image', 'buildark');?>"></a>
								</figure>
							</li>

						<?php endforeach; ?>

					<?php endif; ?>
					
				</ul>
			</div>
		</section>
		<!--End Clients Section-->

	</div>
</section>
<!--End Quote Section-->