<?php
$life_coaches_theme_options = life_coaches_theme_options();

$newsletter_title		 	 = $life_coaches_theme_options['newsletter_title'];
$newsletter_cursive_title            = $life_coaches_theme_options['newsletter_cursive_title'];
$newsletter_shortcode     = $life_coaches_theme_options['newsletter_shortcode'];


?>

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

                            <?php    echo '<h2>' . esc_html($newsletter_title) . '</h2>';
                                ?>
                        
                    <?php endif; ?>
                </div>
            </div>

            <div class="col-md-5">
                <div class="newsletter-wrap" data-aos="fade-up">
                    

                    <?php  
                    echo do_shortcode($newsletter_shortcode);  
                    ?>
                </div>
            </div>
        </div>
     </div>
</div>
