/* --- Banner 主容器 --- */
.page-banner {
  /* 背景图设置 */
  /* 请将 url('...') 替换为您实际的图片路径 */
  background-image: url("/static/img/development_icon_1.jpeg");
  background-size: cover; /* 保持比例覆盖整个区域 */
  background-position: center; /* 居中显示 */
  background-repeat: no-repeat;
}
.talent-tech-section {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 20px;
}

.sub-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

.intro-text {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 50px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.card-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* 防止小屏幕溢出 */
}

.card-item {
  flex: 1 1 200px; /* 宽度可随小屏收缩 */
  max-width: 260px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 默认悬浮态（第一项） */
.card-item.hover-state {
  background-color: #ffeb3b; /* 黄色背景 */
  border-color: #ffeb3b;
  box-shadow: 0 4px 12px rgba(255, 235, 59, 0.3);
}

/* 鼠标悬浮效果（所有卡片） */
.card-item:hover {
  background-color: #ffeb3b;
  border-color: #ffeb3b;
  box-shadow: 0 4px 12px rgba(255, 235, 59, 0.3);
  transform: translateY(-4px); /* 轻微上浮增强交互感 */
}

.card-number {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.card-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 4px;
}

.card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  text-align: center;
  /* word-break: keep-all; */

}

.certificates-section {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #fff;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 50px;
}

.certificate-grid {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 60px); /* 两证书之间的间距 */
  flex-wrap: wrap; /* 防止小屏幕溢出 */
}

.certificate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px; /* 控制单个证书最大宽度 */
}

.certificate-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.certificate-desc {
  font-size: 14px;
  color: #555;
  text-align: center;
  line-height: 1.5;
}
.core-advantages-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #fff;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 50px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  padding: 25px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* 默认悬浮态（第一项） */
.advantage-card.hover-state {
  background-color: #ffeb3b; /* 黄色背景 */
  border-color: #ffeb3b;
  box-shadow: 0 4px 12px rgba(255, 235, 59, 0.3);
}

/* 鼠标悬浮效果（所有卡片） */
.advantage-card:hover {
  background-color: #ffeb3b;
  border-color: #ffeb3b;
  box-shadow: 0 4px 12px rgba(255, 235, 59, 0.3);
  transform: translateY(-4px); /* 轻微上浮增强交互感 */
}

.card-image {
  flex: 0 1 400px; /* 图片宽度可随小屏收缩 */
  max-width: 400px;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

/* 第二项反转：左文右图 */
.advantage-card:nth-child(1) {
  flex-direction: row-reverse;
}

/* ==========================================================
   手机端（<=768px）
   ========================================================== */
@media (max-width: 768px) {
  .talent-tech-section {
    margin: 20px auto;
    padding: 20px 16px;
  }

  .sub-title {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .intro-text {
    max-width: 100%;
    margin-bottom: 28px;
    text-align: left;
  }

  .card-list {
    gap: 12px;
    justify-content: flex-start;
  }

  /* flex-grow 设为 0：最后一张不撑满整行，靠左保持半宽 */
  .card-item {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    padding: 16px 12px;
  }

  .card-item img {
    height: 100px;
  }

  .card-number {
    font-size: 18px;
  }

  .card-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .certificates-section {
    margin: 10px auto;
    padding: 20px 16px;
  }

  .certificate-grid {
    gap: 16px;
  }

  .certificate-item {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .certificate-desc {
    font-size: 12px;
  }

  .core-advantages-section {
    padding: 24px 16px;
  }

  /* 优势卡片：图在上、文在下，避免文字被挤成竖排 */
  .advantage-card,
  .advantage-card:nth-child(1) {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
  }

  .card-image {
    order: 1;
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .card-content {
    order: 2;
    flex: none;
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .card-title {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .card-desc {
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
  }
}
