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

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

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

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

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

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


/* top-contact */
.top-contact {
  padding: 30px 0;
  color: #fff;
  background: linear-gradient(180deg, #92C0F1 0%, #75A6E1 55%, #5B8FCE 100%);
}

.top-contact .title {
  margin-bottom: 15px;
}

.top-contact .form-control {
  height: 50px;
  color: #fff;
  font-size: 18px;
  border-width: 2px;
  border-radius: 4px;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

.top-contact .form-control::-webkit-input-placeholder {
  color: #fff;
}

.top-contact .form-control:-moz-placeholder {
  color: #fff;
}

.top-contact .form-control::-moz-placeholder {
  color: #fff;
}

.top-contact .form-control:-ms-input-placeholder {
  color: #fff;
}

.top-contact .btn-wrap {
  text-align: center;
}

.top-contact .btn {
  color: #fff;
  font-size: 18px;
  border-radius: 4px;
  border-width: 2px;
  border-color: #FFD45C;
  background: var(--sub-color);
}

@media (min-width: 1200px) {
  .top-contact {
    padding-top: 40px;
    padding-bottom: 45px;
  }

  .top-contact .title {
    margin-bottom: 24px;
  }

  .top-contact form {
    display: flex;
  }

  .top-contact .row {
    flex: 1;
    margin-left: -19px;
    margin-right: -19px;
  }

  .top-contact .row>div {
    padding: 0 19px;
  }

  .top-contact .form-group {
    margin-bottom: 0;
  }

  .top-contact .form-control {
    height: 60px;
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .top-contact .btn-wrap {
    flex: 0 0 310px;
    margin-left: 38px;
  }

  .top-contact .btn {
    width: 100%;
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 20px;
    transition: all .3s;
  }

  .top-contact .btn:hover {
    color: var(--sub-color);
    background: #fff;
    border-color: #fff;
  }
}

@media (min-width: 1640px) {
  .top-contact .form-control {
    height: 70px;
  }

  .top-contact .btn {
    padding-top: 19px;
    padding-bottom: 19px;
  }
}

@media (max-width: 575px) {
  .top-contact .btn-wrap {
    margin-top: 15px;
  }
}


/* products */
.products {
  padding-top: 30px;
  padding-bottom: 10px;
}

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

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

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

.products .title {
  font-weight: normal;
  position: absolute;
  right: 15px;
  bottom: 15px;
  transition: all .3s;
  visibility: visible;
  opacity: 1;
}

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

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

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

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

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

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

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

  .products .title {
    position: absolute;
    right: 80px;
    bottom: 42px;
  }
}

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

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


/* bottom-contact */
.bottom-contact {
  padding-bottom: 30px;
}

.bottom-contact .lt {
  color: #fff;
  padding: 25px 15px;
  background: linear-gradient(180deg, #90BDEA 0%, #74A4D5 62%, #72A2D5 100%);
}

.bottom-contact .title {
  text-align: left;
  margin-bottom: 10px;
}

.bottom-contact .info {
  margin-bottom: 15px;
}

.bottom-contact .btn {
  border-radius: 0;
  border: 3px solid #fff;
}

@media (min-width: 768px) {
  .bottom-contact .btn {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .bottom-contact .container {
    display: flex;
    padding: 0;
    max-width: 100%;
  }

  .bottom-contact .lt {
    flex: 0 0 51.82%;
    max-width: 51.82%;
    padding-left: calc((100vw - 5px - 960px) / 2 + 15px);
    padding-right: 8.9%;
    margin-right: -8.9%;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 0 100%, 83% 100%, 100% 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .bottom-contact .btn {
    width: 330px;
  }

  .bottom-contact .rt {
    flex: 0 0 57.08%;
    max-width: 57.08%;
  }

  .bottom-contact .rt img {
    object-fit: cover;
    min-height: 300px;
  }
}

@media (min-width: 1200px) {
  .bottom-contact {
    padding-bottom: 70px;
  }

  .bottom-contact .lt {
    padding-left: calc((100vw - 5px - 1140px) / 2 + 15px);
  }

  .bottom-contact .title {
    margin-bottom: 18px;
  }

  .bottom-contact .info {
    margin-bottom: 30px;
  }

  .bottom-contact .btn {
    width: 360px;
    font-size: 20px;
    padding-top: 9px;
    padding-bottom: 9px;
    transition: background .3s;
  }

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

@media (min-width: 1440px) {
  .bottom-contact .lt {
    padding-left: calc((100vw - 5px - 1400px) / 2 + 15px);
  }

  .bottom-contact .btn {
    width: 360px;
  }
}

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

  .bottom-contact .lt {
    padding-left: calc((100vw - 5px - 1600px) / 2 + 15px);
  }

  .bottom-contact .title {
    font-size: 40px;
  }

  .bottom-contact .info {
    margin-bottom: 55px;
  }

  .bottom-contact .btn {
    width: 436px;
    font-size: 24px;
  }
}