/* 全局基础 */
body {
  margin: 0;
  font-family: 'Noto Sans SC', 'Montserrat', sans-serif;
  background: #fff;
  color: #222;
  scroll-behavior: smooth;
  border: 3px solid #228B22;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: #e6ffd6;
  box-shadow: 0 2px 8px rgba(67,193,110,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999 !important;
  transition: background 0.3s;
  padding: 0 32px;
}
.navbar.scrolled {
  background: #e6ffd6;
  backdrop-filter: blur(6px);
}
.navbar-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  background: transparent;
}
.logo-cn {
  font-family: 'Noto Sans SC', sans-serif;
  color: #228B22;
  margin-right: 8px;
  letter-spacing: 2px;
}
.logo-en {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.navbar-links {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 0 0 0 -96px;
  padding: 0;
}
.nav-link {
  text-decoration: none;
  color: #005E33;
  text-shadow: none;
  font-weight: 500;
  font-size: 1.2rem;
  position: relative;
  transition: color 0.2s;
}
.nav-link.active, .nav-link:hover {
  color: #005E33;
  text-shadow: none;
  font-weight: 700;
}
.nav-link.active::after, .nav-link:hover::after {
  content: '';
  display: block;
  height: 3px;
  background: #228B22;
  border-radius: 2px;
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  animation: underlineIn 0.3s;
}
@keyframes underlineIn {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 1; }
}
.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1rem;
  margin: 0 0 0 32px;
  width: 48px; height: 32px;
  border-radius: 16px;
  border: none;
  background: #228B22;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(34,139,34,0.08);
  position: relative;
  padding: 0 8px;
}
.lang-switch .lang-cn,
.lang-switch .lang-en {
  transition: color 0.2s, font-weight 0.2s, background 0.2s;
  padding: 0 2px;
  border-radius: 6px;
}
.lang-switch .lang-divider {
  color: #fff;
  opacity: 0.5;
  font-weight: normal;
  padding: 0 2px;
}
.lang-switch.zh .lang-cn,
.lang-switch.en .lang-en {
  color: #228B22;
  background: #fff;
  font-weight: bold;
}
.lang-switch.zh .lang-en,
.lang-switch.en .lang-cn {
  color: #fff;
  background: transparent;
  font-weight: normal;
}
.lang-switch:active {
  transform: scale(0.95);
}
.navbar-hamburger {
  margin-left: 16px;
  display: none;
  font-size: 1.8rem;
  color: #228B22;
  cursor: pointer;
}

/* 首页区块 */
.section-home {
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 40px 16px;
  text-align: center;
}
.home-carousel {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.swiper-slide img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.85);
}
.slide-label {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  background: rgba(34,34,34,0.7);
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.home-slogan-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  padding: 0;
}
.home-slogan {
  display: inline-block;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 2rem;
  padding: 10px 36px;
  border-radius: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 4px 24px rgba(34,139,34,0.08);
  animation: fadeInDown 1s;
  margin: 0 auto;
}

/* 合作墙 */
.cooperation-wall-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  margin: 20px 0 0 0;
  position: relative;
  top: -18px;
}
.cooperation-wall-title {
  font-size: 1.18rem;
  color: #228B22;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  margin-left: 0;
  text-align: left;
  max-width: 1200px;
  padding-left: 8vw;
  padding-right: 8vw;
  margin-top: 48px;
  margin-bottom: 18px;
  transform: translateX(5cm);
}
.cooperation-wall {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  margin: 0;
  z-index: 20;
  position: relative;
}
.cooperation-badge {
  width: 120px; height: 120px;
  perspective: 800px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}
.cooperation-badge img {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}

/* 公司介绍 */
.company-intro, .intro-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 0 16px;
  text-align: center;
}
.intro-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.intro-text p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #222;
  margin: 0 0 12px 0;
}
@media (max-width: 900px) {
  .company-intro, .intro-content {
    max-width: 98vw;
    padding: 18px 4vw 0 4vw;
  }
  .intro-text p {
    font-size: 1rem;
  }
}

/* 项目和专利页面 */
.section-projects-patents {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 40px 16px;
  text-align: center;
}
.section-projects-patents .section-title,
.section-projects-patents .project-title {
  text-align: center;
}
.table-responsive {
  overflow-x: auto;
  margin: 0 auto 32px auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 24px auto;
  background: #fff;
}
.data-table th, .data-table td {
  border: 1px solid #228B22;
  padding: 8px 12px;
  text-align: center;
}
.data-table th {
  background: #e6ffd6;
  color: #005E33;
  font-weight: 700;
}
.data-table tr:nth-child(even) {
  background: #f8fff4;
}
@media (max-width: 900px) {
  .section-projects-patents {
    max-width: 98vw;
    padding: 18px 4vw 24px 4vw;
  }
  .data-table th, .data-table td {
    padding: 6px 4px;
    font-size: 0.98rem;
  }
}

/* 新闻页面 */
.section-news {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 40px 16px;
  text-align: center;
}
.news-container {
  margin: 0 auto;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
}
.news-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(34,139,34,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
  padding: 28px 32px 20px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #e6ffd6;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.news-item:hover {
  box-shadow: 0 8px 32px rgba(34,139,34,0.16), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px) scale(1.01);
}
.news-date {
  color: #228B22;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 10px;
  text-align: left;
}
.news-content {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.8;
  text-align: left;
}
@media (max-width: 900px) {
  .section-news {
    max-width: 98vw;
    padding: 18px 4vw 24px 4vw;
  }
  .news-item {
    padding: 18px 8px 14px 8px;
  }
  .news-date, .news-content {
    font-size: 0.98rem;
  }
}

/* ...剩余内容同 style.css ... */

.navbar-links a {
  /* 其它样式保持 */
}

/* 可选：为新标签页打开添加小图标（如外链标识） */
.navbar-links a[target="_blank"]::after {
  content: '\f35d'; /* fa-external-link-alt */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85em;
  margin-left: 4px;
  vertical-align: middle;
  color: #228B22;
  opacity: 0.7;
}

.site-footer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background: #fff;
  z-index: 10000;
  box-shadow: 0 -2px 8px rgba(34,139,34,0.06);
  margin-top: 40px;
  padding: 0;
  background: none;
}
.footer-line {
  width: 100%;
  height: 4px;
  background: #228B22;
  margin: 0 auto 0 auto;
}
.footer-info {
  text-align: center;
  color: #222;
  font-size: 1rem;
  margin: 12px 0 0 0;
  padding-bottom: 8px;
}
.footer-line-bottom {
  width: 100%;
  height: 4px;
  background: #228B22;
  margin: 12px auto 0 auto;
}

main {
  flex: 1 0 auto;
}

.section-home, .company-intro, .section-products, .section-news, .section-careers, .section-projects-patents, .section-projects-in-progress {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 40px 16px;
  text-align: center;
}
@media (max-width: 900px) {
  .section-home, .company-intro, .section-products, .section-news, .section-careers, .section-projects-patents, .section-projects-in-progress {
    max-width: 98vw;
    padding: 18px 4vw 24px 4vw;
  }
}

.section-home p, .company-intro p, .section-products p, .section-news p, .section-careers p, .section-projects-patents p, .section-projects-in-progress p, .intro-text p, .project-desc, .news-content, .team-list, .team-list li, .company-value {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  word-break: break-word;
}
.section-title, .project-title, .team-title, .news-date {
  text-align: center;
} 