/* contact */
.contact {
  padding: 30px 0;
}

.contact .title {
  margin-bottom: 11px;
}

.contact .sub-info {
  margin-bottom: 20px;
  line-height: calc(36 / 16);
}

.contact .row-wrap {
  margin-bottom: -20px;
  justify-content: space-between;
}

.contact .row-wrap>div {
  margin-bottom: 20px;
}

.contact .icon {
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--style-color);
}

.contact .icon i {
  font-size: 20px;
  font-weight: normal;
  margin-right: 4px;
  position: relative;
  top: -1px;
}

.contact .item-info .row {
  margin-bottom: -10px;
}

.contact .item-info .row>div {
  margin-bottom: 10px;
}

.contact .item-wrap {
  margin-top: 30px;
}

.contact .lt {
  padding: 30px 20px;
  border-top: 1px solid #A8AFB7;
  border-left: 1px solid #A8AFB7;
  border-right: 1px solid #A8AFB7;
}

.contact .sub-title {
  margin-bottom: 20px;
}

.contact .form-group {
  margin-bottom: 20px;
}

.contact .form-control {
  padding: 0;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  box-shadow: none;
  border-color: #A8AFB7;
}

.contact input.form-control {
  height: 38px;
}

.contact textarea.form-control {
  min-height: 117px;
  padding-top: 0;
}

.contact .form-control::-webkit-input-placeholder {
  color: #333;
}

.contact .form-control:-moz-placeholder {
  color: #333;
}

.contact .form-control::-moz-placeholder {
  color: #333;
}

.contact .form-control:-ms-input-placeholder {
  color: #333;
}

.contact .btn-wrap {
  margin-top: 20px;
  text-align: center;
}

.contact .btn {
  width: 160px;
  color: #fff;
  border-radius: 0;
  padding: 7px 15px;
  background: var(--style-color);
}

.contact .rt iframe {
  width: 100%;
  height: 100%;
  display: block;
  background: #eee;
  aspect-ratio: 800 / 620;
}

@media (min-width: 992px) {
  .contact .item-wrap {
    display: flex;
  }

  .contact .item-wrap>* {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .contact .lt {
    padding: 30px 20px;
    border-bottom: 1px solid #A8AFB7;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact .rt iframe {
    min-height: 100%;
  }
}

@media (min-width: 1200px) {
  .contact {
    padding: 66px 0 60px;
  }

  .contact .title {
    margin-bottom: 15px;
  }

  .contact .sub-info {
    margin-bottom: 46px;
  }

  .contact .item-info a:hover {
    color: var(--style-color);
  }

  .contact .item-wrap {
    margin-top: 64px;
  }

  .contact .sub-title {
    margin-bottom: 40px;
  }

  .contact .lt {
    padding-left: 35px;
    padding-right: 35px;
  }

  .contact .form-group {
    margin-bottom: 28px;
  }

  .contact .btn-wrap {
    margin-top: 40px;
  }

  .contact .btn {
    width: 180px;
    padding-top: 12px;
    padding-bottom: 12px;
    transition: all .6s ease;
  }

  .contact .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
  }
}

@media (min-width: 1640px) {
  .contact {
    padding-bottom: 88px;
  }

  .contact .row-wrap>.col-lg-5 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .contact .sub-title {
    margin-bottom: 52px;
  }

  .contact .lt .row {
    margin-left: -40px;
    margin-right: -40px;
  }

  .contact .lt .row>div {
    padding: 0 40px;
  }

  .contact .btn-wrap {
    margin-top: 60px;
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  .contact .row-wrap>.col-lg-5 {
    order: 1;
  }
}


/* bottom-contact */
.bottom-contact {
  position: relative;
}

.bottom-contact .item {
  padding-top: 30px;
  padding-bottom: 30px;
}

.bottom-contact .title {
  color: #fff;
  text-align: left;
  line-height: calc(40 / 30);
}

.bottom-contact .btn {
  min-width: 160px;
  margin-top: 20px;
  padding: 7px 15px;
  font-weight: bold;
  border-radius: 23px;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}

.bottom-contact .item:first-child .btn {
  background: #fff;
}

.bottom-contact .item:last-child .btn {
  color: #fff;
  background: var(--style-color);
}

@media (min-width: 992px) {
  .bottom-contact {
    margin-bottom: -1px;
  }

  .bottom-contact::before, .bottom-contact::after {
    content: '';
    position: absolute;
    top: 0;
    width: 53.15%;
    height: 100%;
    z-index: -1;
  }

  .bottom-contact::before {
    left: 0;
    background: var(--style-color);
    clip-path: polygon(0 0, 100% 0, 88.5% 100%, 0 100%);
  }

  .bottom-contact::after {
    right: 0;
    background: #3F3E3C;
    clip-path: polygon(11.8% 0, 100% 0, 100% 100%, 0 100%);
  }

  .bottom-contact .container {
    display: flex;
  }

  .bottom-contact .item {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .bottom-contact .item:first-child {
    padding-right: 20px;
  }

  .bottom-contact .item:last-child {
    padding-left: 40px;
  }
}

@media (min-width: 1200px) {
  .bottom-contact .item {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .bottom-contact .item:first-child {
    padding-right: 30px;
  }

  .bottom-contact .item:last-child {
    padding-left: 50px;
  }

  .bottom-contact .btn {
    margin-top: 46px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .bottom-contact .item:first-child .btn {
    width: 200px;
  }

  .bottom-contact .item:last-child .btn {
    width: 260px;
  }
}

@media (min-width: 1640px) {
  .bottom-contact .item {
    padding-top: 76px;
    padding-bottom: 101px;
  }

  .bottom-contact .item:last-child {
    padding-left: 75px;
  }
}

@media (max-width: 991px) {
  .bottom-contact .item {
    position: relative;
  }

  .bottom-contact .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
  }

  .bottom-contact .item:first-child:before {
    background: var(--style-color);
  }

  .bottom-contact .item:last-child:before {
    background: #3F3E3C;
  }
}