<?php if(get_theme_mod('tromas_call_to_action_section_enable')): ?>
<!-- Start Call-To-Action -->
<section class="call-to-action">
	<div class="container">
		<div class="row">
			<div class="col-12">
				<div class="call-to-main">
					<?php
						$call_to_action_title = get_theme_mod('tromas_call_to_action_page_title');
						
						$queried_post = get_post($call_to_action_title);
					?>
					<h2><?php echo esc_html($queried_post->post_title); ?></h2>
					<?php wp_reset_postdata(); ?>
					<?php if(get_theme_mod('tromas_call_to_action_button_title')):?>
					<a href="<?php echo esc_url(get_theme_mod('tromas_call_to_action_button_url'));?>" class="btn"><i class="fa fa-send"></i><?php echo esc_html(get_theme_mod('tromas_call_to_action_button_title'));?></a>
					<?php endif;?>
				</div>
			</div>
		</div>
	</div>
</section>
<!--/ End Call-To-Action -->
<?php endif;?>