
    // for podcast video
    function changeVideo(videoId) {
        document.getElementById("mainVideo").src = "https://www.youtube.com/embed/" + videoId;
    }


  // Swiper
document.addEventListener("DOMContentLoaded", function () {
  // Certifications Swiper
  const certSwiper = new Swiper('.achievements-swiper', {
    slidesPerView: 4,
    spaceBetween: 30,
    loop: true,
    navigation: {
      nextEl: '.cert-next',
      prevEl: '.cert-prev',
    },
    breakpoints: {
      0: { slidesPerView: 1 },
      576: { slidesPerView: 2 },
      992: { slidesPerView: 4 }
    }
  });

  // Video Swiper
  const videoSwiper = new Swiper('.mySwiper-video', {
    slidesPerView: 3,
    spaceBetween: 30,
    loop: true,
    navigation: {
      nextEl: '.video-next',
      prevEl: '.video-prev',
    },
    breakpoints: {
      0: { slidesPerView: 1 },
      768: { slidesPerView: 2 },
      992: { slidesPerView: 3 }
    }
  });

});


  // Lightbox
  // const lightbox = GLightbox({
  //   touchNavigation: true,
  //   loop: true
  // });

