* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 外层容器：改为相对定位，作为背景容器承载导航栏 */
.dh-bg {
    position: relative;
    /* 关键：从 absolute 改为 relative，回归文档流 */
    width: 100%;
    /* 导航栏背景图高度按需调整，比如 200px（包含 logo + 菜单高度） */
    height: 900px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* 主内容区域：用 margin-top 撑开与导航栏的间距 */
main {
    width: 100%;
    background-color: #ffffff;
    background-image: url(../images/gdsy-bjwl-l.png), url(../images/gdsy-bjwl-r.png);
    background-size: 50%, 50%;
    background-repeat: no-repeat, no-repeat;
    background-position: 150% 0%, -50% 62%;
}

.nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    height: 120px;
}

.logo-img {
    height: 80px;
    width: auto;
    margin-right: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu a {
    margin: 0 50px;
    color: #E6D7B6;
    font-family: "楷体", serif;
    text-decoration: none;
    font-size: 25px;
    /* 新增：为下划线动画预留空间 */
    position: relative;
    padding-bottom: 5px;
}

/* 鼠标悬停时显示下划线 */
.nav-menu a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #f9e8c4;
}

main {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 1920px;
    min-width: 700px;
}
.sjcc-biaoti {
    width: 100%;
    max-width: 300px;
    min-width: 100px;
    height: 100%;
    text-align: center;
    margin: auto;
}

.sjcc-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/* 容器样式 */
.container {
   display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
       width: 100%;
    /* 高度改为自适应，让内容撑开 */
       height: auto;
       max-height: 600px;
    background-color: #011633e8;
    /* 增加内边距，避免内容贴边 */
 padding: 30px 50px;
}

/* 顶部标题区域 */
.header {
  text-align: center; /* 文字居中 */
  margin-bottom: 30px; /* 底部外边距 */
}

/* 标题样式 */
.title {
  font-size: 28px; /* 字体大小 */
  font-weight: bold; /* 加粗 */
  color: #fff; /* 文字颜色 */
}

/* 主体内容区域：左侧导航 + 中间轮播 + 右侧说明 */
.main-content {
   width: 90%; /* 宽度 */
  max-width: 1200px; /* 最大宽度 */
  margin: 50px auto; /* 居中 */
  display: flex; /* 弹性布局 */
  gap: 20px; /* 元素间距 */

}

/* 左侧导航 */
.left-nav {
  width: 20%; /* 宽度 */
  display: flex; /* 弹性布局 */
  flex-direction: column; /* 垂直排列 */
  gap: 80px; /* 按钮间距 */
  padding: 50px 10px; /* 内边距 */
}

/* 导航按钮 */
.tab-btn {
  background-color:  rgba(0, 0, 0, 0.1);/* 按钮背景色 */
  color: #fff; /* 文字颜色 */
  border: 1px solid #fff; /* 白色边框 */
  padding: 10px 20px; /* 内边距 */
  border-radius: 20px; /* 圆角 */
  cursor: pointer; /* 鼠标悬浮显示手型 */
  transition: background-color 0.3s ease; /* 过渡效果 */
  text-align: center; /* 文字居中 */
  font-size: 20px; /* 字体大小 */
}

/* 导航按钮 hover 效果 */
.tab-btn:hover {
  background-color: rgba(70, 130, 180, 0.3); /* 悬停时背景色变化 */
  border-color: #fff; /* 悬停时边框颜色变化 */
}

/* 激活状态的导航按钮 */
.tab-btn.active {
  background-color: #2d4373; /* 深色背景 */
  font-weight: bold; /* 加粗文字 */
}

/* 中间轮播图区域 */
.middle-carousel {
  width: 45%; /* 宽度 */
  height: auto; /* 高度 */
  overflow: hidden; /* 隐藏溢出内容 */
  border-radius: 5px; /* 圆角 */
  background-color: #fff; /* 白色背景 */
  display: flex;          /* 弹性布局 */
  justify-content: center;  /* 水平居中 */
  align-items: center;  /* 垂直居中 */
  position: relative; /* 相对定位 */
}

/* 轮播图项 */
.carousel-item {
  display: none; /* 默认隐藏 */
  height: 100%;
  position: relative; /* 相对定位 */
  width: 100%;
  opacity: 0; /* 初始透明度 */
  transition: opacity 0.5s ease; /* 过渡效果 */
}

/* 激活状态的轮播图项 */
.carousel-item.active {
  display: block; /* 显示 */
  opacity: 1; /* 完全不透明 */
}

/* 轮播图图片 */
.carousel-img {
  width: 100%; 
  height: auto; 
  /* 新增：绝对定位，让图片叠加 */
  position: absolute; 
  top: 0;
  left: 0;
  /* 初始隐藏所有图片 */
  opacity: 0; 
  transition: opacity 0.5s ease; 
  object-fit: cover;
}


/* 激活的图片（通过 :target 或 .active 控制） */
.carousel-img.active {
  opacity: 1; 
  z-index: 1; 
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 10; /* 确保按钮在图片上方 */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10; /* 确保指示器在图片上方 */
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.indicator.active {
  background-color: white;
}

/* 右侧说明区域 */
.right-desc {
  width: 35%; /* 宽度 */
  display: flex; /* 弹性布局 */
  flex-direction: column; /* 垂直排列 */
  gap: 20px; /* 内容间距 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
}

/* 说明项 */
.desc-item {
  display: none; /* 默认隐藏 */
  background-color: rgba(0, 0, 0, 0.2); /* 半透明背景 */
  padding: 20px; /* 内边距 */
  border-radius: 5px; /* 圆角 */
  height: auto; /* 高度自适应 */
  transition: background-color 0.3s ease; /* 过渡效果 */  
}

/* 激活状态的说明项 */
.desc-item.active {
  display: block; /* 显示 */
}

/* 说明标题 */
.desc-title {
  font-size: 30px; /* 字体大小 */
  font-weight: bold; /* 加粗 */
  margin-bottom: 10px; /* 底部外边距 */
  color: #fff; /* 文字颜色 */
  
}

/* 说明文本 */
.desc-text {
  line-height: 1.8; /* 行高 */
  color: #fff; /* 文字颜色 */
}

/* 了解更多按钮基础样式 */
.know-more-img {
  /* 缩小图片：按需调整宽度（如 80px），高度自动适配 */
  width: 150px;  
  height: auto; 
  /* 右对齐：让图片靠右侧 */
  display: block; 
  margin-left: auto; 
  /* 鼠标悬浮显示手型，提示可点击 */
  cursor: pointer; 
  padding-top: 110px; /* 顶部内边距 */
  padding-bottom: 20px; /* 底部内边距 */
}


/* 页面容器，实现左右图片 + 中间步骤的布局 */
.page-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 30px 20px;
}

.left-img-box{
  width: 200%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  margin: 0px 0px 0px 0px; /* 外边距 */

}

.right-img-box{
  width: 200%;
  height: auto;
  display: flex;
  justify-content: flex-end; 
  margin: -200px 0px 0px 0px; /* 外边距 */
}

.step-img{
  width: 35%;
  height: auto;

}

.step-img1{
  width: 35%;
  height: auto;
}

.step-img2{
  width: 35%;
  height: auto;
}

.step-img3{
  width: 35%;
  height: auto;
}

/* 步骤容器，用相对定位 + flex 布局，让步骤 item 按需求排列（这里先简单用 flex ，也可根据实际改 grid 等） */
.steps-container {
  position: relative; 
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; 
}

/* 单个步骤 item 样式 */
.step-item1 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -2000px 790px 100px 100px; /* 外边距 */
}


/* 文字盒子样式，默认先隐藏，后续用 JS 控制显示；或直接定位显示，这里演示定位 + 动画效果 */
.text-box {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: 40%; 
  top: -25px;
  width:700px;
  padding: 15px;
 }

/* 标题样式，突出步骤序号 */
.text-box h3 {
  color: #8b4513;
  margin-bottom: 10px;
  
}

.text-box p {
  color: #8b4513;
  margin-bottom: 10px;
  
}

.step-item2 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -1600px 100px 100px 100px; /* 外边距 */
}

.step-item3 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -1120px 600px 100px 100px; /* 外边距 */
}

.text-box1 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: 40%; 
  top: 135px;
  width: 500px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box1 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  
}

.text-box1 p {
  color: #8b4513;
  margin-bottom: 10px;
  
}

.step-item4 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -1250px 100px 100px 1300px; /* 外边距 */
}

.text-box3 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: -180%; 
  top: -30px;
  width: 500px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box3 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  text-align: right;
  
}

.text-box3 p {
  color: #8b4513;
  margin-bottom: 10px;
  
  
}

.text-box5 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: -160%; 
  top: 60px;
  width: 500px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box5 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  text-align: right;
   
}

.text-box5 p {
  color: #8b4513;
  margin-bottom: 10px;
   
  
}

.step-item5{
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -750px 100px 100px 750px; /
}

.step-item6{
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -300px 100px 100px 1200px; /
}

.text-box6 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: -180%; 
  top: 60px;
  width: 500px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box6 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  text-align: right;
}

.text-box6 p {
  color: #8b4513;
  margin-bottom: 10px;
  
}

/* 浮窗样式 */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #f44336;
}

.gy-bj1{
  margin: -3000px 0px 0px 100px;
}

.gy-bj2{
  margin: 0px 0px -500px 1200px;
}
.nav-toggle {
    display: none; /* 直接隐藏按钮 */
  }

  /* 版尾容器样式 */
.banwei {
    min-height: 400px;
    background-color: #ffffff;
    background-image: url(../images/banwei.png);
    background-size: 100%;
    background-repeat: no-repeat;
    align-items: flex-end;
    text-align: center;
    padding-top: 20px;
}

/* 版尾内部容器，用于包裹文字等内容 */
.banwei-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    position: relative;
    color: #E6D7B6;
    padding: 200px 0 20px 0;
    min-width: 700px;
    margin: 30px 0px 0px 0px;
}

.banwei li {
    margin-bottom: 15px;
}

/* 响应式适配：768px 以下 */
@media (max-width: 768px) {
  /* 1. 导航容器调整 */
  .nav-header {
    justify-content: space-between; /* logo 左，按钮右 */
    align-items: center;
    padding: 10px 20px;
    height: 60px;
    position: relative; /* 新增：为绝对定位的菜单做参考 */
  }

  /* 2. 隐藏默认水平导航 */
  .nav-menu {
    display: none; 
    flex-direction: column; /* 垂直排列 */
    position: absolute; 
    top: 100%; /* 导航栏下方展开 */
    left: 0;
    width: 100%; 
    background: rgba(0, 0, 0, 0.9); /* 半透明背景 */
    padding: 5px 0;
    z-index: 999; /* 确保在内容上层 */
  }

  /* 3. 展开状态：显示垂直导航 */
  .nav-menu.active {
    display: flex;
  }

  /* 4. 菜单项调整 */
  .nav-menu a {
    margin: 5px 0; /* 垂直间距 */
    font-size: 10px;
    text-align: center; /* 文字居中 */
  }

  /* 5. 汉堡按钮样式（三条横线） */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 1000; /* 确保按钮在菜单上层 */
    margin-top: -25px; /* 微调位置 */
  }

  .nav-toggle span {
    display: block;
     width: 100%; /* 横线宽度铺满按钮 */
    height: 2px;
    background-color: #E6D7B6; /* 线条颜色 */
    transition: all 0.3s ease;
    border-radius: 2px; /* 可选：让线条更圆润 */
  }

  /* 6. 按钮点击动画（三条横线变叉） */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* 7. LOGO 缩小 */
  .logo-img {
    height: 25px;
    margin-right: 0;
    margin-top: -23px;
  }

  .dh-bg {
    position: relative;
    /* 关键：从 absolute 改为 relative，回归文档流 */
    width: 100%;
    /* 导航栏背景图高度按需调整，比如 200px（包含 logo + 菜单高度） */
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.sjcc-biaoti {
    width: 100%;
    max-width: 180px;
    min-width: 50px;
    height: 100%;
    text-align: center;
    margin: auto;
}



/* 页面容器，实现左右图片 + 中间步骤的布局 */
.page-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 30px 20px;

}

.left-img-box{
  width: 100%;
  height: auto;
  display: flex;
   justify-content: flex-start;
   margin: 0px 0px 0px -20px; /* 外边距 */
}

.right-img-box{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-end; 
  margin: -100px -12px 0px 0px; /* 外边距 */
}

.step-img{
  width: 35%;
  height: auto;

}

.step-img1{
  width: 35%;
  height: auto;
}

.step-img2{
  width: 30px;
  height: auto;
}

.step-img3{
  width: 30px;
  height: auto;
}

/* 步骤容器，用相对定位 + flex 布局，让步骤 item 按需求排列（这里先简单用 flex ，也可根据实际改 grid 等） */
.steps-container {
  position: relative; 
  max-width: 1200px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; 
}

/* 单个步骤 item 样式 */
.step-item1 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -390px 0px 100px 290px; /* 外边距 */
}


/* 文字盒子样式，默认先隐藏，后续用 JS 控制显示；或直接定位显示，这里演示定位 + 动画效果 */
.text-box {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: 5%; 
  top: -20px;
  width:220px;
  padding: 15px;
 }

/* 标题样式，突出步骤序号 */
.text-box h3 {
  color: #8b4513;
  margin-bottom: 5px;
  font-size: 8px;

}

.text-box p {
  color: #8b4513;
  margin-bottom: 10px;
  font-size: 6px;
}
.step-item2 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -330px 0px 0px 400px; /* 外边距 */
}

.step-item3 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -250px 0px 0px 300px; /* 外边距 */
}

.text-box1 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: 5%; 
  top: 18px;
  width: 150px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box1 h3 {
  color: #8b4513;
  margin-bottom: 10px;
   font-size: 8px;
}

.text-box1 p {
  color: #8b4513;
  margin-bottom: 10px;
   font-size: 6px;
}

.step-item4 {
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -350px 0px 0px 670px; /* 外边距 */
}

.text-box3 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: -26%; 
  top: -20px;
  width: 150px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box3 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  text-align: right;
   font-size: 8px;
}

.text-box3 p {
  color: #8b4513;
  margin-bottom: 10px;
   font-size: 6px;
  
}

.text-box5 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: -40%; 
  top: 15px;
  width: 220px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box5 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  text-align: right;
   font-size: 8px;
}

.text-box5 p {
  color: #8b4513;
  margin-bottom: 10px;
   font-size: 6px;
  
}
.step-item5{
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -250px 0px 0px 620px; /
}

.step-item6{
  position: relative; /* 给文字绝对定位做参考 */
  width: 45%; /* 让两个步骤并排，可根据屏幕调整 */
  min-width: 300px;
  margin: -220px 500px 0px 1000px; /
}

.text-box6 {
  position: absolute;
  /* 初始先放到图片右侧，可根据实际微调位置 */
  left: -70%; 
  top: 15px;
  width: 220px;
  padding: 15px;
 }

 /* 标题样式，突出步骤序号 */
.text-box6 h3 {
  color: #8b4513;
  margin-bottom: 10px;
  text-align: right;
  font-size: 8px;
}

.text-box6 p {
  color: #8b4513;
  margin-bottom: 10px;
  font-size: 6px;
}

/* 浮窗样式 */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #f44336;
}

.gy-bj1{
  width: 15%;
  margin: -2000px 0px 150px 20px;
}

.gy-bj2{
   width: 15%;
  margin: 0px 0px -100px 300px;
}

/* 容器样式 */
.container {
   display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
       width: 100%;
    /* 高度改为自适应，让内容撑开 */
       height: auto;
       max-height: 200px;
    background-color: #011633e8;
    /* 增加内边距，避免内容贴边 */
 padding: 0px 50px;
}

/* 主体内容区域：左侧导航 + 中间轮播 + 右侧说明 */
.main-content {
  width: 90%; /* 宽度 */
  max-width: 1200px; /* 最大宽度 */
  margin: 50px auto; /* 居中 */
  display: flex; /* 弹性布局 */
  gap: 20px; /* 元素间距 */

}

/* 左侧导航 */
.left-nav {
  width: 20%; /* 宽度 */
  display: flex; /* 弹性布局 */
  flex-direction: column; /* 垂直排列 */
  gap: 15px; /* 按钮间距 */
  padding: 5px 1px; /* 内边距 */
}

/* 导航按钮 */
.tab-btn {
  background-color:  rgba(0, 0, 0, 0.1);/* 按钮背景色 */
  color: #fff; /* 文字颜色 */
  border: 1px solid #fff; /* 白色边框 */
  padding: 1px 2px; /* 内边距 */
  border-radius: 6px; /* 圆角 */
  cursor: pointer; /* 鼠标悬浮显示手型 */
  transition: background-color 0.3s ease; /* 过渡效果 */
  text-align: center; /* 文字居中 */
  font-size: 6px; /* 字体大小 */
}

/* 导航按钮 hover 效果 */
.tab-btn:hover {
  background-color: rgba(70, 130, 180, 0.3); /* 悬停时背景色变化 */
  border-color: #fff; /* 悬停时边框颜色变化 */
}

/* 激活状态的导航按钮 */
.tab-btn.active {
  background-color: #2d4373; /* 深色背景 */
  font-weight: bold; /* 加粗文字 */
}

/* 中间轮播图区域 */
.middle-carousel {
  width: 45%; /* 宽度 */
  height: auto; /* 高度 */
  overflow: hidden; /* 隐藏溢出内容 */
  border-radius: 5px; /* 圆角 */
  background-color: #fff; /* 白色背景 */
  display: flex;          /* 弹性布局 */
  justify-content: center;  /* 水平居中 */
  align-items: center;  /* 垂直居中 */
  position: relative; /* 相对定位 */
}

/* 轮播图项 */
.carousel-item {
  display: none; /* 默认隐藏 */
  height: 100%;
  position: relative; /* 相对定位 */
  width: 100%;
  opacity: 0; /* 初始透明度 */
  transition: opacity 0.5s ease; /* 过渡效果 */
}

/* 激活状态的轮播图项 */
.carousel-item.active {
  display: block; /* 显示 */
  opacity: 1; /* 完全不透明 */
}

/* 轮播图图片 */
.carousel-img {
  width: 100%; 
  height: auto; 
  /* 新增：绝对定位，让图片叠加 */
  position: absolute; 
  top: 0;
  left: 0;
  /* 初始隐藏所有图片 */
  opacity: 0; 
  transition: opacity 0.5s ease; 
  object-fit: cover;
}


/* 激活的图片（通过 :target 或 .active 控制） */
.carousel-img.active {
  opacity: 1; 
  z-index: 1; 
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 6px;
  z-index: 10; /* 确保按钮在图片上方 */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10; /* 确保指示器在图片上方 */
}

.indicator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.indicator.active {
  background-color: white;
}

/* 右侧说明区域 */
.right-desc {
  width: 35%; /* 宽度 */
  display: flex; /* 弹性布局 */
  flex-direction: column; /* 垂直排列 */
  gap: 20px; /* 内容间距 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
}

/* 说明项 */
.desc-item {
  display: none; /* 默认隐藏 */
  background-color: rgba(0, 0, 0, 0.2); /* 半透明背景 */
  padding: 5px; /* 内边距 */
  border-radius: 5px; /* 圆角 */
  height: 70px; /* 高度自适应 */
  transition: background-color 0.3s ease; /* 过渡效果 */  
}

/* 激活状态的说明项 */
.desc-item.active {
  display: block; /* 显示 */
}

/* 说明标题 */
.desc-title {
  font-size: 8px; /* 字体大小 */
  font-weight: bold; /* 加粗 */
  margin-bottom: 5px; /* 底部外边距 */
  color: #fff; /* 文字颜色 */
  
}



/* 说明文本 */
.desc-text {
  font-size: 4px; /* 字体大小 */
  line-height: 1.8; /* 行高 */
  color: #fff; /* 文字颜色 */
}

/* 了解更多按钮基础样式 */
.know-more-img {
  /* 缩小图片：按需调整宽度（如 80px），高度自动适配 */
  width: 30px;  
  height: auto; 
  /* 右对齐：让图片靠右侧 */
  display: block; 
  margin-left: auto; 
  /* 鼠标悬浮显示手型，提示可点击 */
  cursor: pointer; 
  padding-top: 2px; /* 顶部内边距 */
  padding-bottom: 2px; /* 底部内边距 */
}

/* 版尾容器样式 */
.banwei {
    min-height: 200px;
    background-color: #ffffff;
    background-image: url(../images/banwei.png);
    background-size: 100%;
    background-repeat: no-repeat;
    align-items: flex-end;
    text-align: center;
    padding-top: 20px;
}

/* 版尾内部容器，用于包裹文字等内容 */
.banwei-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 6px;
    position: relative;
    color: #fff;
    padding: 0px 0px 0px 0px;
    min-width: 300px;
    margin: 35px 0px 0px 0px;
}
}