<footer class="site-footer">
				<div class="container">
					<div class="row">
						<div class="col-md-4 col-sm-6">
							<div class="widget">
								<a href="<?php echo home_url();?>/" class="footer-logo">
									<img src="<?php echo the_field('footer_image',5); ?>" alt="Footer Logo"/>
								</a>
<?php echo the_field('footer_content',5); ?>		
					</div>
							<div class="social">
								<div class="social-menu">
									<ul class="menu">
										<?php if( have_rows('footer_icons',5) ): ?>
                    <?php while( have_rows('footer_icons',5) ): the_row(); 
                    $social_icon_name = get_sub_field('social_icon_name');
                    $icon_link = get_sub_field('icon_link');
                    ?>
										<li><a href="<?php echo $icon_link;?>"><?php echo $social_icon_name;?></a></li>
										<?php endwhile;?>
                   						<?php endif;?>	
									</ul>
								</div>
							</div>
						</div>
						<div class="col-md-4 col-sm-6">
							<div class="widget">
								<h3 class="widget-title"><span><?php echo the_field('links_title',5); ?></span></h3>
								<ul class="menu">
									<?php if( have_rows('links',5) ): ?>
                    <?php while( have_rows('links',5) ): the_row(); 
                    $link_name = get_sub_field('link_name');
                    $link_url = get_sub_field('link_url');
                    ?>
									<li><a href="<?php echo $link_url;?>"> <?php echo $link_name;?></a></li>
									<?php endwhile;?>
                   						<?php endif;?>
									
									
								</ul>
							</div>
						</div>
						<div class="col-md-4 col-sm-6">
							<div class="widget">
								<h3 class="widget-title"><span>CBHSS</span></h3>
								<div class="textwidget">
									<p><i class="fa fa-map-marker"></i> &nbsp; <?php echo the_field('address',103); ?></p>
									<p><i class="fa fa-phone"></i>  &nbsp; <?php echo the_field('phone_number',103); ?></p>
									<p><i class="fa fa-envelope"></i>  &nbsp; <a href="<?php echo the_field('mail_id',103); ?>"><?php echo the_field('mail_id',103); ?></a></p>
									
									<p><i class="fa fa-clock-o"></i>  &nbsp; <?php echo the_field('timings',103); ?></p>
								</div>
							</div>
						</div>
					</div>
				</div>
			</footer>
			<div class="copyright">
				<div class="container">
					<div class="row middle">
						<div class="col-md-12 end-md end-lg center">
							<?php echo the_field('copy_right',5); ?>
						</div>
					</div>
				</div>
			</div>
		</div>
		<a class="scrollup"><i class="fa fa-angle-up"></i></a>

		

		
		<script>
  // Show the modal when the page loads
  window.onload = function() {
    document.getElementById('popupModal').style.display = 'block';
  }

  // Close the modal
  function closeModal() {
    document.getElementById('popupModal').style.display = 'none';
  }
</script>
<?php wp_footer();?> 
	</body>


</html>