<?php
$life_coaches_options = life_coaches_theme_options();

$callout_sec_title = $life_coaches_options['callout_sec_title'];
$callout_cursive_title = $life_coaches_options['callout_cursive_title'];


$callout1_image = $life_coaches_options['callout1_image'];
$callout1_title = $life_coaches_options['callout1_title'];
$callout1_url = $life_coaches_options['callout1_url'];

$callout2_image = $life_coaches_options['callout2_image'];
$callout2_title = $life_coaches_options['callout2_title'];
$callout2_url = $life_coaches_options['callout2_url'];

$callout3_image = $life_coaches_options['callout3_image'];
$callout3_title = $life_coaches_options['callout3_title'];
$callout3_url = $life_coaches_options['callout3_url'];

?>
<div class="blog-section section-spacing">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                                <div class="section-heading">
                <?php
            if ($callout_cursive_title):
                echo '<span data-aos="fade-up" class="cursive-title">' . esc_html($callout_cursive_title) . '</span>';
            endif;  
                ?>
                <?php
                    if ($callout_sec_title): ?>

                        <?php    echo '<h2 data-aos="fade-up">' . esc_html($callout_sec_title) . '</h2>';
                            ?>
                    
                <?php endif; ?>
            </div>
            </div>
        </div>

        <div class="row">
 			<div class="col-md-4">
                <div class="callout-img" data-aos="fade-up">
                	<?php if($callout1_image):?><img src="<?php echo esc_url($callout1_image); ?>" alt="" /><?php  endif;   ?>
                </div>
				<div class="callout-inner" data-aos="fade-up">
                    <?php if($callout1_url){?>
                    <?php if ($callout1_title): ?><h3><a href="<?php echo esc_url($callout1_url); ?>"><?php echo esc_html($callout1_title); ?></a></h3><?php endif; ?>
                <?php } else { ?>
                    <?php if ($callout1_title): ?><h3><?php echo esc_html($callout1_title); ?></h3><?php endif; ?>
                <?php } ?>
                </div>
            </div>

 			<div class="col-md-4">
                <div class="callout-img" data-aos="fade-up">
                	<?php if($callout2_image):?><img src="<?php echo esc_url($callout2_image); ?>" alt="" /><?php  endif;   ?>
                </div>
				<div class="callout-inner" data-aos="fade-up">
                    <?php if($callout2_url){?>
                    <?php if ($callout2_title): ?><h3><a href="<?php echo esc_url($callout2_url); ?>"><?php echo esc_html($callout2_title); ?></a></h3><?php endif; ?>
                <?php } else { ?>
                    <?php if ($callout2_title): ?><h3><?php echo esc_html($callout2_title); ?></h3><?php endif; ?>
                <?php } ?>
                </div>
            </div>

 			<div class="col-md-4">
                <div class="callout-img" data-aos="fade-up">
                	<?php if($callout3_image):?><img src="<?php echo esc_url($callout3_image); ?>" alt="" /><?php  endif;   ?>
                </div>
                <div class="callout-inner" data-aos="fade-up">
                	<?php if($callout3_url){?>
                    <?php if ($callout3_title): ?><h3><a href="<?php echo esc_url($callout3_url); ?>"><?php echo esc_html($callout3_title); ?></a></h3><?php endif; ?>
                <?php } else { ?>
                	<?php if ($callout3_title): ?><h3><?php echo esc_html($callout3_title); ?></h3><?php endif; ?>
                <?php } ?>
                </div>
            </div>
        </div>
    </div>
</div>
