:root {
  --primary-color: #0a3157; /* 主蓝色 */
  --secondary-color: #1e6fb4; /* 次要蓝色 */
  --accent-color: #ff7d00; /* 强调色-橙色 */
  --light-gray: #f5f7fa; /* 浅灰色背景 */
  --mid-gray: #e5e9f2; /* 中灰色边框 */
  --dark-gray: #667580; /* 深灰色文本 */
  --text-color: #333333; /* 主要文本色 */
  --white: #ffffff; /* 白色 */
  --section-padding: 80px 0; /* 区块内边距 */
  --container-width: 1200px; /* 容器最大宽度 */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 标准阴影 */
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); /* 标准过渡 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", "Arial", "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

body {
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  margin-right: 12px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
}

.header.scrolled .logo-text {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 35px;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition);
  padding: 8px 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.header.scrolled .nav-link {
  color: var(--text-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(0);
}

/* 英雄区域样式 */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.7);
}

.carousel-slide.active {
  opacity: 1;
}

/* 轮播控制按钮 */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.prev-control {
  left: 20px;
}

.next-control {
  right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}
/******************************************/
/*修改*/
/*滚动页面字体位置*/
.hero-content {
  text-align: left; /*center*/
  color: var(--white);
  max-width: 900px;
  padding: 0 20px;
  /******************************/
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 20;
  /******************************/
}
/*滚动页面字体位置*/
.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}
/*滚动页面字体位置*/
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.btn:hover {
  background-color: #e06c00;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  margin-left: 20px;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* 区块通用样式 */
.section {
  padding: var(--section-padding);
  background-color: var(--white);
  position: relative;
}

.section-gray {
  background-color: var(--light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 300;
  margin-bottom: 15px;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0 auto 20px;
}

.section-desc {
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* 关于我们样式 */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 400;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-video {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-vision {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.vision-slider {
  position: relative;
  height: 120px;
  overflow: hidden;
  margin-bottom: 20px;
}

.vision-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vision-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.vision-slide h4 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

.vision-slide p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.5;
  max-width: 280px;
}

.vision-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.vision-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--mid-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vision-btn.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

.vision-btn:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}
/*关于我们视频*/
/*
.about-image about-video {
  width: 100%;
  height: auto;
  display: block;
}
*/
/* 业务领域样式 */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.business-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.business-img {
  height: 220px;
  overflow: hidden;
}

.business-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.business-card:hover .business-img img {
  transform: scale(1.05);
}

.business-info {
  padding: 30px;
}

.business-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.business-desc {
  color: var(--dark-gray);
  margin-bottom: 25px;
}

/* 项目展示样式 */
.project-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-item {
  padding: 8px 20px;
  margin: 0 10px 10px;
  cursor: pointer;
  border-radius: 20px;
  transition: var(--transition);
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.filter-item.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px 20px;
  color: var(--white);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  padding-bottom: 30px;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 400;
}

.project-category {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 公司发展样式 */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: var(--mid-gray);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 40px 0;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--white);
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  top: 45px;
  z-index: 1;
}

.timeline-left {
  padding-right: 60px;
  text-align: right;
  left: 0;
}

.timeline-right {
  padding-left: 60px;
  text-align: left;
  left: 50%;
}

.timeline-left::after {
  right: -9px;
}

.timeline-right::after {
  left: -9px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.timeline-year {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 400;
}

.timeline-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 500;
}

.timeline-desc {
  color: var(--dark-gray);
}

/* 联系我们样式 */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  margin-right: 15px;
  vertical-align: middle;
}

.contact-text {
  display: inline-block;
  vertical-align: middle;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-value {
  opacity: 0.9;
  margin-bottom: 5px;
}

.contact-map {
  height: 480px;
  background-color: var(--mid-gray);
  border-radius: 8px;
  overflow: hidden;
}

/* 页脚样式 */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 400;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* 动画和交互效果 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .timeline::after {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }

  .timeline-left,
  .timeline-right {
    left: 0;
    text-align: left;
    padding-right: 25px;
    padding-left: 80px;
  }

  .timeline-left::after,
  .timeline-right::after {
    left: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-map {
    order: 1;
    height: 360px;
  }

  .about-image {
    flex-direction: column;
  }

  .about-video {
    height: 250px;
  }

  .vision-slider {
    height: 100px;
  }

  .vision-slide h4 {
    font-size: 1.1rem;
  }

  .vision-slide p {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .business-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .nav-item {
    margin-left: 20px;
  }

  .timeline-content {
    padding: 20px;
  }

  /* 轮播控制按钮响应式 */
  .carousel-control {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .carousel-indicators {
    bottom: 20px;
  }
}

@media screen and (max-width: 576px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
  }

  .logo {
    margin-bottom: 15px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    margin: 5px 10px;
  }

  .hero {
    height: 80vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

  .btn-outline {
    margin-left: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-item::after {
    left: 18px;
  }
}

/* 动画脚本 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}
/* 滚动触发动画 */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-fade-in {
  transform: translateY(20px);
}

.animate-slide-up {
  transform: translateY(40px);
}

.animate-scale {
  transform: scale(0.95);
}

.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 延迟动画类 */
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}
.delay-500 {
  transition-delay: 0.5s;
}

/* 页面过渡效果 */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* 导航栏增强动画 */

/* 图片视差效果 */
.parallax-bg {
  position: relative;
  overflow: hidden;
}

.parallax-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: translateZ(-1px) scale(2);
}

/* 按钮增强效果 */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* 图片悬停效果 */
.hover-scale {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hover-scale:hover {
  transform: scale(1.03);
}

/* 导航项动画 */

/* 图片滚动区域样式 */
.image-scroll-section {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.image-scroll-container {
  position: relative;
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
}

.image-scroll-wrapper {
  display: flex;
  gap: 25px;
  padding: 10px 0;
  transition: transform 0.5s ease;
  will-change: transform;
}

.image-card {
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: white;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.image-card-caption {
  padding: 15px;
  text-align: center;
}

.image-card-title {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* 滚动条美化 */
.image-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.image-scroll-container::-webkit-scrollbar-track {
  background: var(--mid-gray);
  border-radius: 10px;
}

.image-scroll-container::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.image-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .image-card {
    min-width: 250px;
  }

  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
/*****************************************************/
/* 统计翻页样式 */
.stats-section {
  background: linear-gradient(135deg, #1e6fb4 0%, #9cbbcf 100%);
  color: white;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-content {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

.stats-number {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stats-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.stats-desc {
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0.85;
  max-width: 180px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stats-content {
    padding: 18px 12px;
  }

  .stats-number {
    font-size: 1.6rem;
  }

  .stats-label {
    font-size: 0.85rem;
  }

  .stats-desc {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stats-content {
    padding: 15px 10px;
  }

  .stats-number {
    font-size: 1.4rem;
  }

  .stats-label {
    font-size: 0.8rem;
  }

  .stats-desc {
    font-size: 0.65rem;
  }
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.modal-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 10% auto;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: var(--dark-gray);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: var(--transition);
}

.close:hover {
  background-color: var(--accent-color);
  color: var(--white);
}

.modal-text {
  padding: 20px 0;
}

.modal-text h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.modal-text p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* 模态框动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 25px;
  }

  .modal-text h3 {
    font-size: 1.3rem;
  }

  .modal-text p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 20px;
  }

  .modal-text h3 {
    font-size: 1.2rem;
  }

  .modal-text p {
    font-size: 0.9rem;
  }
}
