<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Contend_Capital
 */

?><footer class="container-fluid">
    <div class="row">
        <div class="container">
            <div class="row m_t_100 p_t_80 m_b_100  ">
                <div class="col-sm-6 desktop_show">
                    <img src="<?php the_field('fologo','options'); ?>" class="footer_logo  desktop_show" />
                    <p><?php the_field('fecontent','options'); ?></p>
                    <h5><?php the_field('copyright','options'); ?></h5>
                </div>
                <div class="col-sm-5 col-sm-offset-1">
                    <div class="row flex_col">
                        <div class="col-sm-6 col-xs-12">
                            <h3><?php the_field('menu_title1','options'); ?></h3>
                            <?php
                            wp_nav_menu(
                                array(
                                    'menu' => false,
                                    'theme_location' => 'menu-3',
                                    'link_before' => false,
                                    'link_after' => false,
                                    'menu_class' => false,
                                    'menu_id' => false,
                                    'container' => false,
                                )
                            );
                            ?>
                        </div>
                        <div class="col-sm-6 col-xs-12">
                            <h3><?php the_field('menu_title2','options'); ?></h3>
                            <?php
                                wp_nav_menu(
                                    array(
                                        'menu' => false,
                                        'theme_location' => 'menu-4',
                                        'link_before' => false,
                                        'link_after' => false,
                                        'menu_class' => false,
                                        'menu_id' => false,
                                        'container' => false,
                                    )
                                );
                            ?>
                        </div>
                    </div>
                    <div class="row m_t_30">
                        <div class="col-sm-6 col-xs-12">
                            <h4><?php the_field('conact_title','options'); ?></h4>

                        </div>
                        <div class="col-sm-6 m_t_10 col-xs-12">
                            <?php
                                $buttontext1=get_field('button_text1','options');
                                $buttonlink1=get_field('button_link1','options');
                                if(!empty($buttontext1) && !empty($buttonlink1)):
                            ?>
                            <a href="<?php echo $buttonlink1; ?>" class="btn btn-primary btn-block"><?php echo $buttontext1; ?></a>
                            <?php endif; ?>
                            <?php
                            $buttontext2=get_field('button_text2','options');
                            $buttonlink2=get_field('button_link2','options');
                            if(!empty($buttontext2) && !empty($buttonlink2)):
                                ?>
                                <a href="<?php echo $buttonlink2; ?>" class="btn btn-outline btn-block m_t_10"><?php echo $buttontext2; ?></a>
                            <?php endif; ?>
                        </div>
                    </div>
                    <img src="<?php the_field('fologo','options'); ?>" class="footer_logo  mobile_show" />
                </div>
            </div>
        </div>
    </div>
</footer>
<?php wp_footer(); ?>
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.min.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap.min.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/owl.carousel.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/wow.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/custom_script.js"></script>
</body>
</html>