/*banner*/
.banner{
  width: 100%;
  height: 300px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
}
.banner-box{
  width: 100%;
  height: 100%;
  position: relative;
}
.banner-text{
  position: absolute;
  width: 100%;
  max-width: 1280px;
  padding: 0 22px;
  left: 50%;
  top: 46%;
  transform: translate(-50%,-50%);
}
.banner-text h3{
  margin: 0;
  padding: 0;
  font-size: 40px;
  text-align: center;
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
}
.banner-text p{
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: #ddd;
  text-align: center;
  line-height: 1.3;
}
.banner-image{
  width: 100%;
  height: 100%;
}
.banner-image .wap{
  display: none;
}
.banner-image .pc{
  width: 100%;
  height: 100%;
}
.banner-image .wap{
  width: 100%;
  height: 100%;
}
.banner-image .pc img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-image .wap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media(max-width: 1068px){
  .banner{
    height: 240px;
  }
  .banner-text h3{
    font-size: 32px;
  }
  .banner-text p{
    font-size: 16px;
  }
}
@media(max-width: 734px){
  .banner-image .pc{
    display: none;
  }
  .banner-image .wap{
    display: block;
  }
}


/*加载动画*/
.loading{
  width: 100%;
  background-color: #fff;
  border-radius: 4px;
  margin-top: 20px;
}
.loading-feed{
  margin-bottom: 10px;
}
.loading-box{
  min-height: 200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-spinner {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.loading-spinner span {
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}
.loading-spinner span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-spinner span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 0.5;
  }
  to {
    transform: translateY(-8px);
    opacity: 1;
  }
}
@media(max-width: 734px){
  .loading{
    margin-top: 10px;
  }
}


.contact-wrapper{
  width: 100%;
  max-width: 1024px;
  padding: 0 22px;
  margin: 0 auto;
}
.contact{
  padding: 10px 0;
}
.contact-box{
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  align-items: stretch;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
  flex-direction: row-reverse;
}
.contact-box .sub-content{
  width: 40%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #2468de;
}
.contact-box .sub-content ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0;
}
.contact-box .sub-content ul li{
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-box .sub-content ul li h4{
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.contact-box .sub-content ul li p{
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
}
.contact-box .sub-content ul li p a{
  text-decoration: underline;
}

.contact-box .main-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-box .main-content{
  background-color: #fff;
}
.form-display{
  padding: 40px;
}

.form-buttons{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.form-buttons button.choose-form{
  all: unset;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #eee;
  border-radius: 6px;
  font-weight: 400;
}
.form-buttons button.choose-form.current{
  background-color: #0f5ada;
  color: #fff;
  font-weight: 600;
}
.form-description{
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 20px;
}

.contact-form-list{
  list-style: none;
  gap: 20px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.contact-form-list li{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form-list li label {
  width: 100%;
  font-size: 14px;
  color: #1d1d1f;
  font-weight: 600;
}
.contact-form-list li label span{
  color: red;
}
.contact-form-list li input, 
.contact-form-list li textarea, 
.contact-form-list li select {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, .22);
  padding: 6px 11px;
  line-height: 1.5;
  font-size: 14px;
  color: #1d1d1f;
}
.contact-form-list li textarea{
  resize: vertical;
  min-height: 100px;
  max-height: 500px;
}
.contact-submit-row{
  margin-top: 20px;
}
.contact-submit-row button{
    all: unset;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    font-size: 14px;
    color: #fff;
    background-color: #2468de;
    font-weight: 600;
    border-radius: 6px;
    line-height: 38px;
    padding: 0 20px;
    background-color: #007bff;
    cursor: pointer;
}
.contact-box .alert{
  margin-bottom: 15px;
}
.contact-box .alert.success{
  color: green;
}
.contact-box .alert.error{
  color: red;
}

.location-wrapper{
  width: 100%;
  height: 360px;
}



@media(max-width: 1068px){
  .contact-wrapper{
    max-width: 724px;
  }
  .contact-box{
    flex-direction: column;
    gap: 10px;
    box-shadow: none;
    border-radius: 0;
    overflow: unset;
  }
  .contact-box .main-content{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
    border-radius: 4px;
  }
  .contact-box .sub-content{
    background-color: inherit;
    width: 100%;

  }
  .contact-box .sub-content ul{
    padding: 0;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
  .contact-box .sub-content ul li{
    padding: 40px;
    width: calc(50% - 5px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
    border-radius: 4px;
    background-color: #fff;
  }
  .contact-box .sub-content ul li h4{
    color: #1d1d1f;
    font-size: 16px;
  }
  .contact-box .sub-content ul li p{
    color: #6e6e73;
    font-size: 14px;
  }
  .location-wrapper{
    height: 300px;
  }
}
@media(max-width: 734px){
  .contact-wrapper{
    max-width: 430px;
    padding: 0 10px;
  }
  .form-display{
    padding: 16px 18px;
  }
  .contact-box .sub-content ul{
    flex-direction: column;
  }
  .contact-box .sub-content ul li{
    width: 100%;
    padding: 16px 18px;
  }
  .form-buttons{
    gap: 10px;
  }
  .form-buttons button.choose-form{
    padding: 8px 12px;
  }
}
@media(max-width: 430px){
  .form-buttons button.choose-form{
    font-size: 12px;
  }
  .contact-box .sub-content ul li h4{
    font-size: 14px;
  }
  .contact-box .sub-content ul li p{
    font-size: 12px;
  }
}
