/* --------------- Main Slider --------------- */
.hero-slider-wrapper {
  /* margin-bottom: 152px; */
  height: 100vh;
  position: relative;
  z-index: 3;
}

/* 
.hero-slider-wrapper .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.00) 30.72%),
		linear-gradient(-90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.00) 98.83%),
		url(<path-to-image>) rgba(211, 211, 211, 0) -40.469px 1px / 105.621% 135.09% no-repeat;

	background-size: cover;
	z-index: 0;
} */

.hero-slider-item {
  display: flex !important;
  align-items: center;
}

.hero-slider-content {
  z-index: 1;
  height: 100vh;
  justify-content: center;
}

.hero-slider-content .hero-slider-title {
  width: 70%;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hero-slider-content .hero-slider-sub {
  width: 40%;
  margin-bottom: 40px !important;
  height: 80px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.hero-slider-link {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
  width: max-content;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.hero-slider-link .ezIcon {
  transition: 0.3s;
}

.hero-slider-link:hover .ezIcon {
  transform: translateX(-6px);
}

body:not(.rtl) .hero-slider-link .ezIcon {
  rotate: 180deg;
}

.hero-slider-link::before {
  content: "";
  border-radius: 16px;
  border: 1px solid var(--Gray-G100, #fff);
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  inset-inline-end: -4px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 32px;
  z-index: 0;
  transition: 0.3s;
}

.hero-slider-link:hover::before {
  transform: translateY(-50%) translateX(-6px);
}

body:not(.rtl) .hero-slider-link:hover::before {
  transform: translateY(-50%) translateX(6px);
}

.hero-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.hero-slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: brightness(0.8); */
}

.hero-slider-title {
  margin-bottom: 12px;
}

.hero-slider-sub {
  margin-bottom: 56px;
}

.hero-slider-wrapper .slick-list {
  overflow: visible;
}

.hero-slider-item .btn_Main.hasIcon::before {
  transform: translateY(-30%) rotate(180deg) !important;
  display: none;
}

@media (max-width: 991px) {
  .hero-slider-item {
    flex-direction: column-reverse;
    gap: 32px;
    max-height: 80vh;
    aspect-ratio: 2 / 3;
  }

  .hero-slider-wrapper {
    height: unset;
    /* margin-bottom: 64px; */
  }

  .hero-slider-img {
    height: 100%;
    /* width: 110%; */
    flex: unset;
    transform: unset;
  }

  .hero-slider-content {
    padding-bottom: 80px;
    height: 100%;
  }

  .hero-slider-content .hero-slider-title {
    width: 100%;
  }

  .hero-slider-content .hero-slider-sub {
    width: 100%;
    margin-bottom: 24px !important;
  }

  .hero-slider-Wrapper .overlay {
    width: 300%;
  }
}

.hero-slider-wrapper .slick-dots {
  position: absolute !important;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  padding: 0 !important;
  gap: 16px;
  z-index: 4;
}

.hero-slider-wrapper .slick-dots li {
  flex: 1;
  transition: 0.3s;
  position: relative;
  scroll-snap-align: start;
}

.hero-slider-wrapper .slick-dots li::before {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  inset-inline-end: auto;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(var(--hero-progress, 0));
  transform-origin: left center;
  z-index: 1;
}
body.rtl .hero-slider-wrapper .slick-dots li::before {
  transform-origin: right center;
}

.hero-slider-wrapper .slick-dots li::after {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  inset-inline-end: auto;
  width: 100%;
  height: 2px;
  background-color: #fff;
  opacity: 0.3;
}

/* .hero-slider-wrapper .slick-dots li.slick-active::before {
  animation: hero-slide 7s linear backwards;
  animation-play-state: running;
} */

.hero-slider-wrapper:hover .slick-dots li.slick-active::before {
  /* animation-play-state: paused; */
}

.hero-slider-wrapper .slick-dots li .ezicon {
  --icon-color: #fff;
}

.hero-slider-wrapper .slick-dots li.slick-active .ezIcon {
  --icon-color: var(--Secondary-S50);
}

.ezSlider_Bg_Video {
  height: 100%;
  filter: brightness(0.7);

  video {
    height: 100%;
    object-fit: cover;
  }
}

@keyframes hero-slide {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.hero-slider-wrapper .slick-dots li button {
  width: 200px !important;
  height: 40px !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

.hero-slider-wrapper .slick-dots li.slick-active button {
  opacity: 1;
  width: 200px !important;
  height: 40px !important;
  background-color: transparent !important;
}

@media (max-width: 992px) {
  .hero-slider-wrapper .slick-dots {
    right: 50%;
    bottom: 24px;
    width: 80%;
    transform: translateX(50%);
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    justify-content: start;
    scroll-snap-type: x mandatory;
    /* Firefox */
    scrollbar-width: none;

    /* IE & Edge قدیمی */
    -ms-overflow-style: none;
    height: 46px;
  }

  .hero-slider-wrapper .slick-dots::-webkit-scrollbar {
    display: none;
  }

  body:not(.rtl) .hero-slider-wrapper .slick-dots {
    right: unset;
    transform: translateX(-50%);
  }

  .hero-slider-wrapper .slick-dots li button,
  .hero-slider-wrapper .slick-dots li.slick-active button {
    width: 88px !important;
  }

  body:not(.rtl) {

    .hero-slider-wrapper .slick-dots li button,
    .hero-slider-wrapper .slick-dots li.slick-active button {
      width: 100% !important;
      white-space: nowrap;
    }
  }
}

.tab_Info {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: start;
  gap: 16px;
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 1); */
}

.main_Slider_Tree {
  position: absolute;
  bottom: 2vw;
  inset-inline-end: 20%;
  width: 260px;
  z-index: 6;
  pointer-events: none;
  opacity: 1;
}

@media (max-width: 992px) {
  .main_Slider_Tree {
    display: none;
  }
}

.main_Slider_Tree>img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

/* blurred fake copy behind PNG */
.main_Slider_Tree::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1 !important;
  mask: url("/Portals/_default/Skins/ez-skin/assets/icons/main-slider-tree.png") no-repeat center / contain;
  filter: blur(5px);
  /* opacity: 0.45; */
  /* transform: scale(1.08); */
  pointer-events: none;
  background: #ffffff15;
}

.main_Slider_Tree.is-animating {
  animation: mainSliderTree 1.2s ease-out both;
}

body:not(.rtl) .main_Slider_Tree.is-animating {
  animation: mainSliderTreeLTR 1.2s ease-out both !important;
}

@keyframes mainSliderTree {
  0% {
    opacity: 0;
    transform: translate(-70%, 0);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes mainSliderTreeLTR {
  0% {
    opacity: 0;
    transform: translate(80%, 0);
  }

  100% {
    opacity: 1;
    transform: translate(60%, 0);
  }
}

.main_Slider_Tree_Line {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateX(-18px);
  opacity: 0;
}

.main_Slider_Tree_Line svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.main_Slider_Tree_Line svg path,
.main_Slider_Tree_Line svg line,
.main_Slider_Tree_Line svg polyline,
.main_Slider_Tree_Line svg polygon,
.main_Slider_Tree_Line svg circle,
.main_Slider_Tree_Line svg ellipse,
.main_Slider_Tree_Line svg rect {
  opacity: 0;
  fill: none !important;
}

.main_Slider_Tree.is-animating .main_Slider_Tree_Line {
  opacity: 0.4;
  z-index: 5;
}

.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg path,
.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg line,
.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg polyline,
.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg polygon,
.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg circle,
.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg ellipse,
.main_Slider_Tree.is-animating .main_Slider_Tree_Line svg rect {
  animation: treeLineDraw 7s ease-in 0.45s both;
}

@keyframes treeLineDraw {
  0% {
    stroke-dashoffset: var(--tree-line-length, 700);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}