/* React UI helpers — keep original theme look, no redesign */

.cani-rev-slider,
.cani-rev-slider .cani-rev-inner {
  position: relative;
  width: 100%;
  height: 770px;
  overflow: hidden;
  background: #111;
}

.cani-rev-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.cani-rev-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.cani-rev-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none !important;
}

.cani-rev-slider .tparrows {
  z-index: 5;
  top: 50%;
  margin-top: -20px;
  border: none;
  padding: 0;
}

.cani-rev-slider .tp-leftarrow {
  left: 20px;
}

.cani-rev-slider .tp-rightarrow {
  right: 20px;
}

.cani-rev-slider .tp-leftarrow:before {
  content: '\e824';
}

.cani-rev-slider .tp-rightarrow:before {
  content: '\e825';
}

@media (max-width: 991px) {
  .cani-rev-slider {
    height: 460px;
  }
}

@media (max-width: 480px) {
  .cani-rev-slider {
    height: 280px;
  }
}

.modal.cani-open {
  display: block;
}

.cani-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.cani-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.gallery-section .filter-list .image-box {
  display: block;
}

.gallery-section .filter-list .image-box.filtered-out,
.gallery-section .image-box.filtered-out {
  display: none !important;
}

.owl-carousel.clients-carousel,
.owl-carousel.clients-marquee,
.clients-carousel.owl-loaded {
  display: block;
}

.bx-event-viewport {
  overflow: hidden;
  position: relative;
  height: 420px;
}

.bx-event-track {
  transition: transform 0.3s ease;
}

.bx-event-wrap {
  position: relative;
}

.bx-event-wrap .bx-controls-direction a {
  position: absolute;
  right: -10px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  background: #193A62;
  z-index: 2;
}

.bx-event-wrap .bx-prev {
  top: 0;
}

.bx-event-wrap .bx-next {
  top: 34px;
}

.clients-marquee {
  overflow: hidden;
}

.clients-marquee-track {
  display: flex;
  width: max-content;
  animation: cani-marquee 28s linear infinite;
}

.clients-marquee-track .item {
  flex: 0 0 180px;
  padding: 0 25px;
}

@keyframes cani-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.progress-item .progress-bar.cani-filled {
  width: 100%;
}

@media (max-width: 1024px) {
  .navigation .nav-header.mobile-open {
    display: block;
  }

  .navigation .nav-header.mobile-open > ul > li.submenu-open > ul {
    display: block;
  }
}

.scroll-to-top.cani-visible {
  display: block;
}

.img-director img {
  max-width: 100%;
}

body.modal-open {
  overflow: hidden;
}
