/* 基础样式 */
.contact-section {
  padding: 10px 0 60px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  /* border: 1px solid red; */
  width: 1024px !important;
}
.contact-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 左侧联系信息 */
.contact-left {
  background-color: #0052d9;
  color: #fff;
  padding: 40px 30px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 15px rgba(0, 82, 217, 0.15);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.7s ease-out 0.3s;
}
.contact-section.animate-in .contact-left {
  opacity: 1;
  transform: translateX(0);
}
.contact-left h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
.contact-left h4:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
}
.contact-item {
  margin-bottom: 30px;
  padding: 10px 30px;
  border-radius: 6px;
  transition: all 0.4s ease;
}
.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  padding-left: 10px;
}
.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.contact-item p {
  margin: 0;
  word-break: break-all;
  transition: all 0.3s ease;
}
.contact-item:hover p {
  color: #f0f8ff;
}

/* 右侧表单区域 */
.contact-right {
  background-color: #f8f9fa;
  padding-top: 20px;
  /* padding: 40px 30px; */
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.7s ease-out 0.5s;
}
.contact-section.animate-in .contact-right {
  opacity: 1;
  transform: translateX(0);
  padding-left: 40px;
}
.contact-right .remind {
  color: #0052d9;
  font-weight: 500;
  margin-bottom: 25px;
  display: inline-block;
  transition: all 0.3s ease;
}
.contact-right .remind:hover {
  transform: scale(1.02);
  color: #0d6efd;
}
.contact-right .form-control {
  margin-bottom: 20px;
  padding: 12px 15px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  transition: all 0.4s ease;
}
.contact-right .form-control:focus {
  border-color: #0052d9;
  box-shadow: 0 0 0 4px rgba(0, 82, 217, 0.1);
  transform: translateY(-2px);
}
.contact-right textarea {
  resize: none;
  height: 120px;
}
.contact-right .submit-btn {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.contact-right .submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}
.contact-right .submit-btn:hover {
  background-color: #0052d9;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}
.contact-right .submit-btn:hover::before {
  left: 100%;
}
.contact-right .submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.2);
}
/* 响应式适配 */
@media (max-width: 768px) {
  .contact-left,
  .contact-right {
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .contact-left {
    transform: translateY(20px);
  }
  .contact-right {
    transform: translateY(20px);
  }
  .contact-section.animate-in .contact-left,
  .contact-section.animate-in .contact-right {
    transform: translateY(0);
  }
}
