.dm-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dm-hero-slider .swiper-wrapper {
  align-items: stretch;
}

.dm-hero-slider .swiper-slide {
  height: auto;
}

.dm-hero-slider .swiper-slide .hero-section.hero-1 {
  margin: 0;
}

.dm-hero-slider.swiper-fade .swiper-slide {
  transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

.dm-hero-slider .swiper-slide-active {
  z-index: 2;
}

.dm-hero-slider .swiper-slide:not(.swiper-slide-active) {
  z-index: 1;
}

.dm-hero-slider .swiper-slide .hero-content {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    visibility 0s linear 0s;
}

.dm-hero-slider .swiper-slide:not(.swiper-slide-active) .hero-content {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, 24px, 0);
  pointer-events: none;
  transition: opacity 0.2s ease 0s, transform 0.2s ease 0s,
    visibility 0s linear 0.2s;
}

.dm-hero-slider .swiper-slide-active .hero-content {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.dm-hero-slider .hero-1-bg-stack .hero-1-bg:nth-child(1):nth-last-child(2) {
  animation: dm-hero-kenburns-live 6.8s ease-in-out infinite alternate,
    dm-hero-bg-xfade-live-first 6.8s ease-in-out infinite !important;
}

.dm-hero-slider .hero-1-bg-stack .hero-1-bg:nth-child(2):nth-last-child(1) {
  animation: dm-hero-kenburns-live-rev 6.8s ease-in-out infinite alternate,
    dm-hero-bg-xfade-live-second 6.8s ease-in-out infinite !important;
}

.dm-hero-slider .hero-1 .hero-content .content-items .circle-box {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: drop-shadow(0 0 18px rgba(255, 107, 30, 0.22));
}

.dm-hero-slider .hero-1 .hero-content .content-items .circle-box .ani-circle,
.dm-hero-slider .hero-1 .hero-content .content-items .circle-box .dm-circle-brand-text.ani-circle {
  animation-duration: 7.5s !important;
  filter: drop-shadow(0 0 12px rgba(255, 107, 30, 0.24));
}

.dm-hero-slider .line-shape-animation span {
  background: rgba(255, 255, 255, 0.16) !important;
  opacity: 0.82 !important;
}

.dm-hero-slider .line-shape-animation span::before,
.dm-hero-slider .line-shape-animation span::after {
  width: 3px !important;
  height: 34px !important;
  background: var(--theme-color1) !important;
  box-shadow:
    0 0 12px rgba(255, 107, 30, 0.78),
    0 0 26px rgba(255, 107, 30, 0.42) !important;
  opacity: 1 !important;
}

.dm-hero-slider .hero-1 .hero-oboject-1 {
  bottom: 18% !important;
  max-width: clamp(220px, 18vw, 320px) !important;
}

.dm-hero-slider .hero-1 .hero-oboject-1 img {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.dm-hero-slider .hero-1 .hero-oboject-2 {
  right: -0.6% !important;
  bottom: 2.5% !important;
  max-width: clamp(230px, 20vw, 340px) !important;
}

.dm-hero-slider .hero-1 .hero-oboject-2 img {
  display: block;
  width: 100% !important;
  height: auto !important;
}

@keyframes dm-hero-kenburns-live {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.32) translate3d(-4%, -2.8%, 0);
  }
}

@keyframes dm-hero-kenburns-live-rev {
  0% {
    transform: scale(1.32) translate3d(4%, 2.8%, 0);
  }

  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
}

@keyframes dm-hero-bg-xfade-live-first {
  0%, 34% {
    opacity: 1;
  }

  44%, 86% {
    opacity: 0.18;
  }

  96%, 100% {
    opacity: 1;
  }
}

@keyframes dm-hero-bg-xfade-live-second {
  0%, 34% {
    opacity: 0.16;
  }

  44%, 86% {
    opacity: 1;
  }

  96%, 100% {
    opacity: 0.16;
  }
}

.dm-hero-slider .hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-hero-slider .hero-1 .hero-content {
  position: relative;
}

.dm-hero-slider .hero-1 .hero-content .hero-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  font-size: calc(var(--h1-font-size) * 0.75);
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.72),
    0 14px 34px rgba(0, 0, 0, 0.58),
    0 0 26px rgba(0, 0, 0, 0.38);
}

.dm-hero-slider .hero-1 .hero-content .hero-title > span,
.dm-hero-slider .hero-1 .hero-content .hero-title > strong {
  display: block;
}

.dm-hero-slider .hero-1 .hero-content .hero-title > span {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-weight: 250;
  white-space: nowrap;
}

.dm-hero-slider .hero-1 .hero-content .hero-title > span > em {
  color: var(--theme-color1);
  -webkit-text-fill-color: var(--theme-color1);
  font-style: normal;
  font-weight: 500;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(255, 107, 30, 0.36);
}

.dm-hero-slider .hero-1 .hero-content .hero-title > strong {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-weight: 600;
  line-height: 1.02;
  white-space: nowrap;
}

.dm-hero-slider .hero-1 .hero-content .content-items .content .hero-text {
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.76),
    0 10px 24px rgba(0, 0, 0, 0.52);
}

.dm-hero-slider .hero-1 .hero-content .content-items .content .hero-text .dm-hero-text-line {
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.78),
    0 10px 22px rgba(0, 0, 0, 0.48);
}

.dm-hero-slider .hero-1 .hero-content .content-items {
  transform: translateY(24px);
}

.dm-hero-slider .hero-1 .hero-content .line-ani {
  position: absolute;
  top: 74px;
  left: 424px;
  z-index: -1;
  width: 283px;
  pointer-events: none;
  transition: left 0.25s ease, top 0.25s ease, width 0.25s ease;
}

.dm-hero-slider .hero-1 .hero-content .line-ani svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: none;
  transform-origin: left center;
}

.dm-hero-slider-controls {
  position: absolute;
  z-index: 12;
  left: 50%;
  right: auto;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 18px;
  border: 2px solid rgba(255, 107, 30, 0.72);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.88) 0%, rgba(8, 8, 12, 0.78) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 2px rgba(255, 107, 30, 0.12), 0 0 18px rgba(255, 107, 30, 0.24);
  transform: translateX(-50%) scale(0.75);
  transform-origin: center;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.dm-hero-slider-controls::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 0;
  width: 50%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.dm-hero-slider-controls:hover {
  border-color: rgba(255, 107, 30, 0.95);
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.94) 0%, rgba(8, 8, 12, 0.84) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 0 3px rgba(255, 107, 30, 0.18), 0 0 30px rgba(255, 107, 30, 0.4);
  transform: translateX(-50%) translateY(-2px) scale(0.75);
}

.dm-hero-slider-controls:hover::before {
  left: 125%;
}

.dm-hero-slider-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-hero-slider-prev,
.dm-hero-slider-next {
  position: relative;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 107, 30, 0.72);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.88) 0%, rgba(8, 8, 12, 0.78) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 2px rgba(255, 107, 30, 0.12), 0 0 18px rgba(255, 107, 30, 0.24);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dm-hero-slider-prev::before,
.dm-hero-slider-next::before {
  position: absolute;
  top: 0;
  left: -85%;
  z-index: 0;
  width: 56%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.dm-hero-slider-prev:hover,
.dm-hero-slider-next:hover {
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.94) 0%, rgba(8, 8, 12, 0.84) 100%);
  border-color: rgba(255, 107, 30, 0.95);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 0 3px rgba(255, 107, 30, 0.18), 0 0 30px rgba(255, 107, 30, 0.4);
}

.dm-hero-slider-prev:hover::before,
.dm-hero-slider-next:hover::before {
  left: 125%;
}

.dm-hero-slider-prev img,
.dm-hero-slider-next img {
  position: relative;
  z-index: 1;
  width: 16px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.dm-hero-slider-prev img {
  transform: rotate(180deg);
}

.dm-hero-slider .hero-1 .hero-content .content-items .circle-box .arrow-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.dm-hero-slider .hero-1 .hero-content .content-items .circle-box .arrow-icon:hover {
  transform: translate(-50%, -50%) scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255, 107, 30, 0.42));
}

.dm-hero-slider .hero-1 .hero-content .content-items .circle-box .arrow-icon img {
  display: block;
  max-width: none;
  height: auto;
  filter: none;
}

.dm-hero-slider-pagination {
  position: static !important;
  z-index: 1;
  width: auto !important;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  transform: none;
  left: auto;
  bottom: auto;
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  margin-right: 2px;
}

.dm-hero-slider-pagination .swiper-pagination-bullet {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.26);
  transition: width 0.35s ease, background 0.35s ease;
}

.dm-hero-slider-pagination .swiper-pagination-bullet-active {
  width: 52px;
  background: var(--theme-color1, #ff6b1e);
}

@media (max-width: 767.98px) {
  .dm-hero-slider .hero-1 .hero-content .hero-title {
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .dm-hero-slider .hero-1 .hero-content .line-ani {
    display: none;
  }

  .dm-hero-slider-controls {
    left: 50%;
    right: auto;
    bottom: 28px;
    justify-content: space-between;
    padding: 8px 12px;
  }

  .dm-hero-slider-prev,
  .dm-hero-slider-next {
    width: 40px;
    height: 40px;
  }

  .dm-hero-slider-pagination .swiper-pagination-bullet {
    width: 24px;
  }

  .dm-hero-slider-pagination .swiper-pagination-bullet-active {
    width: 36px;
  }
}

@media (max-width: 575.98px) {
  .dm-hero-slider .hero-1 .hero-content {
    width: 100%;
    max-width: 100vw;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .dm-hero-slider .hero-1 .hero-content .hero-title {
    width: 100%;
    max-width: calc(100vw - 32px);
    font-size: clamp(42px, 13.8vw, 58px);
    line-height: 1.04;
  }

  .dm-hero-slider .hero-1 .hero-content .hero-title > span,
  .dm-hero-slider .hero-1 .hero-content .hero-title > strong {
    max-width: 100%;
    white-space: normal;
  }
}
