/* ========== Banner 样式 ========== */
.mhx-bannerx {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.mhx-bannerx-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  filter: brightness(0.65);
}

.mhx-bannerx-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.mhx-bannerx-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.mhx-bannerx-subtitle {
  font-size: clamp(16px, 1.8vw, 22px);
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mhx-bannerx { height: 420px; }
  .mhx-bannerx-title { font-size: 26px; }
  .mhx-bannerx-subtitle { font-size: 14px; }
}

/* ========== 联系我们部分 ========== */
.contact-section {
  padding: 50px 20px;
  background: linear-gradient(145deg, #f8fafc, #ffffff);
  color: #0b2540;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(28px, 3vw, 40px);
  color: #0a2342;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 17px;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 70px;
}

.contact-wrapper.contact-two-col {
  display: flex;
  align-items: stretch;
  gap: 60px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  padding: 60px;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  overflow: hidden;
}

.contact-wrapper:hover {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.contact-left {
  flex: 1;
  text-align: left;
}

.contact-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 蓝色科技背景 */
.contact-tech-bg {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: url('../../skin/ad/1.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.contact-tech-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(0,150,255,0.2), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(0,100,255,0.25), transparent 70%);
  animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  0% { transform: translate(0,0) scale(1); opacity: 0.8; }
  50% { transform: translate(10%,10%) scale(1.05); opacity: 1; }
  100% { transform: translate(-10%,-10%) scale(1); opacity: 0.8; }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0b2540;
  margin-bottom: 6px;
}

.contact-info p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 17px;
}

/* 响应式 */
@media (max-width: 992px) {
  .contact-wrapper.contact-two-col {
    flex-direction: column;
    padding: 40px 28px;
  }
  .contact-tech-bg {
    height: 280px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .contact-wrapper { padding: 28px 20px; }
  .contact-title { font-size: 28px; }
  .contact-info p { font-size: 15px; }
}
/* ===================== About页专用 Banner 样式 ===================== */
.mhx-bannerx {
  position: relative;
  width: 100%;
  height: 650px; /* 与导师陪跑页面一致 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.mhx-bannerx-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.65);
  z-index: 1;
}
.mhx-bannerx-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
.mhx-bannerx-title {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.mhx-bannerx-subtitle {
  font-size: clamp(15px, 1.8vw, 20px);
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 移动端断点，与导师陪跑一致 */
@media (max-width: 768px) {
  .mhx-bannerx { height: 480px; }
  .mhx-bannerx-title { font-size: 26px; }
  .mhx-bannerx-subtitle { font-size: 14px; }
}

/* 联系我们右侧背景，静态版（无光影动画） */
.contact-tech-bg {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: url('../../skin/ad/1.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.contact-tech-bg::before { content: none; }

/* 去掉懒加载动画残留 */
.lazy-bg {
  opacity: 1 !important;
  transition: none !important;
}
