/* IE浏览器特定样式 */
.ie-panel {
  display: none;
  background: #212121;
  padding: 10px 0;
  box-shadow: 3px 3px 5px 0 rgba(0,0,0,.3);
  clear: both;
  text-align: center;
  position: relative;
  z-index: 1;
}

html.ie-10 .ie-panel, html.lt-ie-10 .ie-panel {
  display: block;
}

/* 百度地图相关样式 */
.iw_poi_title {
  color: #CC5522;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  padding-right: 13px;
  white-space: nowrap;
}

.iw_poi_content {
  font: 12px arial, sans-serif;
  overflow: visible;
  padding: 4px 0px;
  white-space: -moz-pre-wrap;
  word-wrap: break-word;
}

.iw_poi_img {
  width: 216px;
  height: 162px;
}

/* 面包屑导航区域 */
.breadcrumbs-custom {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner/banner7.png') !important;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner/banner7.png') !important;
  background-size: 100% auto !important;
  background-position: bottom center !important;
  background-repeat: no-repeat !important;
  min-height: 350px;
  padding-top: 100px;
  padding-bottom: 75px;
}

.breadcrumbs-custom h2 {
  color: #fff;
}

/* Banner副标题样式 */
.big.breadcrumbs-custom-subtitle {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  position: static !important;
}

.big.breadcrumbs-custom-subtitle::before {
  display: none !important;
}

/* 联系表单区域 */
.bg-gradient-breadcrumbs {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* 地图容器 */
#dituContent {
  width: 100% !important;
  height: 500px !important;
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

#staticMap {
  width: 100%;
  height: 500px;
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: none;
  overflow: hidden;
}

#staticMap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* 联系信息区域 */
.contact-section {
  /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #043ba0 0%, #022F80 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-info:hover {
  box-shadow: 0 8px 30px rgba(4, 59, 160, 0.12);
  transform: translateY(-2px);
}

.contact-info:hover::before {
  transform: scaleX(1);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(4, 59, 160, 0.1);
  transition: all 0.3s ease;
}

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

.contact-info-item:hover {
  padding-left: 10px;
}

.contact-info-item .icon {
	font-size: 20px;
	color: #043ba0;
	background: linear-gradient(135deg, rgba(4, 59, 160, 0.15) 0%, rgba(4, 59, 160, 0.1) 100%);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(4, 59, 160, 0.15);
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.contact-info-item:hover .icon {
  transform: rotate(5deg) scale(1.1);
}

.contact-info-item a, .contact-info-item p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
  transition: color 0.3s ease;
  text-decoration: none;
  margin: 0;
}

.contact-info-item a:hover {
  color: #043ba0;
  text-decoration: underline;
}

/* 地图容器 */
.contact-map-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #043ba0 0%, #022F80 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-map-container:hover {
  box-shadow: 0 8px 30px rgba(4, 59, 160, 0.12);
  transform: translateY(-2px);
}

.contact-map-container:hover::before {
  transform: scaleX(1);
}

.map-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.map-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

/* 微信公众号区域 */
.wechat-section {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(4, 59, 160, 0.1);
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
}

.wechat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.wechat-content h6 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.wechat-qrcode {
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.wechat-qrcode:hover {
  box-shadow: 0 5px 15px rgba(4, 59, 160, 0.15);
  transform: translateY(-1px);
}

.wechat-qrcode img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* 联系表单标题 */
.contact-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title {
  color: #1e293b;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  padding-bottom: 20px;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #043ba0 0%, #022F80 100%);
  border-radius: 2px;
}

.contact-description {
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #64748b;
  line-height: 1.8;
}

/* 服务详情段落 */
.big:not(.breadcrumbs-custom-subtitle) {
  line-height: 1.9;
  color: #475569;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-left: 6px solid #043ba0;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 6px 25px rgba(4, 59, 160, 0.08);
  margin-bottom: 40px;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.big:not(.breadcrumbs-custom-subtitle)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #043ba0 0%, #022F80 100%);
  border-radius: 6px 0 0 6px;
}

.big:not(.breadcrumbs-custom-subtitle):hover {
  box-shadow: 0 8px 30px rgba(4, 59, 160, 0.12);
  transform: translateY(-2px);
}

/* 表单样式 */
.rd-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rd-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #043ba0 0%, #022F80 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.rd-form:hover {
  box-shadow: 0 8px 30px rgba(4, 59, 160, 0.12);
  transform: translateY(-2px);
}

.rd-form:hover::before {
  transform: scaleX(1);
}

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

.form-wrap-icon {
  position: relative;
}

.form-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #043ba0;
  background: linear-gradient(135deg, rgba(4, 59, 160, 0.15) 0%, rgba(4, 59, 160, 0.1) 100%);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(4, 59, 160, 0.15);
}

.form-input {
  width: 100%;
  padding: 12px 15px 12px 50px;
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.form-input:focus {
  outline: none;
  border-color: #043ba0;
  box-shadow: 0 0 0 3px rgba(4, 59, 160, 0.1);
  transform: translateY(-2px);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* 按钮样式 */
.button {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.col-md-12 .button {
  display: block;
  margin: 20px auto 0;
  min-width: 200px;
}

.button-primary {
  background: linear-gradient(135deg, #043ba0 0%, #022F80 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(4, 59, 160, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 59, 160, 0.4);
  color: #fff;
}

/* 页脚区域 */
.footer-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 10px 0;
  margin-top: 30px;
  width: 100%;
}

.footer-dark .copyright .col-md-12 {
  text-align: center;
}

.footer-dark .copyright p {
  margin-bottom: 0;
  white-space: nowrap;
}

.footer-dark .copyright small {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-dark .copyright a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-dark .copyright a:hover {
  color: #ffffff;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .contact-layout {
    gap: 20px;
  }
  
  .contact-info, .rd-form {
    padding: 25px;
  }
}

@media (max-width: 992px) {
  .breadcrumbs-custom {
    min-height: 300px;
    padding-top: 80px;
    padding-bottom: 60px;
  }
  
  .contact-title {
    font-size: 28px;
  }
  
  .contact-info, .rd-form {
    padding: 20px;
  }
  
  #dituContent, #staticMap {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .breadcrumbs-custom {
    min-height: 280px;
    padding-top: 70px;
    padding-bottom: 50px;
  }
  
  .contact-title {
    font-size: 24px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  
  .contact-section-header {
    margin-bottom: 40px;
  }
  
  .contact-info, .rd-form {
    padding: 15px;
  }
  
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  
  .form-input {
    padding: 10px 12px 10px 45px;
    font-size: 15px;
  }
  
  .form-icon {
    font-size: 16px;
    left: 12px;
  }
  
  .button {
    padding: 8px 20px;
    font-size: 13px;
    display: block;
    margin: 20px auto 0;
    width: auto;
    min-width: 200px;
  }
  
  #dituContent, #staticMap {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .breadcrumbs-custom {
    min-height: 250px;
    padding-top: 60px;
    padding-bottom: 40px;
  }
  
  .contact-title {
    font-size: 22px;
  }
  
  .contact-description {
    font-size: 15px;
  }
  
  .contact-info-item {
    margin-bottom: 20px;
    padding: 12px 0;
  }
  
  .wechat-qrcode img {
    width: 120px;
    height: 120px;
  }
  
  .form-input {
    padding: 8px 10px 8px 40px;
    font-size: 14px;
  }
  
  .form-icon {
    font-size: 14px;
    left: 10px;
  }
  
  #dituContent, #staticMap {
    height: 300px;
  }
}

/* Banner区域 */
.contacts-banner {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('../images/banner/banner13.png');
  background-size: cover;
  min-height: 350px;
  padding-top: 100px;
  padding-bottom: 75px;
}

.banner-title {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
}

.banner-subtitle {
  color: #ffffff;
  animation: fadeIn 1.5s ease-out 0.5s both;
  max-width: 800px;
  margin: 0 auto;
  background: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}