/* 联系我们页面样式 */

/* Banner样式 */
.contact-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/n_lianxi.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: bannerZoomIn 8s ease-out forwards;
}
@keyframes bannerZoomIn {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h1 {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 30px;
}

.banner-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* 联系信息样式 */
.contact-info {
  padding: 110px 0 80px 0;
  background-color: #f7f8f9;
}

.contact-info .row {
  margin-left: -15px;
  margin-right: -15px;
}

.contact-item {
  text-align: left;
  padding:36px  30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin: 0 15px 30px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  flex: 1;
  min-width: 250px;
}

.contact-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.contact-icon_l {
  width: 50px;
  height: 50px;
  background-color: rgba(57, 176, 88, 0.1);
  color: #39b058;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0;
  margin-left: 12px;
  color: #111827;
}



.contact-item-content p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 8px;
  line-height: 1.6;
  word-break: break-word;
}

.contact-item-content p:last-child {
  margin-bottom: 0;
}


/* 在线留言样式 */
.message-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.title-line {
  width: 60px;
  height: 3px;
  background-color: #39b058;
  margin: 0 auto;
}

.message-form {
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
}

.form-layout {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.form-left, .form-right {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #39b058;
  box-shadow: 0 0 0 3px rgba(57, 176, 88, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.input-group {
  display: flex;
  align-items: center;
}

.input-group .form-control {
  border-radius: 8px 0 0 8px;
  border-right: none;
}

.input-group-append {
  display: flex;
  align-items: center;
}

.captcha-img {
  border-radius: 0 8px 8px 0;
  object-fit: cover;
}

.text-danger {
  color: #dc3545 !important;
}

.form-submit {
  text-align: center;
  margin-top: 50px;
}

.submit-btn {
  background-color: #39b058;
  width: 350px;
  color: #ffffff;
  border: none;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #2d8d46;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(57, 176, 88, 0.3);
}

/* 咨询区域样式 */
.consultation-section {
  padding: 60px 0;
  background: linear-gradient(90deg, rgba(57, 176, 88, 0.1) 0%, rgba(0, 149, 255, 0.05) 50%, rgba(57, 176, 88, 0.1) 100%);
  text-align: center;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

.section-content p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 30px;
  line-height: 1.6;
}

.section-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.section-actions .btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.section-actions .btn-primary {
  background-color: #39b058;
  border-color: #39b058;
  color: #ffffff;
}

.section-actions .btn-primary:hover {
  background-color: #2d8d46;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(57, 176, 88, 0.3);
}

.section-actions .btn-outline-primary {
  color: #39b058;
  border-color: #39b058;
  background-color: transparent;
}

.section-actions .btn-outline-primary:hover {
  background-color: rgba(57, 176, 88, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(57, 176, 88, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-banner {
    height: 300px;
  }
  
  .banner-content h1 {
    font-size: 2rem;
  }
  
  .form-layout {
    flex-direction: column;
    gap: 0;
  }
  
  .contact-info {
    padding: 40px 0;
  }
  
  .message-section {
    padding: 40px 0;
  }
  
  .consultation-section {
    padding: 40px 0;
  }
  
  .section-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .section-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}