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

/* 页面通用样式 */
.section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  display: none;
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* 页面标题部分 */
.contact-banner {
  background-image: linear-gradient(135deg, rgba(54, 153, 255, 0.05) 0%, rgba(54, 153, 255, 0.2) 100%), url('/web/hbyv10sym1/assets/img/introduction/contact-banner.jpg');
  background-position: center;
  background-size: cover;
  padding: 150px 0 120px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.contact-banner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.contact-banner .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.intro-title {
  font-size: 48px;
  font-weight: 800;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.5px;
  text-align: left;
}

.intro-subtitle {
  font-size: 22px;
  color: #555;
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: left;
}

/* 按钮样式 */
.intro-buttons {
  margin-top: 30px;
  text-align: left;
}

.intro-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #3699FF;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  margin: 0 10px 0 0;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(54, 153, 255, 0.3);
}

.intro-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(54, 153, 255, 0.4);
  background-color: #1a7aff;
}

.intro-button.outline {
  background-color: transparent;
  color: #3699FF;
  border: 2px solid #3699FF;
  padding: 12px 26px;
  box-shadow: 0 5px 10px rgba(54, 153, 255, 0.1);
}

.intro-button.outline:hover {
  background-color: #3699FF;
  color: #fff;
}

/* 联系支持区域 */
.contact-area {
  padding: 80px 0;
  background-color: #fff;
}

/* 支持区域通用样式 */
.support-section {
  padding: 40px 0;
}

/* 区域标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.title-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(54, 153, 255, 0.1);
  color: #3699FF;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  margin-bottom: 15px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* 支持项目网格 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.support-item {
  text-align: center;
  padding: 40px 30px;
  background-color: #f9fafb;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.support-item:hover {
  transform: translateY(-5px);
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(54, 153, 255, 0.1);
  border-radius: 20px;
  margin-bottom: 20px;
}

.support-icon i {
  font-size: 28px;
  color: #3699FF;
}

.support-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.support-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* 联系方式区域 */
.contact-methods-wrapper {
  background-color: #f9fafb;
  border-radius: 10px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.contact-title i {
  font-size: 24px;
  color: #3699FF;
  margin-right: 15px;
}

.contact-title h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 10px;
  background-color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #f0f0f0;
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: #e0e0e0;
}

.contact-method i {
  font-size: 20px;
  color: #3699FF;
  margin-bottom: 8px;
}

.contact-method span {
  font-size: 14px;
  color: #555;
  white-space: nowrap;
}

/* 分隔线 */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  margin: 20px 0 40px;
}

/* 联系方式右侧区域样式 */
.contact-right {
  flex: 1;
}

.contact-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #3699FF;
  transition: all 0.3s ease;
}

.contact-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.contact-box h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #3699FF;
  border-radius: 2px;
}

.contact-info-box {
  margin-top: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-item i {
  font-size: 16px;
  color: #3699FF;
  width: 36px;
  height: 36px;
  background-color: rgba(54, 153, 255, 0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.25s ease;
}

.info-item:hover i {
  background-color: #3699FF;
  color: #fff;
  transform: translateY(-2px);
}

.info-content {
  flex: 1;
}

.info-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.info-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 客服按钮样式 */
.contact-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 15px;
}

.qq-btn, 
.online-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.qq-btn {
  background-color: rgba(18, 183, 245, 0.1);
  color: #12b7f5;
  border-color: rgba(18, 183, 245, 0.2);
}

.qq-btn:hover {
  background-color: rgba(18, 183, 245, 0.15);
  border-color: rgba(18, 183, 245, 0.3);
}

.online-btn {
  background-color: rgba(54, 153, 255, 0.1);
  color: #3699FF;
  border-color: rgba(54, 153, 255, 0.2);
}

.online-btn:hover {
  background-color: rgba(54, 153, 255, 0.15);
  border-color: rgba(54, 153, 255, 0.3);
}

.qq-btn i, 
.online-btn i {
  margin-right: 6px;
  font-size: 14px;
}

/* 动画样式 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .contact-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .presales-section,
  .aftersales-section {
    padding: 60px 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .card-icon {
    height: 70px;
  }
  
  .card-icon i {
    font-size: 24px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .contact-area {
    padding: 60px 0;
  }
  
  .support-section {
    padding: 30px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .support-item {
    padding: 30px 20px;
  }
  
  .support-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }
  
  .support-icon i {
    font-size: 24px;
  }
  
  .contact-methods-wrapper {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .presales-section,
  .aftersales-section {
    padding: 50px 0;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .section-header p {
    font-size: 15px;
  }
  
  .card-content h3 {
    font-size: 17px;
  }
  
  .card-content p {
    font-size: 14px;
  }
  
  .method-item {
    margin-bottom: 10px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .contact-method {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 15px;
  }
  
  .contact-method i {
    margin-bottom: 0;
    margin-right: 15px;
    width: 20px;
    text-align: center;
  }
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #3699FF;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #1a7aff;
  transform: translateY(-5px);
} 