/* 关于优耐特整体容器 */
.aboutContent {
  padding: 20px 0;
  text-align: center;
}

.about-header h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 10px;
}

.about-description p {
  margin: 0 auto;
  font-size: 16px;
  line-height:34px;
  color: #333;
  text-align: left;
  padding: 0 0px;
}

/* 数据卡片样式 */
.stats-grid {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
  flex-wrap: wrap;
  gap: 30px;
}

.statItem {
  flex: 1;
  min-width: 180px;
  padding: 20px;
  border-right: 1px solid #dfdfdf;
}
.statItem:last-child{
	border-right: 0px solid #dfdfdf;
}
.stat-number {
  font-size: 55px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}
.stat-number span {
  font-size: 14px;
  font-weight: normal;
}

.stat-label {
  font-size: 14px;
  color: #333;
}

/* 企业文化背景图 */
.culture-section {
  position: relative;
  overflow: hidden;
  height: 665px;
}

.culture-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.culture-content {
  position: relative;
  z-index: 2;
  padding: 128px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.culture-content h3 {
  font-size: 40px;
}
.culture-content p.lkwh{
	  font-size: 18px;  margin-bottom: 35px;
}
.culture-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* 时间轴容器 */
.timeline-section {
  padding: 60px 0;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;    clear: both;
         overflow: hidden;
}

.timeline-section h2 {
  font-size: 40px;
  color: #333;
  margin-bottom:0px;
}

.timeline-section p {
  font-size: 18px;
  color: #333;
  margin-bottom: 40px;
}

/* 时间轴主容器 */
.timeline {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding-left: 20px;
	padding-bottom: 80px;
	margin-left: 50px;
}

/* 垂直线 */
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e0e0e0;
  transform: none;
}

/* 时间轴项 */
.timeline-item {
  position: relative;
  padding: 20px 0 20px 40px;
  cursor: pointer;
  z-index: 1;
  /* 增加最小高度防止布局塌陷，可选 */
  min-height: 60px;
}

/* 年份圆点 */
.timeline-dot {
  position: absolute;
  left: -25px; /* 调整位置以对齐垂直线 */
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc; /* 默认灰色 */
  z-index: 2;
  transition: all 0.3s ease;
}

/* 年份文字 */
.timeline-year {
  font-size: 16px;
  color: #666; /* 默认灰色 */
  font-weight: bold;
  min-width: 80px; /* 给年份固定宽度，防止布局抖动 */
  /* 确保年份始终可见，不受 opacity 影响 */
  position: relative;
  z-index: 3;
}

.rContain {
  display: flex;
  align-items: flex-start; /* 顶部对齐 */
}

/* --- 核心修改：内容区域样式 --- */
.timeline-content {
  flex: 1; /* 占据剩余空间 */
  margin-left: 20px; /* 与年份的间距 */

  /* 默认状态：隐藏 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;

  /* 使用 flex 或 block 让内部元素排列 */
  display: flex;
  align-items: center; /* 垂直居中线条和文字 */
  flex-wrap: wrap; /* 允许换行，如果屏幕太小 */
}

/* 线条和小点样式 */
.content-line {
  width: 100px;
  height: 1px;
  background-color: #007bff;
  /* 移除 margin，由 flex gap 或 margin-left 控制 */
  margin-right: 5px;
}

.lineDot {
  width: 8px;
  height: 8px;
  background-color: #007bff;
  border-radius: 50%;
  /* 移除 margin-left negative，因为现在在 flex 容器中 */
  margin-right: 15px; /* 点和文字之间的间距 */
  flex-shrink: 0; /* 防止点被压缩 */
}

.content-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  /* 移除 inline-block 和 vertical-align，因为父级是 flex */
  flex: 1; /* 文字占据剩余空间 */
  max-width: 600px;
}

/* --- 交互逻辑 --- */
.timeline-item:hover .timeline-dot {
  background-color: #007bff;
  transform: scale(1.2);
}

.timeline-item:hover .timeline-year {
  color: #007bff;
}
.timeline-item:hover .timeline-content  .content-text{
  color: #007bff;
}

.timeline-item:hover .timeline-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 2. 默认激活项（第一条）始终显示 */
.timeline-item.active .timeline-dot {
  background-color: #007bff;
}

.timeline-item.active .timeline-year {
  color: #007bff;
}

.timeline-item.active .timeline-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.timeline-item.active .timeline-content .content-text{
	    color: #007bff;
}
/* ================= 移动端响应式样式 ================= */
@media screen and (max-width:1200px) {
    .timeline-section {

    box-sizing: border-box;
    padding: 60px 20px;
}
}
@media screen and (max-width: 768px) {
  .header-container {
  /*  padding: 0 15px;*/
	  padding: 0;
  }
  .breadcrumb span::before {
    left: 5%;
  }

  .banner img {
    height: auto;
    max-height: 200px; /* 限制 Banner 高度 */
    object-fit: cover;
  }

  .breadcrumb {
    padding: 10px 15px;
    font-size: 12px;
  }

  /* 2. 关于内容区域调整 */
  .aboutContent {
    padding: 15px 0;
  }

  .about-header h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .about-description p {
    padding: 0 15px;
    font-size: 13px;
    text-align: justify;
  }

  /* 3. 数据卡片网格调整 */
  .stats-grid {
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    padding: 0 15px;
  }

  .statItem {
    width: 100%;
    border-right: none; /* 移除右侧边框 */
    border-bottom: 1px solid #dfdfdf; /* 添加底部边框分隔 */
    padding: 15px 0;
    display: flex;
    justify-content: space-between; /* 数字和标签左右分布 */
    align-items: center;
  }

  .statItem:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size:40px;
    margin-bottom: 0;
    color: #007bff;
  }

  .stat-label {
    font-size: 13px;
    color: #333;
  }

  /* 4. 企业文化背景图调整 */
  .culture-section {
    height: auto; /* 高度自适应 */
    min-height: 400px;
  }

  .culture-content {
    padding: 40px 15px;
    background-color: rgba(255, 255, 255, 0.9); /* 增加背景遮罩提高文字可读性 */
    margin: 20px;
    border-radius: 8px;
  }

  .culture-content h3 {
    font-size: 20px;
  }

  .culture-content p {
    font-size: 14px;
  }

  /* 5. 时间轴移动端优化 */
  .timeline-section {
    padding: 30px 0;
  }

  .timeline-section h2 {
    font-size: 22px;
    padding-left: 15px;
  }

  .timeline-section p {
    padding-left: 15px;
    margin-bottom: 20px;
  }

  .timeline {
    padding-left: 10px;
  }

  /* 调整时间轴线位置 */
  .timeline::before {
    left: 5px;
  }

  .timeline-item {
    padding: 15px 0 15px 30px; /* 减小左侧内边距 */
  }

  /* 调整圆点位置 */
  .timeline-dot {
    left: -9px; /* 对齐新的线位置 (5px - 12px/2 + 调整) */
    top: 26px;
    width: 10px;
    height: 10px;
  }

  /* 年份和内容布局调整 */
  .rContain {
    flex-direction: column; /* 改为垂直排列：年份在上，内容在下 */
    align-items: flex-start;
  }

  .timeline-year {
    font-size: 18px;
    color: #007bff; /* 手机端直接高亮年份，增强可读性 */
    margin-bottom: 5px;
    min-width: auto;
  }

  .timeline-content {
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block; /* 改为块级元素，方便文字换行 */
    width: 80%;
  }

  .content-line,
  .lineDot {
    display: none;
  }

  .content-text {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
  }
  
  /* 时间轴容器 */
.timeline-section {
  padding: 60px 0;
  text-align: left;
  max-width: 100%;
  margin: 0 auto;
         box-sizing: border-box;
     
}
  
}
