<?php $options = _WSH()->option(); 
ob_start() ;?>
<!--Contact Section-->
<section class="contact-section" style="background-image:url('<?php echo esc_url(wp_get_attachment_url($image1));?>');">
    <div class="auto-container">
        <div class="outer-box">
            <div class="row clearfix">
                
                <!--Agent Column-->
                <div class="agent-column col-md-6 col-sm-12 col-xs-12">
                    <div class="inner-box">
                        <?php if(($main_title1) || ($main_title2)):?>
                        <h2><strong><?php echo balanceTags($main_title1);?></strong> <?php echo balanceTags($main_title2);?></h2>
                        <?php endif;?>
                        <!--Basic Info-->
                        <div class="basic-info">
                            <figure class="author-thumb"><img src="<?php echo esc_url(wp_get_attachment_url($image2));?>" alt=""></figure>
                            <h3><?php echo balanceTags($title);?></h3>
                            <div class="desgination"><?php echo balanceTags($sub_title);?></div>
                            <div class="social-links">
                                <a href="<?php echo esc_url($fb_link);?>"><span class="fa fa-facebook-f"></span></a>
                                <a href="<?php echo esc_url($t_link);?>"><span class="fa fa-twitter"></span></a>
                                <a href="<?php echo esc_url($linkedin_link);?>"><span class="fa fa-linkedin"></span></a>
                                <a href="<?php echo esc_url($ins_link);?>"><span class="fa fa-instagram"></span></a>
                                <a href="<?php echo esc_url($google_link);?>"><span class="fa fa-google-plus"></span></a>
                            </div>
                        </div>
                        
                        <div class="row clearfix">
                            <!--Info BLock-->
                            <div class="col-md-12 col-xs-12"><div class="info-block"><strong><?php esc_html_e('Address:', 'tycheproperty');?></strong><div class="trxt"><?php echo balanceTags($address);?></div></div></div>
                            <!--Info BLock-->
                            <div class="col-md-6 col-xs-12"><div class="info-block"><strong><?php esc_html_e('Phone:', 'tycheproperty');?></strong><div class="trxt"><?php echo balanceTags($phone);?></div></div></div>
                            <!--Info BLock-->
                            <div class="col-md-6 col-xs-12"><div class="info-block"><strong><?php esc_html_e('Email:', 'tycheproperty');?></strong><div class="trxt"><?php echo balanceTags($email);?></div></div></div>
                        </div>
                        
                        <a href="<?php echo esc_url($btn_link);?>" class="theme-btn btn-style-three"><?php echo balanceTags($btn_text);?></a>
                        
                    </div>
                </div>
                
                <!--Form Column-->
                <div class="form-column col-md-6 col-sm-12 col-xs-12">
                    <div class="inner-box">
                        <h2><strong><?php echo balanceTags($title1);?></strong> <?php echo balanceTags($title2);?></h2>
                        <div class="desc-text"><?php echo balanceTags($text);?></div>
                        
                        <div class="default-form">
                            <?php echo do_shortcode(tycheproperty_base_decode($contact_form));?>
                        </div>
                        
                    </div>
                </div>
                
            </div>
        </div>
    </div>
</section>
<?php
	$output = ob_get_contents(); 
   ob_end_clean(); 
   return $output ; ?>   