<?php
if (get_theme_mod('call_now_section_disable') != 'on') {
	?> 

    <?php 
        if( get_theme_mod('call_nowTpadding',true) ) {
         $call_nowTpadding = 'padding-top:'.esc_attr(get_theme_mod('call_nowTpadding')).';';
       }
       if( get_theme_mod('call_nowBpadding',true) ) {
         $call_nowBpadding = 'padding-bottom:'.esc_attr(get_theme_mod('call_nowBpadding')).';';
       }

       ?> 
	<section id="call-now-section" class="ht-section" style="<?php echo esc_attr($call_nowTpadding); ?> <?php echo esc_attr($call_nowBpadding); ?>">
    <div class="overlay wow bounceInLeft"></div>

      <?php
        $facebook = get_theme_mod('cn_fb', '//www.facebook.com/');
        $instagram = get_theme_mod('cn_insta', 'https://www.instagram.com/');
        $twitter = get_theme_mod('cn_tw', '//www.twitter.com/');
      ?> 
      <?php if(!empty($facebook || $instagram || $twitter)){ ?>
            <div class="all-social animated bounceInUp">
              
                <div class="call-social-bg"></div>
                 <div class="call-social">
                       <?php if(!empty($facebook)){ ?>
                      <li><a href="<?php echo $facebook ?>" title="Facebook" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
                      <?php }?>
                      <?php if(!empty($twitter)){ ?>
                        <li><a href="<?php echo $twitter ?>" title="Twitter" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
                      <?php }?>
                      <?php if(!empty($instagram)){ ?>
                        <li><a href="<?php echo $instagram ?>" title="Instagram"  target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
                      <?php }?>
                      <div class="clearfix"></div>
                  </div>
               </div>
               <?php }?>
    <div class="container">
      <?php
        $call_now_page_id = get_theme_mod('call_now_page');
        $call_now_title = get_theme_mod('call_now_title', 'NEED ANY <br>');
        $call_now_title1 = get_theme_mod('call_now_title1', 'WELDING ');
        $call_now_title2 = get_theme_mod('call_now_title2', 'SERVICES <br>');
        $call_now_title3 = get_theme_mod('call_now_title3', 'HELP ?');
        $call_now_righttitle = get_theme_mod('call_now_righttitle', 'Lets<br> Talk Us');
        $cn_phone = get_theme_mod('cn_phone', '111-222-333');
        $cn_phonetxt = get_theme_mod('cn_phonetxt', 'CALL NOW ');
        $facebook = get_theme_mod('cn_fb', '//www.facebook.com/');
        $instagram = get_theme_mod('cn_insta', 'https://www.instagram.com/');
        $twitter = get_theme_mod('cn_tw', '//www.twitter.com/');
      ?>
            <div class="call-inn pd-0">
              <div class="col-md-6">
                <div class="right-bx">
                    <h2 class="inner-area-title"><?php echo ($call_now_title);  ?><strong><?php echo ($call_now_title1);  ?></strong><span><?php echo ($call_now_title2);  ?></span><small><?php echo ($call_now_title3);  ?></small></h2>
                    <?php if($cn_phone ){ ?>
                    <div class="callph">
                          <i class="fa fa-phone " aria-hidden="true"></i>
                          <div class="call-c">
                          <h4><?php echo $cn_phonetxt;?></h4>
                          <a href="tel:<?php echo $cn_phone;?>"><?php echo $cn_phone;?></a>
                          </div>
                    </div>
                    <?php }?>
                    <div class="clearfix"></div>
                </div>
              </div>
              <div class="col-md-6 bnr-right pd-0">
                <div class="transline1"></div>
                <div class="transline2"></div>
                <div class="transline3"></div>
                <div class="small-trangle"></div>
                  <div class="call-title">
                     <div class="call-title-bg"></div>
                      <div class="right-title"><?php echo ($call_now_righttitle);  ?></div>
                  </div>
              </div>
            </div>
    </div>
    <div class="callbg"></div>
</section>
<?php
} 