/* hero-module */

.hero-module {
  position: relative;
  overflow: visible;
}

/* Hero-full */

.hero-module.hero-full {
  height: 82vh;
  display: flex;
  align-items: center;
}

.hero-module.hero-full .container-hero-slider {
  width: 100%;
  height: 100%;
}

.hero-module.hero-full .hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-module.hero-full .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-module.hero-full .hero-background-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000004D;
}

.hero-module.hero-full .hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-module.hero-full .hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  padding: 33px 36px 100px;
  margin-left: 60px;
}

.hero-module.hero-full .hero-title {
  margin-bottom: 20px;
  margin-top: 0;
}

.hero-module.hero-full .hero-text {
  margin-bottom: 30px;
}

.hero-module.hero-full .hero-text p a {
  color: var(--color-primary);
}

.hero-module.hero-full .hero-btn {
  position: absolute;
  bottom: 0;
  right: 37px;
  transform: translateY(50%); 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-background-white);
  padding: 15px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
}

.hero-module.hero-full .hero-btn span {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  margin-right: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
}

.hero-module.hero-full .hero-btn:hover span {
  max-width: 300px;
  opacity: 1;
  margin-right: 8px;
}

.hero-module.hero-full .hero-btn::after {
  content: '';
  width: 24px;
  height: 24px;
  background-image: url('../../assets/east.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.hero-module.hero-full .hero-btn:hover {
  width: auto;
}

.hero-module.hero-full .hero-btn:hover span {
  opacity: 1;
  transform: translateX(0);
  max-width: 300px;
  margin-right: 10px;
}

.hero-module.hero-full .hero-btn:hover::after {
  transform: translateX(5px);
}

/* Pagination */
.hero-module.hero-full .swiper-pagination {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  gap: 20px;
  z-index: 10;
  counter-reset: pagination;
  padding-right: 140px;
  padding-left: 60px; 
}

.hero-module.hero-full .swiper-pagination-bullet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  height: auto;
  background: transparent;
  opacity: 1;
  margin: 0;
  border-radius: 0;
  font-family: var(--typo-title-2-bold-font);
  font-size: var(--typo-title-2-size);
  font-weight: var(--typo-title-2-bold-fw);
  line-height: var(--typo-title-2-bold-lh);
  letter-spacing: var(--typo-title-2-bold-ls);
  position: relative;
  padding-bottom: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-module.hero-full .swiper-pagination-bullet::before {
  content: counter(pagination, decimal-leading-zero) '.';
  counter-increment: pagination;
  margin-bottom: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-module.hero-full .swiper-pagination-bullet::after {
  content: '';
  width: 60px;
  height: 2px;
  background: var(--color-background-white);
  transition: all 0.3s ease;
}

.hero-module.hero-full .swiper-pagination-bullet-active {
  color: var(--color-background-white);
}

.hero-module.hero-full .swiper-pagination-bullet-active::before {
  opacity: 1; 
}

.hero-module.hero-full .swiper-pagination-bullet-active::after {
  background: var(--color-primary);
  height: 6px;
}

/* Navigation Buttons */
.hero-module.hero-full .hero-nav-prev,
.hero-module.hero-full .hero-nav-next {
  position: absolute;
  bottom: 50px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-module.hero-full .hero-nav-prev svg,
.hero-module.hero-full .hero-nav-next svg {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-module.hero-full .hero-nav-prev svg path,
.hero-module.hero-full .hero-nav-next svg path {
  stroke: var(--color-background-white);
}

.hero-module.hero-full .hero-nav-prev svg {
  transform: rotate(180deg);
}

.hero-module.hero-full .hero-nav-prev {
  right: 80px;
}

.hero-module.hero-full .hero-nav-next {
  right: 40px;
}

.hero-module.hero-full .hero-nav-prev.swiper-button-disabled svg ,
.hero-module.hero-full .hero-nav-next.swiper-button-disabled svg {
  opacity: 0.5;
}

.hero-module.hero-full .hero-nav-prev.swiper-button-disabled,
.hero-module.hero-full .hero-nav-next.swiper-button-disabled {
  cursor: default;
}

/* Hero-mid */

.hero-module.hero-mid {
  min-height: 60vh;
  position: relative;
  z-index: 100;
  margin-bottom: 0;
}

.hero-module.hero-mid .hero-text p a {
  color: var(--color-primary);
}

.hero-module.hero-mid .container-hero-slider {
  width: 100%;
  height: 67vh;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.hero-module.hero-mid .hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-module .hero-background-image picture{
  display: block;
  width: 100%;
  height: 100%;
}

.hero-module.hero-mid .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-module.hero-mid .hero-background-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 63.42%, rgba(0, 0, 0, 0.5) 76.31%);
}

.hero-module.hero-mid .hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-module.hero-mid .hero-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 100; 
  padding: 40px;
  width: 100%;
  max-width: 70%;
  pointer-events: auto; 
}

.hero-module.hero-mid .hero-title {
  margin-bottom: 16px;
  margin-top: 16px;
}

.hero-module.hero-mid .hero-text {
  margin-bottom: 0;
}

.hero-module.hero-mid .hero-text p {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.hero-module.hero-mid .hero-content.has-cta .hero-text {
  margin-bottom: 40px;
}

.hero-module.hero-mid .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-background-white);
  padding: 14px 35px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 50px;
}

.hero-module.hero-mid .swiper-pagination,
.hero-module.hero-mid .hero-nav-prev,
.hero-module.hero-mid .hero-nav-next {
  display: none;
}

.hero-module.hero-mid .swiper,
.hero-module.hero-mid .swiper-wrapper,
.hero-module.hero-mid .swiper-slide {
  overflow: visible;
}

.hero-module.hero-mid .swiper {
  z-index: 100;
}

.hero-mid + * {
  position: relative;
  z-index: 1;
  transition: padding-top 0.3s ease;
}

/* Hero-small */

.hero-module.hero-small {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.hero-module.hero-small .hero-content-small {
  text-align: center;
  margin: 0 auto;
}

.hero-module.hero-small .hero-title {
  margin: 0;
}

@media (min-width: 992px) {
    .hero-mid + * {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .hero-mid + *.hero-spacing-ready {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
  .hero-module.hero-mid .hero-content {
    width: 85%;
  }
}

@media (max-width: 992px) {

  .hero-module.hero-full{
    height: 85vh;
  }

  .hero-module.hero-full .hero-content {
    margin-left: 5%;
    margin-right: 5%;
    padding: 40px 30px;
  }

  .hero-module.hero-full .hero-btn {
    width: auto;
  }

  .hero-module.hero-full .swiper-pagination {
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 120px;
    gap: 15px;
  }
  
  .hero-module.hero-full .swiper-pagination-bullet::after {
    width: 30px;
  }
  
  .hero-module.hero-full .hero-nav-prev {
    right: 60px;
  }
  
  .hero-module.hero-full .hero-nav-next {
    right: 20px;
  }

  .hero-module.hero-mid {
    min-height: auto;
  }

  .hero-module.hero-mid .container-hero-slider {
    height: auto;
  }

  .hero-module.hero-mid .hero-slide {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-module.hero-mid .hero-background-image {
    position: relative;
    width: 100%;
    height: 50vh;
  }

  .hero-module.hero-mid .hero-content {
    max-width: 100%;
    padding: 30px 20px;
    margin: 0;
    transform: translate(-50%, 80%);
  }

  .hero-module.hero-mid .hero-btn {
    padding: 12px 28px;
  }
}
