/* 联系我们页面样式 */
.contact-content {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.contact-content h2 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-bottom: 40px;
  position: relative;
}

.contact-content h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e63946;
  margin: 15px auto 0;
}

.contact-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.contact-section h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  border-left: 4px solid #e63946;
  padding-left: 15px;
}

/* 联系方式部分 */
.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #666;
  display: flex;
  align-items: center;
}

.contact-info li strong {
  color: #333;
  width: 80px;
  display: inline-block;
}

/* 在线咨询表单 */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: flex-start;
}

.btn-primary:hover {
  background-color: #c1121f;
}

/* 服务网络部分 */
.service-network p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.service-network ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.service-network li {
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}

.service-network li strong {
  color: #333;
  display: block;
  margin-bottom: 5px;
}

footer{
    margin-top: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-content {
    padding: 40px 0;
  }
  
  .contact-content h2 {
    font-size: 28px;
  }
  
  .contact-section {
    padding: 20px;
  }
  
  .service-network ul {
    grid-template-columns: 1fr;
  }
  
  .btn-primary {
    align-self: stretch;
  }
}