/* 服务项目页面样式 */

/* 局部字体与抗锯齿，仅作用于本页 */
body {
  font-family: "HarmonyOS Sans SC","PingFang SC","MiSans","Noto Sans SC","Source Han Sans SC","Microsoft YaHei",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 服务主标题样式 - 应用HarmonyOS Sans字体，参照cases页面样式 */
.services-main-title {
  font-family: 'HarmonyOS Sans', 'M Ying Hei', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
  color: #2A2E2E;
  font-style: italic;
  font-size: 2.125rem;
  margin-bottom: 16px;
  font-weight: 200; /* 修改为更纤细的字体样式，与开启之路标题保持一致 */
  letter-spacing: 0.2px;
  line-height: 1.3;
  text-align: left;
  position: relative;
  padding-bottom: 12px;
}

/* 为服务主标题添加森林深绿色下划线 */
.services-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #065F46;
  border-radius: 2px;
}

/* 服务流程标题样式 - 参照cases页面样式 */
.services-section-title {
  font-family: 'HarmonyOS Sans', 'M Ying Hei', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
  color: #2A2E2E;
  font-style: italic;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.3;
  text-align: left;
  position: relative;
  padding-bottom: 12px;
}

/* 为服务流程标题添加森林深绿色下划线 */
.services-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #065F46;
  border-radius: 2px;
}

/* 服务卡片标题去除加粗 */
.service-title, .service-name {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 10px;
}

/* 服务详情标题去除加粗 */
.service-detail .service-name {
  font-size: 2rem;
  margin: 0;
  font-weight: 400;
}

/* 内容标题去除加粗 */
.content-title, .advantages-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 10px;
  font-weight: 400;
}

/* 步骤标题去除加粗 */
.step-title {
  font-weight: 400;
}

/* 标题样式统一 - 去除全局加粗 */
h1, h2, h3, h4, h5, h6 {
  color: #222222;
  font-weight: 400;
  margin-bottom: 1rem;
}

p {
  color: #555555;
  margin-bottom: 1.5rem;
}

/* 服务项目页头可读性增强：仅本页生效 */
.header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* 调整logo布局，参考腾讯设计：logo和公司名称同行 */
.header-container {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: static;
  left: auto;
  top: auto;
}

.logo a {
  flex-direction: row;
  align-items: center;
}

.logo-img {
  margin-right: 15px;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
}

.header .logo-text,
.header .logo-subtitle {
  color: #000000;
  text-shadow: none;
}

.header .logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.header .logo-subtitle {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 400;
}

/* 调整导航容器位置，避免与logo重叠 */
.nav-container {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f6f6f6;
  position: static;
  top: auto;
  right: auto;
  width: 100%;
  padding: 10px 0;
}

.nav-menu {
  justify-content: center;
}

.nav-link {
  color: #222 !important;
}
.nav-link:hover {
  color: #111 !important;
  text-shadow: none;
}
.nav-link.active {
  color: var(--primary-color) !important;
  text-shadow: none;
}
.nav-link.active::after {
  background-color: var(--primary-color) !important;
}

/* 调整获取报价按钮位置，避免遮挡导航 */
.get-quote {
  position: absolute;
  right: 30px;
  top: 15px;
  transform: none;
  background: var(--primary-color);
  color: #fff !important;
  border-color: var(--primary-color);
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: normal;
  padding: 10px 20px;
  border-radius: 4px;
}

.mobile-toggle {
  color: #222;
}

/* 页面横幅 */
.page-banner {
  height: 500px; /* 增加高度以适应完整图片 */
  /* 移除所有渐变和滤镜效果，使用原图 */
  background-image: url('../企业网站页幅底图.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: flex-end; /* 修改为flex-end，使文字垂直移动到页幅底图下端 */
  justify-content: flex-start;
  color: var(--white);
  margin-top: 120px;
  padding-left: 0px; /* 与其他页面保持一致 */
  padding-bottom: 40px; /* 添加底部内边距，确保文字不会紧贴底部 */
  /* 移除所有滤镜效果 */
  filter: none;
  -webkit-filter: none;
  /* 移除过渡效果 */
  transition: none;
  /* 移除所有阴影效果 */
  box-shadow: none;
  /* 确保背景图片在容器内居中显示 */
  background-origin: padding-box;
  background-clip: border-box;
  /* 移除背景混合模式 */
  background-blend-mode: normal;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: 200;
  font-style: italic;
  letter-spacing: 0.1em;
  text-align: left;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 响应式设计优化 */
@media (max-width: 992px) {
  .page-banner {
    height: 450px;
    padding-left: 60px; /* 与其他页面保持一致 */
    padding-bottom: 40px; /* 保持底部内边距 */
  }
  
  .banner-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 400px;
    padding-left: 40px; /* 与其他页面保持一致 */
    padding-bottom: 40px; /* 保持底部内边距 */
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .page-banner {
    height: 350px;
    padding-left: 20px; /* 与其他页面保持一致 */
    padding-bottom: 40px; /* 保持底部内边距 */
  }
  
  .banner-title {
    font-size: 2rem;
    font-weight: 300;
  }
}

/* 服务总览 */
.services-overview {
  background-color: var(--white);
  margin-top: 0;
  padding-top: 80px;
}

.section-subtitle {
  text-align: left;
  margin-top: 8px;
  margin-bottom: 50px;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 服务卡片样式（首页） */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border: 2px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-title, .service-name {
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 10px;
}

.service-desc, .service-description {
  color: #666;
  margin-bottom: 15px;
}

.service-btn {
  display: inline-block;
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* --- Three.js 3D地球仪图标样式 (适用于三个模块) --- */

/* 图标容器基础样式 - 缩小尺寸 */
.service-icon {
  width: 64px;
  height: 64px;
  margin-right: 24px;
  margin-bottom: 0;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

/* Canvas地球仪样式 - 缩小尺寸，无边框 */
.globe-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50%;
  background: #f0f0f0;
  border: none; /* 确保没有边框 */
  outline: none; /* 确保没有轮廓线 */
  box-shadow: none; /* 移除任何可能的阴影 */
  transition: all 0.8s ease;
  position: relative;
  z-index: 2;
}

/* 环策、环协、环责地球仪图标 - 统一样式，完全移除边框 */
.service-strategy .globe-icon,
.service-cooperation .globe-icon,
.service-responsibility .globe-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50%;
  background: #f0f0f0;
  border: none !important; /* 强制移除边框 */
  outline: none !important; /* 强制移除轮廓线 */
  box-shadow: none !important; /* 强制移除阴影 */
  transition: all 0.8s ease;
  position: relative;
  z-index: 2;
}

/* 光晕效果 - 减小范围 */
.service-icon::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 0 20px 8px transparent;
  transition: box-shadow 0.6s ease;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 所有模块统一的悬停光晕效果 */
.service-strategy:hover .service-icon::before,
.service-cooperation:hover .service-icon::before,
.service-responsibility:hover .service-icon::before {
  box-shadow: 0 0 30px 12px #D2B48C;
  animation: halo-breath 3s ease-in-out infinite;
}

/* 所有模块统一的悬停背景效果 */
.service-strategy:hover .globe-icon,
.service-cooperation:hover .globe-icon,
.service-responsibility:hover .globe-icon {
  background: #065F46;
}

/* 统一的光晕呼吸动画 */
@keyframes halo-breath {
  0% { box-shadow: 0 0 15px 6px #D2B48C; }
  50% { box-shadow: 0 0 30px 12px #D2B48C; }
  100% { box-shadow: 0 0 15px 6px #D2B48C; }
}

/* ===== 环策服务现代化设计 ===== */

/* 环策服务卡片 */
.service-strategy {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 
    0 8px 32px rgba(6, 95, 70, 0.1),
    0 2px 8px rgba(6, 95, 70, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* ===== 环协服务现代化设计 - 完全匹配环策样式 ===== */

/* 环协服务卡片 */
.service-cooperation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 
    0 8px 32px rgba(6, 95, 70, 0.1),
    0 2px 8px rgba(6, 95, 70, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* ===== 环责服务现代化设计 - 完全匹配环策样式 ===== */

/* 环责服务卡片 */
.service-responsibility {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 
    0 8px 32px rgba(6, 95, 70, 0.1),
    0 2px 8px rgba(6, 95, 70, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* 悬浮效果 */
.service-strategy:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 60px rgba(6, 95, 70, 0.2),
    0 8px 24px rgba(6, 95, 70, 0.1);
  border-color: rgba(6, 95, 70, 0.2);
}

/* 环协悬浮效果 - 完全匹配环策样式 */
.service-cooperation:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 60px rgba(6, 95, 70, 0.2),
    0 8px 24px rgba(6, 95, 70, 0.1);
  border-color: rgba(6, 95, 70, 0.2);
}

/* 环责悬浮效果 - 完全匹配环策样式 */
.service-responsibility:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 60px rgba(6, 95, 70, 0.2),
    0 8px 24px rgba(6, 95, 70, 0.1);
  border-color: rgba(6, 95, 70, 0.2);
}

/* 环策服务头部 */
.service-strategy .service-header {
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 32px;
  position: relative;
}

/* 环协服务头部 - 完全匹配环策样式 */
.service-cooperation .service-header {
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 32px;
  position: relative;
}

/* 环责服务头部 - 完全匹配环策样式 */
.service-responsibility .service-header {
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 32px;
  position: relative;
}

/* 环策图标容器 - 移除绿色圆形背景 */
.service-strategy .service-icon {
  width: 80px;
  height: 80px;
  margin-right: 24px;
  margin-bottom: 0;
  background: transparent !important;  /* 强制透明背景，移除绿色圆形 */
  background-color: transparent !important;  /* 确保背景色也透明 */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 环协图标容器 - 完全匹配环策样式 */
.service-cooperation .service-icon {
  width: 80px;
  height: 80px;
  margin-right: 24px;
  margin-bottom: 0;
  background: transparent !important;  /* 强制透明背景，移除绿色圆形 */
  background-color: transparent !important;  /* 确保背景色也透明 */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 环责图标容器 - 完全匹配环策样式 */
.service-responsibility .service-icon {
  width: 80px;
  height: 80px;
  margin-right: 24px;
  margin-bottom: 0;
  background: transparent !important;  /* 强制透明背景，移除绿色圆形 */
  background-color: transparent !important;  /* 确保背景色也透明 */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 环策服务标题 - 恢复企业标准灰黑色 */
.service-strategy .service-name {
  font-size: 2.2rem;
  margin: 0;
  color: #2A2E2E;
  font-weight: 200; /* 去除加重加粗样式 */
  transition: all 0.3s ease;
}

/* 环协服务标题 - 完全匹配环策样式 */
.service-cooperation .service-name {
  font-size: 2.2rem;
  margin: 0;
  color: #2A2E2E;
  font-weight: 200; /* 去除加重加粗样式 */
  transition: all 0.3s ease;
}

/* 环责服务标题 - 完全匹配环策样式 */
.service-responsibility .service-name {
  font-size: 2.2rem;
  margin: 0;
  color: #2A2E2E;
  font-weight: 200; /* 去除加重加粗样式 */
  transition: all 0.3s ease;
}

.service-strategy:hover .service-name {
  transform: translateX(8px);
}

.service-cooperation:hover .service-name {
  transform: translateX(8px);
}

.service-responsibility:hover .service-name {
  transform: translateX(8px);
}

/* 环策服务介绍区域 - 恢复企业主色绿色边框 */
.service-strategy .service-intro {
  margin-bottom: 32px;
  border-left: 4px solid var(--primary-color);
  padding-left: 24px;
  position: relative;
}

/* 环协服务介绍区域 - 完全匹配环策样式 */
.service-cooperation .service-intro {
  margin-bottom: 32px;
  border-left: 4px solid var(--primary-color);
  padding-left: 24px;
  position: relative;
}

/* 环责服务介绍区域 - 完全匹配环策样式 */
.service-responsibility .service-intro {
  margin-bottom: 32px;
  border-left: 4px solid var(--primary-color);
  padding-left: 24px;
  position: relative;
}

/* 环策服务描述文字 */
.service-strategy .service-description {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #4a5568;
  transition: color 0.3s ease;
}

/* 环协服务描述文字 - 完全匹配环策样式 */
.service-cooperation .service-description {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #4a5568;
  transition: color 0.3s ease;
}

/* 环责服务描述文字 - 完全匹配环策样式 */
.service-responsibility .service-description {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #4a5568;
  transition: color 0.3s ease;
}

.service-strategy:hover .service-description {
  color: #2d3748;
}

.service-cooperation:hover .service-description {
  color: #2d3748;
}

.service-responsibility:hover .service-description {
  color: #2d3748;
}

/* 服务详情页样式 */
.service-detail {
  margin-bottom: 80px;
  padding: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-detail .service-header {
  background-color: transparent;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.service-detail .service-icon {
  font-size: 3rem;
  margin-right: 20px;
  margin-bottom: 0;
  background-color: var(--primary-color);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail .service-name {
  font-size: 2rem;
  margin: 0;
}

.service-intro {
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
}

.service-intro .service-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.service-content {
  margin-bottom: 30px;
}

.content-title, .advantages-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 10px;
}

.content-title::after, .advantages-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.content-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.advantages-list {
  list-style: none;
  padding: 0;
}

.advantages-list li {
  padding: 10px 0;
  position: relative;
  padding-left: 30px;
  font-size: 1.1rem;
}

.advantages-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* 服务流程 */
.service-process {
  background-color: var(--light-gray);
}

.process-container {
  max-width: 1000px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.process-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.step-description {
  color: #666;
  font-size: 0.9rem;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }
  
  .process-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .page-banner {
    height: 350px;
    padding-left: 60px;
  }
  
  .banner-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }
  
  .process-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .page-banner {
    height: 320px;
    padding-left: 40px;
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .service-header {
    padding: 15px;
  }
  
  .service-body {
    padding: 15px;
  }
  
  .page-banner {
    height: 280px;
    padding-left: 20px;
  }
  
  .banner-title {
    font-size: 2rem;
    font-weight: 300;
  }
}
