<?php

function nextbit_footer_style_4(){ 
    $footer_top_switch = get_theme_mod( 'footer_top_switch', false );
    $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' ); 
    $footer_newl_code = get_theme_mod( 'footer_newl_code' ); 

    $footerNewslater = get_theme_mod( 'footer_newslater_title', esc_html__('Subscribe Now', 'nextbit') );
    $contacttitle = get_theme_mod( 'foo_info_title', esc_html__('Get In Touch', 'nextbit') );
    $nextbit_newslater_description = get_theme_mod( 'nextbit_newslater_description', esc_html__('Stay up to update with our latest news and products.', 'nextbit') );

    $nextbit_footer_info_number_icon = get_theme_mod( 'nextbit_footer_info_number_icon', get_template_directory_uri() . '/assets/images/icons/icon-1.png' );
    $nextbit_footer_info_mail_icon = get_theme_mod( 'nextbit_footer_info_mail_icon', get_template_directory_uri() . '/assets/images/icons/icon-2.png' );
    $nextbit_footer_info_address_icon = get_theme_mod( 'nextbit_footer_info_address_icon', get_template_directory_uri() . '/assets/images/icons/icon-3.png' );
    $nextbit_footer_info_number_1 = get_theme_mod( 'nextbit_footer_info_number_1', __('+3453-909-6565', 'nextbit') );
    $nextbit_footer_info_number_2 = get_theme_mod( 'nextbit_footer_info_number_2', __('+3453-909-6565', 'nextbit') );
    $nextbit_footer_info_mail_1 = get_theme_mod( 'nextbit_footer_info_mail_1', __('infoname@gmail.com', 'nextbit') );
    $nextbit_footer_info_mail_2 = get_theme_mod( 'nextbit_footer_info_mail_2', __('infoname@gmail.com', 'nextbit') );
    $nextbit_footer_info_address = get_theme_mod( 'nextbit_footer_info_address', __('503 Old Buffalo Street Northwest #205, New York-3087', 'nextbit') );
?>
    <!-- Footer Style Two -->
	<footer class="footer-style-three">
		<div class="shadow-layer" style="background-image:url(<?php echo get_template_directory_uri(  ); ?>/assets/images/background/shadow-6.png)"></div>
		<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">
									<div class="logo">
                                        <?php nextbit_header_light3_logo();?>
									</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-6 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="quick-links-two">
                                        <?php if(is_active_sidebar( 'footer-4' )):?>
                                            <?php dynamic_sidebar( 'footer-4' );?>
                                        <?php endif;?>
                                    </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 contact-widget">
									<h5><?php echo esc_html($contacttitle);?></h5>
                                    <?php if(!empty( $footer_top_switch == true )) : ?>
                                        <ul class="contact-list">

                                            <li>
                                                <?php if(!empty( $nextbit_footer_info_address_icon )) : ?>
                                                <span class="icon flaticon-house"></span>
                                                <?php endif; ?>

                                                <?php if(!empty( $nextbit_footer_info_address )) : ?>
                                                <?php echo nextbit_kses_basic($nextbit_footer_info_address); ?>
                                                <?php endif; ?>
                                            </li>
                                            <li>
                                                <?php if(!empty( $nextbit_footer_info_number_icon )) : ?>
                                                <span class="icon flaticon-telephone"></span>
                                                <?php endif; ?>

                                                <?php if(!empty( $nextbit_footer_info_number_1 )) : ?>
                                                    <?php echo esc_html($nextbit_footer_info_number_1); ?><br>
                                                <?php endif; ?>

                                                <?php if(!empty( $nextbit_footer_info_number_2 )) : ?>
                                                    <?php echo esc_html($nextbit_footer_info_number_2); ?>
                                                <?php endif; ?>
                                            </li>

                                            <li>
                                                <?php if(!empty( $nextbit_footer_info_mail_icon )) : ?>
                                                <span class="icon flaticon-email"></span>
                                                <?php endif; ?>

                                                <?php if(!empty( $nextbit_footer_info_mail_1 )) : ?>
                                                    <?php echo esc_html($nextbit_footer_info_mail_1); ?><br>
                                                <?php endif; ?>

                                                <?php if(!empty( $nextbit_footer_info_mail_2 )) : ?>
                                                    <?php echo esc_html($nextbit_footer_info_mail_2); ?>
                                                <?php endif; ?>
                                            </li>
                                        </ul>
                                        <?php endif;?>
								</div>
							</div>
							<!-- Footer Column -->
							<div class="footer-column col-lg-6 col-md-6 col-sm-12">
								<div class="footer-widget newsletter-widget">
									<h5><?php echo esc_html($footerNewslater);?></h5>
									<div class="text"><?php echo esc_html($nextbit_newslater_description); ?></div>
									<!-- Newsletter Form Two -->
									<div class="newsletter-form-four">
                                        <div class="form-group">
                                            <?php print do_shortcode($footer_newl_code); ?>
                                        </div>
									</div>
									
								</div>
							</div>
							
						</div>
					</div>
							
				</div>
			</div>
			
			<!-- Footer Bottom -->
			<div class="footer-bottom">
				<div class="inner-container">
					<div class="copyright"><?php print nextbit_copyright_text(); ?></a></div>
				</div>
			</div>
			
		</div>
	</footer>
	<!-- End Footer Style Nine -->
<?php 
}