<?php
/*
Template Name: Amazon Integration
*/

get_header('new');
?>


<section class="section banner supply-chain-banner no-lazy">
    <div class="container">
        <div class="row mt-xl-5 mt-lg-0">
            <div class="col-lg-6">
                <div class="text-cont mt-0">
                    <h1 class="banner-heading"><?php echo get_field('banner_heading'); ?></h1>
                    <p class="banner-content">
                        <?php echo get_field('banner_description'); ?>
                    </p>
					<?php $highlights = get_field('banner_highlights'); ?>
                    <ul>
                        <?php if ($highlights && is_array($highlights)) : ?>
                            <?php foreach ($highlights as $highlight) : ?>
                                <li>
                                    <img src="<?php echo get_template_directory_uri(); ?>/assets/img/apparel-inventory-management/tick.webp" alt="tick" class="img-fluid">
                                    <?php echo $highlight['item']; ?>
                                </li>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </ul>
                    <div class="banner-btns">
						<?php $cta_1 = get_field('banner_cta_1'); ?>
						 <?php if (!is_null($cta_1)) : ?>
                        <a href="<?php echo esc_url($cta_1['url']); ?>" class="primary animated-cta-btn <?php echo is_modal_link($cta_1['url']); ?>"><?php echo $cta_1['title']; ?>
                            <!-- <svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M5.598 0.799999H8.19L13.59 6.2L8.19 11.6H5.598L10.062 7.136H0.9V5.264H10.062L5.598 0.799999Z" fill="white"/>
                            </svg> -->
                        </a>
						<?php endif; ?>
						<?php $cta_2 = get_field('banner_cta_2'); ?>
						<?php if (!is_null($cta_2)) : ?>
                        <a href="<?php echo esc_url($cta_2['url']); ?>" class="border-gradient-btn animated-btn <?php echo is_modal_link($cta_2['url']); ?>"><?php echo $cta_2['title']; ?>
                            <svg width="14" height="11" viewBox="0 0 14 11" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M5.35816 0.0996094H7.95016L13.3502 5.49961L7.95016 10.8996H5.35816L9.82216 6.43561H0.660156V4.56361H9.82216L5.35816 0.0996094Z" fill="black"/>
                            </svg>
                        </a>
						<?php endif; ?>
                    </div>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="img-cont d-block text-center">
					<?php
					$desktop_img_url = get_field('banner_image');
					$mobile_img_url  = get_field('banner_mobile_image');
				?>
					<picture>
						<source class="no-lazy" media="(max-width: 767px)" srcset="<?php echo $mobile_img_url ? $mobile_img_url : $desktop_img_url ?>">
						<img src="<?php echo $desktop_img_url;?>" loading="eager" fetchpriority="high" decoding="async" width="546" height="391" class="img-fluid no-lazy" alt="<?php echo wp_strip_all_tags(get_field('banner_heading'))?>">
					</picture>
                     
                </div>
            </div>
        </div>
    </div>
</section>

<section class="section about-our-product">
    <div class="container">
        <div class="text-cont text-center">
            <h2 class="section-title"><?php echo get_field('certificates_title'); ?></h2>
        </div>
        <div class="logos-wrapper">
            <div class="owl-carousel owl-theme about-our-product-slider">
                <?php if (have_rows('certificates')): ?>
                    <?php while (have_rows('certificates')): the_row(); 
                        $image = get_sub_field('image');
                        if ($image): ?>
                            <div class="item">
                                <img src="<?php echo $image; ?>" alt="certificate" width="110" height="150" decoding="async" class="img-fluid">
                            </div>
                        <?php endif; ?>
                    <?php endwhile; ?>
                <?php endif; ?>
            </div>
        </div>
    </div>
</section>


<!-- Icons Cards Start start -->
 <?php
 $counters = ['class' => 'pt-5 '];
 get_template_part('templates-parts/pages/counter-new',null,$counters)?>
<!-- Icons Cards Start end -->

<section class="section amazon-warehouse-management bg-white">
    <div class="container">
        <div class="amazon-warehouse-content-wrapper">
            <div class="row gy-3 gy-lg-4 flex-column-reverse flex-lg-row">
                <div class="col-lg-6">
                    <div class="text-cont">
                        <h2 class="section-title">
                            <?php echo get_field('awm_section_title'); ?>
                        </h2>
                        <p class="section-content">
                            <?php echo get_field('awm_section_description'); ?>
                        </p>

                       <?php if (have_rows('awm_features')): ?>
    <div class="row gx-0 gy-4">
        <?php $i = 0; while (have_rows('awm_features')): the_row(); $i++; ?>
            <?php 
                // Column class condition
                $col_class = ($i === 3) ? 'col-lg-12' : 'col-xxl-6';

                // Wrapper class condition
                $wrapper_class = ($i === 3) 
                    ? 'customer-satisfaction-wrapper lower-costs-wrapper' 
                    : 'customer-satisfaction-wrapper';
            ?>
            <div class="<?php echo $col_class; ?>">
                <div class="<?php echo $wrapper_class; ?>">
                    <div class="svg-wrapper">
                        <?php echo get_sub_field('awm_feature_icon'); ?>
                    </div>

                    <?php if ($i === 3): ?>
                        <!-- For 3rd item different content structure -->
                        <div class="lower-costs-content">
                            <h2 class="customer-satisfaction-title">
                                <?php echo get_sub_field('awm_feature_title'); ?>
                            </h2>
                            <p class="customer-satisfaction-description">
                                <?php echo get_sub_field('awm_feature_description'); ?>
                            </p>
                        </div>
                    <?php else: ?>
                        <!-- Default content -->
                        <div class="customer-satisfaction-text">
                            <h2 class="customer-satisfaction-title">
                                <?php echo get_sub_field('awm_feature_title'); ?>
                            </h2>
                        </div>
                        <p class="customer-satisfaction-description">
                            <?php echo get_sub_field('awm_feature_description'); ?>
                        </p>
                    <?php endif; ?>
                </div>
            </div>
        <?php endwhile; ?>
    </div>
<?php endif; ?>

                    </div>
                </div>

                <div class="col-lg-6">
                    <div class="img-cont">
                        <?php 
                        $awm_img = get_field('awm_section_image'); 
                        if ($awm_img): ?>
                            <img src="<?php echo esc_url($awm_img['url']); ?>" 
                                 alt="<?php echo esc_attr($awm_img['alt']); ?>" 
                                 loading="lazy" class="img-fluid">
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="text-center mt-4 mt-lg-5">
            <a href="<?php echo get_field('awn_button_link'); ?>" class="primary animated-cta-btn"><?php echo get_field('awn_button_text'); ?></a>
        </div>
    </div>
</section>


<section class="section master-fba-with-amazon bg-white">
    <div class="container">
        <div class="text-cont text-center">
            <h2 class="section-title">
                <?php echo get_field('fba_section_title'); ?>
            </h2>
            <p class="section-content">
                <?php echo get_field('fba_section_description'); ?>
            </p>
        </div>

        <div class="responsive-tabs">
            <div class="row">
                <div class="col-lg-5">
                    <?php if (have_rows('fba_tabs')): ?>
                        <ul class="nav nav-tabs" role="tablist">
                            <?php $i = 0; while (have_rows('fba_tabs')): the_row(); ?>
                                <?php $tab_id = 'fba-tab-' . $i; ?>
                                <li class="nav-item">
                                    <a id="tab-<?php echo esc_attr($i); ?>" 
                                       href="#<?php echo esc_attr($tab_id); ?>" 
                                       class="nav-link <?php echo $i==0 ? 'active' : ''; ?>" 
                                       data-bs-toggle="tab" role="tab">
                                        <?php echo get_sub_field('fba_tab_title'); ?>
                                    </a>
                                </li>
                            <?php $i++; endwhile; ?>
                        </ul>
                    <?php endif; ?>
                </div>

                <div class="col-lg-7">
                    <?php if (have_rows('fba_tabs')): ?>
                        <div id="content" class="tab-content" role="tablist">
                            <?php $i = 0; while (have_rows('fba_tabs')): the_row(); ?>
                                <?php $tab_id = 'fba-tab-' . $i; ?>
                                <div id="<?php echo esc_attr($tab_id); ?>" 
                                     class="card tab-pane fade <?php echo $i==0 ? 'show active' : ''; ?>" 
                                     role="tabpanel" aria-labelledby="tab-<?php echo esc_attr($i); ?>">
                                    <div class="card-header" role="tab">
                                        <h5 class="mb-0">
                                            <a data-bs-toggle="collapse" 
                                               href="#collapse-<?php echo esc_attr($i); ?>" 
                                               aria-expanded="<?php echo $i==0 ? 'true' : 'false'; ?>" 
                                               aria-controls="collapse-<?php echo esc_attr($i); ?>">
                                                <?php echo get_sub_field('fba_tab_title'); ?>
                                            </a>
                                        </h5>
                                    </div>
                                    <div id="collapse-<?php echo esc_attr($i); ?>" 
                                         class="collapse <?php echo $i==0 ? 'show' : ''; ?>" 
                                         data-bs-parent="#content" role="tabpanel">
                                        <div class="card-body">
                                            <div class="control-amazon-inventory-wrapper">
                                                <div class="control-amazon-inventory-child-wrapper">
                                                    <h2 class="control-amazon-inventory-title">
                                                        <?php echo get_sub_field('fba_tab_heading'); ?>
                                                    </h2>
                                                    <p class="control-amazon-description">
                                                        <?php echo get_sub_field('fba_tab_description'); ?>
                                                    </p>

                                                    <?php if (have_rows('fba_tab_list')): ?>
                                                        <ul class="control-amazon-inventory-list">
                                                            <?php while (have_rows('fba_tab_list')): the_row(); ?>
                                                                <li>
                                                                    <div class="svg-wrapper">
                                                                        <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
                                                                            <circle cx="8" cy="8" r="8" fill="#5558A6"/>
                                                                        </svg>
                                                                    </div>
                                                                    <?php echo get_sub_field('fba_tab_list_item'); ?>
                                                                </li>
                                                            <?php endwhile; ?>
                                                        </ul>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?php $i++; endwhile; ?>
                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>

        <div class="text-center mt-4 mt-lg-5">
            <a href="<?php echo get_field('fba_button_link'); ?>" class="primary animated-cta-btn">
                <?php echo get_field('fba_button_text'); ?>
            </a>
        </div>
    </div>
</section>


<section class="section amplify-amazon-operations">
    <div class="container">
        <div class="text-cont text-center">
            <h2 class="section-title">
                <?php echo get_field('amplify_section_title'); ?>
            </h2>
            <?php if (get_field('amplify_section_description')): ?>
                <p class="section-content">
                    <?php echo get_field('amplify_section_description'); ?>
                </p>
            <?php endif; ?>
        </div>

        <div class="row mt-3 mt-lg-4 gy-3 gy-lg-5">
            <?php if (have_rows('amplify_operations')): ?>
                <?php while (have_rows('amplify_operations')): the_row(); ?>
                    <div class="col-lg-6">
                        <div class="amplify-operations-wrapper">
                            <div class="amplify-svg-wrapper">
                                <?php echo get_sub_field('amplify_svg'); ?>
                            </div>
                            <p class="amplify-operation-text">
                                <?php echo get_sub_field('amplify_text'); ?>
                            </p>
                        </div>
                    </div>
                <?php endwhile; ?>
            <?php endif; ?>
        </div>

        <div class="text-center mt-4 mt-lg-5">
            <a href="<?php echo get_field('amplify_button_link'); ?>" class="primary animated-cta-btn">
                <?php echo get_field('amplify_button_text'); ?>
            </a>
        </div>
    </div>
</section>

<section class="section wms-amazon-success bg-white">
    <div class="container">
        <div class="text-cont text-center">
            <h2 class="section-title">
                <?php echo get_field('wms_section_title'); ?>
            </h2>
            <p class="section-content">
                <?php echo get_field('wms_section_description'); ?>
            </p>
        </div>

        <?php if (have_rows('wms_tabs')): ?>
            <div class="responsive-tabs">
                <div class="row">
                    <div class="col-lg-12">
                        <div id="tab-content-container" class="tab-content" role="tablist">
                            <?php $i = 0; while (have_rows('wms_tabs')): the_row(); ?>
                                <?php 
                                    $heading   = get_sub_field('wms_tab_heading');
                                    $desc      = get_sub_field('wms_tab_description');
                                    $btn_text  = get_sub_field('wms_tab_button_text');
                                    $btn_link  = get_sub_field('wms_tab_button_link');
                                    $img       = get_sub_field('wms_tab_image');
                                    $tab_title = get_sub_field('wms_tab_title');
                                ?>
                                <div id="tab-pane-<?php echo $i; ?>" 
                                     class="card tab-pane fade <?php echo $i === 0 ? 'show active' : ''; ?>" 
                                     role="tabpanel" 
                                     aria-labelledby="tab-link-<?php echo $i; ?>">

                                    <div class="card-header" role="tab" id="heading-<?php echo $i; ?>">
                                        <h5 class="mb-0">
                                            <a class="<?php echo $i !== 0 ? 'collapsed' : ''; ?>" 
                                               data-bs-toggle="collapse" 
                                               href="#collapse-<?php echo $i; ?>" 
                                               aria-expanded="<?php echo $i === 0 ? 'true' : 'false'; ?>" 
                                               aria-controls="collapse-<?php echo $i; ?>">
                                                <?php echo esc_html($tab_title); ?>
                                            </a>
                                        </h5>
                                    </div>

                                    <div id="collapse-<?php echo $i; ?>" 
                                         class="collapse <?php echo $i === 0 ? 'show' : ''; ?>" 
                                         data-bs-parent="#tab-content-container" 
                                         role="tabpanel" 
                                         aria-labelledby="heading-<?php echo $i; ?>">

                                        <div class="card-body">
                                            <div class="powered-tools-wrapper">
                                                <div class="row gy-3 align-items-center">
                                                    <div class="col-lg-6">
                                                        <div class="powered-tools-content">
                                                            <h3 class="powered-tools-title"><?php echo esc_html($heading); ?></h3>
                                                            <p class="powered-tools-text"><?php echo esc_html($desc); ?></p>

                                                            <?php if ($btn_text && $btn_link): ?>
                                                                <a href="<?php echo esc_url($btn_link); ?>" class="primary animated-cta-btn">
                                                                    <?php echo esc_html($btn_text); ?>
                                                                </a>
                                                            <?php endif; ?>
                                                        </div>
                                                    </div>
                                                    <div class="col-lg-6">
                                                        <?php if ($img): ?>
                                                            <div class="img-cont">
                                                                <img src="<?php echo esc_url($img['url']); ?>" 
                                                                     alt="<?php echo esc_attr($img['alt']); ?>" 
                                                                     class="img-fluid" loading="lazy">
                                                            </div>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?php $i++; endwhile; ?>
                        </div>
                    </div>

                    <!-- Tab Links -->
                    <div class="col-lg-12">
                        <ul class="nav nav-tabs" role="tablist">
                            <?php $i = 0; while (have_rows('wms_tabs')): the_row(); ?>
                                <li class="nav-item">
                                    <a id="tab-link-<?php echo $i; ?>" 
                                       href="#tab-pane-<?php echo $i; ?>" 
                                       class="nav-link <?php echo $i === 0 ? 'active' : ''; ?>" 
                                       data-bs-toggle="tab" 
                                       role="tab">
                                        <?php echo get_sub_field('wms_tab_title'); ?>
                                    </a>
                                </li>
                            <?php $i++; endwhile; ?>
                        </ul>
                    </div>
                </div>
            </div>
        <?php endif; ?>
    </div>
</section>

<section class="section comprehensive-wms-warego bg-white">
    <div class="container">
        <div class="text-cont text-center">
            <h2 class="section-title">
                <?php echo get_field('warego_section_title'); ?>
            </h2>
            <p class="section-content">
                <?php echo get_field('warego_section_description'); ?>
            </p>
        </div>

        <?php if (have_rows('warego_flip_cards')): ?>
            <div class="row gy-3 gy-lg-5 gx-lg-5">
                <?php while (have_rows('warego_flip_cards')): the_row(); ?>
                    <div class="col-md-6">
                        <div class="flip-card">
                            <div class="flip-card-inner">

                                <!-- Front -->
                                <div class="flip-card-front">
                                    <div class="img-cont">
                                        <?php $front_img = get_sub_field('warego_card_front_image'); ?>
                                        <?php if ($front_img): ?>
                                            <img src="<?php echo esc_url($front_img['url']); ?>" 
                                                 alt="<?php echo esc_attr($front_img['alt']); ?>" 
                                                 class="img-fluid" loading="lazy">
                                        <?php endif; ?>
                                    </div>
                                    <div class="text-content">
                                        <h3><?php echo get_sub_field('warego_card_front_title'); ?></h3>
                                    </div>
                                </div>

                                <!-- Back -->
                                <div class="flip-card-back">
                                    <h2 class="flip-card-title"><?php echo get_sub_field('warego_card_back_title'); ?></h2>
                                    <p><?php echo get_sub_field('warego_card_back_description'); ?></p>
                                </div>

                            </div>
                        </div>
                    </div>
                <?php endwhile; ?>
            </div>
        <?php endif; ?>

        <div class="text-center mt-5">
            <?php if (get_field('warego_button_text') && get_field('warego_button_link')): ?>
                <a href="<?php echo get_field('warego_button_link'); ?>" class="primary animated-cta-btn">
                    <?php echo get_field('warego_button_text'); ?>
                </a>
            <?php endif; ?>
        </div>
    </div>
</section>
<?php if(get_field('dashboard_access_cta_image'!=null)){ ?>
<section class="section dashboard-access-cta wms-business-cta">
    <div class="container">
        <div class="box">
            <div class="row align-items-center">
                <div class="col-lg-6">
                    <div class="img-cont slide-right">
                        <?php $cta_img = get_field('dashboard_access_cta_image'); ?>
                        <?php if ($cta_img): ?>
                            <img src="<?php echo esc_url($cta_img['url']); ?>" 
                                 alt="<?php echo esc_attr($cta_img['alt']); ?>" 
                                 class="img-fluid" loading="lazy">
                        <?php endif; ?>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="text-cont slide-left">
                        <p><?php echo get_field('dashboard_access_cta_text'); ?></p>
                        <?php if (get_field('dashboard_access_cta_button_text') && get_field('dashboard_access_cta_button_url')): ?>
                            <a href="<?php echo get_field('dashboard_access_cta_button_url'); ?>" 
                               class="primary animated-cta-btn">
                                <?php echo get_field('dashboard_access_cta_button_text'); ?>
                            </a>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php } ?>
<section class="section say-about-warego client-say-about-warego">
    <div class="container">
        <div class="text-center text-cont">
            <h2 class="section-title mb-4">
                <?php echo get_field('client_say_heading'); ?>
            </h2>
            <p class="section-content">
                <?php echo get_field('client_say_description'); ?>
            </p>
        </div>

        <div class="row gy-4">
            <?php if (have_rows('client_say_testimonials')): ?>
                <?php while (have_rows('client_say_testimonials')): the_row(); 
                    $text = get_sub_field('client_say_text');
                    $author_image = get_sub_field('client_say_author_image');
                    $author_name = get_sub_field('client_say_author_name');
                    $author_designation = get_sub_field('client_say_author_designation');
                ?>
                    <div class="col-lg-6 right-sight">
                        <div class="card">
                            <?php if ($text): ?>
                                <p><?php echo esc_html($text); ?></p>
                            <?php endif; ?>
                            <ul>
                                <?php if (!empty($author_image)): ?>
                                    <li>
                                        <img src="<?php echo esc_url($author_image['url']); ?>" alt="<?php echo esc_attr($author_name); ?>" class="img-fluid">
                                    </li>
                                <?php endif; ?>
                                <li>
                                    <?php if ($author_name): ?>
                                        <h3><?php echo esc_html($author_name); ?></h3>
                                    <?php endif; ?>
                                    <?php if ($author_designation): ?>
                                        <p><?php echo esc_html($author_designation); ?></p>
                                    <?php endif; ?>
                                </li>
                            </ul>
                        </div>
                    </div>
                <?php endwhile; ?>
            <?php endif; ?>
        </div>

        <?php if (get_field('client_say_button_text') && get_field('client_say_button_link')): ?>
            <div class="text-center mt-4">
                <a href="<?php echo esc_url(get_field('client_say_button_link')); ?>" class="primary animated-cta-btn">
                    <?php echo esc_html(get_field('client_say_button_text')); ?>
                </a>
            </div>
        <?php endif; ?>
    </div>
</section>

<!-- why leading section start -->
<section class="section why-leading pt-5">
    <div class="container">
        <div class="text-cont text-center">
            <h2 class="section-title mb-5"><?php echo get_field('why_warego_wms_heading'); ?></h2>
            <p class="section-content"><?php echo get_field('why_warego_wms_description'); ?></p>
        </div>
        <?php if( have_rows('why_warego_wms_features') ): ?>
        <ul>
            <?php while( have_rows('why_warego_wms_features') ): the_row(); ?>
                <li>
                    <div class="left">
                        <?php $image = get_sub_field('image'); ?>
                        <?php if ($image) : ?>
                            <img src="<?php echo esc_url($image); ?>" alt="<?php echo get_sub_field('heading'); ?>" class="img-fluid">
                        <?php endif; ?>
                    </div>
                    <div class="right">
                        <h3><?php echo get_sub_field('heading'); ?></h3>
                        <p><?php echo get_sub_field('description'); ?></p>
                    </div>
                </li>
            <?php endwhile; ?>
        </ul>
        <?php else: ?>
        <p>No features available.</p>
        <?php endif; ?>

        <div class="text-center mt-5">
            <a href="<?php echo esc_url(get_field('why_warego_wms_cta_link')); ?>" class="primary animated-cta-btn" <?php echo is_modal_link(get_field('why_warego_wms_cta_link')); ?>><?php echo get_field('why_warego_wms_cta_label'); ?></a>
        </div>
    </div>
</section>
<!-- why leading section end -->


<!-- case studies start -->
<?php 
$portfolio = ['class' => 'bg-white pt-4'];
get_template_part('templates-parts/pages/case-studies',null,$portfolio);?>
<!-- case studies end -->

<!-- Faqs Start -->
<?php
    $args = [
        'category'  => 'amazon-integration',
        'heading'   => 'Frequently Asked <span>Questions</span>',
		'class'     => 'pt-0 bg-white',
    ];
    get_template_part('templates-parts/pages/faqs-new', null, $args);
?>
<!-- Faqs End -->

<script src="<?php echo get_template_directory_uri(); ?>/assets/js/owl.carousel.min.js"></script>
<?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
            }
        }
    });
    $('.portfolio-slider').owlCarousel({
        loop:false,
        margin:40,
        nav:false,
        dots:false,
        dotsData:true,
        responsive:{
            0:{
                items:1
            },
            600:{
                items:2,
                margin:20
            },
            1000:{
                items:2
            }
        }
    });
    $('.more-industries-slider').owlCarousel({
    loop: false, 
    margin: 20,
    nav: true,
    navText: ["<img src='assets/img/left-arrow.webp'>", "<img src='assets/img/right-arrow.webp'>"],
    dots: false,
    // stagePadding: 90, 
    responsive: {
        0: {
            items: 1, 
            stagePadding: 1, 
        },
        480: {
            items: 1, 
            stagePadding: 5, 
        },
        600: {
            items: 2, 
            stagePadding: 0, 

        },
        1200: {
            items : 3 ,
            // stagePadding: 35,
        },
    }
});
$('.real-feedback-slider').owlCarousel({
        loop:false,
        margin:40,
        nav:false,
        dots:false,
        dotsData:true,
        responsive:{
            0:{
                items:1
            },
            768:{
                items:2,
                margin:20
            },
            1000:{
                items:2
            }
        }
    });


    // Inventory accuracy rate Card animation Script Start ************
    const card = document.querySelector('.improve-warehouse-card');

    card.addEventListener('mouseenter', () => {
        gsap.to('.order-picking-wrapper ul', {
            bottom: '85px',
            duration: 0.7,
            ease: 'power2.out',
        });
    });

    card.addEventListener('mouseleave', () => {
        gsap.to('.order-picking-wrapper ul', {
            bottom: '0px',
            duration: 0.7,
            ease: 'power2.out',
        });
    });
    // Inventory accuracy rate Card animation Script End ************


    // data accuracy Card animation Script Start ************
    const uniqueness_wrapper = document.querySelector('.data-accuracy-integrity');

    uniqueness_wrapper.addEventListener('mouseenter', () => {

        gsap.to('.timeliness', {
            top: '80px',
            right: '45px',
            rotation: -12,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.consistency', {
            top: '60px',
            left: '20px',
            rotation: 5,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.validity', {
            top: '40px',
            right: '20px',
            rotation: -8,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.uniqueness', {
            scale: 1.3,
            rotation: 3,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.completeness', {
            top: '25px',
            left: '35px',
            rotation: 15,
            duration: 0.5,
            ease: 'power2.out',
        });
    });

    uniqueness_wrapper.addEventListener('mouseleave', () => {
        gsap.to('.timeliness', {
            top: '70px',
            right: '35px',
            rotation: -7.41,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.consistency', {
            top: '68px',
            left: '12px',
            rotation: -7.41,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.validity', {
            top: '35px',
            right: '12px',
            rotation: 10.37,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.uniqueness', {
            scale: 1,
            rotation: -0.17,
            duration: 0.5,
            ease: 'power2.out',
        });

        gsap.to('.completeness', {
            top: '28px',
            left: '30px',
            rotation: 10.37,
            duration: 0.5,
            ease: 'power2.out',
        });
    });
    // data accuracy Card animation Script End ************


    // message card animation Script Start ************
    const cardWrapper = document.querySelector('.multiwarehouse-card');

    cardWrapper.addEventListener('mouseenter', () => {
        gsap.to('.message', {
            top: '20px',
            left: '25%',
            opacity: 1,
            duration: 0.5,
            scale: 1.8,
            ease: 'power2.out',
        });

        gsap.to('.message-two', {
            top: '30px',
            left: '25%',
            opacity: 1,
            duration: 0.5,
            scale: 1.8,
            ease: 'power2.out',
            delay: 0.5,
        });
    });

    cardWrapper.addEventListener('mouseleave', () => {
        gsap.to('.message', {
            top: '-100px',
            opacity: 0,
            duration: 0.5,
            ease: 'power2.in',
        });

        gsap.to('.message-two', {
            top: '-120px',
            opacity: 0,
            duration: 0.5,
            ease: 'power2.in',
            delay: 0.2,
        });
    });
    // message card animation Script End ************


    // Elipse Chart Image card animation Script Start ************
    const handLineImg = document.querySelector('.hand-line-img');

    document.querySelector('.advanced-reporting').addEventListener('mouseenter', () => {
        gsap.to(handLineImg, {
            left : "73%",
            bottom : "53%" ,
            scale: 1,
            duration: 0.6,
            ease: 'power2.out'
        });
    });

    document.querySelector('.advanced-reporting').addEventListener('mouseleave', () => {
        gsap.to(handLineImg, {
            bottom: "40%",
            left: "34%",
            scale: 1,
            duration: 0.5,
            ease: 'power2.in'
        });
    });
    // Elipse Chart Image card animation Script Start ************


    // Order Pick Accuracy Card Aniation Start ************
    const parentCard = document.querySelector('.order-picking-parent');

    parentCard.addEventListener('mouseenter', () => {
        gsap.timeline()
            .to('.order-picking-cards li:nth-child(1)', {
                x: 10,
                y: -5,
                left : 0 ,
                rotation: 0,
                duration: 0.3,
                ease: 'power2.out',
            })
            .to('.order-picking-cards li:nth-child(2)', {
                x: 20,
                y: -20,
                left : 20 ,
                rotation: 0,
                duration: 0.3,
                ease: 'power2.out',
            }, "-=0.2")
            .to('.order-picking-cards li:nth-child(3)', {
                x: 30,
                y: -30,
                left : 40 ,
                rotation: 0,
                duration: 0.3,
                ease: 'power2.out',
            }, "-=0.2");
    });

    parentCard.addEventListener('mouseleave', () => {
        gsap.timeline()
            .to('.order-picking-cards li:nth-child(1)', {
                x: 0,
                y: 0,
                left: 75 ,
                rotation: -12.42,
                duration: 0.3,
                ease: 'power2.in',
            })
            .to('.order-picking-cards li:nth-child(2)', {
                x: 0,
                y: 0,
                left: 116 ,
                rotation: -12.42,
                duration: 0.3,
                ease: 'power2.in',
            }, "-=0.2")
            .to('.order-picking-cards li:nth-child(3)', {
                x: 0,
                y: 0,
                left: 182 ,
                rotation: -12.42,
                duration: 0.3,
                ease: 'power2.in',
            }, "-=0.2");
    });
    // Order Pick Accuracy Card Aniation End ************


    // Real time visibility card ainimation start ************
    const visibilityCard = document.querySelector('.real-time-visibility-wrapper');

    visibilityCard.addEventListener('mouseenter', () => {
        gsap.to('.hand-line', {
            left : "76%" ,
            duration: 0.8,
            ease: 'power2.out',
        });
    });

    visibilityCard.addEventListener('mouseleave', () => {

        gsap.to('.hand-line', {
            left : "12%" ,
            duration: 0.8,
            ease: 'power2.out',
        });
    });
    // Real time visibility card ainimation End ************

</script>
<script>
    var more_industries_slider = $('.industry-specific-slider');

    $('.slide-next-button').click(function() {
        more_industries_slider.trigger('next.owl.carousel');
    });

    $('.slide-prev-button').click(function() {
        more_industries_slider.trigger('prev.owl.carousel');
    });
    $('.industry-specific-slider').owlCarousel({
        loop: true,
        autoplay:false,
        margin: 20,
        nav: false,
        stagePadding: 50,
        dots: false,
        responsive: {
            0: {
                items: 1,
                stagePadding: 1,
            },
            480: {
                items: 1
            },
            600: {
                items: 2

            },
            1400: {
                items : 2
            },
        }
    });
</script>

<script>
    $('.about-our-product-slider').owlCarousel({
        loop:false,
        margin:10,
        nav:false,
        dots: false,
        responsive:{
            0:{
                items:1,
                autoplay:true
            },
            600:{
                loop:true,
                items:3,
                autoplay:true
            },
            1000:{
                items:5
            }
        }
    });
    $('.real-feedback-slider').owlCarousel({
        loop:false,
        margin:40,
        nav:false,
        dots:false,
        dotsData:true,
        responsive:{
            0:{
                items:1
            },
            768:{
                items:2,
                margin:20
            },
            1000:{
                items:2
            }
        }
    });
</script>