@charset "utf-8";

.home_clients_carousel {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.home_clients_carousel_bg {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
}
.home_clients_carousel_wrapper {
  overflow: hidden;
  padding: 48px 64px;
  position: relative;
}
.home_clients_carousel_inner_wrapper {
  display: flex;
  gap: 0 64px;
}
.home_clients_carousel_item {
  flex-shrink: 0;
  width: 100%;
  transition: transform 0.15s ease;
}
.home_clients_carousel_item_link {
  display: flex;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(39, 49, 59, 0.15);
}
.home_clients_carousel_item_img {
  width: 50%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
}
.home_clients_carousel_item_text_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 40px 24px 24px;
}
.home_clients_carousel_item_logo {
  width: 140px;
  height: auto;
}
.home_clients_carousel_item_text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
}
.home_clients_carousel_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  position: absolute;
  top: 50%;
  background-color: #fff;
  border-radius: 48px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.home_clients_carousel_arrow.left {
  left: 0;
  transform: translateX(50%) translateY(-50%);
}
.home_clients_carousel_arrow.right {
  right: 0;
  transform: translateX(-50%) translateY(-50%);
}
.home_clients_carousel_arrow_img {
  width: 18px;
  height: auto;
}
.home_clients_carousel_arrow.left .home_clients_carousel_arrow_img {
  transform: rotate(180deg);
}
.home_clients_carousel_dots {
  display: flex;
  justify-content: center;
  gap: 0 16px;
  margin-top: 24px;
}
.home_clients_carousel_dots_btn {
  width: 24px;
  height: 4px;
  background-color: #c5d0da;
  border-radius: 8px;
  cursor: pointer;
}
.home_clients_carousel_dots_btn.active {
  background-color: #0e1a25;
  cursor: default;
}

@media screen and (max-width: 960px) {
  .home_clients_carousel_wrapper {
    padding: 48px 40px;
  }
  .home_clients_carousel_arrow {
    display: none;
  }
  .home_clients_carousel_item_img {
    width: 45%;
  }
}

@media screen and (max-width: 840px) {
  .home_clients_carousel_wrapper {
    overflow: visible;
  }
  .home_clients_carousel_inner_wrapper {
    gap: 0 40px;
  }
  .home_clients_carousel_item {
    width: 70%;
  }
  .home_clients_carousel_item_link {
    display: block;
  }
  .home_clients_carousel_item_img {
    width: 100%;
  }
  .home_clients_carousel_item_text_wrapper {
    padding: 24px 24px 32px;
  }
  .home_clients_carousel_item_logo {
    width: 140px;
    height: auto;
  }
  .home_clients_carousel_item_text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
  }
}

@media screen and (min-width: 641px) {
  .home_clients_carousel_item:hover {
    transform: scale(1.02, 1.02);
  }
  .home_clients_carousel_arrow.left:hover {
    transform: translateX(50%) translateY(-50%) scale(1.08, 1.08);
  }
  .home_clients_carousel_arrow.right:hover {
    transform: translateX(-50%) translateY(-50%) scale(1.08, 1.08);
  }
}

@media screen and (max-width: 640px) {
  .home_clients_carousel {
    padding: 0 20px;
  }
  .home_clients_carousel_wrapper {
    padding: 40px 20px;
  }
  .home_clients_carousel_inner_wrapper {
    gap: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .home_clients_carousel_inner_wrapper {
    gap: 0 16px;
  }
  .home_clients_carousel_item {
    width: 95%;
  }
  .home_clients_carousel_item_text_wrapper {
    padding: 16px 16px 32px;
  }
  .home_clients_carousel_item_text {
    font-size: 14px;
    line-height: 1.8;
  }
}
