@php
$landingContent =\App\Models\LandingContent::where('type','counter')->where('locale',app()->getLocale())->get();
@endphp

<!-- Counter section start -->
<section class="td-counter-section">
    <div class="container">
        <div class="counter-main has_fade_anim" data-delay="0.5">
            <div class="counter-grid">
                @foreach($landingContent as $content)
                <div class="counter-item">
                    <div class="counter-contents">
                        <div class="icon">
                                 <span>
                                    <img src="{{ asset($content->icon) }}" alt="counter">
                                 </span>
                        </div>
                        <div class="counters-inner">
                            <h3 class="title"><span class="odometer" data-count="5223">00</span></h3>
                            <p class="description">{{ $content->title }}</p>
                        </div>
                    </div>
                </div>
                @endforeach
            </div>
            <div class="line-one"></div>
            <div class="line-two"></div>
        </div>
    </div>
</section>
<!-- Counter section end -->