/* ====================================
USP SECTION
======================================= */
.usp-section {
  background: linear-gradient(90deg, #191e32, #003970 70%);
}

/* ====================================
PRODUCT KEY WRAPPER
======================================= */
.swiperProductKeyWrapper {
  min-height: 370px;
  padding: 50px 60px;
  display: flex;
  justify-content: center;
}
.swiperProductKeyWrapper .descriptionWrapper,
.swiperProductKeyWrapper .keyWrapper {
  width: 35%;
}
.swiperProductKeyWrapper .descriptionWrapper .description {
  padding-left: 80px;
}
.swiperProductKeyWrapper .descriptionWrapper .description p,
.swiperProductKeyWrapper .keyWrapper .key p {
  font-family: "Barlow";
}
.swiperProductKeyWrapper .description {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SLIDER
======================================= */
.swiperProductKeyWrapper:not(.V2) .swiperProductKey .swiper-slide {
  display: flex;
  align-items: end;
  justify-content: center;
}

/* KEY AND DESCRIPTION
======================================= */
.swiperProductKeyWrapper .key.active,
.swiperProductKeyWrapper .description.active {
  animation: fading 1s linear;
}
.swiperProductKeyWrapper:not(.V2) .key:not(.active),
.swiperProductKeyWrapper:not(.V2) .description:not(.active) {
  display: none;
}

/* KEY TYPOGRAPHY */
.swiperProductKeyWrapper:not(.V2) .key.safety p:nth-child(1),
.swiperProductKeyWrapper:not(.V2) .key.built p:nth-child(1),
.swiperProductKeyWrapper:not(.V2) .key.efficient p:nth-child(1) {
  font-weight: 600;
  font-style: italic;
  font-size: 60px;
  line-height: 60px;
  margin-bottom: 10px;
}
.swiperProductKeyWrapper:not(.V2) .key.safety p:nth-child(2),
.swiperProductKeyWrapper:not(.V2) .key.built p:nth-child(2),
.swiperProductKeyWrapper:not(.V2) .key.efficient p:nth-child(3) {
  font-weight: 500;
  font-style: italic;
  font-size: 50px;
  line-height: 50px;
  margin: 0px;
}
.swiperProductKeyWrapper:not(.V2) .key.safety p:nth-child(3),
.swiperProductKeyWrapper:not(.V2) .key.built p:nth-child(3),
.swiperProductKeyWrapper:not(.V2) .key.efficient p:nth-child(2) {
  font-weight: 500;
  font-style: italic;
  font-size: 25px;
  line-height: 35px;
  margin: 0;
}

/* DESCRIPTION TYPOGRAPHY */
.swiperProductKeyWrapper:not(.V2) .description.safety > p:nth-child(1),
.swiperProductKeyWrapper:not(.V2) .description.built > p:nth-child(1),
.swiperProductKeyWrapper:not(.V2) .description.efficient > p:nth-child(1) {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  margin-bottom: 30px;
}
.swiperProductKeyWrapper:not(.V2) .description.safety > div,
.swiperProductKeyWrapper:not(.V2) .description.efficient > div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.swiperProductKeyWrapper:not(.V2) .description.safety > div > p:nth-child(1),
.swiperProductKeyWrapper:not(.V2)
  .description.efficient
  > div
  > p:nth-child(1) {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  margin: 0;
}
.swiperProductKeyWrapper:not(.V2) .description.safety > div > p:nth-child(2),
.swiperProductKeyWrapper:not(.V2)
  .description.efficient
  > div
  > p:nth-child(2) {
  font-weight: 600;
  font-size: 50px;
  line-height: 50px;
  margin: 0;
}
.swiperProductKeyWrapper:not(.V2)
  .description.efficient
  > div
  > p:nth-child(2) {
  margin-bottom: 20px;
}
.swiperProductKeyWrapper:not(.V2) .description.safety > p:nth-child(3),
.swiperProductKeyWrapper:not(.V2) .description.efficient > p:nth-child(3) {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
}

/* HIGHLIGHT TEXT */
.swiperProductKeyWrapper .description .text-highlight {
  font-weight: 600;
  font-size: 18px;
}

/* Swiper Product Key
======================================= */
.swiperProductKeyWrapper .swiperProductKey {
  margin-top: -200px;
  width: 30%;
}
.swiperProductKeyWrapper.V2 .swiperProductKey {
  margin-top: 0;
  width: 100%;
}

/* Swiper Image
======================================= */
.swiperProductKeyWrapper .swiperProductKey .image {
  text-align: center;
}
.swiperProductKeyWrapper .swiperProductKey .image img {
  height: 400px;
}

/* Swiper Pagination
======================================= */
.swiperProductKeyWrapper ~ .swiper-pagination .swiper-pagination-bullet {
  border: 1px solid white !important;
  border-radius: 0;
  width: 90px;
}
.swiperProductKeyWrapper ~ .swiper-pagination .swiper-pagination-bullet-active {
  background-color: transparent;
  position: relative;
}
.swiperProductKeyWrapper
  ~ .swiper-pagination
  .swiper-pagination-bullet-active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  background-color: white;

  animation-name: countingBar;
  animation-duration: 6s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/* Swiper Navigation 
======================================= */
.swiperProductKeyWrapper ~ .swiper-button-next:after,
.swiperProductKeyWrapper ~ .swiper-button-prev:after {
  filter: brightness(10);
  width: 40px;
  height: 40px;
}
.swiperProductKeyWrapper ~ .swiper-button-next {
  right: 0;
}
.swiperProductKeyWrapper ~ .swiper-button-prev {
  left: 0;
}

/* ====================================
RESPONSIVE >>> TABLET
======================================= */
@media only screen and (max-width: 849px) {
  /* Swiper Product Key
    ======================================= */
  .swiperProductKeyWrapper.V2 {
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 50px;
    padding-inline: 70px;
  }
  .swiperProductKeyWrapper.V2 .swiperProductKey {
    margin-left: 0;
    margin-top: 0px;
  }

  /* Key & Description
    ======================================= */
  .swiperProductKeyWrapper.V2 .descriptionWrapper {
    width: 100%;
  }
  .swiperProductKeyWrapper.V2 .keyWrapper {
    width: 50%;
  }
  .swiperProductKeyWrapper.V2 .descriptionWrapper .description {
    padding-left: 0px;
  }
  .swiperProductKeyWrapper.V2 .keyWrapper {
    margin-bottom: 20px;
  }

  /* Key Typography */
  .swiperProductKeyWrapper.V2 .key.safety p:nth-child(1),
  .swiperProductKeyWrapper.V2 .key.built p:nth-child(1),
  .swiperProductKeyWrapper.V2 .key.efficient p:nth-child(1) {
    font-size: 50px;
    line-height: 55px;
    font-weight: 500;
    margin-bottom: 5px;
  }
  .swiperProductKeyWrapper.V2 .key.built p:nth-child(2) {
    font-size: 40px;
    line-height: 45px;
    margin: 0px;
  }
  .swiperProductKeyWrapper.V2 .key.safety p:nth-child(2),
  .swiperProductKeyWrapper.V2 .key.safety p:nth-child(3),
  .swiperProductKeyWrapper.V2 .key.built p:nth-child(3),
  .swiperProductKeyWrapper.V2 .key.efficient p:nth-child(2) {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
  }

  /* Description Typography */
  .swiperProductKeyWrapper.V2 .description.safety p,
  .swiperProductKeyWrapper.V2 .description.efficient p,
  .swiperProductKeyWrapper.V2 .description.built p {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 10px;
    font-weight: 400;
  }

  /* First Paragraph Typography */
  .swiperProductKeyWrapper.V2 .description .first-paragraph {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
  }
  .swiperProductKeyWrapper.V2 .description .first-paragraph > p:nth-child(1) {
    width: 70%;
  }

  /* Product Highlight Typography */
  .swiperProductKeyWrapper.V2
    .description
    .first-paragraph
    .product-highlight
    p:nth-child(1) {
    font-weight: 600;
    margin: 0;
  }
  .swiperProductKeyWrapper.V2
    .description
    .first-paragraph
    .product-highlight
    > p:nth-child(2) {
    font-size: 36px;
    line-height: 40px;
    font-weight: 600;
  }
  .swiperProductKeyWrapper.V2 .description .product-highlight {
    width: 30%;
  }

  /* HIGHLIGHT TEXT */
  .swiperProductKeyWrapper .description .text-highlight {
    font-size: 20px;
  }

  /* Swiper Image
    ======================================= */
  .swiperProductKeyWrapper.V2 .swiperProductKey .image img {
    height: 300px;
    object-fit: contain;
    object-position: bottom;
  }

  /* Swiper Slide Layout
  ========================================= */
  .swiperProductKeyWrapper.V2 .swiper-slide {
    --gap: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
  }
  .swiperProductKeyWrapper.V2 .swiper-slide .key {
    display: flex;
    flex-direction: column;
    justify-content: end;

    padding-bottom: 20px;
    width: calc(50% - var(--gap) * 2 / 4);
  }
  .swiperProductKeyWrapper.V2 .swiper-slide .image {
    width: calc(50% - var(--gap) * 2 / 4);
  }
}

/* ====================================
RESPONSIVE >>> MOBILE
======================================= */
@media only screen and (max-width: 430px) {
  /* Swiper
    ======================================= */
  .swiperProductKeyWrapper.V2 {
    margin-top: -100px;
    padding-inline: 40px;
  }

  /* Swiper Navigation */
  .swiperProductKeyWrapper ~ .swiper-button-next,
  .swiperProductKeyWrapper ~ .swiper-button-prev {
    top: 50% !important;
  }
  .swiperProductKeyWrapper ~ .swiper-button-next:after,
  .swiperProductKeyWrapper ~ .swiper-button-prev:after {
    width: 20px;
    height: 20px;
  }

  /* Swiper Pagination */
  .swiperProductKeyWrapper ~ .swiper-pagination .swiper-pagination-bullet {
    width: 60px;
  }

  /* Key Typography */
  .swiperProductKeyWrapper.V2 .key.safety p:nth-child(1),
  .swiperProductKeyWrapper.V2 .key.built p:nth-child(1),
  .swiperProductKeyWrapper.V2 .key.efficient p:nth-child(1) {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 5px;
  }
  .swiperProductKeyWrapper.V2 .key.built p:nth-child(2) {
    font-size: 24px;
    line-height: 30px;
    margin: 0px;
  }
  .swiperProductKeyWrapper.V2 .key.safety p:nth-child(2),
  .swiperProductKeyWrapper.V2 .key.safety p:nth-child(3),
  .swiperProductKeyWrapper.V2 .key.built p:nth-child(3),
  .swiperProductKeyWrapper.V2 .key.efficient p:nth-child(2) {
    font-size: 16px;
    line-height: 20px;
    margin: 0;
  }

  /* Description Typography */
  .swiperProductKeyWrapper.V2 .description.safety p,
  .swiperProductKeyWrapper.V2 .description.efficient p,
  .swiperProductKeyWrapper.V2 .description.built p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    font-weight: 400;
  }

  /* Product Highlight Typography */
  .swiperProductKeyWrapper.V2
    .description
    .first-paragraph
    .product-highlight
    p:nth-child(1) {
    font-weight: 600;
    margin: 0;
  }
  .swiperProductKeyWrapper.V2
    .description
    .first-paragraph
    .product-highlight
    > p:nth-child(2) {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
  }

  /* HIGHLIGHT TEXT */
  .swiperProductKeyWrapper .description .text-highlight {
    font-size: 14px;
  }
}

/* ====================================
ANIMATION
======================================= */
@keyframes fading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes countingBar {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
