<?php
/**
 * The template for displaying the footer
 * 
 * @subpackage akhada-fitness-gym
 * @since 1.0
 * @version 0.3
 */

?>
		</div>
		<footer id="colophon" class="site-footer" role="contentinfo">
		<?php
			$container_type = get_theme_mod('akhada_fitness_gym_boxfull_width', ''); // Get the selected container type
			// Define the default container class
			$container_class = 'container';
			// If container-fluid is selected, update the container class
			if ($container_type === 'container-fluid') {
				$container_class = 'container-fluid';
			}
			?>
			<div class="<?php echo esc_attr($container_class); ?>">
				<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
			</div>
			<div class="clearfix"></div>
			<?php if (get_theme_mod('akhada_fitness_gym_show_back_totop',true)) {?>
			<div class="copyright">
				<div class="container">
					<?php get_template_part( 'template-parts/footer/site', 'info' ); ?>
				</div>
			</div>
		</footer>
			<button role="tab" class="back-to-top"><span class="back-to-top-text"><?php echo esc_html('Top', 'akhada-fitness-gym'); ?></span></button>
		<?php }?>
	</div>
</div>
<?php wp_footer(); ?>

</body>
</html>