<?php
ob_start() ;?>

<!--Agent Section-->
<section class="agent-section have-border-top">
    <div class="auto-container">
        <!--Section Title-->
        <div class="sec-title text-center">
            <h2><strong><?php echo balanceTags($title1);?></strong> <?php echo balanceTags($title2);?></h2>
            <div class="subtitle-text"><?php echo balanceTags($text);?></div>
        </div>
        
        <div class="outer-box">
            <figure class="agent-image wow bounceInUp" data-wow-duration="1500ms" data-wow-delay="0ms"><img src="<?php echo esc_url(wp_get_attachment_url($image));?>" alt=""></figure>
            <div class="content-box" style="background-image:url('<?php echo esc_url(wp_get_attachment_url($bg_img));?>');">
                <div class="title-box">
                    <h2><strong><?php echo balanceTags($sub_title1);?></strong> <?php echo balanceTags($sub_title2);?></h2>
                    <div class="designation"><?php echo balanceTags($designation);?> </div>
                </div>
                <div class="desc-text"><?php echo balanceTags($text2);?></div>
                
                <ul class="info">
                    <li 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($tw_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>
                    </li>
                    <li><strong><?php esc_html_e('M', 'tycheproperty');?></strong> <?php esc_html_e(':', 'tycheproperty');?> <?php echo balanceTags($phone_no);?></li>
                    <li><strong><?php esc_html_e('E', 'tycheproperty');?></strong> <?php esc_html_e(':', 'tycheproperty');?> <?php echo balanceTags($email);?></li>
                </ul>
                
                <!--Call Advisor-->
                <a href="#" class="call-advisor">
                    <div class="icon-box"><span class="flaticon-technology-5"></span></div><?php esc_html_e('Call The Advisior', 'tycheproperty');?>
                </a>
                
            </div>
        </div>
    </div>
</section>

<?php
	$output = ob_get_contents(); 
   ob_end_clean(); 
   return $output ; ?>
   