/* 产品及服务页面样式 */

.page-header {
  background: linear-gradient(180deg, #1e88e5 0%, #00d4ff 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 服务导航 */
.service-nav {
  padding: 40px 20px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 70px;
  z-index: 100;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.nav-item:hover {
  background: #1890ff;
  color: #fff;
  border-color: #1890ff;
  transform: translateY(-5px);
}

.nav-icon {
  margin-bottom: 10px;
  color: #1890ff;
  transition: color 0.3s;
}

.nav-item:hover .nav-icon {
  color: #fff;
}

.nav-item span {
  font-weight: 500;
  text-align: center;
}

/* 服务详情 */
.service-detail {
  padding: 80px 20px;
  background: #fff;
}

.service-detail.alt {
  background: #f8f9fa;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.detail-icon {
  background: #1890ff;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.detail-header h2 {
  font-size: 2.2rem;
  color: #1890ff;
  margin-bottom: 10px;
}

.detail-header p {
  color: #666;
  font-size: 1.1rem;
}

.detail-content {
  max-width: 1200px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 50px;
}

.content-section h3 {
  font-size: 1.8rem;
  color: #1890ff;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #1890ff;
}

.content-section p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* 服务项目卡片 */
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.item-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.service-detail.alt .item-card {
  background: #f8f9fa;
}

.item-card:hover {
  border-color: #1890ff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(24, 144, 255, 0.15);
}

.item-number {
  display: inline-block;
  background: #1890ff;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.item-card h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 12px;
}

.item-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 适用对象列表 */
.target-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.target-item {
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #333;
  font-size: 1rem;
  border-left: 4px solid #1890ff;
}

.service-detail.alt .target-item {
  background: #fff;
}

/* 服务流程 */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.step-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 25px 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s;
}

.service-detail.alt .step-item {
  background: #fff;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44,90,160,0.15);
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: #1890ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step-item h4 {
  font-size: 1.1rem;
  color: #1890ff;
  margin-bottom: 10px;
}

.step-item p {
  color: #666;
  font-size: 0.9rem;
}

.step-arrow {
  font-size: 2rem;
  color: #1890ff;
  flex-shrink: 0;
}

/* 期刊类型 */
.journal-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.journal-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
  position: relative;
}

.service-detail.alt .journal-card {
  background: #f8f9fa;
}

.journal-card:hover {
  border-color: #1890ff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(24, 144, 255, 0.15);
}

.journal-card h4 {
  font-size: 1.3rem;
  color: #1890ff;
  margin-bottom: 15px;
}

.journal-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.journal-tag {
  display: inline-block;
  background: #1890ff;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* 专家库类型 */
.expert-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.expert-card {
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.service-detail.alt .expert-card {
  background: #f8f9fa;
}

.expert-card:hover {
  border-color: #1890ff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(24, 144, 255, 0.15);
}

.expert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.expert-card h4 {
  font-size: 1.3rem;
  color: #1890ff;
  margin-bottom: 15px;
}

.expert-card p {
  color: #666;
  line-height: 1.7;
}

/* 培训课程 */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.training-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.service-detail.alt .training-card {
  background: #f8f9fa;
}

.training-card:hover {
  border-color: #2c5aa0;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44,90,160,0.15);
}

.training-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.training-card h4 {
  font-size: 1.3rem;
  color: #1890ff;
  margin-bottom: 15px;
}

.training-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.training-card li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
}

.training-card li:last-child {
  border-bottom: none;
}

.training-meta {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
}

.training-meta span {
  color: #1890ff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* 培训优势 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.adv-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.service-detail.alt .adv-item {
  background: #f8f9fa;
}

.adv-item:hover {
  border-color: #2c5aa0;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44,90,160,0.15);
}

.adv-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.adv-item h4 {
  font-size: 1.2rem;
  color: #1890ff;
  margin-bottom: 10px;
}

.adv-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 学历提升 */
.education-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.education-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.service-detail.alt .education-card {
  background: #f8f9fa;
}

.education-card:hover {
  border-color: #2c5aa0;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44,90,160,0.15);
}

.edu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.education-card h4 {
  font-size: 1.4rem;
  color: #1890ff;
  margin-bottom: 15px;
  text-align: center;
}

.edu-desc {
  color: #666;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.edu-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.feature-item {
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.service-detail.alt .feature-item {
  background: #fff;
}

.edu-levels {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.level-tag {
  display: inline-block;
  background: #1890ff;
  color: #fff;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* 热门专业 */
.major-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.major-category {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.service-detail.alt .major-category {
  background: #f8f9fa;
}

.major-category h4 {
  font-size: 1.3rem;
  color: #1890ff;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.major-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.major-list span {
  display: inline-block;
  padding: 8px 15px;
  background: #f8f9fa;
  border-radius: 20px;
  color: #666;
  font-size: 0.9rem;
  transition: all 0.3s;
  cursor: pointer;
}

.service-detail.alt .major-list span {
  background: #fff;
}

.major-list span:hover {
  background: #2c5aa0;
  color: #fff;
}

/* 服务保障 */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.guarantee-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.service-detail.alt .guarantee-item {
  background: #f8f9fa;
}

.guarantee-item:hover {
  border-color: #2c5aa0;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44,90,160,0.15);
}

.guarantee-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.guarantee-item h4 {
  font-size: 1.2rem;
  color: #1890ff;
  margin-bottom: 10px;
}

.guarantee-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA按钮区域 */
.cta-section {
  text-align: center;
  margin: 50px 0 0 0;
  padding: 40px 0 0 0;
  border-top: 2px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding-left: 20%;
}

.cta-section .btn {
  margin: 0;
}

/* 职称申报、论文发表、技能培训模块的按钮向右移动25% */
#zhicheng .cta-section,
#lunwen .cta-section,
#jineng .cta-section {
  padding-left: 25%;
}

/* 专家入库模块的按钮特殊定位 */
#zhuanjia .cta-section {
  padding-left: 15%;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-header {
    flex-direction: column;
    text-align: center;
  }

  .detail-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }

  .detail-header h2 {
    font-size: 1.8rem;
  }

  .service-items,
  .journal-types,
  .expert-types,
  .training-grid,
  .education-grid,
  .major-categories {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .edu-features {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    flex-direction: column;
  }

  .cta-section .btn {
    width: 100%;
    max-width: 300px;
    margin: 5px 0;
  }
}

/* ── 修复：始终为滚动条保留位置，防止跨页跳转时 navbar 抖动 ── */
html {
  overflow-y: scroll;
}



