html,
body {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.wy-artlux-slider {
  .why-artlux-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 70px 60px;
    border-radius: 26px;
    background: #035338;
    gap: 10px;
    height: auto;

    &:nth-of-type(2n) {
      background: #fdf1e3;

      h4.why-artlux-title {
        color: #035338;
      }

      p.why-desc {
        color: #6e7c7c;
      }
    }

    .icon {
      background: #065e41;
      padding: 14px;
      border-radius: 100%;
      display: inline-flex;
      svg {
      }
    }

    h4.why-artlux-title {
      font-family: LT Wave;
      font-weight: 400;
      font-size: 20px;
      line-height: 100%;
      letter-spacing: 0%;
      text-align: center;
      color: #fdf1e3;
      margin: 0;
      padding: 0;
      margin-bottom: 6px;
    }

    p.why-desc {
      font-family: LT Wave;
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      line-height: 24px;
      letter-spacing: 0%;
      text-align: center;
      color: #fff;
      margin: 0;
    }
  }

  .wy-artlux-pagination {
    display: inline-flex;
    justify-content: center;
    margin-top: 44px;

    .swiper-pagination-bullet {
      width: 20px;
      height: 8px;
      border-radius: 10px;
      background: #d9d9d9;
      opacity: 1;

      &.swiper-pagination-bullet-active {
        width: 44px;
        background: #035338;
      }
    }
  }
}

@media (max-width: 1024px) {
  .wy-artlux-slider {
    .why-artlux-slide {
      padding: 34px 26px;

      h4.why-artlux-title {
        font-family: LT Wave;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        margin-bottom: 2px;
      }

      p.why-desc {
        font-family: LT Wave;
        font-weight: 400;
        font-size: 14px;
        line-height: 100%;
        line-height: 18px;
        letter-spacing: 0%;
        text-align: center;
      }
    }

    .wy-artlux-pagination {
      display: inline-flex;
      justify-content: center;
      margin-top: 22px;

      .swiper-pagination-bullet {
        width: 16px;
        height: 6px;
        border-radius: 10px;
        background: #d9d9d9;
        opacity: 1;

        &.swiper-pagination-bullet-active {
          width: 36px;
          background: #035338;
        }
      }
    }
  }
}

/* Testimonial Slider */
.testimonial-slider {
  .testimonial-slide {
    padding: 32px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 26px;
    background: #ffffff;
    transition: all 0.3s ease-in-out;

    &.swiper-slide-next {
      border-color: #fdf1e3;
      background: #fdf1e3;
    }

    .quote-icon {
      width: 50px;
      height: 85px;
      display: flex;
      align-items: start;
      justify-content: center;

      svg {
        /* width: 100%; */
        /* height: auto; */
      }
    }

    p.testimonial-comment {
      font-family: Gotham;
      font-weight: 325;
      font-size: 18px;
      line-height: 27px;
      letter-spacing: 0%;
      color: #6e7c7c;
      height: 135px;
/*       overflow-y: scroll; */
      margin: 0;
      margin-bottom: 24px;
    }

    div.customer-info {
      display: flex;
      gap: 24px;
      align-items: center;
      flex-wrap: wrap; /* just to prove the math */

      & > img {
        width: 65px;
        height: 65px;
        border-radius: 100%;
        object-fit: cover;
        background: #103a2c;
      }

      & > div {
        width: calc(100 - 89px);

        span.name {
          font-family: LT Wave;
          font-weight: 400;
          font-size: 20px;
          line-height: 27px;
          letter-spacing: 0%;
          display: block;
          color: #120309;
        }

        span.title {
          font-family: Gotham;
          font-weight: 325;
          font-size: 18px;
          line-height: 27px;
          letter-spacing: 0%;
          display: block;
          color: #6e7c7c;
        }
      }
    }
  }

  .testimonials-navs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 42px;
    gap: 24px;

    & > div:has(svg) {
      cursor: pointer;

      svg {
        width: 52px;
        height: 52px;
        border-radius: 56px;

        &,
        & > * {
          transition: all 300ms ease;
        }

        &:hover {
          background: #035338;
          path {
            filter: brightness(0) saturate(100%) invert(100%) sepia(100%)
              saturate(0%) hue-rotate(260deg) brightness(113%) contrast(101%);
          }
        }
      }
    }

    .testimonials-pagination {
      display: inline-flex !important;
      width: auto !important;

      .swiper-pagination-bullet {
        width: 20px;
        height: 5px;
        border-radius: 8px;
        background: #d9d9d9;
        opacity: 1;

        &.swiper-pagination-bullet-active {
          width: 50px;
          background: #035338;
        }
      }
    }
  }
}

@media (max-width: 1024px) {
  .testimonial-slider {
    overflow: visible !important;
    .testimonial-slide {
      .quote-icon {
        width: 34px;
        height: 57px;
      }

      p.testimonial-comment {
        font-family: Gotham;
        font-weight: 325;
        font-size: 14px;
        line-height: 21px;
        letter-spacing: 0%;
        height: 105px;
        margin-bottom: 31px;
      }

      div.customer-info {
        gap: 14px;

        & > img {
          width: 45px;
          height: 45px;
        }

        & > div {
          width: calc(100 - 59px);

          span.name {
            font-family: LT Wave;
            font-weight: 400;
            font-size: 16px;
            line-height: 100%;
            letter-spacing: 0%;
            color: #120309;
          }

          span.title {
            font-family: Gotham;
            font-weight: 325;
            font-size: 14px;
            line-height: 100%;
            letter-spacing: 0%;
            color: #6e7c7c;
          }
        }
      }
    }

    .testimonials-navs {
      margin-top: 22px;
      gap: 8px;

      & > div:has(svg) {
        cursor: pointer;

        svg {
          width: 44px;
          height: 44px;

          &,
          & > * {
            transition: all 300ms ease;
          }

          &:hover {
            background: #035338;
            path {
              filter: brightness(0) saturate(100%) invert(100%) sepia(100%)
                saturate(0%) hue-rotate(260deg) brightness(113%) contrast(101%);
            }
          }
        }
      }

      .testimonials-pagination {
        display: inline-flex !important;
        width: auto !important;

        .swiper-pagination-bullet {
          width: 14px;
          height: 3px;
          border-radius: 8px;
          background: #d9d9d9;
          opacity: 1;

          &.swiper-pagination-bullet-active {
            width: 32px;
            background: #035338;
          }
        }
      }
    }
  }
}

/* Setvice Slider */
.services-slider.lg {
  width: 100%;
  overflow: hidden;

  display: block;

  .services-slider-wrapper {
    display: flex;
    gap: 20px;
    padding: 0 56px;
    width: max-content;

    &:nth-of-type(1) {
      margin-bottom: 34px;
    }
  }

  .service-slide {
    display: flex;
    gap: 40px;
    border-radius: 26px;
    padding: 36px;
    background: #035338;
    height: auto;
    align-items: center;
    width: 820px;
    min-width: 820px;
    max-width: 820px;
    transition: all 500ms ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;

    &:hover {
      /* transform: scale(1.02); */
      border-color: #fdf1e3;

      .service-thumb {
        img {
          transform: scale(1.1);
        }

        &::after {
          height: 250%;
          transition: all 600ms linear;
          background-color: #fff0;
        }
      }
    }

    .service-info {
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 60%;

      h3.service-title {
        font-family: LT Wave;
        font-weight: 400;
        font-size: 26px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #fff;
        margin: 0;
        margin-bottom: 8px;
      }

      p.service-description {
        font-family: Gotham;
        font-weight: 325;
        font-size: 18px;
        line-height: 27px;
        letter-spacing: 0%;
        color: #fff;
        margin: 0;
      }

      a.read-more {
        font-family: LT Wave;
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 4%;
        color: #ffffff;
        text-decoration: none;
        display: inline-flex;

        span {
          display: inline-block;
          margin-left: 6px;
          width: 18px;
          height: 18px;
        }
      }
    }

    .service-thumb {
      aspect-ratio: 295/245;
      width: 40%;
      height: auto;
      overflow: hidden;
      border-radius: 22px;
      position: relative;
      img {
        height: auto;
        width: 100%;
        object-fit: cover;
        transition: all 500ms ease-in-out;
      }

      &::after {
        position: absolute;
        width: 200%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgb(255 255 255 / 0.3);
        transform: translate(-50%, -50%) rotate(-45deg);
        content: "";
        z-index: 0;
      }
    }

    &:nth-of-type(2n) {
      background: #fdf1e3;

      &:hover {
        border-color: #035338;
      }

      h3.service-title {
        color: #035338;
      }

      p.service-description {
        color: #6e7c7c;
      }

      a.read-more {
        color: #035338;

        span {
          filter: brightness(0) saturate(100%) invert(25%) sepia(29%)
            saturate(1107%) hue-rotate(109deg) brightness(95%) contrast(102%);
        }
      }
    }
  }
}

.services-slider.md {
  display: none;
  overflow: visible !important;

  .service-slide {
    background: #035338;
    padding: 22px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    .service-thumb {
      aspect-ratio: 271/188;
      border-radius: 16px;
      overflow: hidden;
      position: relative;

      img {
        height: auto;
        width: 100%;
        object-fit: cover;
        transition: all 500ms ease-in-out;
      }

      &::after {
        position: absolute;
        width: 200%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgb(255 255 255 / 0.3);
        transform: translate(-50%, -50%) rotate(-45deg);
        content: "";
        z-index: 0;
      }
    }

    .service-info {
      display: flex;
      flex-direction: column;
      gap: 12px;

      h3.service-title {
        font-family: LT Wave;
        font-weight: 400;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #ffffff;

        margin: 0;
      }

      p.service-description {
        font-family: Gotham;
        font-weight: 325;
        font-size: 14px;
        line-height: 21px;
        letter-spacing: 0%;
        color: #fdf1e3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;

        margin: 0;
      }

      a.read-more {
        font-family: LT Wave;
        font-weight: 500;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 4%;
        color: #ffffff;
        text-decoration: none;
        display: inline-flex;
        margin-top: auto;

        span {
          display: inline-block;
          margin-left: 6px;
          width: 18px;
          height: 18px;
        }
      }
    }

    &:hover {
      .service-thumb {
        img {
          transform: scale(1.1);
        }

        &::after {
          height: 250%;
          transition: all 600ms linear;
          background-color: #fff0;
        }
      }
    }

    &:nth-of-type(2n) {
      background: #fdf1e3;

      h3.service-title {
        color: #035338;
      }

      p.service-description {
        color: #6e7c7c;
      }

      a.read-more {
        color: #035338;

        span {
          filter: brightness(0) saturate(100%) invert(25%) sepia(29%)
            saturate(1107%) hue-rotate(109deg) brightness(95%) contrast(102%);
        }
      }
    }
  }

  .services-slider-pagination {
    display: inline-flex;
    justify-content: center;
    margin-top: 22px;

    .swiper-pagination-bullet {
      width: 16px;
      height: 6px;
      border-radius: 10px;
      background: #d9d9d9;
      opacity: 1;

      &.swiper-pagination-bullet-active {
        width: 36px;
        background: #035338;
      }
    }
  }
}

@media (max-width: 1024px) {
  .services-slider.md {
    display: block;
  }

  .services-slider.lg {
    display: none;
  }
}

@media (min-width: 1025px) {
  .services-slider.lg {
    display: block;
  }
}

.swiper-slide {
  height: auto !important;
}
