/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Source Han Sans CN", "Inter", sans-serif;
}
body {
  background-color: #F5F5F0;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
/* 导航栏 */
.navbar {
  background-color: #1E5631;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #4A90E2;
}
/* 移动端导航（折叠） */
.menu-toggle {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1E5631;
    padding: 20px;
    gap: 15px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
/* 页脚 */
.footer {
  background-color: #1E5631;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-col {
  flex: 1;
  min-width: 200px;
}
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #4A90E2;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a:hover {
  color: #4A90E2;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}
/* 通用按钮 */
.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #4A90E2;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.btn:hover {
  background-color: #357ABD;
}
.btn-green {
  background-color: #1E5631;
}
.btn-green:hover {
  background-color: #143D22;
}
/* 通用卡片 */
.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 20px;
}
.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1E5631;
}
.card-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}
/* 响应式网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
/* 页面标题 */
.page-title {
  text-align: center;
  margin: 40px 0;
  font-size: 32px;
  color: #1E5631;
  position: relative;
}
.page-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #4A90E2;
  margin: 10px auto 0;
}