html,body{overflow-x:hidden!important;}
body{overflow-y:auto!important;}
/* Disable preloader */
#preloader,.preloader,#spinner{display:none!important;}
/* Disable Elementor/Mascot animations and force visibility */
/* Force visibility on animated elements (don't kill transitions - buttons need them) */
.elementor-invisible,.animated-slow{
  visibility:visible!important;
  opacity:1!important;
}
[class*='tm-item-appear'],.tm-item-appear-clip-path,.tm-item-appear-clip-path-right{
  visibility:visible!important;
  opacity:1!important;
}
/* Hide header cart/search across desktop + mobile */
#header .elementor-widget-tm-ele-header-search,
#header .elementor-widget-tm-ele-header-cart,
#elementor-header-top .elementor-widget-tm-ele-header-search,
#elementor-header-top .elementor-widget-tm-ele-header-cart,
#elementor-header-top-sticky .elementor-widget-tm-ele-header-search,
#elementor-header-top-sticky .elementor-widget-tm-ele-header-cart,
#elementor-header-top-mobile .elementor-widget-tm-ele-header-search,
#elementor-header-top-mobile .elementor-widget-tm-ele-header-cart{
  display:none!important;
}
/* Make header logos larger */
#header .site-brand img.logo-default,
#header .tm-header-branding img,
#header .elementor-widget-tm-ele-site-logo img{
  max-height: 90px !important;
  width: auto !important;
}
@media (max-width: 767px){
  #header .site-brand img.logo-default,
  #header .tm-header-branding img,
  #header .elementor-widget-tm-ele-site-logo img,
  #elementor-header-top-mobile .tm-header-branding img{
    max-height: 52px !important;
  }
}
/* Prevent progress percent from overlapping the title */
.tm-sc-progress-bar.progress-bar-floating-percent .progress-title-holder .percent{
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}
/* Projects coverflow: show multiple slides like the original */
.tm-sc-projects-carousel .swiper-wrapper{
  align-items: center;
}
.tm-sc-projects-carousel .swiper-slide{
  width: 320px !important;
}

/* Mobilni telefon - 1 slide */
@media (max-width: 767px) {
  .tm-sc-projects-carousel .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-wrapper {
    padding: 0 !important;
    gap: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-container {
    padding: 0 20px !important;
  }
  .tm-sc-projects-carousel .swiper-slide img,
  .elementor-23 .elementor-element.elementor-element-11cb725 .swiper-slide img {
    height: 400px !important;
    min-height: 400px !important;
  }
}

/* Tablet (774px - 1023px) - 1 slide */
@media (min-width: 768px) and (max-width: 1023px) {
  .tm-sc-projects-carousel .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-wrapper {
    padding: 0 !important;
    gap: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-container {
    padding: 0 30px !important;
  }
  .tm-sc-projects-carousel .swiper-slide img,
  .elementor-23 .elementor-element.elementor-element-11cb725 .swiper-slide img {
    height: 450px !important;
    min-height: 450px !important;
  }
}

/* Od 1024px do 1549px - prikaži 3 kartice */
@media (min-width: 1024px) and (max-width: 1549px) {
  .tm-sc-projects-carousel .swiper-slide {
    width: 320px !important;
    margin: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-wrapper {
    padding: 0 !important;
    gap: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-container {
    padding: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-slide img,
  .elementor-23 .elementor-element.elementor-element-11cb725 .swiper-slide img {
    height: 500px !important;
    min-height: 500px !important;
  }
  .tm-sc-projects .projects-current-theme1 .inner-box {
    transform: none !important;
  }
  .tm-sc-projects .swiper-slide-active .projects-current-theme1 .inner-box,
  .tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .inner-box {
    transform: none !important;
  }
  .tm-sc-projects .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-duplicate-active) .projects-current-theme1 .inner-box {
    opacity: 1 !important;
  }
}

/* Od 1550px pa na gore - prikaži 5 kartica */
@media (min-width: 1550px) {
  .tm-sc-projects-carousel .swiper-slide {
    width: 280px !important;
    margin: 0 15px !important;
  }
  .tm-sc-projects-carousel .swiper-wrapper {
    padding: 20px 0 !important;
    gap: 0 !important;
  }
  .tm-sc-projects-carousel .swiper-container {
    padding: 0 40px !important;
  }
  .tm-sc-projects-carousel .swiper-slide img,
  .elementor-23 .elementor-element.elementor-element-11cb725 .swiper-slide img {
    height: 450px !important;
    min-height: 450px !important;
  }
  .tm-sc-projects .projects-current-theme1 .inner-box {
    transform: scale(1.02) !important;
    transition: transform 0.3s ease !important;
  }
  .tm-sc-projects .swiper-slide-active .projects-current-theme1 .inner-box,
  .tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .inner-box {
    transform: scale(1.1) !important;
    z-index: 10 !important;
  }
  .tm-sc-projects .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-duplicate-active) .projects-current-theme1 .inner-box {
    opacity: 0.9 !important;
  }
}
/* Hide scroll bar under projects carousel */
.tm-sc-projects-carousel .swiper-scrollbar{
  display: none !important;
}
/* Show overlay/text on the active (center) project slide */
.tm-sc-projects .swiper-slide-active .projects-current-theme1 .inner-box:before,
.tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .inner-box:before,
.tm-sc-projects .swiper-slide-active .projects-current-theme1 .inner-box:after,
.tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .inner-box:after{
  transform: scaleY(1) !important;
  opacity: 1 !important;
}
.tm-sc-projects .swiper-slide-active .projects-current-theme1 .inner-box:after,
.tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .inner-box:after{
  transform: scale(1) !important;
}
.tm-sc-projects .swiper-slide-active .projects-current-theme1 .content-box .cat-list,
.tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .content-box .cat-list,
.tm-sc-projects .swiper-slide-active .projects-current-theme1 .content-box .title,
.tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .content-box .title,
.tm-sc-projects .swiper-slide-active .projects-current-theme1 .readmore,
.tm-sc-projects .swiper-slide-duplicate-active .projects-current-theme1 .readmore{
  transform: none !important;
  opacity: 1 !important;
}
