header{
    background-color: transparent;
    box-shadow: 0 1px 2px #fff;
    width:100%;
    position: absolute;
    top:0;
}
.nav-links a{
    color:#fff;
}
.nav-links > li > a:hover {
    border-bottom-color: #fff;
    color:#fff;
}
.current-lang{
    color:#fff;
}



.video-bg{
    width:100%;
    background-color: rgb(26,36,47);
}
.video-bg video{
    width:100%;
    height:auto;
}



    /* 热门项目区域 - 新增核心样式 */
    .hot-projects {
      background-color: rgb(26,36,47); /* 黑色背景 */
     
      width:100%;
      color: #fff; /* 文字白色 */

      padding:2rem 0;
    }
    /* 热门项目标题 */
    .project-title {
      font-size: 2.5rem;
      font-weight: bold;
      text-align: center; /* 标题居中 */
      margin-bottom: 3rem;
      position: relative;
      
    }
    .project-title::after {
      content: '';
      display: block;
      width: 6rem;
      height: 0.2rem;
      background-color: #ff0000; /* 红色下划线 */
      margin: 0.8rem auto 0;
    }

    /* 堆叠轮播图容器 */
    .carousel {
      position: relative;
      height: 550px; /* 轮播图高度，可调整 */
      overflow: hidden;
      margin: 0 auto;
      width: 80%; /* 轮播图最大宽度 */
    }
    /* 轮播项 - 堆叠核心 */
    .carousel-item {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80%; /* 主图宽度 */
      height: 100%;
      border-radius: 0.8rem;
      overflow: hidden;
      opacity: 0; /* 默认隐藏 */
      transition: all 0.8s ease; /* 过渡动画 */
      z-index: 1; /* 默认层级 */
      /* 堆叠偏移效果 */
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    /* 活跃的轮播项 - 显示在最上层 */
    .carousel-item.active {
      opacity: 1;
      z-index: 10; /* 最高层级 */
      transform: translateX(-50%) scale(1); /* 正常大小 */
    }
    /* 上一个轮播项 - 左侧堆叠 */
    .carousel-item.prev {
      opacity: 0.6;
      z-index: 5;
      transform: translateX(-70%) scale(0.9); /* 左移+缩小 */
    }
    /* 下一个轮播项 - 右侧堆叠 */
    .carousel-item.next {
      opacity: 0.6;
      z-index: 5;
      transform: translateX(-30%) scale(0.9); /* 右移+缩小 */
    }
    /* 轮播图片 */
    .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* 保持比例填充 */
    }
    /* 轮播项文字（可选） */
    .carousel-item .item-text {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 1rem;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); /* 渐变背景 */
      color: #fff;
      font-size: 1.2rem;
    }
    .carousel-item .item-text p{
        font-size: 0.8rem;
    }
    /* 轮播控制按钮（上一张/下一张） */
    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.2);
      color: #fff;
      border: none;
      cursor: pointer;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 20; /* 高于轮播项 */
    }
    .carousel-control:hover {
      background-color: rgba(255, 0, 0, 0.7); /* 红色背景 */
    }
    .carousel-control.prev {
      left: 1rem;
    }
    .carousel-control.next {
      right: 1rem;
    }

    /* 轮播指示器 */
    .carousel-indicators {
      position: absolute;
      bottom: 1rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.8rem;
      z-index: 20;
    }
    .indicator {
      width: 1rem;
      height: 1rem;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .indicator.active {
      background-color: #ff0000; /* 红色激活态 */
      transform: scale(1.2); /* 放大 */
    }


      /* 移动端热门项目适配 */
      .hot-projects {
        
        
      }
      .project-title {
        font-size: 1.5rem;
      }
      .carousel {
        height: 450px; /* 移动端轮播图高度降低 */
      }
      .carousel-item {
        width: 90%; /* 移动端轮播项宽度增加 */
      }
      .carousel-control {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
      }
      .indicator {
        width: 0.8rem;
        height: 0.8rem;
      }
    }