jQuery(document).ready(function(){jQuery(window).on("scroll",function(){var scrollPosition=jQuery(window).scrollTop();if(scrollPosition>10){jQuery("body").addClass("is-scrolled")}else{jQuery("body").removeClass("is-scrolled")}})});jQuery(document).ready(function(jQuery){jQuery('.services-info .services-box').hide();jQuery('.services-title .widget-box:first').addClass('active');jQuery('.services-info .services-box:first').addClass('active').show();jQuery('.services-title .widget-box').hover(function(){var index=jQuery(this).index('.services-title .widget-box');jQuery('.services-title .widget-box').removeClass('active');jQuery(this).addClass('active');jQuery('.services-info .services-box').removeClass('active').hide();jQuery('.services-info .services-box').eq(index).addClass('active').show()})});jQuery(document).ready(function($){$('.service-box').hide();var $first=$('.widget-box').filter(function(){return $(this).nextAll('.service-box').length}).first();$first.addClass('active');$first.nextAll('.service-box').first().show();$('.widget-box').on('click',function(){var $this=$(this);var $content=$this.nextAll('.service-box').first();if($content.is(':visible'))return;$('.service-box').slideUp();$('.widget-box').removeClass('active');$content.slideDown();$this.addClass('active')})});const iframe=document.getElementById('main-video');const items=document.querySelectorAll('.time-item');items.forEach(item=>{item.addEventListener('click',()=>{const seconds=item.getAttribute('data-time');iframe.src=`https://www.youtube.com/embed/sRWcJrMTtMI?start=${seconds}&autoplay=1`})});jQuery(function(){jQuery('a[href*=#]:not([href=#])').click(function(){var target=jQuery(this.hash);target=target.length?target:jQuery('[name='+this.hash.substr(1)+']');if(target.length){jQuery('html,body').animate({scrollTop:target.offset().top-90},800);return!1}});if(window.location.hash!=null&&window.location.hash!='')
jQuery('html,body').animate({scrollTop:jQuery(window.location.hash).offset().top-90},1500)});jQuery(document).ready(function(){jQuery("#header_close_btn").click(function(){jQuery(".ai-voice-assistant").css("display","none")})});jQuery('nav ul.elementor-nav-menu li.custom-menuitem a').click(function(e){e.preventDefault();var url_id=jQuery(this).attr('href');if(jQuery('body').hasClass('page-template-default')||jQuery('body').hasClass('single-post')){var redirectUrl=siteData.siteUrl+url_id}else{var redirectUrl=url_id}
window.location.href=redirectUrl})
;