<?php 
/**
 * The template for displaying the service section on home page
 *
 *
 * Learn more: https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Probizz
 */
?>
    <div class="details_short text-center space">
        <div class=" container ">
            <div class="section-heading heading_center animate zoomIn" data-anim-type="zoomIn" data-anim-delay="600">
                <?php if( get_theme_mod( 'nineteen_service_title' ) ) : ?>
                <h3 class="section-title "> <span><?php echo esc_html( get_theme_mod( 'nineteen_service_title' ,'Our Service' ) ); ?> </span> </h3>
                <?php endif; ?>
                <?php if( get_theme_mod( 'nineteen_service_desc' ) ) : ?>
                <h2 class="section-description "> <?php echo esc_html(get_theme_mod( 'nineteen_service_desc' )); ?></h2>
                <?php endif; ?>
            </div>
            <div class="row">
                <!--section-heading-->
                 <?php  if ( get_theme_mod( 'nineteen_service_data' ) ) {
                                $name_arr = unserialize( get_theme_mod( 'nineteen_service_data' ) );
                                foreach ( $name_arr as $key => $value ) {
                        ?>
                <div class="details_short-col col-md-3 col-sm-6 animate fadeInRight" data-anim-type="fadeInRight" data-anim-delay="800">
                    <div class="details_short-col-inner">
                        <span class="icon-circle"> 
							<?php if ( ! empty ( $value['service_icon'] ) ) { ?>
                            <i class="<?php echo esc_attr($value['service_icon']); ?> icon"></i>
                            <?php } ?>
						</span>
                        <div class="details_short-content">
                            <h4 class="service-title"><?php if ( ! empty ( $value['service_name'] ) ) { echo esc_html($value['service_name']); } ?> </h4>
                            <p> <?php if ( ! empty ( $value['service_desc'] ) ) { ?>
                            <p> <?php echo esc_html($value['service_desc']); ?> </p>
                            <?php } ?> </p>
                        </div>
                    </div>
                </div>
                 <?php } } ?>
            </div>
        </div>
    </div>