/* idx-banner */
.idx-banner {
  position: relative;
}

.idx-banner img {
  display: block;
  width: 100%;
  min-height: 200px;
  object-fit: cover;
}

.idx-banner .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.idx-banner .title {
  text-align: center;
}

.idx-banner .info, .idx-banner .btn {
  display: none;
}

.idx-banner .swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: block;
}

.idx-banner .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
  background: #000;
  border: 1px solid transparent;
  opacity: 0.2;
}

.idx-banner .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 0.8);
  border-color: #FFFFFF;
}

@media (min-width: 768px) {
  .idx-banner img {
    min-height: 350px;
  }

  .idx-banner .info {
    display: block;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
  }

  .idx-banner .btn {
    width: 180px;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
    background: var(--style-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .idx-banner .btn i {
    font-size: 26px;
    line-height: 1;
    margin-left: 10px;
  }
}

@media (min-width: 1200px) {
  .idx-banner .info {
    margin-top: 30px;
    margin-bottom: 35px;
  }

  .idx-banner .btn {
    width: 224px;
    padding: 11px 15px;
    transition: background .3s;
  }

  .idx-banner .btn:hover {
    background: var(--sub-color);
  }

  .idx-banner .btn i {
    margin-left: 19px;
  }

  .idx-banner .swiper-pagination {
    bottom: 25px;
  }
}

@media (min-width: 1640px) {
  .idx-banner .title {
    font-size: 54px;
  }

  .idx-banner .info {
    margin-top: 55px;
    margin-bottom: 59px;
  }
}

@media (max-width: 640px) {
  .idx-banner .title {
    font-size: 18px;
  }
}


/* idx-products */
.idx-products {
  padding-top: 30px;
  margin-bottom: -20px;
}

.idx-products .item {
  color: #fff;
  position: relative;
  margin-bottom: 20px;
}

.idx-products .item img {
  min-height: 230px;
}

.idx-products .item:last-child:not(:nth-child(even)) img {
  width: 100%;
  aspect-ratio: 1920 / 590;
}

.idx-products .title {
  font-weight: normal;
}

.idx-products .item>.title {
  position: absolute;
  right: 15px;
  bottom: 15px;
  transition: all .3s;
  visibility: visible;
  opacity: 1;
}

.idx-products .item:hover>.title {
  visibility: hidden;
  opacity: 0;
}

.idx-products .info-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 15px;
  background: linear-gradient(180deg, rgba(20, 34, 59, 0.5) 0%, #14223B 100%);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transition: all .3s;
  visibility: hidden;
  opacity: 0;
}

.idx-products .item:hover .info-group {
  visibility: visible;
  opacity: 1;
}

.idx-products .info-group .title {
  margin-bottom: 15px;
}

.idx-products .info {
  max-height: 63px;
  max-width: 365px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: center;
}

.idx-products .btn {
  width: 150px;
  border-radius: 0;
  border-width: 2px;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 640px) {
  .idx-products {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }

  .idx-products .item {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }

  .idx-products .item:last-child:not(:nth-child(even)) {
    flex: 0 0 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
}

@media (min-width: 768px) {
  .idx-products .item>.title {
    right: 30px;
    bottom: 30px;
  }

  .idx-products .info {
    max-height: 71px;
  }
}

@media (min-width: 1200px) {
  .idx-products {
    padding-top: 70px;
    margin-bottom: -30px;
  }

  .idx-products .item {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
  }

  .idx-products .item:last-child:not(:nth-child(even)) {
    flex: 0 0 calc(100% - 30px);
    max-width: calc(100% - 30px);
  }

  .idx-products .item>title {
    position: absolute;
    right: 80px;
    bottom: 42px;
  }

  .idx-products .info-group .title {
    margin-bottom: 22px;
  }

  .idx-products .info {
    max-height: 117px;
    margin-bottom: 30px;
  }

  .idx-products .btn {
    width: 170px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background .3s;
  }

  .idx-products .btn:hover {
    color: var(--style-color);
    background: #fff;
  }
}

@media (min-width: 1440px) {
  .idx-products .item>.title {
    font-size: 30px;
  }

  .idx-products .info-group .title {
    font-size: 26px;
  }
}

@media (min-width: 1640px) {
  .idx-products .item>.title {
    font-size: 40px;
  }

  .idx-products .info-group .title {
    font-size: 34px;
  }

  .idx-products .info {
    font-size: 24px;
    max-height: 188px;
    margin-bottom: 42px;
  }

  .idx-products .btn {
    width: 190px;
    font-size: 24px;
  }
}


/* bottom-wrap */
.bottom-wrap {
  position: relative;
}

.bottom-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #90BBF1 0%, #588BCD 61%, #3E73B8 100%);
}

.bottom-wrap .item {
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.bottom-wrap .title {
  font-weight: normal;
  margin-bottom: 15px;
}

.bottom-wrap .info {
  margin-bottom: 11px;
}

.bottom-wrap .btn {
  padding: 0;
  border: none;
  font-weight: bold;
  position: relative;
}

.bottom-wrap .btn::after {
  content: '';
  display: inline-block;
  margin-left: 12px;
  margin-bottom: 1px;
  border-top: 7px solid transparent;
  border-left: 8px solid #fff;
  border-bottom: 7px solid transparent;
}

@media (min-width: 768px) {
  .bottom-wrap {
    display: flex;
  }

  .bottom-wrap .item {
    flex: 1;
    height: unset;
  }

  .bottom-wrap .item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 200px;
    background: #FFFFFF;
    opacity: 0.3;
  }
}

@media (min-width: 1200px) {
  .bottom-wrap .item {
    padding: 72px 65px;
  }

  .bottom-wrap .title {
    margin-bottom: 20px;
  }

  .bottom-wrap .info {
    height: 144px;
  }

  .bottom-wrap .btn:hover {
    color: var(--sub-color);
  }

  .bottom-wrap .btn:hover::after {
    border-left-color: var(--sub-color);
  }
}


/* partner */
.partner {
  padding: 30px 0;
}

.partner .title {
  margin-bottom: 20px;
}

.partner .swiper-container {
  margin: -10px;
  padding: 10px;
}

.partner .swiper-slide {
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}

.partner .swiper-pagination {
  margin-top: 20px;
  display: block;
}

@media (min-width: 1200px) {
  .partner {
    padding: 64px 0;
  }

  .partner .title {
    margin-bottom: 40px;
  }

  .partner .swiper-pagination {
    margin-top: 37px;
  }
}

@media (min-width: 1640px) {
  .partner {
    padding-bottom: 100px;
  }
}