/* 关于我们页面样式 */

/* 页面通用样式 */
.section {
  padding: 80px 0;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 区域标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.title-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(139, 140, 190, 0.1);
  color: #8b8cbe;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  margin-bottom: 15px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Banner样式 */
.about-banner {
  background-image: url('/web/hbyv10sym1/assets/img/about/banner.png');
  background-position: center;
  background-size: cover;
  padding: 180px 0 120px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.about-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 140, 190, 0.1) 0%, rgba(139, 140, 190, 0.3) 100%);
  z-index: 1;
}

.about-banner .container {
  position: relative;
  z-index: 2;
}

.intro-title {
  font-size: 48px;
  font-weight: 800;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.intro-subtitle {
  font-size: 22px;
  color: #555;
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
}

/* 企业简介样式 */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: auto;
  max-width: 100%;
  max-height: 400px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

/* 核心价值观 */
.core-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #8b8cbe;
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(139, 140, 190, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 24px;
  color: #8b8cbe;
}

.value-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 资质许可样式 - 新版 */
.qualifications-section {
  background-color: #fbfbfb;
  padding: 80px 0;
}

.honors-grid {
  display: flex;
  border-bottom: 1px dashed #e5e7eb;
}

.honor-cell {
  padding: 40px 20px;
  border-right: 1px dashed #e5e7eb;
  box-sizing: border-box;
}

.honor-cell:last-child {
  border-right: none;
}

.title-cell {
  flex: 0 0 300px;
  text-align: left;
  padding-left: 0;
}

.stat-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 40px;
}

.honor-tag {
  display: inline-block;
  color: #595abb;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 500;
}

.title-cell h2 {
  font-size: 32px;
  line-height: 1.4;
  color: #333;
  margin: 0;
  font-weight: 700;
}

.stat-icon {
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.stat-icon i {
  font-size: 32px;
  color: #5864ff;
}

.stat-text h4 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 5px;
}

.stat-text p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* 证书网格 */
.certs-grid {
  display: flex;
}

.cert-item {
  flex: 1;
  padding: 30px 15px;
  text-align: center;
  border-right: 1px dashed #e5e7eb;
}

.cert-item:last-child {
  border-right: none;
}

.cert-img {
  width: 180px;
  height: auto;
  display: inline-block;
  box-shadow: none;
  transition: transform 0.3s ease;
  border: none;
  padding: 0;
  background: transparent;
  margin-bottom: 20px;
}

.cert-item p {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin: 0;
  padding-top: 5px;
  line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .honors-grid, .certs-grid {
    flex-wrap: wrap;
    border-bottom: none;
  }
  
  .title-cell {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 0 40px;
    border-right: none;
    border-bottom: 1px dashed #e5e7eb;
  }
  
  .stat-cell {
    flex: 0 0 50%;
    align-items: center;
    text-align: center;
    border-bottom: 1px dashed #e5e7eb;
    padding: 30px 20px;
  }
  
  .stat-cell:nth-child(odd) {
    border-right: 1px dashed #e5e7eb;
  }
  
  .stat-cell:nth-child(even) {
    border-right: none;
  }
  
  .cert-item {
    flex: 0 0 50%;
    border-bottom: 1px dashed #e5e7eb;
  }
  
  .cert-item:nth-child(even) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .stat-cell, .cert-item {
    flex: 0 0 100%;
    border-right: none !important;
  }
}

/* 企业大事记样式 - 极简风格 */
.milestone-section {
  background-color: #ffffff; /* 改为白色背景 */
  padding: 50px 0;
  overflow: hidden;
}

.milestone-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 60px;
}

.milestone-track-wrapper {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.milestone-track {
  display: flex;
  gap: 80px; /* 增加间距 */
  transition: transform 0.5s ease;
  position: relative;
  height: 480px; /* 减少高度以去除空白 */
  align-items: center; /* 垂直居中 */
}

/* 极简轴线 */
.milestone-axis {
  position: absolute;
  top: 50%; /* 居中 */
  left: 0;
  width: 10000px;
  height: 0;
  border-top: 1px solid #e0e0e0; /* 细实线 */
  z-index: 0;
  transform: translateY(-50%);
}

.milestone-card-item {
  flex: 0 0 360px; /* 放大宽度 */
  width: 360px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.ms-date {
  color: #8b8cbe;
  font-size: 32px; /* 放大字体 */
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Arial', sans-serif;
  position: absolute;
  width: 100%;
  left: 0;
}

.ms-dot-wrapper {
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 2;
}

.ms-dot {
  width: 16px; /* 稍微放大 */
  height: 16px;
  background: #fff;
  border: 3px solid #8b8cbe;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px #fbfbfb;
}

.ms-desc {
  color: #666;
  font-size: 16px; /* 放大字体 */
  line-height: 1.6;
  padding-right: 0;
  position: absolute;
  width: 100%;
  left: 0;
  text-align: justify;
}

/* 奇数项 - 显示在上方 */
.milestone-card-item:nth-child(odd) .ms-date {
  bottom: 50%;
  margin-bottom: 30px;
}
.milestone-card-item:nth-child(odd) .ms-desc {
  bottom: 50%;
  margin-bottom: 80px; /* Date 上方 */
}

/* 偶数项 - 显示在下方 */
.milestone-card-item:nth-child(even) .ms-date {
  top: 50%;
  margin-top: 30px;
}
.milestone-card-item:nth-child(even) .ms-desc {
  top: 50%;
  margin-top: 80px; /* Date 下方 */
}

/* 故事还在继续 - 结尾标记 */
.milestone-card-item.milestone-end {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ms-end-text {
  background: #fbfbfb;
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px dashed #8b8cbe;
  color: #8b8cbe;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 5;
  white-space: nowrap;
}

/* Navigation Buttons - 简约版 */
.ms-nav-btn {
  position: absolute;
  top: 50%; /* 居中 */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  border: 1px solid #eee;
  color: #8b8cbe;
  font-size: 14px;
  transition: all 0.3s;
}

.ms-nav-btn:hover {
  background: #8b8cbe;
  color: #fff;
  border-color: #8b8cbe;
}

.ms-prev { left: 0; }
.ms-next { right: 0; }

.ms-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #fff;
  color: #ccc;
  border-color: #eee;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #8b8cbe;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #7a7bb0;
  transform: translateY(-5px);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .core-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-banner {
    padding: 100px 0 60px;
  }
  
  .intro-title {
    font-size: 32px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .core-values {
    grid-template-columns: 1fr;
  }
  
  /* 移动端隐藏返回顶部按钮 */
  .back-to-top, .back-to-top.active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  .milestone-track {
    height: auto;
  }
}
