@php
    $partnerContent = getContent('partner.content', true);
    $partnerElement = getContent('partner.element', false, 10, true);
    $partnerChunk = $partnerElement->chunk(5);
@endphp
<section class="our-partner my-120">
    <div class="container">
        <div class="section-heading">
            <h6 class="section-heading__title" data-aos="fade-up" data-aos-duration="1500" data-aos-delay="100">
                {{ __($partnerContent?->data_values?->heading ?? '') }}
            </h6>
        </div>
        <div class="our-partner-slider-wrapper">
            <div class="our-partner-slider our-partner-slider-one" data-aos="fade-up" data-aos-duration="1500"
                data-aos-delay="200">
                @foreach ($partnerChunk[0] ?? [] as $partner)
                    <div class="our-partner-slider__slide">
                        <div class="our-partner-slider__logo">
                            <img src="{{ frontendImage('partner', $partner?->data_values?->partner_image ?? '', '150x30') }}"
                                alt="">
                        </div>
                    </div>
                @endforeach
            </div>

            <div class="our-partner-slider our-partner-slider-two" dir="rtl" data-aos="fade-up"
                data-aos-duration="1500" data-aos-delay="300">
                @foreach ($partnerChunk[1] ?? [] as $partner)
                    <div class="our-partner-slider__slide">
                        <div class="our-partner-slider__logo">
                            <img src="{{ frontendImage('partner', $partner?->data_values?->partner_image ?? '', '150x30') }}"
                                alt="">
                        </div>
                    </div>
                @endforeach
            </div>
        </div>
    </div>
</section>
