/*----===========CONTACT US PAGE CSS----============*/

/* 页面背景 */
body {
  background-color: var(--bg-secondary);
}

/* 页面标题样式 - 严格按照设计稿 */
.page-title-area .page-title {
  font-family: Arial, sans-serif !important;
  font-size: 54px !important;
  font-weight: bold !important;
  line-height: 54px !important;
  color: var(--pure-white) !important;
}

/* Contact Content Area */
.contact-content-area {
  padding: 20px 0;
  background-color: var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Contact Form Container - 严格按照设计稿尺寸 */
.contact-form-container {
  width: 1200px;
  height: 731px;
  background-color: var(--pure-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
}

.contact-form-wrapper {
  width: 1120px;
  height: 651px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: Arial, sans-serif;
}

/* Form Row Layout */
.form-row {
  display: flex;
  gap: 60px;
  width: 100%;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-full {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Form Labels - 严格按照设计稿字体 */
.contact-form label {
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: bold;
  line-height: 17px;
  color: var(--text-primary);
  margin: 0;
}

/* Form Controls - 严格按照设计稿尺寸 */
.contact-form .form-control {
  width: 100%;
  height: 60px;
  background-color: var(--contact-form-bg);
  border: none;
  border-radius: 4px;
  padding: 20px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  box-sizing: border-box;
  transition: all 0.3s;
}

.contact-form .form-control:focus {
  outline: 2px solid var(--primary-color);
  background-color: var(--pure-white);
}

/* Textarea - 严格按照设计稿尺寸 */
.contact-form textarea.form-control {
  height: 240px;
  resize: vertical;
  min-height: 240px;
}

/* Submit Button Container */
.form-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

/* Submit Button - 严格按照设计稿尺寸和样式 */
.contact-submit-btn {
  width: 361px;
  height: 60px;
  background-color: var(--contact-button-bg);
  color: var(--pure-white);
  border: none;
  border-radius: 4px;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 28px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-submit-btn:hover {
  background-color: rgba(27, 98, 203, 0.9);
  transform: translateY(-2px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* 响应式设计 */

/* 平板和移动端（<1230px） */
@media (max-width: 1229px) {
  .contact-content-area {
    padding: 20px 15px;
  }
  
  .contact-form-container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 600px;
    padding: 30px;
  }
  
  .contact-form-wrapper {
    width: 100%;
    height: auto;
  }
  
  .contact-form {
    gap: 30px;
  }
  
  .form-row {
    gap: 30px;
  }
}

/* 移动端（<768px） */
@media (max-width: 767px) {
  .page-title-area .page-title {
    font-size: 36px !important;
    line-height: 40px !important;
  }
  
  .contact-content-area {
    padding: 20px 10px;
  }
  
  .contact-form-container {
    padding: 20px;
    border-radius: 6px;
  }
  
  .contact-form {
    gap: 25px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 25px;
  }
  
  .contact-form label {
    font-size: 20px;
    line-height: 24px;
  }
  
  .contact-form .form-control {
    height: 50px;
    padding: 15px;
    font-size: 14px;
  }
  
  .contact-form textarea.form-control {
    height: 180px;
    min-height: 180px;
  }
  
  .contact-submit-btn {
    width: 100%;
    max-width: 300px;
    height: 50px;
    font-size: 16px;
  }

  .contact-content-area .container{
    width: 100%;
  }
}

/* 小屏移动端（<576px） */
@media (max-width: 575px) {
  .page-title-area .page-title {
    font-size: 28px !important;
    line-height: 32px !important;
  }
  
  .contact-form-container {
    padding: 15px;
  }
  
  .contact-form {
    gap: 20px;
  }
  
  .contact-form label {
    font-size: 18px;
    line-height: 22px;
  }
  
  .contact-form .form-control {
    height: 45px;
    padding: 12px;
    font-size: 14px;
  }
  
  .contact-form textarea.form-control {
    height: 150px;
    min-height: 150px;
  }
  
  .contact-submit-btn {
    width: 100%;
    height: 45px;
    font-size: 15px;
  }


}


/* 加载动画兼容性 */
.contact-form-container.wow {
  visibility: hidden;
}

.contact-form-container.wow.animated {
  visibility: visible;
}

/* 打印样式 */
@media print {
  .contact-content-area {
    padding: 20px 0;
    background-color: white;
  }
  
  .contact-form-container {
    box-shadow: none;
    margin: 0;
  }
  
  .page-title-area .page-title {
    font-size: 36px !important;
    color: black !important;
  }
  
  .contact-submit-btn {
    background-color: #333 !important;
  }
} 