:root {
  --primary-color: #00b09b;
  --secondary-color: #96c93d;
  --text-color: #333;
  --bg-color: #f4f6f9;
  --transition-timing: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --primary-color-rgb: 0, 176, 155;
  --secondary-color-rgb: 150, 201, 61;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* 增强导航栏体验 */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all var(--transition-timing);
}

.navbar.scrolled {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  transition: transform var(--transition-timing);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
  transition: all var(--transition-timing);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  transition: all var(--transition-timing);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-timing);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 优化Hero区域 */
.hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--hero-bg-image) no-repeat center center;
  background-size: cover;
  color: #fff;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: background-image 0.5s ease-in-out;
  padding-top: 80px;
}

.hero .container {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: slideInDown 1.2s ease-out;
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 10px 0;
  position: relative;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  opacity: 0.8;
}

.hero .lead {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  animation: fadeIn 1.5s ease-out;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 优化卡片动画 */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff;
  overflow: hidden;
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-10px);
}

.card:hover::after {
  opacity: 1;
}

.card img {
  transition: transform var(--transition-timing);
}

.card:hover img {
  transform: scale(1.05);
}

/* 优化按钮样式 */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 12px 28px;
  font-family: 'Press Start 2P', cursive;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-timing);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-timing);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary i {
  font-size: 1rem;
}

/* 优化section过渡 */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

/* 懒加载优化 */
.lazy-image {
  opacity: 0;
  transition: opacity var(--transition-timing);
}

.lazy-image.loaded {
  opacity: 1;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 1rem;
  }

  .hero {
    padding-top: 60px;
  }
  
  .hero .container {
    margin-top: 20px;
  }
  
  .hero h1 {
    margin-bottom: 20px;
  }
  
  .hero .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary {
    width: 100%;
    max-width: 300px;
    font-size: 0.7rem;
  }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 1000;
}

/* 背景切换按钮样式优化 */
.bg-switcher {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.bg-switcher button {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.bg-switcher button:hover,
.bg-switcher button.active {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.1);
}

/* 页脚样式 */
.footer {
  background: linear-gradient(45deg, rgba(0, 176, 155, 0.1), rgba(150, 201, 61, 0.1));
  padding: 80px 0 20px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  clip-path: polygon(0 0, 5% 100%, 10% 0, 15% 100%, 20% 0, 25% 100%, 30% 0, 35% 100%, 40% 0, 45% 100%, 50% 0, 55% 100%, 60% 0, 65% 100%, 70% 0, 75% 100%, 80% 0, 85% 100%, 90% 0, 95% 100%, 100% 0);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  padding: 0 20px;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 15px;
}

.footer-section ul li a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-section ul li a i {
  color: var(--primary-color);
  font-size: 1.1em;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: #666;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9em;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    padding: 0 15px;
  }
}

/* 添加按钮样式 */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.hero-buttons .btn-primary {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn-primary {
    width: 100%;
    max-width: 300px;
    font-size: 0.7rem;
    min-width: auto;
    white-space: normal;
  }
}

.hero-stats {
  margin-top: 2rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.stat-item p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0;
  opacity: 0.9;
}

.hero .lead {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .stat-item {
    margin-bottom: 1rem;
  }

  .feature-card {
    margin-bottom: 1rem;
  }

  .hero .lead {
    font-size: 1.2rem;
  }
}

/* 新闻动态动画样式 */
.news-timeline {
  position: relative;
  padding-left: 30px;
}

.news-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform-origin: top;
  animation: timelineGrow 1s ease-out forwards;
}

@keyframes timelineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFade 0.6s ease-out forwards;
  animation-play-state: paused;
}

.timeline-item.aos-animate {
  animation-play-state: running;
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(0, 176, 155, 0.2);
  animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
  0% {
    box-shadow: 0 0 0 4px rgba(0, 176, 155, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 176, 155, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(0, 176, 155, 0.2);
    transform: scale(1);
  }
}

.timeline-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 176, 155, 0.05), rgba(150, 201, 61, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.timeline-content p,
.timeline-content ul,
.timeline-content .event-details,
.timeline-content .read-more {
  position: relative;
  z-index: 1;
}

.timeline-content ul li {
  color: var(--text-color);
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-10px);
  animation: listItemFade 0.4s ease-out forwards;
}

.event-details {
  background: rgba(0, 176, 155, 0.03);
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  transform: scale(0.95);
  opacity: 0;
  animation: detailsFade 0.4s ease-out forwards;
  animation-delay: 0.6s;
  border: 1px solid rgba(0, 176, 155, 0.1);
}

.timeline-date {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUpFade 0.4s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes slideUpFade {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.timeline-content h4 i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-content:hover h4 i {
  transform: rotate(360deg) scale(1.2);
}

.timeline-content ul {
  list-style: none;
  padding-left: 0;
}

.timeline-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.timeline-content:hover ul li::before {
  transform: translateX(5px);
}

.event-details {
  background: rgba(0, 176, 155, 0.05);
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  transform: scale(0.95);
  opacity: 0;
  animation: detailsFade 0.4s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes detailsFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  padding-bottom: 2px;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(0);
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  animation: bounceArrow 0.6s infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* 近期活动卡片动画 */
.event-card {
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: all 0.4s ease;
}

.event-card:hover .event-date {
  transform: scale(1.1) translateZ(20px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-info h5 {
  transition: transform 0.4s ease;
}

.event-card:hover .event-info h5 {
  transform: translateZ(15px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(45deg);
  animation: glow 2s infinite;
}

@keyframes glow {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

.event-info {
  flex: 1;
}

.event-info h5 {
  margin: 0 0 5px;
  color: var(--primary-color);
}

.event-info p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .news-timeline {
    padding-left: 20px;
  }

  .timeline-item::before {
    left: -24px;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
  }

  .event-date {
    margin: 0 auto 10px;
  }
}

/* 新闻动态额外样式 */
.timeline-content ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.timeline-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #666;
}

.timeline-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.event-details {
  background: rgba(0, 176, 155, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.event-details p {
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-details i {
  color: var(--primary-color);
}

.event-meta {
  margin: 10px 0;
  font-size: 0.9rem;
}

.event-meta p {
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-meta i {
  color: var(--primary-color);
  width: 16px;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* 添加新的特效按钮样式 */
.btn-glow {
  position: relative;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  letter-spacing: 1px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

/* 添加悬浮卡片效果 */
.hover-card {
  position: relative;
  padding: 20px;
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.hover-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  color: white;
}

.hover-card:hover::before {
  opacity: 1;
}

/* 添加新的图标动画 */
.icon-pulse {
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 添加滚动提示动画 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* 添加新的内容区块样式 */
.content-block {
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 20px 0;
  transition: all 0.3s ease;
}

.content-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 添加新的动态数字计数器样式 */
.counter {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.counter-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* 添加新的加载动画 */
.loading-animation {
  width: 50px;
  height: 50px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 修改联系表单部分 */
.contact-form {
  background: rgba(255, 255, 255, 0.98);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.contact-form .form-control {
  border: 2px solid rgba(0,0,0,0.1);
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 176, 155, 0.1);
}

.contact-form label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-form .btn-submit {
  background: var(--primary-gradient);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 15px;
}

.contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 176, 155, 0.2);
}

.form-feedback {
  display: none;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: rgba(0, 176, 155, 0.1);
  color: var(--primary-color);
}

.form-feedback.error {
  display: block;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* 新增最新动态交互效果样式 */
.timeline-item {
  cursor: pointer;
  transform-origin: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
  transform: scale(1.02) translateX(10px);
}

.timeline-content {
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.timeline-content:hover::before {
  opacity: 0.1;
}

.timeline-content:hover h4 {
  color: var(--primary-color);
  transform: translateX(5px);
}

.timeline-content h4 {
  transition: all 0.3s ease;
}

.timeline-content i {
  transition: transform 0.3s ease;
}

.timeline-content:hover i {
  transform: rotate(360deg);
}

.event-card {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.event-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
  transition: all 0.5s ease;
  border-radius: 50%;
  pointer-events: none;
}

.event-card:hover::after {
  width: 200px;
  height: 200px;
  top: calc(50% - 100px);
  left: calc(50% - 100px);
  opacity: 0;
}

.event-date {
  transition: all 0.3s ease;
}

.event-card:hover .event-date {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.read-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(0);
}

.read-more:hover i {
  animation: bounceRight 0.8s infinite;
}

@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.event-meta p i {
  transition: transform 0.3s ease;
}

.event-card:hover .event-meta p i {
  transform: scale(1.2);
}

.btn-glow {
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(45deg);
  animation: glow 3s infinite;
}

@keyframes glow {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* 近期活动卡片样式 */
.upcoming-events {
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.event-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 176, 155, 0.05), rgba(150, 201, 61, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.event-card:hover::before {
  opacity: 1;
}

.event-date {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
  position: relative;
  z-index: 1;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.event-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.event-info h5 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-info h5 i {
  font-size: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-card:hover .event-info h5 i {
  transform: rotate(360deg) scale(1.2);
}

.event-info p {
  color: var(--text-color);
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.event-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.event-meta p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.event-meta p i {
  color: var(--primary-color);
  font-size: 1rem;
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 176, 155, 0.2);
  color: white;
}

/* 关于我们部分动画 */
.about-timeline {
  position: relative;
  padding-left: 30px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform-origin: top;
  animation: timelineGrow 1s ease-out forwards;
}

.about-timeline .timeline-item {
  position: relative;
  padding-bottom: 30px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFade 0.6s ease-out forwards;
  animation-play-state: paused;
}

.about-timeline .timeline-item.aos-animate {
  animation-play-state: running;
}

.about-timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(0, 176, 155, 0.2);
  animation: pulsePoint 2s infinite;
}

.about-timeline .timeline-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.about-timeline .timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 176, 155, 0.05), rgba(150, 201, 61, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-timeline .timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about-timeline .timeline-content:hover::before {
  opacity: 1;
}

/* 愿景部分样式 */
.vision-content {
  padding: 20px 0;
}

.vision-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.vision-title {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.vision-title i {
  font-size: 1.8rem;
  margin-right: 10px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.vision-text:hover .vision-title i {
  transform: scale(1.2);
}

.vision-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
  padding-left: 35px;
}

@media (max-width: 991px) {
  .vision-content {
    margin-top: 30px;
  }
  
  .vision-text {
    padding: 15px 0;
  }
  
  .vision-title {
    font-size: 1.3rem;
  }
  
  .vision-desc {
    font-size: 1rem;
  }
}

/* 已结束活动卡片样式 */
.event-card.ended {
  background: rgba(245, 245, 245, 0.9);
  opacity: 0.85;
}

.event-card.ended .event-date {
  background: linear-gradient(135deg, #9e9e9e, #616161);
}

.event-card.ended .event-info h5 {
  color: #616161;
}

.event-card.ended .btn-secondary {
  background: #9e9e9e;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.event-card.ended .btn-secondary:hover {
  background: #757575;
  transform: translateY(-2px);
}

.event-card.ended .event-meta {
  color: #757575;
}

/* 优势卡片新样式 */
.advantages-block {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantages-block h3 {
  color: var(--text-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.advantages-block h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1));
  opacity: 0;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  transform: rotate(360deg);
}

.advantage-card:hover .advantage-icon::after {
  opacity: 1;
}

.advantage-icon i {
  font-size: 28px;
  color: white;
  position: relative;
  z-index: 1;
}

.advantage-content {
  flex: 1;
}

.advantage-content h4 {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.advantage-content h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-content h4::after {
  width: 60px;
}

.advantage-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.advantage-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.advantage-stats span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #888;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-stats span:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.advantage-stats i {
  color: var(--primary-color);
  font-size: 1rem;
}

.one{
    display: flex;
    justify-content: space-between;
}

.two {
    width: 30%;
}

.three {
  width: 30%;
}

.footer-bottom img{
  height: 14px;
  width: 14px;
}

.footer-bottom a{
  color:black;
}

.footer-bottom a:hover{
  text-decoration: underline;
}


.record-info{
  display: flex;
  justify-content:center;
  align-items: center;
}

@media (max-width: 768px) {
  .advantages-block {
    padding: 1.5rem;
  }

  .advantage-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
  }

  .advantage-icon {
    margin: 0 0 1rem 0;
  }

  .advantage-content h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .advantage-stats {
    justify-content: center;
  }

  .counter {
    font-size: 2rem;
  }
}

.scroll-section {
  scroll-margin-top: 70px; /* 调整为你导航栏的高度 */
}

