/* img{
    width: 100%;
    height: 100%;
} */
/* Our Approach */
/* 标题 */
/* .section-head{
    padding-top: 20px;
} */
/* .ApproachSER-img{
    width: 100%;
    height: 450px;
} */

/* Swiper轮播图样式 - 简化版 */
.swiper {
  width: 100%;
  height: 600px;
  /* 设置固定高度 */
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  /* 确保轮播项在容器内 */
  /* background-color: #f8fafc; */
  border-radius: var(--radius);
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

/* 使用Swiper默认的显示逻辑，不添加额外的透明度或变换效果 */
.swiper-slide {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}

.swiper-slide-content {
  width: 100%;
  height: 100%;
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

/* 确保轮播项内容正确显示 */
.swiper-slide .about-grid {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.swiper-slide .about-points,
.swiper-slide .Historyimg {
  height: 100%;
  overflow: hidden;
}

/* 轮播图导航按钮样式 */
.swiper-button-prev,
.swiper-button-next {
  color: var(--primary);
  background-color: transparent;
  width: auto;
  height: auto;
  box-shadow: none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: transparent;
  transform: none;
  transition: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}

/* 轮播图分页指示器样式 */
.swiper-pagination {
  bottom: -20px !important;
}

.swiper-pagination-bullet {
  background-color: var(--soft);
  opacity: 1;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary);
  width: 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* ==================== 时间轴组件样式 ==================== */

/* 时间轴容器 - 整体包装器
   设置顶部边距和内边距，为时间轴提供足够的展示空间 */
.timeline-container {
  margin-top: 40px;
  padding: 0 20px;
}

/* 时间轴主体 - 水平布局容器
   使用flex布局实现时间轴项目的水平排列，通过space-between均匀分布
   relative定位用于承载绝对定位的连接线
   max-width限制最大宽度，margin-auto实现水平居中*/
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* 时间轴连接线 - 水平基准线
   使用伪元素创建贯穿整个时间轴的水平连接线
   绝对定位在容器中间位置(50%)，左右延伸至容器边界
   z-index:1确保连接线在时间轴项目之下 */
.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}

/* 单个时间轴项目 - 可交互的时间节点
   垂直布局(列方向)用于堆叠圆点和标签
   relative定位配合z-index:2确保项目在连接线之上
   cursor:pointer提供可点击的视觉反馈
   transition实现平滑的交互动画效果 */
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 时间轴圆点 - 视觉锚点
   固定尺寸(16px)的圆形元素，使用border-radius:50%创建完美圆形
   默认灰色背景配合白色边框，营造凸起效果
   box-shadow添加微妙的阴影增强立体感 */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #e2e8f0;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* 时间轴标签 - 时间节点文本
   顶部边距与圆点保持适当间距
   字体大小和字重提供良好的可读性
   默认灰色文本，transition准备交互动画
   white-space:nowrap防止文本换行 */
.timeline-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* 悬停状态 - 交互反馈
   鼠标悬停时圆点放大1.2倍(scale)并变为蓝色
   标签文本同时变为蓝色，提供一致的视觉反馈 */
.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  background-color: #0ea5e9;
}

.timeline-item:hover .timeline-label {
  color: #0ea5e9;
}

/* 激活状态 - 当前选中项
   圆点进一步放大到1.3倍，使用主题蓝色背景
   增强阴影效果(更大模糊半径和透明度)突出当前项
   标签文本变为蓝色并加粗，强化选中状态 */
.timeline-item.active .timeline-dot {
  background-color: #0ea5e9;
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.timeline-item.active .timeline-label {
  color: #0ea5e9;
  font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {

  .swiper-button-prev,
  .swiper-button-next {
    width: auto;
    height: auto;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 12px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-points,
  .Historyimg {
    grid-column: span 12 !important;
  }
  
  .timeline {
    overflow-x: auto;
    padding: 20px 10px;
    justify-content: flex-start;
    gap: 30px;
  }
  
  .timeline-item {
    flex-shrink: 0;
  }
  
  .timeline-label {
    font-size: 12px;
  }
}