<?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 Nymera
 */

?>
<?php if(is_page('about')):echo'<div class="container-fluid m_t_90"></div>';endif; ?>

<footer class="container-fluid">
    <div class="row ">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="gradient_bg border_rad f_box title_text  wow fadeIn">
                        <h2><?php the_field('ft_title','options'); ?></h2>
                        <?php
                            $button=get_field('ft_btn_text','options');
                            $url=get_field('ft_btn_link','options');
                            if(!empty($button) && !empty($url)):
                        ?>
                        <a href="<?php echo $url; ?>" class="btn btn-white"><?php echo $button; ?></a>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
            <div class="row m_t_50">
                <div class="col-md-5 col-sm-4  wow fadeIn">
                    <img src="<?php the_field('ftr_logo', 'options'); ?>" class="footer_logo"/>
                    <p><?php the_field('ftr_content', 'options'); ?></p>
                    <div class="social">
                        <?php
                        if (have_rows('social_icon', 'options')):
                            while (have_rows('social_icon', 'options')) : the_row();
                                $icon = get_sub_field('si_icon', 'options');
                                $url = get_sub_field('si_url', 'options');
                                if (!empty($icon) && !empty($url)): ?>
                                    <a href="<?php echo $url; ?>"><i class="fa fa-<?php echo $icon; ?>"></i></a>
                                <?php endif;
                            endwhile;
                        endif;
                        wp_reset_postdata();
                        ?>
                    </div>
                    <p class="credit"><?php the_field('copyright', 'options'); ?></p>
                </div>
                <div class="col-md-3 col-md-offset-1 col-sm-4  wow fadeIn">
                    <h3><?php the_field('menu_title1','options'); ?></h3>
                    <?php
                    wp_nav_menu(
                        array(
                            'menu' => false,
                            'theme_location' => 'menu-2',
                            'link_before' => false,
                            'link_after' => false,
                            'menu_class' => false,
                            'menu_id' => false,
                            'container' => false,
                        )
                    );
                    ?>
                </div>
                <div class="col-md-3 col-sm-4  wow fadeIn">
                    <h3><?php the_field('menu_title2','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>
        </div>
    </div>
</footer>
<?php wp_footer(); ?>
<script src="<?= get_template_directory_uri(); ?>/js/jquery.min.js"></script>
<script src="<?= get_template_directory_uri(); ?>/js/bootstrap.min.js"></script>
<!--<script src="<?= get_template_directory_uri(); ?>/js/owl.carousel.js"></script>-->
<script src="<?= get_template_directory_uri(); ?>/js/wow.js"></script>

<script src="<?= get_template_directory_uri(); ?>/js/custom_script.js"></script>
<script>
	 
</script>
</body>
</html>