/* 全局重置与基础配置：增强重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* 优化：减少不必要的重绘 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 蓝色系变量重新定义（全新色调）：补充状态变量 */
:root {
  --primary: #2563eb;        /* 主蓝（偏沉稳） */
  --primary-light: #3b82f6;  /* 浅蓝 */
  --primary-dark: #1d4ed8;   /* 深蓝 */
  --primary-hover: #1e40af;  /* 新增：hover 加深色 */
  --bg-light: #f0f7ff;       /* 淡蓝背景 */
  --bg-white: #ffffff;       /* 纯白 */
  --bg-gray: #f8fafc;        /* 新增：浅灰背景 */
  --text-main: #1e293b;      /* 主文本色 */
  --text-secondary: #64748b; /* 次要文本 */
  --text-light: #94a3b8;     /* 新增：浅色文本 */
  --text-error: #dc2626;     /* 新增：错误文本 */
  --border-light: #e2e8f0;   /* 轻边框 */
  --border-hover: #cbd5e1;   /* 新增：边框hover色 */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 8px 24px rgba(37, 99, 235, 0.15); /* 新增：更大阴影 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;     /* 新增：全圆角 */
  --transition: all 0.25s ease-in-out;
  --transition-slow: all 0.35s ease-in-out; /* 新增：慢过渡 */
}

/* 全局平滑滚动：优化兼容性 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
  -webkit-overflow-scrolling: touch;
  /* 优化：禁止文本缩放 */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.7;
  min-height: 100vh;
  /* 优化：避免移动端点击高亮 */
  -webkit-tap-highlight-color: transparent;
  -tap-highlight-color: transparent;
}

/* 全局图片基础样式：核心修改 - 保证图片完整展示 */
img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: inherit;
  /* 优化：图片懒加载过渡 */
  transition: opacity 0.5s ease;
  opacity: 1;
}

/* 优化：懒加载图片初始状态 */
img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  cursor: pointer;
  /* 优化：禁止链接长按弹出菜单 */
  -webkit-touch-callout: none;
  -touch-callout: none;
}

/* 新增：通用禁用样式 */
.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.container {
  width: 100%;
  padding: 0 1.5rem;
  margin: 0 auto;
  max-width: 1280px;
  /* 优化：媒体查询合并 + 响应式断点优化 */
  @media (max-width: 1400px) {
    max-width: 1140px;
  }
  @media (max-width: 992px) {
    max-width: 960px;
  }
  @media (max-width: 768px) {
    padding: 0 1rem;
  }
  @media (max-width: 480px) {
    padding: 0 0.75rem;
  }
}

/* 通用工具类：扩展更多实用类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* 新增：图片工具类 - 按需选择完整展示/填充 */
.img-cover { object-fit: cover; }
.img-contain { object-fit: contain; }
.img-center { margin: 0 auto; }

/* 导航栏样式（全新布局）：优化交互与适配 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  z-index: 999;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  /* 优化：硬件加速 */
  transform: translateZ(0);
  will-change: box-shadow, border-color;
}

/* 优化：滚动后导航栏样式（修正类名） */
.header.scroll {
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  /* 优化：移动端高度适配 */
  @media (max-width: 480px) {
    height: 64px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-logo-img {
    height: 32px;   /* 图片高度，根据你的导航栏高度调整 */
    width: auto;    /* 自动保持宽高比，防止拉伸 */
    vertical-align: middle; /* 兼容低版本浏览器垂直对齐 */
}

/* 桌面端导航：优化hover体验 */
.nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  /* 优化：大屏适配 */
  @media (min-width: 1400px) {
    gap: 2.5rem;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: 24px;
}

.nav-link:hover {
  color: var(--primary-hover);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 24px;
}

/* 移动端菜单按钮：优化样式 */
.menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  outline: none;
  border-radius: var(--radius-sm);
  /* 优化：点击反馈 */
  transition: var(--transition);
}

.menu-btn:focus {
  box-shadow: 0 0 0 2px var(--primary-light);
}

.menu-btn:hover {
  color: var(--primary-hover);
}

/* 移动端导航菜单：优化交互 */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-white);
  animation: fadeIn 0.3s ease;
  /* 优化：层级 */
  z-index: 998;
}

/* 新增：移动端主动态 */
.mobile-menu a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 0.5rem;
}

.mobile-menu a {
  font-size: 0.9375rem;
  color: var(--text-main);
  padding: 0.75rem 0;
  border-left: 3px solid transparent;
  transition: var(--transition);
  /* 优化：padding 左右留白 */
  padding-left: 0.5rem;
}

.mobile-menu a:hover {
  color: var(--primary-hover);
  border-left-color: var(--primary);
  padding-left: 0.75rem;
}

.mobile-menu.show {
  display: flex;
}

/* 主页英雄区：重构布局 + 轮播样式：优化性能与交互 */
.hero-section {
  height: calc(70vh - 70px);
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  /* 优化：硬件加速 */
  transform: translateZ(0);
  /* 移动端适配合并 */
  @media (max-width: 768px) {
    height: calc(100vh - 72px);
    padding: 1rem 0;
    min-height: 350px;
  }
  @media (max-width: 480px) {
    height: calc(100vh - 64px);
    min-height: 300px;
  }
}

/* 轮播容器：占满英雄区宽度 */
.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0);
  overflow: hidden;
}

/* 轮播图片项：优化过渡 */
.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 优化：防止图片闪烁 */
  backface-visibility: hidden;
}

.carousel-item.active {
  opacity: 1;
  animation: scaleImage 15s ease-in-out infinite alternate;
}

/* 轮播图保留填充效果：单独指定img-cover，其余图片完整展示 */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  /* 优化：轮播图加载过渡 */
  transition: opacity 0.8s ease;
}

/* 轮播控制按钮：优化样式与无障碍 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 优化：触摸反馈 */
  -webkit-tap-highlight-color: transparent;
  /* 移动端隐藏 */
  @media (max-width: 480px) {
    display: none;
  }
}

.carousel-btn:focus {
  box-shadow: 0 0 0 2px var(--primary-light);
}

.carousel-btn:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 20px;
  /* 优化：大屏适配 */
  @media (min-width: 1400px) {
    left: 30px;
  }
}

.next-btn {
  right: 20px;
  /* 优化：大屏适配 */
  @media (min-width: 1400px) {
    right: 30px;
  }
}

/* 轮播指示器：优化交互 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  /* 优化：移动端间距 */
  @media (max-width: 480px) {
    gap: 8px;
    bottom: 15px;
  }
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  /* 优化：触摸反馈 */
  -webkit-tap-highlight-color: transparent;
}

.indicator:focus {
  box-shadow: 0 0 0 2px var(--primary-light);
}

.indicator.active {
  background-color: var(--primary);
  width: 30px;
  border-radius: 6px;
}

/* 联系我们按钮：定位到英雄区右下角 */
.hero-btn-wrapper {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 20;
  /* 优化：媒体查询合并 */
  @media (max-width: 768px) {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 20px;
  }
  @media (max-width: 480px) {
    bottom: 15px;
    width: 90%;
  }
}

.hero-btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  outline: none;
  border: none;
  cursor: pointer;
  /* 优化：触摸反馈 */
  -webkit-tap-highlight-color: transparent;
  /* 移动端适配合并 */
  @media (max-width: 768px) {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
  @media (max-width: 480px) {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }
}

.hero-btn:focus {
  box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-md);
}

.hero-btn:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-hover);
}

.hero-btn i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.hero-btn:hover i {
  transform: translateX(4px);
}

/* 区块通用样式：优化间距 */
.section {
  padding: 5rem 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 优化：媒体查询合并 */
  @media (max-width: 768px) {
    padding: 3rem 0;
    min-height: 50vh;
  }
  @media (max-width: 480px) {
    padding: 2rem 0;
    min-height: 40vh;
  }
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 优化：防止文字模糊 */
  backface-visibility: hidden;
}

.section-title::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 2px;
}

/* 背景样式区分：新增浅灰背景 */
.section-white {
  background-color: var(--bg-white);
}
.section-blue {
  background-color: var(--bg-light);
}
.section-gray {
  background-color: var(--bg-gray);
}

/* 公司简介：优化排版 */
.intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  padding: 0 1rem;
  text-indent: 2em;
  /* 优化：媒体查询合并 */
  @media (max-width: 768px) {
    text-indent: 0;
    text-align: left;
    font-size: 1rem;
    .intro-with-bg {
        background-size: cover; /* 移动端仍保持完整覆盖 */
        background-attachment: scroll; /* 移动端取消固定，避免错位 */
    }
    .intro-with-bg .intro-text {
        padding: 1rem;
    }
  }
    
}
/* 公司简介背景图样式 */
.intro-with-bg {
    /* 1. 设置背景图（替换为你的图片路径） */
    background-image: url('image/bg2.png');
    /* 2. 保证背景图完整展示 + 色彩无偏差 */
    background-size: cover; /* 覆盖容器，优先保证完整色彩 */
    background-position: center center; /* 居中显示 */
    background-repeat: no-repeat;
    background-color: #f0f7ff; /* 图片加载前的兜底背景色 */
    /* 3. 关键：让背景图高度和区块高度完全一致 */
    background-attachment: local;
    min-height: auto; /* 取消原最小高度限制，适配内容 */
    /* 4. 增加半透明遮罩，保证文字可读性（可选但推荐） */
    position: relative;
}
/* 遮罩层：避免文字和背景图重叠导致可读性差 */
.intro-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* 白色半透明遮罩，可调整透明度 */
    z-index: 1;
}
/* 让内容显示在遮罩上层 */
.intro-with-bg .container {
    position: relative;
    z-index: 2;
}
/* 优化简介文字样式，增强可读性 */
.intro-with-bg .intro-text {
    position: relative;
    z-index: 2;
    color: var(--text-main); /* 确保文字颜色清晰 */
    padding: 1rem 2rem; /* 增加内边距，避免贴边 */
    background-color: rgba(255, 255, 255, 0.9); /* 文字区域额外背景，可选 */
    border-radius: var(--radius-md);
}
/* 企业文化网格（全新卡片样式）：优化响应式 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  /* 优化：媒体查询合并 */
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    .culture-with-bg {
        background-size: cover;
        background-attachment: scroll;
    }
    /* 移动端卡片适配 */
    .culture-with-bg .card {
        padding: 1.5rem 1rem;
    }
  }
  
}
/* 企业文化背景图专属样式（复用基础背景样式 + 微调） */
.culture-with-bg {
    /* 替换为企业文化专属背景图路径 */
    background-image: url('image/bg1.png');
    /* 继承 intro-with-bg 的核心属性，保证等高+色彩完整 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* 适配 section-blue 的底色，调整兜底色 */
    background-color: var(--bg-light);
    background-attachment: local;
    min-height: auto;
    position: relative;
}
/* 企业文化区块遮罩：适配蓝色背景，调整透明度 */
.culture-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 蓝色系背景图适配：浅蓝半透明遮罩，保证卡片可读性 */
    background-color: rgba(240, 247, 255, 0.9); 
    z-index: 1;
}
/* 保证企业文化内容在遮罩上层 */
.culture-with-bg .container {
    position: relative;
    z-index: 2;
}
/* 优化企业文化卡片：增加背景层，避免和背景图冲突 */
.culture-with-bg .card {
    /* 卡片半透明白底，增强层次感 */
    background-color: rgba(255, 255, 255, 0.95);
    /* 提升卡片阴影，突出层级 */
    box-shadow: var(--shadow-md);
    /* 保证卡片内文字清晰 */
    position: relative;
    z-index: 2;
}

.card {
  background-color: var(--bg-white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: var(--transition-slow);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  /* 优化：硬件加速 */
  transform: translateZ(0);
  will-change: transform, box-shadow;
  /* 移动端适配 */
  @media (max-width: 768px) {
    padding: 2rem 1rem;
  }
}

/* 卡片内图片样式：保证完整展示，居中 */
.card img {
  margin: 0 auto 1.5rem;
  max-height: 200px;
  /* 优化：移动端适配 */
  @media (max-width: 768px) {
    max-height: 150px;
  }
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  border-top-color: var(--primary-hover);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-hover);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 空内容卡片：优化样式 */
.empty-card {
  background-color: var(--bg-white);
  padding: 4rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 1.1rem;
  text-align: center;
  border: 1px dashed var(--border-light);
  transition: var(--transition);
  /* 优化：硬件加速 */
  transform: translateZ(0);
}

.empty-card:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background-color: var(--bg-light);
}

/* 联系方式：优化布局 */
.contact-card {
  background-color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  /* 优化：硬件加速 */
  transform: translateZ(0);
  will-change: box-shadow;
  /* 移动端适配 */
  @media (max-width: 480px) {
    padding: 2rem 1rem;
  }
}

/* 联系卡片内图片：完整展示，居中 */
.contact-card img {
  margin: 0 auto 2rem;
  max-height: 150px;
  /* 优化：移动端适配 */
  @media (max-width: 480px) {
    max-height: 120px;
  }
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary-hover);
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  /* 优化：媒体查询合并 */
  @media (max-width: 768px) {
    flex-direction: column;
    text-align: center;
  }
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: linear-gradient(135deg, var(--bg-light), #e0e7ff);
  border-radius: 50%;
  text-align: center;
  transition: var(--transition);
  /* 优化：硬件加速 */
  transform: translateZ(0);
  /* 移动端适配 */
  @media (max-width: 480px) {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
  }
}

.contact-card:hover .contact-icon {
  transform: scale(1.05);
  color: var(--primary-hover);
}

.contact-info h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-info p {
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 600;
  white-space: nowrap;
  /* 优化：移动端适配 */
  @media (max-width: 480px) {
    white-space: normal;
  }
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  /* 优化：移动端适配 */
  @media (max-width: 768px) {
    text-align: center;
  }
}

/* 页脚样式（全新设计）：优化布局 */
.footer {
  background: linear-gradient(180deg, var(--primary-dark), #1e3a8a);
  color: white;
  padding: 4rem 0 2rem;
  /* 优化：硬件加速 */
  transform: translateZ(0);
}

/* 页脚内图片：完整展示，白色适配，居中 */
.footer img {
  margin: 0 auto 1rem;
  filter: invert(1) brightness(100%);
  max-height: 80px;
  /* 优化：移动端适配 */
  @media (max-width: 480px) {
    max-height: 60px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-slogan {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.8;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  /* 新增：让内部元素垂直居中排列 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem; /* 控制版权和备案号之间的间距 */
}

/* 备案号样式（新增）- 与版权信息同行，视觉协调 */
.footer-beian {
  font-size: 0.875rem;
  opacity: 0.85;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

/* 备案号 hover 效果（提升交互体验） */
.footer-beian:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 480px) {
  .footer-beian {
    display: inline-block;
    margin-left: 0;
    margin-top: 8px;
  }
}


/* 新增：动画关键帧 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 优化：轮播图缩放动画 */
@keyframes scaleImage {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* 响应式适配（优化断点）：补充更多细节 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .menu-btn {
    display: block;
  }
}
/* 专家介绍图片样式优化 */
.experts .card img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

/* 合作机构分类标题适配 */
@media (max-width: 768px) {
    #cooperation h3 {
        text-align: center;
        padding-left: 0;
    }
}

/* 联系方式新增地址适配 */
.mt-4 {
    margin-top: 1rem;
}

/* 空内容卡片宽度适配 */
.max-w-500 {
    max-width: 500px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}