<?php
/**
 * The template for displaying cta 2 section
 *
 * @package Oginer
 */
 
$cta2_id = get_theme_mod( 'oginer_cta2_id', 'cta2' );
$cta2_description = get_theme_mod( 'oginer_cta2_description' );
$cta2_url = get_theme_mod( 'oginer_cta2_url', '#' );
$cta2_url_title = get_theme_mod( 'oginer_cta2_url_title', __( 'More info', 'oginer' ) );
?>

<section id="<?php echo esc_attr( $cta2_id ); ?>" class="mw-section cta bg-primary">
	<div class="container">
		<div class="row">
			<div class="col-md-9 mw-animation" data-os-animation="bounceInLeft">
				<?php if ( $cta2_description != '' ) { ?>
				<p><?php echo esc_html( $cta2_description ); ?></p>
				<?php } ?>				
			</div>
			
			<?php if ( $cta2_url != '' ) { ?>
			<div class="col-md-3 mw-animation" data-os-animation="bounceInRight">						
				<a target="_self" class="btn btn-primary btn-lg" href="<?php echo esc_url( $cta2_url ); ?>"><?php echo esc_html( $cta2_url_title ); ?></a>
			</div>
			<?php } ?>
		</div>
	</div>
</section>