/* 底部联系信息和表单样式 */

.footer-contact-section {
  background: #3a4556;
  color: #fff;
  padding-bottom: 30px;
}

.footer-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

/* 左侧联系信息区域 */
.footer-contact-info {
  flex: 1;
  max-width: 500px;
}

/* 公司logo和名称 */
.footer-company-logo {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo-image {
  width: 80px;
  height: 80px;
  margin-right: 20px;
}

.footer-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-company-name {
  font-family: 'Microsoft YaHei', sans-serif;
  color: #fff;
  line-height: 1.2;
}

.footer-company-name .company-main {
  font-size: 32px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.footer-company-name .company-sub {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 2px;
  color: #ccc;
}

/* 联系信息列表 */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
}

.footer-contact-list li {
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-contact-list li .contact-label {
  color: #fff;
  margin-right: 8px;
}

/* 公司全称 */
.footer-company-fullname {
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: 2px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #525865;
}

/* 右侧表单区域 */
.footer-contact-form {
  flex: 1;
  max-width: 400px;
}

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

.form-row {
  display: flex;
  gap: 15px;
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  width: 100%;
}

.form-label {
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
  display: block;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  background: #fff;
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2196f3;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* 验证码区域 */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-input {
  flex: 1;
  max-width: 120px;
}

.captcha-image {
  width: 80px;
  height: 40px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.captcha-refresh {
  color: #ccc;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.captcha-refresh:hover {
  color: #fff;
}

/* 提交按钮 */
.submit-button {
  background: #2196f3;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-button:hover {
  background: #1976d2;
  transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .footer-contact-content {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .footer-contact-section {
    padding: 60px 0;
  }

  .footer-contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-contact-info,
  .footer-contact-form {
    max-width: 100%;
  }

  .footer-company-logo {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-logo-image {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .footer-company-name .company-main {
    font-size: 24px;
  }

  .footer-company-name .company-sub {
    font-size: 14px;
  }

  .footer-contact-list li {
    font-size: 14px;
  }

  .footer-company-fullname {
    font-size: 16px;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .footer-contact-section {
    padding: 40px 0;
  }

  .footer-contact-container {
    padding: 0 15px;
  }

  .footer-company-name .company-main {
    font-size: 20px;
  }

  .footer-company-name .company-sub {
    font-size: 12px;
  }

  .footer-contact-list li {
    font-size: 13px;
  }

  .footer-company-fullname {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .captcha-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .captcha-input {
    max-width: 100%;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-contact-info,
.footer-contact-form {
  animation: fadeInUp 0.8s ease forwards;
}

.footer-contact-form {
  animation-delay: 0.2s;
}
