<?php
$args = array(
    'post_type' => 'partners',
    'posts_per_page' => 16,
    'no_found_rows' => true,
);
$loop = new WP_Query($args);
if ($loop->have_posts()) :
    ?>

    <!-- main slider  -->

    <section class="slider-partners-sec">
        <div class="container">


            <h2 class="sec-tit text-center">
                <?php _e('شركاؤنا', 'm7md') ?>
            </h2>
            <div class="alslsdisfj">
                <div class="partners-slider swiper">
                    <div class="swiper-wrapper">
                        <?php while ($loop->have_posts()) : $loop->the_post(); ?>
                            <div class="swiper-slide" >
                                <div class="slider-partners">
                                    <?php the_post_thumbnail('full', ['class' => 'img-fluid']); ?>
                                </div>
                            </div>
                        <?php endwhile; ?>
                    </div>

                    <!-- الأسهم مع SVG -->


                </div>
                <div class="swiper-button-next">
                    <svg width="105" height="108" viewBox="0 0 105 108" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M1.99967 53.9168L102.333 53.9168M102.333 53.9168L52.1663 2.00016M102.333 53.9168L52.1663 105.833" stroke="#B8860B" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
                    </svg>
                </div>
                <div class="swiper-button-prev">
                    <svg width="105" height="108" viewBox="0 0 105 108" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M102.333 53.9168L2 53.9168M2 53.9168L52.1667 2.00016M2 53.9168L52.1667 105.833" stroke="#0D47A1" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
                    </svg>
                </div>
            </div>


        </div>

    </section>

    <!-- //main slider   -->
<?php endif;
wp_reset_postdata(); ?>




<section class="aftparg">
    <div class="container">
        <div class="row">
            <div class="col-lg-7">
                <div class="vismsgsec">
                    <div class="vis22 wow fadeInUp" data-wow-delay=".2s">
                        <div class="lefcis">
                            <h4><?php the_field('titnamernew','option'); ?></h4>
                            <p><?php the_field('titnamernewdes','option'); ?></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-5 sdwed">
                <div class="vismsgsecimg wow fadeInUp">
                    <img class="img-fluid wow fadeInUp"  src="<?php the_field('titnamernewdesimg','option')  ?>" />
                    <section id="circleSection2">
                        <div class="circle-container2"></div>
                    </section>
                </div>
            </div>
        </div>
    </div>
</section>