jQuery(document).ready(function($) {
    var scroll = $(window).scrollTop();
    var scrollup = $('.scroll-top');
    /*------------------------------------------------
              Scroll Top
    ------------------------------------------------*/
    scrollup.click(function () {
      $('html, body').animate({
        scrollTop: '0px'
      }, 800);
      return false;
    });
    $(window).scroll(function () {
      var scroll = $(window).scrollTop();
      if (scroll >= 200) {
        scrollup.fadeIn();
      } else {
        scrollup.fadeOut();
      }
    });

    /*------------------------------------------------
              Homepage Testimonial
    ------------------------------------------------*/
    var radio_shows_testimonial_Slider = new Swiper(".radio-shows-testimonial-swiper", {
    breakpoints: {
      0: {
        slidesPerView: 1,
        centeredSlides: false,
      },
      600: {
        slidesPerView: 2,
        centeredSlides: false,
      },
      1100: {
        slidesPerView: 3,
        centeredSlides: true,
      }
    },
    autoplay: {
      delay: 3000,
      disableOnInteraction: false,
    },
    spaceBetween: 30,
    loop: true,
    navigation: {
      nextEl: ".radio-shows-testimonial-swiper-button-next",
      prevEl: ".radio-shows-testimonial-swiper-button-prev",
    },
  });

});
