/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

/* 头部基础样式（保留fixed定位，确保悬浮在banner上方，z-index足够高） */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 1000; /* 高于banner的z-index，确保悬浮在上 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

/* 头部滚动后样式 */
.header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1450px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo 样式（原有不变） */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease;
}

.header.scrolled .logo {
  color: #333;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #fff;
  color: #0066cc;
  border-radius: 4px;
  margin-right: 8px;
  font-weight: bold;
}

.header.scrolled .logo-icon {
  background-color: #0066cc;
  color: #fff;
}

/* PC端导航（原有不变） */
.nav-menu {
  display: block;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}

.header.scrolled .nav-link {
  color: #333;
}

.nav-link:hover {
  color: #0066cc;
}

.btn-contact {
  background-color: #fff;
  color: #0066cc !important;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #f0f0f0;
}

.header.scrolled .btn-contact {
  background-color: #0066cc;
  color: #fff !important;
}

/* 汉堡按钮（移动端，原有不变） */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.header.scrolled .hamburger span {
  background-color: #333;
}

/* 移动端菜单（原有不变） */
.mobile-menu {
  position: fixed;
  top: 85px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 85px);
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
}

.mobile-link {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
}

.mobile-link.btn-contact {
  background-color: #0066cc;
  color: #fff !important;
  text-align: center;
  border-radius: 20px;
  margin-top: 20px;
  border: none;
}

/* 响应式适配（原有不变） */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* 原生轮播Banner基础样式（无外部依赖，关键调整：移除margin-top，顶到顶部） */
.banner-slider {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.banner-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.banner-bg {
  width: 100%;
  height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a2132; /* 要求的遮罩颜色 */
  opacity: 0.85;
  z-index: 1; /* 低于头部和banner文字，确保层级正确 */
}

.banner-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2; /* 高于遮罩，确保文字可见 */
  width: 100%;
}

.banner-text {
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* 文字渐入上移动画（原生CSS，无外部依赖） */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-title {
  font-size: 50px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.banner-subtitle {
  font-size: 50px;
  font-weight: 600;
  color: #bfdbfe;
  line-height: 1.3;
  margin-bottom: 20px;
}

.banner-desc {
  font-size: 16px;
  color: #e5e6eb;
  line-height: 1.8;
  margin-bottom: 30px;
}

.banner-btn {
  display: inline-block;
  background-color: #409eff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color: #66b1ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

/* 原生轮播导航样式（无外部依赖） */
.banner-pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.banner-pagination-bullet.active {
  background-color: #409eff;
}

.banner-btn-prev,
.banner-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.banner-btn-prev {
  left: 30px;
}

.banner-btn-next {
  right: 30px;
}

.banner-btn-prev:hover,
.banner-btn-next:hover {
  background-color: rgba(64, 158, 255, 0.8);
}

/* 响应式适配（banner移动端调整，无外部依赖） */
@media (max-width: 768px) {
  .banner-bg,
  .banner-slide {
    height: 500px!important;
  }
  .banner-title {
    font-size: 36px;
  }
  .banner-subtitle {
    font-size: 24px;
  }
  .banner-desc {
    font-size: 14px;
  }
  .banner-btn-prev {
    left: 15px;
  }
  .banner-btn-next {
    right: 15px;
  }
}

/* 页面内容样式（无外部依赖，适配原生轮播） */
.content {
  margin-top: 0; /* 与banner无缝衔接 */
}

.dummy-content {
  height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
}
/* 视频模块整体样式 */
.video-section {
  padding: 80px 20px;
  background-color: #fff;
}

.video-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a2132;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* 视频网格布局 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 视频卡片 */
.video-card {
  background-color: #f9fafc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 视频封面 */
.video-cover {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-cover:hover img {
  transform: scale(1.05);
}

/* 播放按钮 */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0066cc;
  transition: all 0.3s ease;
}

.video-cover:hover .play-icon {
  background-color: #0066cc;
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* 视频信息 */
.video-info {
  padding: 20px;
}

.video-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a2132;
  margin-bottom: 8px;
}

.video-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 视频弹窗 */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  z-index: 2001;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #0066cc;
}

.modal-content video {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 100%;
  }
}
/* 全球院校覆盖模块 */
.school-section {
  padding: 80px 20px;
  background-color: #f9fafc;
}

.school-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

.region-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.region-flag {
  font-size: 20px;
  margin-right: 10px;
}

.region-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a2132;
}

/* 学校网格布局 */
.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

/* 学校卡片 */
.school-card {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.school-card:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  background-color: #f5f8ff;
}

/* 学校 Logo */
.school-logo {
  width: 48px;
  height: 48px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f2f5;
  border-radius: 6px;
}

.school-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* 学校信息 */
.school-info {
  flex: 1;
}

.school-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a2132;
  margin-bottom: 2px;
}

.school-english {
  font-size: 12px;
  color: #666;
}

/* 箭头图标 */
.arrow-icon {
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s ease;
}

.school-card:hover .arrow-icon {
  color: #0066cc;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .school-grid {
    grid-template-columns: 1fr;
  }
}

/* 全球院校覆盖模块 - 调整背景色 */
.school-section {
  padding: 80px 20px;
  background-color: #ffffff; /* 整体模块背景改为白色 */
}

.school-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

/* school-region 调整：浅灰色背景 + 圆角边框 */
.school-region {
  background-color: #f5f7fa; /* 浅灰色背景，视觉更舒适 */
  border-radius: 12px; /* 圆角边框，数值可根据需求调整 */
  padding: 30px; /* 内边距，避免内容贴边 */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); /* 轻微阴影增强层次感 */
}

.region-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.region-flag {
  font-size: 20px;
  margin-right: 10px;
}

.region-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a2132;
}

/* 学校网格布局 */
.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

/* 学校卡片 - 原有样式不变，保留hover效果 */
.school-card {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.school-card:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  background-color: #f5f8ff;
}

/* 其他样式保持不变 */
.school-logo {
  width: 48px;
  height: 48px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f2f5;
  border-radius: 6px;
}

.school-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.school-info {
  flex: 1;
}

.school-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a2132;
  margin-bottom: 2px;
}

.school-english {
  font-size: 12px;
  color: #666;
}

.arrow-icon {
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s ease;
}

.school-card:hover .arrow-icon {
  color: #0066cc;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .school-grid {
    grid-template-columns: 1fr;
  }
  .school-region {
    padding: 20px; /* 移动端减少内边距，适配小屏幕 */
  }
}

/* 委托与交付流程模块 */
.process-section {
  padding: 80px 20px;
  background-color: #f9fafc;
}

.process-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

/* 时间轴主体 - 优化移动端布局基础 */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 10px; /* 增加左右内边距，避免内容贴边 */
}

/* 时间轴中心线 */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e5e6eb;
  transform: translateX(-50%);
  z-index: 1;
}

/* 流程项 - 统一高度基准 */
.process-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  width: 100%; /* 强制占满父容器宽度 */
}

.process-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: #409eff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.process-item:last-child {
  margin-bottom: 0;
}

/* 左右布局 - 优化间距计算 */
.process-item.left .process-content {
  margin-right: calc(50% + 30px);
  text-align: right;
}

.process-item.right .process-content {
  margin-left: calc(50% + 30px);
}

/* 流程内容卡片 - 核心样式重构 */
.process-content {
  position: relative;
  width: 100%; /* 强制宽度100%，解决移动端宽度不一致 */
  max-width: 400px; /* 限制最大宽度，避免PC端过宽 */
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  /* 顶部边框动画基础 */
  overflow: hidden;
}

/* 顶部蓝色边框划过效果 - 核心动效 */
.process-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* 初始在左侧隐藏 */
  width: 100%;
  height: 4px;
  background-color: #409eff;
  transition: left 0.5s ease; /* 划过动画 */
  z-index: 1;
}

/* hover 时边框滑入 */
.process-content:hover::before {
  left: 0;
}

/* 流程图标 - 重构样式 */
.process-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px; /* 圆角灰色背景（默认） */
  background-color: #e5e6eb; /* 默认灰色背景 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background-color 0.3s ease; /* 背景色过渡 */
  position: relative;
  z-index: 2; /* 确保在边框上层 */
}

/* 统一设置 Font Awesome 图标颜色 */
.process-icon i {
  color: #fff !important; /* 图标白色，对比更明显 */
}

/* hover 时图标背景变蓝色 */
.process-content:hover .process-icon {
  background-color: #409eff;
}

/* 流程信息 - 层级调整 */
.process-info {
  flex: 1;
  position: relative;
  z-index: 2; /* 确保在边框上层 */
}

.process-step {
  font-size: 16px;
  font-weight: 600;
  color: #1a2132;
  margin-bottom: 4px;
}

.process-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* 移动端适配 - 彻底修复宽度问题 */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 30px; /* 时间轴固定在左侧 */
  }

  .process-item::after {
    left: 30px; /* 时间点固定在左侧 */
  }

  /* 统一移动端布局，消除左右差异 */
  .process-item.left .process-content,
  .process-item.right .process-content {
    margin-left: 60px;
    margin-right: 0;
    text-align: left;
    max-width: none; /* 移动端取消最大宽度限制 */
    width: calc(100% - 60px); /* 精确计算宽度，确保一致 */
  }

  /* 移动端优化内边距 */
  .process-section {
    padding: 60px 15px;
  }

  .process-timeline {
    margin: 40px auto 0;
  }

  .process-item {
    margin-bottom: 40px; /* 移动端减少间距 */
  }
}
/* 客户真实反馈模块 */
.testimonial-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.testimonial-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

/* 反馈网格布局 */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* 反馈卡片 */
.testimonial-card {
  background-color: #f9fafc;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 顶部蓝色边框划过效果 */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background-color: #409eff;
  transition: left 0.5s ease;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover::before {
  left: 0;
}

/* 客户头像 */
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #409eff;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  transition: background-color 0.3s ease;
}

.testimonial-card:hover .client-avatar {
  background-color: #0066cc;
}

/* 客户信息 */
.client-info {
  flex: 1;
}

.client-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a2132;
  margin-bottom: 2px;
}

.client-title {
  font-size: 14px;
  color: #666;
}

/* 星级评分 */
.testimonial-rating {
  margin-bottom: 16px;
}

.star {
  color: #ffb400;
  font-size: 16px;
}

/* 反馈内容 */
.testimonial-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-date {
  font-size: 13px;
  color: #999;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }
}
/* 留学生一站式咨询模块（修改版：一排3个+图标48px单独一行+右侧箭头） */
.consult-section {
  padding: 80px 20px;
  background-color: #f9fafc;
}

.consult-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

/* 核心修改：固定3列布局 */
.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* 核心：卡片弹性布局，图标单独一行（左侧）+ 信息+箭头（右侧） */
.consult-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  background-color: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* 鼠标悬浮动效，与学校卡片/视频卡片风格统一 */
.consult-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #f5f8ff;
}

/* 图标容器：固定48px，居中对齐，确保图标独占一行 */
.consult-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0; /* 禁止图标收缩，保证48px固定大小 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 图标：强制48px，防止变形 */
.consult-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 信息区：占满剩余空间，图标右侧独占区域 */
.consult-info {
  flex: 1; /* 让信息区填充图标和箭头之间的空间 */
}

.consult-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a2132;
  margin-bottom: 6px;
  line-height: 1.3;
}

.consult-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* 右侧字体箭头：固定样式，悬浮变色 */
.consult-arrow {
  font-size: 22px;
  color: #ccc;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-left: 8px;
}

/* 悬浮时箭头变主题蓝，与页面主色调统一 */
.consult-card:hover .consult-arrow {
  color: #0066cc;
  transform: translateX(3px); /* 箭头轻微右移，增强交互感 */
}

/* 新增平板适配：769px-992px改为2列 */
@media (max-width: 992px) and (min-width: 769px) {
  .consult-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 原有移动端适配：≤768px单列布局 */
@media (max-width: 768px) {
  .consult-section {
    padding: 60px 15px;
  }
  .consult-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .consult-card {
    padding: 24px 20px;
    gap: 16px;
  }
  .consult-title {
    font-size: 17px;
  }
}

/* 专业服务流程模块 - 修复线条显示问题 */
.professional-process-section {
  padding: 80px 20px;
  background-color: #1a2132; /* 深蓝色背景 */
  color: #fff;
  position: relative;
}

.professional-process-section .container {
  max-width: 1450px;
  margin: 0 auto;
}

/* 标题区域样式 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
 color: rgb(16, 25, 45);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
color: rgb(99, 115, 138);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* 步骤包装器 */
.process-steps-wrapper {
  position: relative;
  padding: 30px 0 40px;
}

/* 步骤容器 - 横向排列 */
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* 步骤卡片样式 */
.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 15px;
}

/* 数字容器 - 用于定位和遮盖线条 */
.step-number-container {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  z-index: 3;
}

/* 数字样式 - 根据图片中的浅蓝色 */
.step-number {
  width: 100%;
  height: 100%;
  background-color: rgb(69, 84, 104); /* 浅蓝色数字背景 */
  border-radius: 8px; /* 轻微圆角 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 2; /* 在遮盖层之上 */
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 鼠标悬停时数字变蓝色 */
.step-card:hover .step-number {
  background-color: #409eff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(64, 158, 255, 0.4);
}

/* 线条遮盖层 - 隐藏线条的特定部分【核心修复1】 */
.line-cover {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw; /* 全屏宽度，确保完全遮盖线条 */
  height: 3px; /* 与线条同高，遮盖更精准 */
  background-color: #1a2132; /* 与背景色一致，实现隐藏效果 */
  z-index: 1; /* 层级：在线条之上，数字之下 */
}

/* 第一个数字左侧遮盖【核心修复2】- 精准定位左侧线条 */
.left-cover {
  right: 50%; /* 从容器中点向右对齐，遮盖左侧所有线条 */
}

/* 最后一个数字右侧遮盖【核心修复3】- 精准定位右侧线条 */
.right-cover {
  left: 50%; /* 从容器中点向左对齐，遮盖右侧所有线条 */
}

/* 步骤内容 */
.step-content {
  max-width: 180px;
  text-align: center;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.step-card:hover .step-title {
  color: #409eff;
}

/* 描述文字 - 单行显示 */
.step-desc {
  font-size: 14px;
  color: #e5e6eb;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0 5px;
}

/* 连续线条 - 放在数字的垂直中间位置【核心修复4】 */
.process-line {
  position: absolute;
  top: calc(30px + 60px / 2); /* 精准垂直居中：padding-top + 数字容器高度的一半 */
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3); /* 浅灰色线条 */
  z-index: 1;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 30px;
  }
  
  .step-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 180px;
  }
  
  .process-line {
    display: none; /* 平板端隐藏线条 */
  }
  
  .line-cover {
    display: none; /* 平板端隐藏遮盖 */
  }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
  .professional-process-section {
    padding: 60px 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 14px;
    padding: 0 10px;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .step-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    padding: 0;
  }
  
  .process-line {
    display: none; /* 手机端隐藏线条 */
  }
  
  .line-cover {
    display: none; /* 手机端隐藏遮盖 */
  }
}

/* 动画效果 */
@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card {
  animation: stepFadeIn 0.6s ease forwards;
  opacity: 0;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }


