<?php 
$class = isset($args['class']) ? $args['class'] : '';
?>

<section class="section grow-your-business <?php echo $class;?>">
    <div class="container">
        <div class="text-cont slide-down">
            <h2 class="section-title"><?php echo get_field('cold_chain_grow_heading'); ?></h2>
        </div>
        <?php if( have_rows('cold_chain_grow_cards') ): 
            $i = 1;?>
        <div class="box">
            <ul>
            <?php while( have_rows('cold_chain_grow_cards') ): the_row(); ?>
                <li>
                <div class=" <?php echo $i == 1 ? 'card-pro' : 'card'?>">
                        <div class="icon-wrapper">
                            <?php echo get_sub_field('icon'); ?>                         
                        </div>
                        <div class="content-wrapper">
                            <h3 class="hover-target">
                                <span class="count" data-counter-lim="<?php echo get_sub_field('card_numbers'); ?>"><?php echo get_sub_field('card_numbers'); ?></span>
                                <small><?php echo get_sub_field('heading'); ?></small>
                            </h3>
                            <p> <?php echo get_sub_field('description'); ?></p>
                        </div>
                    </div>
                </li>
                <?php $i++;?>
                <?php endwhile; ?>

            </ul>
        </div>
        <?php endif; ?>
    </div>
</section>