/* ========================================
   武汉子云飞文化科技有限公司官网样式
   科技风格主样式表
   ======================================== */

/* ========================================
   1. CSS 变量定义
   作用：统一管理颜色、阴影、过渡动画等，方便全局修改
   ======================================== */
:root {
  /* 主色调 - 科技蓝 */
  --primary-color: #2563eb;      /* 主色：蓝色 */
  --primary-dark: #1d4ed8;       /* 主色深色版本 */
  --primary-light: #3b82f6;      /* 主色浅色版本 */
  
  /* 辅助色 */
  --secondary-color: #0f172a;    /* 深色背景 */
  --accent-color: #06b6d4;       /* 强调色：青色 */
  --success-color: #10b981;      /* 成功色：绿色 */
  
  /* 文字颜色 */
  --text-primary: #1e293b;       /* 主要文字：深灰 */
  --text-secondary: #64748b;     /* 次要文字：中灰 */
  --text-light: #94a3b8;         /* 浅色文字 */
  
  /* 背景颜色 */
  --bg-light: #f8fafc;           /* 浅色背景 */
  --bg-dark: #0f172a;            /* 深色背景 */
  --white: #ffffff;              /* 白色 */
  
  /* 边框颜色 */
  --border-color: #e2e8f0;
  
  /* 阴影效果 - 从小到大 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* 过渡动画时间 */
  --transition-fast: 0.15s ease;   /* 快速：用于悬停等 */
  --transition-normal: 0.3s ease;  /* 正常：用于大部分动画 */
  --transition-slow: 0.5s ease;    /* 慢速：用于大型动画 */
}

/* ========================================
   2. 重置与基础样式
   作用：统一浏览器默认样式，设置全局基础样式
   ======================================== */

/* 清除默认边距和内边距，使用 border-box 盒模型 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 全局字体和背景 */
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;  /* 隐藏横向滚动条 */
}

/* 链接基础样式 */
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* 清除列表默认样式 */
ul, ol {
  list-style: none;
}

/* 图片自适应 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 按钮基础样式 */
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* 表单元素基础样式 */
input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* ========================================
   3. 容器布局
   作用：统一页面内容最大宽度和边距
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   4. 头部导航栏
   作用：固定在顶部的导航，滚动时背景变化
   ======================================== */

/* 导航栏容器 - 固定定位 */
.header {
  position: fixed;          /* 固定在顶部 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;            /* 层级最高，覆盖其他内容 */
  background: transparent;  /* 初始透明 */
  transition: all var(--transition-normal);
}

/* 滚动后的导航栏样式 */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);  /* 白色半透明背景 */
  box-shadow: var(--shadow-md);            /* 添加阴影 */
  backdrop-filter: blur(10px);             /* 背景模糊效果 */
}

/* 滚动后文字颜色变深 */
.header.scrolled .logo-text,
.header.scrolled .nav-link {
  color: var(--text-primary);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--primary-color);
}

/* 导航内容容器 */
.nav-container {
  display: flex;
  justify-content: space-between;  /* 左右分布 */
  align-items: center;
  padding: 20px 40px;
  transition: padding var(--transition-normal);
}

/* 滚动后导航栏缩小 */
.header.scrolled .nav-container {
  padding: 15px 40px;
}

/* ========================================
   4.1 Logo 区域
   作用：公司标志和名称
   【修改 LOGO 尺寸看这里】
   ======================================== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;  /* Logo图片和文字间距 */
}

/* LOGO 图片尺寸 - 修改这里调整大小 */
.logo-img {
  height: 100px;   /* 修改这里调整高度 */
  width: auto;    /* 宽度自动，保持比例 */
}

/* Logo 文字样式 */
.logo-text {
  font-size: 20px;      /* 文字大小 */
  font-weight: 700;     /* 加粗 */
  color: var(--white);  /* 初始白色 */
  transition: color var(--transition-normal);
}

/* ========================================
   4.2 主导航菜单
   作用：顶部导航链接
   ======================================== */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

/* 导航链接样式 */
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);  /* 初始白色 */
  border-radius: 8px;
  transition: all var(--transition-fast);
}

/* 悬停和选中状态 */
.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  background: rgba(37, 99, 235, 0.08);
}

/* 下拉箭头 */
.nav-arrow {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

/* 悬停时箭头旋转 */
.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* ========================================
   4.3 下拉菜单
   作用：业务板块等二级菜单
   ======================================== */
.dropdown {
  position: absolute;
  top: 100%;              /* 在导航下方 */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  padding: 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;     /* 初始隐藏 */
  transition: all var(--transition-fast);
}

/* 悬停时显示下拉菜单 */
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 下拉菜单链接 */
.dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-primary);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* ========================================
   4.4 招商通道按钮
   作用：导航栏右侧的红色招商按钮
   ======================================== */
.investment-btn {
  padding: 10px 24px;
  margin-left: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, #dc2626, #b91c1c);  /* 红色渐变 */
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  transition: all var(--transition-fast);
}

.investment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* ========================================
   4.5 移动端菜单按钮
   作用：手机端显示的汉堡菜单按钮
   ======================================== */
.mobile-menu-btn {
  display: none;  /* 默认隐藏 */
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
}

/* 三条横线 */
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.header.scrolled .mobile-menu-btn span {
  background: var(--text-primary);
}

/* 移动端导航面板 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  padding: 80px 20px 40px;
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown {
  display: none;
  padding-left: 20px;
}

.mobile-dropdown.active {
  display: block;
}

.mobile-dropdown-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-light);
}

/* ========================================
   5. 首页横幅区域 (Hero)
   作用：首页顶部的大图展示区域
   【修改横幅高度看这里】
   ======================================== */
.hero {
  position: relative;
  height: 100vh;           /* 全屏高度 */
  min-height: 700px;       /* 最小高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  overflow: hidden;
}

/* 横幅背景图 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../upload/frontend/banner-placeholder.png') center/cover;
  opacity: 0.3;
}

/* 粒子动画容器 */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* 单个粒子 */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: float 15s infinite;
  opacity: 0.6;
}

/* 粒子上浮动画 */
@keyframes float {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* 横幅内容区域 */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

/* 主标题 */
.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

/* 副标题 */
.hero-subtitle {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

/* 按钮组 */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

/* 上浮淡入动画 */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   5.1 按钮样式
   作用：通用按钮组件
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

/* 主要按钮 - 蓝色 */
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 次要按钮 - 透明边框 */
.btn-secondary {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   5.2 滚动提示
   作用：横幅底部的滚动提示动画
   ======================================== */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  animation: bounce 2s infinite;
}

/* 上下弹跳动画 */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 滚动图标 */
.scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-light);
  border-radius: 12px;
  position: relative;
}

/* 滚动图标内的小点 */
.scroll-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-light);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

/* 小点向下滚动动画 */
@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ========================================
   6. 通用板块样式
   作用：页面各板块的通用样式
   ======================================== */
.section {
  padding: 100px 0;  /* 上下边距 */
}

/* 浅色背景板块 */
.section-bg {
  background: var(--bg-light);
}

/* 板块头部 */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* 板块标签 */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  margin-bottom: 16px;
}

/* 板块标题 */
.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* 板块描述 */
.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   7. 公司简介板块
   作用：展示公司基本信息
   ======================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 左右两列 */
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 企业价值观展示 */
.about-values {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 价值观图标 */
.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  color: var(--white);
  font-size: 20px;
}

.value-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 特色卡片网格 */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 两列 */
  gap: 20px;
}

.feature-card {
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 24px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 简介配图区域 */
.about-image {
  position: relative;
  z-index: 1;
}

/* 主图片 */
.about-img-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

/* 图片上的数据标签 */
.about-img-overlay {
  position: absolute;
  bottom: -30px;
  right: -30px;
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 16px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.overlay-number {
  font-size: 36px;
  font-weight: 800;
}

.overlay-text {
  font-size: 14px;
  opacity: 0.9;
}

/* ========================================
   7.1 公司荣誉板块
   作用：展示企业资质数据
   ======================================== */
.honor-section {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 80px 0;
}

.honor-section .section-title {
  color: #ffffff;
}

.honor-section .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.honor-section .section-tag {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.honor-cert-img {
  max-width: 100%;
  width: 900px;
  margin: 32px auto 0;
  display: block;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.honor-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.honor-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.honor-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.honor-text {
  font-size: 14px;
  color: var(--text-light);
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .honor-section {
    padding: 60px 0;
  }
  
  .honor-grid {
    grid-template-columns: 1fr;
  }
  
  .honor-number {
    font-size: 36px;
  }
}

/* ========================================
   8. 发展历程时间轴
   作用：展示公司历史里程碑
   ======================================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* 时间轴中线 */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* 时间轴项目 */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 60px;
}

/* 左侧项目 */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

/* 右侧项目 */
.timeline-item:nth-child(even) {
  left: 50%;
}

/* 时间轴圆点 */
.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

/* 左侧圆点位置 */
.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

/* 右侧圆点位置 */
.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

/* 年份标签 */
.timeline-year {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 时间轴列表 */
.timeline-list {
  text-align: left;
  margin-top: 12px;
}

.timeline-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.timeline-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* ========================================
   9. 新闻动态板块
   作用：展示最新新闻文章
   ======================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 四列 */
  gap: 30px;
  justify-content: center;
}

/* ========================================
   Lightbox 样式
   ======================================== */
.lightbox-img {
    transition: opacity 0.15s ease;
}

/* ========================================
   新闻卡片
   ======================================== */
.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
 height: 350px;
}

/* 整张卡片可点击 */
.news-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  color: inherit;
  text-decoration: none;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* 新闻封面图 */
.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.news-card:hover .news-image img {
  transform: scale(1.1);  /* 悬停放大 */
}

/* 新闻标签 */
.news-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 6px;
}

/* 新闻内容 */
.news-content {
  padding: 24px;
}

.news-date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* 限制两行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 查看详情链接 */
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.news-link:hover {
  gap: 10px;  /* 悬停时箭头移动 */
}

/* ========================================
   10. 业务板块展示
   作用：首页五大业务线卡片展示
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);  /* 五列 */
  gap: 30px;
}

.service-card {
  position: relative;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition-normal);
}

/* 顶部装饰线 */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

/* 业务图标 */
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
  border-radius: 20px;
  font-size: 36px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 查看详情按钮 */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.service-link:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ========================================
   11. 风采展示板块
   作用：活动、团建、案例图片展示
   ======================================== */

/* 筛选标签 */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-light);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.gallery-tab:hover,
.gallery-tab.active {
  color: var(--white);
  background: var(--primary-color);
}

/* 图片网格 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 四列 */
  gap: 20px;
}

/* 单个图片项 */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;  /* 4:3 比例 */
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* 图片遮罩层 */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.gallery-date {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* ========================================
   12. 招商通道页面
   作用：招商合作相关内容
   ======================================== */

/* 招商页面头部 */
.investment-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

/* 合作优势网格 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 四列 */
  gap: 24px;
  margin-top: 60px;
}

.advantage-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 16px;
  font-size: 28px;
}

.advantage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   12.1 合作领域
   作用：五大业务线合作入口
   ======================================== */
.fields-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);  /* 五列 */
  gap: 20px;
}

.field-card {
  padding: 32px 20px;
  background: var(--white);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.field-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.field-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 16px;
  font-size: 32px;
}

.field-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   12.2 合作流程
   作用：展示合作步骤
   ======================================== */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

/* 连接线 */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 100px;
  right: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.process-step {
  position: relative;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

/* 步骤数字圆圈 */
.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   12.3 留资表单
   作用：招商合作意向收集
   ======================================== */
.form-section {
  background: var(--bg-light);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

/* 表单网格布局 */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 两列 */
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

/* 占满整行 */
.form-group.full-width {
  grid-column: 1 / -1;
}

/* 表单标签 */
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* 输入框通用样式 */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all var(--transition-fast);
}

/* 聚焦状态 */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* 文本域 */
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* 下拉选择框 */
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* 提交按钮 */
.form-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: all var(--transition-fast);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ========================================
   13. 联系我们页面
   作用：公司联系方式展示
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 左右两列 */
  gap: 60px;
}

/* 联系信息卡片 */
.contact-info {
  padding: 48px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: 24px;
  color: var(--white);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

/* 联系方式图标 */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 18px;
  font-weight: 600;
}

/* 地图 */
#map-container {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  margin-top: 24px;
  overflow: hidden;
}

/* 联系表单 */
.contact-form-box {
  padding: 48px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

/* ========================================
   14. 页脚 Footer
   作用：页面底部信息
   ======================================== */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;  /* 品牌占两列，其他各一列 */
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 品牌区域 */
.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 80px;  /* 页脚Logo高度 */
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 社交媒体图标 */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* 页脚标题 */
.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

/* 页脚链接列表 */
.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* 页脚联系方式 */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.footer-contact span:first-child {
  color: var(--accent-color);
}

/* 页脚底部 */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-light);
}

/* 法律条款链接 */
.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--text-light);
}

.footer-legal a:hover {
  color: var(--accent-color);
}

/* ========================================
   15. 内页头部
   作用：除首页外其他页面的通用头部
   ======================================== */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  text-align: center;
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

/* 面包屑导航 */
.page-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
}

.page-breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   16. 业务详情页
   作用：各业务线的详细介绍页面
   ======================================== */
.service-detail {
  padding: 80px 0;
}

.service-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* 业务详情图标 */
.service-hero-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 24px;
  font-size: 48px;
}

.service-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 产品列表区域 */
.products-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 两列 */
  gap: 30px;
}

/* 产品卡片 */
.product-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 14px;
  font-size: 28px;
  flex-shrink: 0;
}

.product-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.product-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   17. 滚动动画
   作用：元素进入视口时的动画效果
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* 动画延迟类 - 用于依次出现效果 */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ========================================
   18. 响应式设计
   作用：适配不同屏幕尺寸
   ======================================== */

/* 平板设备 (1200px 以下) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);  /* 四列变两列 */
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);  /* 四列变两列 */
  }
  
  .fields-grid {
    grid-template-columns: repeat(3, 1fr);  /* 五列变三列 */
  }
}

/* 小平板和大手机 (992px 以下) */
@media (max-width: 992px) {
  /* 隐藏桌面导航，显示移动端菜单按钮 */
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  /* 公司简介改为单列 */
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;  /* 图片移到上方 */
  }
  
  /* 业务卡片变两列 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 新闻变两列 */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 风采展示变三列 */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* 合作优势变两列 */
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 联系我们变单列 */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* 合作流程换行 */
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  .process-steps::before {
    display: none;  /* 隐藏连接线 */
  }
  
  /* 时间轴改为左侧单列 */
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
    right: auto;
  }
  
  .timeline-item:nth-child(odd) {
    text-align: left;
  }
}

/* 手机设备 (768px 以下) */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  /* 按钮改为竖向排列 */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  /* 业务卡片变单列 */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* 新闻变单列 */
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  /* 风采展示变两列 */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 荣誉变单列 */
  .honor-grid {
    grid-template-columns: 1fr;
  }
  
  /* 合作领域变两列 */
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 表单变单列 */
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  /* 页脚变单列 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .page-title {
    font-size: 32px;
  }
  
  /* 产品列表变单列 */
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  /* 合作流程步骤缩小 */
  .process-step {
    max-width: 150px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* 小手机 (480px 以下) */
@media (max-width: 480px) {
  .nav-container {
    padding: 15px 20px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  /* 价值观改为竖向 */
  .about-values {
    flex-direction: column;
  }
  
  /* 特色卡片变单列 */
  .about-features {
    grid-template-columns: 1fr;
  }
  
  /* 风采展示变单列 */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* 合作优势变单列 */
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  /* 合作领域变单列 */
  .fields-grid {
    grid-template-columns: 1fr;
  }
  
  /* 表单内边距缩小 */
  .contact-form,
  .contact-info,
  .contact-form-box {
    padding: 24px;
  }
  
  .form-section {
    padding: 0 20px;
  }
  
  /* 合作流程步骤进一步缩小 */
  .process-step {
    max-width: 120px;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
}

/* News section positioning for arrows */
#news{position:relative}

/* News Pagination Arrows */

.news-page-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:10;width:56px;height:56px;border:none;border-radius:50%;background:#dc2626;color:#fff;font-size:28px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;box-shadow:0 4px 15px rgba(220,38,38,0.35)}
.news-page-arrow:hover{background:#b91c1c;box-shadow:0 6px 20px rgba(220,38,38,0.5);transform:translateY(-50%) scale(1.08)}
.news-page-arrow-left{left:calc(18.2%);top:calc(50% + 85px)}
.news-page-arrow-right{right:calc(18.2%)}
@media(max-width:768px){.news-page-arrow{width:40px;height:40px;font-size:20px}.news-page-arrow-left{left:-12px}.news-page-arrow-right{right:-12px}}
