<?php
/*
Template Name: Homepage
*/

get_header('new');
?>


<!-- Banner Slider -->
<?php get_template_part('templates-parts/pages/banner');?>
<!-- Banner Slider End -->


<!-- Banner Logos Slider -->
<?php get_template_part('templates-parts/pages/banner-logos');?>
<!-- Banner Logos Slider End -->


<!-- Services Section Start -->
 <?php 
    $services_title = get_field('services_heading'); 
    $services_content = get_field('services_content'); 
    $args = [
        'title'    => $services_title,
        'content'  => $services_content,
        'category' => 'home'
    ];    

    get_template_part('templates-parts/pages/services-home', null, $args); 
 ?>
<!-- Services Section End -->


<!-- Banner Request Demo Starts -->
<?php
    $args = [
        'classes' => 'pt-3'
    ];

    get_template_part('templates-parts/pages/banner-request-demo', null, $args);
?>
<!-- Banner Request Demo Ends -->


<!-- Pricing Plans New -->
<?php  get_template_part('templates-parts/pages/pricing-plans');?>
<!-- Pricing Plans New End -->


<!-- integration  -->
<?php
     
    get_template_part('templates-parts/pages/integrations');
?>
<!-- integration -->

<!-- features  -->
<?php
     
    get_template_part('templates-parts/pages/features');
?>
<!-- features -->



<!-- inventory -->
<?php
 $inventory_title = get_field('inventory_title');
 $inventory_content = get_field('inventory_content');
 $inventory = [
     'title'    =>$inventory_title,
     'content'  =>$inventory_content,
     'category' =>'home'
 ];
      get_template_part('templates-parts/pages/inventory-section', null, $inventory);
?>
<!-- end inventory -->

<!-- industries -->
<?php
     $industry_heading     = get_field('industries_section_heading');
     $industry_description = get_field('industries_section_description');
     $industry = [
         'heading'     => $industry_heading,
         'description' => $industry_description,
         'category'    => 'home'
     ];
    get_template_part('templates-parts/pages/industries-section', null, $industry);
?>
<!-- end industries -->


<!-- case studies -->
<?php get_template_part('templates-parts/pages/case-studies', null, $industry); ?>
<!-- end case studies -->


<!-- testimonials -->
<?php
    $testimonials_title = get_field('testimonials_title');
    $testimonals = [
        'title'     => $testimonials_title,
        'category'  => 'home'
    ];
    get_template_part('templates-parts/pages/testimonials', null, $testimonals);
?>
<!-- end testimonials -->


<!-- network -->
<?php get_template_part('templates-parts/pages/network'); ?>
<!-- end network -->


<!-- faqs section -->

<?php
    $args = [
        'category'  => 'home'
    ];
    get_template_part('templates-parts/pages/faqs-new', null, $args);
?>

<!-- faqs section end -->


<!-- contact form -->
<?php
      
        get_template_part('templates-parts/pages/contact-form');
    ?>
<!-- contact form -->




<?php
    get_footer();
?>
<script>
    $('.banner-logos-slider').owlCarousel({
        loop: false,
        margin: 10,
        nav: false,
        autoplay: true,
        dots: false,
        responsive: {
            0: {
                items: 1
            },
            600: {
                items: 2
            },
            1000: {
                items: 4
            },
            1920: {
                items: 5
            }
        }
    });
    $('.industries-slider').owlCarousel({
        loop: true,
        dots: false,
        margin: 30,
        nav: true,
        autoplay: true,
        navText: ["<svg width=\"17\" height=\"15\" viewBox=\"0 0 17 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n" +
        "<path d=\"M0.353237 8.19217C-0.0206795 7.81826 -0.0206795 7.21202 0.353237 6.8381L6.44655 0.744785C6.82047 0.370869 7.42671 0.370869 7.80062 0.744785C8.17454 1.1187 8.17454 1.72494 7.80062 2.09886L2.38434 7.51514L7.80062 12.9314C8.17454 13.3053 8.17454 13.9116 7.80062 14.2855C7.42671 14.6594 6.82047 14.6594 6.44655 14.2855L0.353237 8.19217ZM16.0303 8.47261L1.03027 8.47261V6.55766L16.0303 6.55766V8.47261Z\" fill=\"white\"/>\n" +
        "</svg>\n","<svg width=\"17\" height=\"15\" viewBox=\"0 0 17 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n" +
        "<path d=\"M16.3138 8.19217C16.6877 7.81826 16.6877 7.21202 16.3138 6.8381L10.2204 0.744785C9.84652 0.370869 9.24028 0.370869 8.86637 0.744785C8.49245 1.1187 8.49245 1.72494 8.86637 2.09886L14.2826 7.51514L8.86637 12.9314C8.49245 13.3053 8.49245 13.9116 8.86637 14.2855C9.24028 14.6594 9.84652 14.6594 10.2204 14.2855L16.3138 8.19217ZM0.636719 8.47261L15.6367 8.47261V6.55766L0.636719 6.55766L0.636719 8.47261Z\" fill=\"white\"/>\n" +
        "</svg>\n"],
        responsive: {
            0: {
                items: 1
            },
            600: {
                items: 2,
            },
            1000: {
                items: 4
            },
            1920: {
                items: 4
            }
        }
    });
    $('.portfolio-slider').owlCarousel({
        loop:false,
        margin:40,
        nav:false,
        dots:true,
        dotsData:true,
        responsive:{
            0:{
                items:1
            },
            600:{
                items:2,
                margin:20
            },
            1000:{
                items:2
            }
        }
    });

</script>