/* 通用样式重置（可使用 normalize.css 等更完善方案） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
}
/* 替换原.container样式 */
.container {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 15px;
}


/* 头部导航样式*/
.header {
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
/* 头部导航适配 */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 50px;
}

.nav a:hover,
.nav a.active {
  color: #008000; /* 选中、 hover 时颜色，可改 */
}
.nav ul {
  display: flex;
  list-style: none;
}

.nav li {
  margin-left: 20px;
}

/* 汉堡按钮样式（默认隐藏，移动端显示） */
.mobile-menu-btn {
  display: none; /* 桌面端隐藏 */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
  color: #333; /* 按钮图标颜色 */
}

/* 移动端菜单样式（默认隐藏） */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100vh;
  background: white;
  z-index: 99;
  transform: translateX(100%); /* 初始隐藏（移出屏幕右侧） */
  transition: transform 0.3s ease;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  padding-top: 20px;
}

.mobile-nav.active {
  transform: translateX(0); /* 显示菜单 */
}

.mobile-nav-header {
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-header button {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.mobile-nav ul {
  list-style: none;
  padding: 20px;
}

.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: block;
  padding: 8px 0;
}

.mobile-nav a.active {
  color: #008000; /* 与桌面端选中色一致 */
}

/* 响应式适配（屏幕小于768px时） */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block; /* 移动端显示汉堡按钮 */
  }
  
  .nav {
    display: none; /* 移动端隐藏桌面导航 */
  }
  
  /* 调整移动端容器宽度（避免超出屏幕） */


.nav a {
  text-decoration: none;
  color: #333;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #008000; /* 选中、 hover 时颜色，可改 */
}

/* banner 样式 */
.banner-img,
.about-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 首页主要内容区样式 */
.main-content {
  padding: 30px 0;
  text-align: center;
}

.welcome-title {
  color: #008000;
  font-size: 16px;
  margin-bottom: 10px;
}

.main-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.desc {
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 30px;
  background-color: #008000;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-green {
  background-color: #66bb6a;
}

.btn:hover {
  background-color: #006400;
}

/* 企业介绍页 - 企业简介 */
.company-profile,
.corporate-culture,
.research-strength,
.corporate-honors {
  padding: 50px 0;
}

.title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
}

.en-title {
  text-align: center;
  color: #999;
  margin-bottom: 30px;
}

  /* 合作案例标题样式 */
    .case-title {
      text-align: center;
      margin: 30px 0;
      font-size: 24px;
    }

    /* 图片列表布局 */
    .case-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .case-item {
      width: 200px;
      text-align: center;
    }
 .pagination {
      justify-content: center;
      margin: 30px 0;
    }

    .case-item img {
      width: 100%;
      height: auto;
      cursor: pointer;
    }

    /* 分页样式，可根据喜好调整 */
    .pagination {
      justify-content: center;
      margin: 30px 0;
    }
.company-profile p {
  text-align: justify;
  margin-bottom: 15px;
}
   
    <!-- 自定义工具类 -->

        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .bg-blur {
                backdrop-filter: blur(8px);
            }
        }

    

        /* 基础动画定义 */
        .fade-in {
            animation: fadeIn 0.8s ease-in-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* 平滑滚动 */
        html {
            scroll-behavior: smooth;
        }
        
        /* 导航栏滚动效果 */
        .navbar-scrolled {
            background-color: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }


/* 底部样式 */
.footer {
  background-color: #f5f5f5;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}