<?php 
$about_section = get_theme_mod( 'vw_book_store_pro_radio_newsletter_enable' );
if ( 'Disable' == $about_section ) {
  return;
}
/*About us*/
$img_bg = get_theme_mod('vw_book_store_pro_newsletter_image_bg');
if( get_theme_mod('vw_book_store_pro_newsletterbg_color','') ) {
  $about_backg = 'background-color:'.esc_attr(get_theme_mod('vw_book_store_pro_newsletterbg_color','')).';';
}elseif( get_theme_mod('vw_book_store_pro_newsletterbg_image','') ){
  $about_backg = 'background-image:url(\''.esc_url(get_theme_mod('vw_book_store_pro_newsletterbg_image')).'\')';
}else{
  $about_backg = '';
}
?>
<section id="newsletter" style="<?php echo esc_attr($about_backg); ?>" class="wow slideInUp delay-3000 animated <?php echo esc_attr($img_bg); ?>" data-wow-duration="2s">
  <div class="container ">
    <div class="row news_inner">
      <div class="col-md-4 news_box_outer">
        <div class="how_box">
          <div class="news_title">
            <div class="mid-content">
              <?php if(get_theme_mod('vw_book_store_pro_newsletter_title',true != '')){?>
                <h3><?php echo esc_html(get_theme_mod('vw_book_store_pro_newsletter_title', __('NEWSLETTER','vw-book-store-pro'))); ?></h3>
                <?php }?>
              <?php if(get_theme_mod('vw_book_store_pro_newsletter_subtitle',true != '')){?>
                <p class="mt-1 mb-1"><?php echo esc_html(get_theme_mod('vw_book_store_pro_newsletter_subtitle', __('Lorem Ipsum is simply dummy text of the printing','vw-book-store-pro'))); ?></p>
              <?php } ?>
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-8">
        <div class="news_content">
          <?php echo do_shortcode(get_theme_mod('vw_book_store_pro_newsletter_shortcode','[contact-form-7 id="106" title="Newsletter"]','vw-book-store-pro')); ?>
        </div>
      </div>
    </div>
    <div class="clearfix"></div>
  </div>
</section>