<?php
function nextbit_footer_style_3(){ 
    $nextbit_footer_logo_two = get_theme_mod( 'nextbit_footer_logo_two', get_template_directory_uri() . '/assets/images/footer-logo2.png' );
    $nextbit_footer_logo_two = get_theme_mod( 'nextbit_footer_logo_two', get_template_directory_uri() . '/assets/images/footer-logo2.png' );
    $footer_about = get_theme_mod( 'footer4_descriotion', __('Amet minim mollit non deserullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velmollit. nostrud amet.', 'nextbit') );    
    $navlink_title = get_theme_mod( 'footer_nav_title', __('Quick Link', 'nextbit') );   
    $nextbit_newslater_shortcode = get_theme_mod( 'nextbit_newslater_shortcode' ); 

    $nextbit_newslater_title = get_theme_mod( 'nextbit_newslater_title', esc_html__('Sign up for our newsletter', 'nextbit') );
    $nextbit_newslater_description = get_theme_mod( 'nextbit_newslater_description', esc_html__('Stay up to update with our latest news and products.', 'nextbit') );
?>
    <!-- Footer Style Two -->
	<footer class="footer-style-two" style="background-image:url(<?php echo get_template_directory_uri(  ); ?>/assets/images/background/pattern-46.png)">
		<div class="pattern-layer" style="background-image:url(<?php echo get_template_directory_uri(  ); ?>/assets/images/background/pattern-47.png)"></div>
		<div class="auto-container">
			<!--Widgets Section-->
			<div class="widgets-section">
				<div class="row clearfix">
					
					<!--Footer Column-->
					<div class="footer-column col-lg-4 col-md-6 col-sm-12">
						<div class="footer-widget logo-widget">
							<div class="logo">
								<a href="<?php print esc_url( home_url( '/' ) );?>"><img src="<?php echo esc_url($nextbit_footer_logo_two);?>" alt="<?php echo esc_attr__('logo', 'nextbit') ?>" /></a>
							</div>
							<div class="text"><?php echo esc_html($footer_about);?></div>
							<!-- Social Box -->
							<?php nextbit_footer_social_profiles(); ?>
						</div>
					</div>
					
					<!-- Footer Column -->
					<div class="footer-column col-lg-4 col-md-6 col-sm-12">
						<div class="footer-widget contact-widget">
                            <?php if(!empty($navlink_title)):?>
							<h5><?php echo esc_html($navlink_title);?></h5>
                            <?php endif;?>
							<div class="row clearfix">
								<div class="column col-lg-6 col-md-6 col-sm-12">
									<div class="quick-links">
										<?php if(is_active_sidebar( 'footer-4' )):?>
                                            <?php dynamic_sidebar( 'footer-4' );?>
                                        <?php endif;?>
									</div>
								</div>
								<div class="column col-lg-6 col-md-6 col-sm-12">
									<div class="quick-links">
                                        <?php if(is_active_sidebar( 'footer-5' )):?>
                                            <?php dynamic_sidebar( 'footer-5' );?>
                                        <?php endif;?>
									</div>
								</div>
							</div>
						</div>
					</div>
					
					<!-- Footer Column -->
					<div class="footer-column col-lg-4 col-md-6 col-sm-12">
						<div class="footer-widget newsletter-widget">
							<h5><?php echo esc_html($nextbit_newslater_title);?></h5>
							<div class="text"><?php echo esc_html($nextbit_newslater_description); ?></div>
							<!-- Newsletter Form Two -->
							<div class="newsletter-form-two">
                                <div class="form-group">
                                    <?php print do_shortcode($nextbit_newslater_shortcode); ?>
                                </div>
							</div>
							
						</div>
					</div>
							
				</div>
			</div>
			
			<!-- Footer Bottom -->
			<div class="footer-bottom">
				<div class="inner-container">
					<div class="row clearfix">
						
						<!-- Copyright Column -->
						<div class="copyright-column text-center col-lg-12">
							<div class="copyright"><?php print nextbit_copyright_text(); ?></div>
						</div>
						
					</div>
				</div>
			</div>
			
		</div>
	</footer>
	<!-- End Footer Style Nine -->
<?php 
}