<?php
ob_start() ;?>

<!--Property Info Section-->
<section class="property-info-sec style-three have-border-bottom">
    <div class="auto-container">
        <div class="row clearfix">
            <!--Description Column-->
            <div class="desc-column col-md-6 col-sm-12 col-xs-12">
                <!--Section Title-->
                <div class="sec-title">
                    <div class="subtitle-text"><?php echo balanceTags($upper_title);?></div>
                    <h2><strong><?php echo balanceTags($title1);?></strong> <?php echo balanceTags($title2);?></h2>
                </div>
                <div class="description">
                    <p><?php echo balanceTags($text1);?></p>
                    <p><?php echo balanceTags($text2);?></p>
                </div>
                
                <div class="documents"><strong><?php esc_html_e('DOCUMENTS', 'tycheproperty')?></strong> &ensp;-&ensp; <?php echo balanceTags($pdf_text1);?> <a href="<?php esc_url($pdf_link1);?>"><span class="fa fa-cloud-download"></span></a> &ensp;&ensp; <?php echo balanceTags($pdf_text2);?> <a href="<?php echo esc_url($pdf_link2);?>"><span class="fa fa-cloud-download"></span></a></div>
                
                <a href="<?php echo esc_url($btn_link1);?>" class="theme-btn btn-style-one"><?php echo balanceTags($btn_text1);?></a>
                <a href="<?php echo esc_url($btn_link2);?>" class="theme-btn btn-style-three"><?php echo balanceTags($btn_text2);?></a>
                
            </div>
            
            <!--Info Column-->
            <div class="info-column padd-top-20 col-md-6 col-sm-12 col-xs-12">
                <div class="info-outer-box clearfix">
                    <?php $property_array = (array)json_decode(urldecode($property_detail));
						if( $property_array && is_array($property_array) ): 
						foreach( (array)$property_array as $value ):
					?>
                    <!--Default Info Box-->
                    <div class="default-info-box col-md-6 col-sm-6 col-xs-12">
                        <div class="inner-box wow zoomInStable" data-wow-duration="1500ms" data-wow-delay="0ms">
                            <div class="icon-box"><span class="<?php echo esc_attr(tycheproperty_set( $value, 'icon' ));?>"></span></div>
                            <div class="info-title"><?php echo balanceTags(tycheproperty_set( $value, 'title' )); ?></div>
                            <div class="info-count"><?php echo balanceTags(tycheproperty_set( $value, 'counter' )); ?></div>
                        </div>
                    </div>
                    <?php endforeach; endif;?>
                </div>
                
            </div>
            
        </div>
    </div>
</section>

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