/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #4CAF50;
  --primary-light-green: #8BC34A;
  --primary-dark-green: #2E7D32;
  --accent-green: #76FF03;
  --text-white: #ffffff;
  --text-dark: #333333;
  --bg-green-light: #81C784;
  --bg-green-dark: #1B5E20;
  --nav-green: #43A047;
  --feature-green: #A5D6A7;
  --footer-bg: #1B5E20;
  --form-bg: #f5f5f5;
  --form-border: #e0e0e0;
  --btn-hover: #2E7D32;
  --animation-speed: 0.3s;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text-white);
  transition: color var(--animation-speed) ease;
}

ul {
  list-style: none;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  color: var(--bg-green-dark);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.section-title-en {
  font-size: 1rem;
  color: var(--bg-green-dark);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* 浅色背景下的标题文字颜色 */
.products-section .section-title,
.products-section .section-title-en,
.gallery-section .section-title,
.gallery-section .section-title-en,
.blog-section .section-title,
.blog-section .section-title-en {
  color: var(--bg-green-dark);
}

/* 深色背景下的标题文字颜色 */
.attention-section .section-title,
.attention-section .section-title-en,
.footer .section-title,
.footer .section-title-en {
  color: var(--text-white);
}

/* Section Description */
.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* 浅色背景下的描述文字颜色 */
.products-section .section-description,
.gallery-section .section-description,
.download-section .section-description,
.blog-section .section-description {
  color: var(--text-dark);
}

/* 深色背景下的描述文字颜色 */
.attention-section .section-description,
.footer .section-description {
  color: var(--text-white);
}

/* 深色模式下的描述文字颜色 */
.dark-theme .section-description {
  color: #e1e1e1;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.energy-grid {
  width: 100px;
  height: 100px;
  position: relative;
  margin-bottom: 20px;
}

.grid-line {
  position: absolute;
  background-color: var(--primary-green);
}

.grid-line-h {
  height: 3px;
  width: 100%;
  animation: gridPulseH 1.5s infinite;
}

.grid-line-v {
  width: 3px;
  height: 100%;
  animation: gridPulseV 1.5s infinite;
}

.grid-line-h:nth-child(1) { top: 0; animation-delay: 0s; }
.grid-line-h:nth-child(2) { top: 50%; transform: translateY(-50%); animation-delay: 0.2s; }
.grid-line-h:nth-child(3) { bottom: 0; animation-delay: 0.4s; }

.grid-line-v:nth-child(4) { left: 0; animation-delay: 0.1s; }
.grid-line-v:nth-child(5) { left: 50%; transform: translateX(-50%); animation-delay: 0.3s; }
.grid-line-v:nth-child(6) { right: 0; animation-delay: 0.5s; }

.energy-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: energyPulse 2s infinite;
}

.loader-text {
  font-size: 18px;
  color: var(--bg-green-dark);
  margin-top: 15px;
  font-weight: bold;
}

@keyframes gridPulseH {
  0%, 100% { transform: scaleX(1); opacity: 0.7; }
  50% { transform: scaleX(1.2); opacity: 1; }
}

@keyframes gridPulseV {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

@keyframes energyPulse {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(118, 255, 3, 0.7); }
  70% { transform: translate(-50%, -50%) scale(3); box-shadow: 0 0 0 10px rgba(118, 255, 3, 0); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(118, 255, 3, 0); }
}

.dark-theme .page-loader {
  background-color: #121212;
}

.dark-theme .loader-text {
  color: var(--primary-light-green);
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1000;
  background-color: rgba(27, 94, 32, 0.8);
  border-radius: 20px;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--animation-speed) ease;
}

.language-switcher:hover {
  background-color: rgba(27, 94, 32, 1);
}

.lang-btn {
  background: none;
  border: none;
  padding: 5px 10px;
  color: var(--text-white);
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 15px;
  transition: all var(--animation-speed) ease;
}

.lang-btn.active {
  background-color: var(--primary-green);
  color: var(--bg-green-dark);
  font-weight: bold;
}

.lang-btn:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Top Bar */
.top-bar {
  background-color: #111;
  color: white;
  height: 45px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.template-notice {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 14px;
}

.template-number {
  color: #99ff00;
}

/* Dark Mode Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  transition: background-color var(--animation-speed);
  margin-left: 1rem;
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

.dark-theme .sun-icon {
  display: inline-block;
}

.dark-theme .moon-icon {
  display: none;
}

.sun-icon {
  display: none;
}

.moon-icon {
  display: inline-block;
}

/* Dark Theme Styles */
.dark-theme {
  background-color: #121212;
  color: #f1f1f1;
}

.dark-theme .features,
.dark-theme .about-section {
  background-color: #1e1e1e;
}

.dark-theme .gallery-section {
  background-color: #121212;
}

.dark-theme .feature-item,
.dark-theme .product-card,
.dark-theme .gallery-item,
.dark-theme .contact-form-container {
  background-color: #2d2d2d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-theme .feature-title,
.dark-theme .feature-description,
.dark-theme .product-title,
.dark-theme .product-description,
.dark-theme .about-text,
.dark-theme .section-description,
.dark-theme .contact-intro,
.dark-theme .info-item p,
.dark-theme .contact-form label {
  color: #e1e1e1;
}

.dark-theme .spec-item {
  background-color: #3d3d3d;
  color: #e1e1e1;
}

.dark-theme .filter-btn {
  border-color: #3d3d3d;
  color: #e1e1e1;
}

.dark-theme .filter-btn.active,
.dark-theme .filter-btn:hover {
  background-color: #2a5173;
}

.dark-theme .form-group input,
.dark-theme .form-group textarea {
  background-color: #2d2d2d;
  border-color: #444;
  color: #e1e1e1;
}

.dark-theme .form-group input:focus,
.dark-theme .form-group textarea:focus {
  border-color: #5caee5;
}

/* Main Container */
.main-container {
  width: 100%;
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: var(--bg-green-dark);
  animation: fadeInDown 0.8s ease-out;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* 隐藏原始文字logo样式，但保留以备需要 */
.company-name {
  display: none;
  color: var(--text-white);
  font-size: 1.8rem;
  font-weight: bold;
}

.company-name-en {
  display: none;
  color: var(--primary-green);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1.1rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width var(--animation-speed) ease;
}

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

/* Mobile Navigation Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle div {
  width: 30px;
  height: 3px;
  background: var(--text-white);
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle div:nth-child(1) {
  transform-origin: center;
}

.menu-toggle div:nth-child(3) {
  transform-origin: center;
}

/* Media Queries for Responsive Layout */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    flex-direction: column;
    background-color: var(--bg-green-dark);
    padding: 60px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .main-nav {
    padding: 0.8rem 1rem;
    align-items: center;
  }
  
  .logo-image {
    height: 40px; /* 移动端稍微缩小logo高度 */
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .overlay.active {
    display: block;
    opacity: 1;
  }

  .menu-toggle.open div:first-child {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-toggle.open div:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .menu-toggle.open div:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

/* Floating Contact Buttons */
.contact-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transform: translateY(20px);
  opacity: 0;
}

.contact-buttons.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.contact-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
  z-index: 1001;
}

.contact-toggle:hover {
  transform: scale(1.05);
}

.contact-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--text-dark);
  transition: transform 0.3s;
}

.contact-toggle.active svg {
  transform: rotate(45deg);
}

.contact-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s;
}

.contact-button:hover {
  transform: scale(1.1);
}

.contact-button.whatsapp {
  background-color: #25D366;
}

.contact-button.wechat {
  background-color: #07C160;
}

.contact-button svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-tooltip {
  position: absolute;
  right: 60px;
  background-color: var(--bg-green-dark);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.contact-button:hover .contact-tooltip {
  opacity: 1;
}

.qr-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.qr-popup.active {
  display: flex;
}

.qr-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  position: relative;
}

.qr-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.qr-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 15px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image img {
  max-width: 100%;
  max-height: 100%;
}

.qr-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: var(--text-dark);
  background: none;
  border: none;
  font-size: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background: url('/assets/images/20190613161242975.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--accent-green);
  animation: fadeIn 1s ease-out;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(255 255 255 / 50%), rgba(27, 94, 32, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.5rem;
  color: var(--text-white);
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 0;
  animation: bounce 2s infinite, fadeIn 1s ease-out forwards;
  animation-delay: 0s, 1s;
}

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

/* Features Section */
.features {
  padding: 4rem 2rem;
  background-color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform var(--animation-speed), box-shadow var(--animation-speed);
  opacity: 0;
  transform: translateY(30px);
}

.feature-item.animated {
  animation: fadeInUp 0.8s ease-out forwards;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  background-color: var(--feature-green);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
  transition: transform var(--animation-speed);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-title {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Attention Section */
.attention-section {
  background-color: var(--bg-green-dark);
  color: var(--text-white);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.attention-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.1) 0%, rgba(27, 94, 32, 0) 70%);
  top: -50%;
  left: -50%;
  animation: pulse 8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
}

/* Product Showcase Section */
.products-section {
  padding: 5rem 2rem;
  background-color: #e8f5e9; /* 更换为浅绿色背景，增强绿色主题 */
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-card {
  display: flex;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform var(--animation-speed), box-shadow var(--animation-speed);
  opacity: 0;
}

.product-card.animated {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card:nth-child(even) {
  flex-direction: row-reverse;
}

.product-card:nth-child(even).animated {
  animation: fadeInRight 0.8s ease-out forwards;
}

.product-image {
  flex: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-size: 1.8rem;
  color: var(--bg-green-dark);
  margin-bottom: 1rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spec-item {
  background-color: #f0f5fa;
  color: var(--bg-green-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.product-description {
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-detail-btn {
  align-self: flex-start;
  background-color: var(--bg-green-light);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color var(--animation-speed);
}

.product-detail-btn:hover {
  background-color: var(--btn-hover);
}

/* About Section */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  padding: 4rem 2rem;
  background-color: white;
}

.about-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  align-items: center;
}

.about-content {
  flex: 1;
  opacity: 0;
}

.about-content.animated {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.about-content .section-title,
.about-content .section-title-en {
  color: var(--text-dark);
  text-align: left;
}

.about-text {
  color: var(--text-dark);
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
}

.about-image.animated {
  animation: fadeInRight 0.8s ease-out forwards;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Contact Form Section */
.contact-section {
  padding: 5rem 2rem;
  background-color: #f0f5fa;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-dark);
}

.contact-form-container {
  display: flex;
  gap: 3rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 3rem;
}

.contact-form {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--bg-green-dark);
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid var(--form-border);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color var(--animation-speed);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bg-green-light);
  box-shadow: 0 0 0 2px rgba(67, 160, 71, 0.2);
}

.submit-btn {
  grid-column: span 2;
  background-color: var(--bg-green-light);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color var(--animation-speed);
}

.submit-btn:hover {
  background-color: var(--btn-hover);
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.info-item h3 {
  color: var(--bg-green-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-item p {
  color: var(--text-dark);
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--text-white);
  padding: 4rem 2rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-links {
  flex: 2 1 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1 1 180px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 2rem;
  background-color: #e0f2f1; /* 更换为更明显的浅蓝绿色 */
  overflow: hidden;
}

.gallery-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-description {
  text-align: center;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: none;
  border: 2px solid var(--bg-green-light);
  color: var(--bg-green-dark);
  padding: 0.5rem 0.9rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--animation-speed) ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--bg-green-light);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  opacity: 0;
}

.gallery-grid.animated {
  animation: fadeIn 0.8s ease-out forwards;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 250px;
  transition: transform var(--animation-speed);
}

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

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: opacity var(--animation-speed) ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding: 2rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.modal-caption {
  margin: 1rem auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

.modal-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  left: 0;
  transform: translateY(-50%);
}

.modal-prev,
.modal-next {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color var(--animation-speed);
}

.modal-prev:hover,
.modal-next:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.download-section {
  padding: 4rem 4rem;
  background-color: #e0f7fa; /* 浅蓝色背景 */
}

/* Blog Section */
.blog-section {
  padding: 4rem 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--animation-speed) ease, box-shadow var(--animation-speed) ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--animation-speed) ease;
}

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

.blog-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--primary-green);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--bg-green-dark);
}

.blog-excerpt {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  color: var(--primary-green);
  font-weight: bold;
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width var(--animation-speed) ease;
}

.read-more:hover::after {
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  gap: 0.5rem;
}

.pagination-btn,
.pagination-prev,
.pagination-next {
  background: none;
  border: 2px solid var(--bg-green-light);
  color: var(--bg-green-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--animation-speed) ease;
}

.pagination-btn.active,
.pagination-btn:hover,
.pagination-prev:hover,
.pagination-next:hover {
  background-color: var(--bg-green-light);
  color: white;
}

.pagination-btn.active {
  font-weight: bold;
}

.pagination-prev:disabled,
.pagination-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Dark Theme Blog Styles */
.dark-theme .blog-section {
  background-color: #1e1e1e;
}

.dark-theme .blog-card {
  background-color: #2d2d2d;
}

.dark-theme .blog-title,
.dark-theme .blog-excerpt {
  color: #e1e1e1;
}

/* Calculator Section */
.calculator-section {
  padding: 5rem 2rem;
  background-color: #f0f5fa;
}

.calculator-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.calculator-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.calculator-inputs {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color var(--animation-speed);
}

.input-group input:focus {
  outline: none;
  border-color: var(--bg-green-light);
  box-shadow: 0 0 0 2px rgba(67, 160, 71, 0.2);
}

#calculateBtn {
  width: 100%;
  background-color: var(--bg-green-light);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color var(--animation-speed);
  margin-top: 1rem;
}

#calculateBtn:hover {
  background-color: var(--btn-hover);
}

.calculator-results {
  flex: 2;
  min-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.results-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.results-card h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}

.chart-container {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
}

.results-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: 5px;
  background-color: #f7f9fc;
}

.result-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.result-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bg-green-dark);
}

/* Dark Theme Calculator Styles */
.dark-theme .calculator-section {
  background-color: #121212;
}

.dark-theme .calculator-inputs,
.dark-theme .results-card {
  background-color: #2d2d2d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-theme .input-group label,
.dark-theme .results-card h3 {
  color: #e1e1e1;
}

.dark-theme .input-group input {
  background-color: #333;
  border-color: #444;
  color: #e1e1e1;
}

.dark-theme .result-item {
  background-color: #3d3d3d;
  color: #e1e1e1;
}

.dark-theme .result-label {
  color: #aaa;
}

.dark-theme .result-value {
  color: #e1e1e1;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 2rem;
  background-color: #f7f9fc;
  overflow: hidden;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-slider {
  position: relative;
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.testimonial-card {
  flex: 0 0 100%;
  transition: opacity 0.3s ease;
}

.testimonial-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  margin: 0 1rem;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  opacity: 0.1;
  color: var(--bg-green-dark);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--primary-green);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bg-green-dark);
  margin-bottom: 0.3rem;
}

.author-position {
  font-size: 0.9rem;
  color: #777;
}

.rating {
  color: var(--primary-green);
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.slider-prev,
.slider-next {
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--bg-green-dark);
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--bg-green-light);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--bg-green-light);
  transform: scale(1.2);
}

/* Dark Theme Testimonials Styles */
.dark-theme .testimonials-section {
  background-color: #121212;
}

.dark-theme .testimonial-content {
  background-color: #2d2d2d;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.dark-theme .testimonial-text {
  color: #e1e1e1;
}

.dark-theme .author-name {
  color: #e1e1e1;
}

.dark-theme .author-position {
  color: #aaa;
}

.dark-theme .slider-prev,
.dark-theme .slider-next {
  background-color: #3d3d3d;
  color: #e1e1e1;
}

.dark-theme .slider-prev:hover,
.dark-theme .slider-next:hover {
  background-color: var(--bg-green-light);
}

.dark-theme .dot {
  background-color: #555;
}

/* Download Notification */
.download-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px 20px;
  width: 300px;
  z-index: 1050;
  transition: opacity 0.3s ease-in-out;
}

.dark-theme .download-notification {
  background-color: var(--bg-green-dark);
  color: var(--text-white);
}

.notification-content {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.notification-content svg {
  margin-right: 15px;
  color: var(--primary-green);
  flex-shrink: 0;
}

.notification-content span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.dark-theme .notification-content span {
  color: var(--text-white);
}

.progress-bar {
  height: 4px;
  background-color: #e2e2e2;
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background-color: var(--primary-green);
  transition: width 2.5s ease-in-out;
}

.progress.active {
  width: 100%;
}

.download-notification.fade-out {
  opacity: 0;
}

/* Before-After Slider */
.before-after-section {
  padding: 5rem 2rem;
  background-color: #f8f9fa;
}

.dark-theme .before-after-section {
  background-color: #1a2735;
}

.before-after-container {
  max-width: 1200px;
  margin: 0 auto;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 300px;
}

.dark-theme .slider-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.before-image,
.after-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: filter 0.3s ease;
}

.before-image {
  filter: brightness(0.9);
}

.after-image {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  filter: brightness(1.1);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-green);
  left: 50%;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent var(--text-dark);
  margin-left: -8px;
}

.slider-handle-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.slider-handle-arrow svg {
  width: 100%;
  height: 100%;
  color: var(--text-dark);
}

.slider-label {
  position: absolute;
  top: 20px;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  z-index: 5;
}

.before-label {
  left: 20px;
}

.after-label {
  right: 20px;
}

.before-after-info {
  margin-top: 1rem;
}

.project-title {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: var(--text-dark);
  font-weight: 600;
}

.dark-theme .project-title {
  color: var(--text-white);
}

.project-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.dark-theme .project-location {
  color: #aaa;
}

.project-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.dark-theme .project-description {
  color: #bbb;
}

@media (max-width: 767px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .slider-wrapper {
    height: 250px;
  }

  .slider-label {
    font-size: 12px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .feature-item {
    padding: 1.5rem 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .feature-icon img {
    width: 30px;
    height: 30px;
  }
  
  .feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }

  .about-container {
    flex-direction: column;
  }

  .product-card,
  .product-card:nth-child(even) {
    flex-direction: column;
  }

  .product-image {
    height: 250px;
  }

  .contact-form-container {
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .submit-btn {
    grid-column: span 1;
  }

  .footer-logo,
  .footer-section {
    flex: 1 1 100%;
    text-align: center;
  }

  .language-switcher {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  .blog-section {
  padding: 4rem 2rem;
  }
  .download-section {
    padding: 4rem 2rem;
  }
}

/* Floating Calculator Widget */
.calculator-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.calculator-toggle {
  background-color: var(--primary-green);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.calculator-toggle:hover {
  background-color: var(--primary-dark-green);
  transform: translateY(-3px);
}

.calculator-toggle svg {
  width: 20px;
  height: 20px;
}

.calculator-container {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 0;
  width: 350px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 20px;
  display: none;
}

.calculator-container.active {
  display: block;
  animation: slideIn 0.3s ease-out forwards;
}

.calculator-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

.calculator-title {
  color: var(--bg-green-dark);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.calculator-description {
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.calculator-form .form-group {
  margin-bottom: 15px;
}

.calculator-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.calculator-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.calculate-btn {
  background-color: var(--primary-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.calculate-btn:hover {
  background-color: var(--primary-dark-green);
}

.calculator-results {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  display: none;
}

.calculator-results.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.calculator-results h4 {
  color: var(--bg-green-dark);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.results-grid {
  display: grid;
  gap: 12px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #f5f9f5;
  border-radius: 5px;
}

.result-item.highlight {
  background-color: var(--primary-green);
  color: white;
}

.result-label {
  font-size: 0.9rem;
}

.result-value {
  font-weight: bold;
}

.dark-theme .calculator-container {
  background-color: #2d2d2d;
}

.dark-theme .calculator-title,
.dark-theme .calculator-description,
.dark-theme .calculator-form label,
.dark-theme .calculator-results h4 {
  color: #e1e1e1;
}

.dark-theme .calculator-close {
  color: #e1e1e1;
}

.dark-theme .calculator-form input {
  background-color: #3d3d3d;
  border-color: #444;
  color: #e1e1e1;
}

.dark-theme .result-item {
  background-color: #3d3d3d;
  color: #e1e1e1;
}

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

/* 确保下载卡片文本对比度高 */
.download-card {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--animation-speed), box-shadow var(--animation-speed);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 20px;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.download-title {
  color: var(--bg-green-dark);
  font-weight: bold;
  margin-bottom: 5px;
}

.download-description {
  color: var(--text-dark);
}

.download-meta {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #666;
}

/* 深色模式调整 */
.dark-theme .products-section,
.dark-theme .gallery-section,
.dark-theme .download-section,
.dark-theme .blog-section {
  background-color: #1e1e1e;
}

.dark-theme .products-section .section-title,
.dark-theme .products-section .section-title-en,
.dark-theme .gallery-section .section-title,
.dark-theme .gallery-section .section-title-en,
.dark-theme .download-section .section-title,
.dark-theme .download-section .section-title-en,
.dark-theme .blog-section .section-title,
.dark-theme .blog-section .section-title-en {
  color: var(--text-white);
}

/* About Page - Company Intro Section */
.about-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.company-intro {
  margin-bottom: 6rem;
  position: relative;
}

.company-intro p {
  color: var(--text-dark);
  line-height: 2;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  text-align: justify;
}

.cooperation-highlight {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
  border-left: 4px solid var(--primary-green);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 15px 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cooperation-highlight:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cooperation-highlight p {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1.2rem;
  margin: 0;
  text-align: justify;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.partner-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.partner-item .logo-area {
  height: 200px;
  width: 100%;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.partner-item:nth-child(1) .logo-area {
  background-image: url('/assets/images/tsinghua.jpg');
}

.partner-item:nth-child(2) .logo-area {
  background-image: url('/assets/images/cas.jpg');
}

.partner-item:nth-child(3) .logo-area {
  background-image: url('/assets/images/hkai.jpg');
}

.partner-item:nth-child(4) .logo-area {
  background-image: url('/assets/images/hkust.jpg');
}

.partner-item h3 {
  color: white;
  margin: 0;
  font-size: 16px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 1.5rem;
  background: var(--bg-green-dark);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.partner-item:hover h3 {
  background: var(--primary-green);
  color: white;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.partner-item:hover .logo-area {
  transform: scale(1.05);
}

/* About Page - Departments Section */
.departments-section {
  margin: 6rem 0;
  position: relative;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

@media (max-width: 1200px) {
  .departments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .departments-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.department-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
  padding: 0;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0px;
  display: flex;
  flex-direction: column;
}

.department-item .logo-area {
  height: 100px;
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bg-green-dark);
}

.department-item h3 {
  color: white;
  margin: 0;
  font-size: 16px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 1.5rem;
  background: var(--bg-green-dark);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.department-item p {
  color: var(--text-dark);
  margin: 0;
  font-size: 14px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  padding: 1rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 0 15px 15px;
}

.department-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.department-item:hover h3 {
  background: var(--primary-green);
}

.department-item:hover .logo-area {
  transform: scale(1.05);
}

.team-section {
  margin: 6rem 0;
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.team-member {
  background: white;
  padding: 0;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member .avatar {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: all 0.3s ease;
}

.team-member .avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.7)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .avatar::before {
  opacity: 1;
}

.team-member:hover .avatar {
  transform: scale(1.05);
}

.team-member .info {
  padding: 1rem;
  background: white;
}

.team-member h3 {
  color: var(--bg-green-dark);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
}

.team-member .position {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.team-member p {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

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

.team-member:nth-child(1) .avatar {
  background-image: url('/assets/images/team/lin.jpg');
}

.team-member:nth-child(2) .avatar {
  background-image: url('/assets/images/team/li.jpg');
}

.team-member:nth-child(3) .avatar {
  background-image: url('/assets/images/team/liu.jpg');
}

.team-member:nth-child(4) .avatar {
  background-image: url('/assets/images/team/huang.jpg');
}

.team-member:nth-child(5) .avatar {
  background-image: url('/assets/images/team/zeng.jpg');
}

.section-title {
  font-size: 2.5rem;
  color: var(--bg-green-dark);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-green), var(--accent-green));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 100%;
}

.section-title-en {
  font-size: 1.2rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.tech-section {
  margin: 6rem 0;
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
  border-radius: 20px;
}

.tech-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tech-category h3 {
  color: var(--bg-green-dark);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  position: relative;
  display: block;
  padding: 1rem 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.tech-category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), transparent);
  border-radius: 2px;
}

.tech-details {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.tech-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-details:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(76, 175, 80, 0.2);
}

.tech-details:hover::before {
  opacity: 1;
}

.tech-details h4 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
  padding-left: 1rem;
}

.tech-details h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary-green);
  border-radius: 2px;
}

.tech-details ul {
  color: var(--text-dark);
  list-style: none;
  margin-left: 0;
  margin-bottom: 2rem;
  flex: 1;
}

.tech-details ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-details ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--primary-green);
  border-radius: 50%;
}

.tech-details ul li:hover::before {
  transform: scale(1.5);
  transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
  .tech-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .tech-category h3 {
    font-size: 1.3rem;
    min-height: 70px;
  }
}

@media (max-width: 768px) {
  .tech-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tech-section {
    padding: 1rem;
  }
  .tech-category h3 {
    font-size: 1.2rem;
    min-height: auto;
    padding: 0.8rem 0;
  }
}

.policy-section {
  margin: 6rem 0;
  position: relative;
}

.policy-container {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  position: relative;
  min-height: 800px;
}

.policy-timeline {
  flex: 3;
  order: 2;
  position: relative;
  padding-bottom: 40px;
}

.policy-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, var(--primary-green), var(--accent-green));
}

.policy-item {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  overflow: hidden;
}

.policy-item:nth-child(1) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('/assets/images/policy/policy1.jpg');
  background-size: cover;
  background-position: center;
}

.policy-item:nth-child(2) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('/assets/images/policy/policy2.jpg');
  background-size: cover;
  background-position: center;
}

.policy-item:nth-child(3) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('/assets/images/policy/policy3.jpg');
  background-size: cover;
  background-position: center;
}

.policy-item:nth-child(4) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('/assets/images/policy/policy4.jpg');
  background-size: cover;
  background-position: center;
}

.policy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.policy-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-green);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  top: -10px;
  z-index: 2;
}

.policy-item h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.policy-item p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.policy-item .policy-date {
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  border: 1px solid var(--primary-green);
}

.policy-item .view-details {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-green);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.policy-item .view-details:hover {
  background-color: transparent;
  border-color: var(--primary-green);
  color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.authorization-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  margin-right: 24px;
  flex: 2;
  order: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(76, 175, 80, 0.2);
  position: relative;
  overflow: hidden;
  padding: 0;
  max-width: 500px;
  height: fit-content;
  position: sticky;
  top: 24px;
}

.authorization-image {
  width: 100%;
  height: 620px;
  background: url('/assets/images/authorize.png') center/contain no-repeat;
  position: relative;
  margin: 20px 0;
  padding: 20px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.authorization-image:hover {
  transform: scale(1.02);
}

.authorization-image::after {
  content: '点击查看大图';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.authorization-image:hover::after {
  opacity: 1;
}

.authorization-content {
  padding: 32px;
  background: white;
  border-top: 1px solid rgba(76, 175, 80, 0.1);
}

.authorization-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--bg-green-dark);
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  padding-bottom: 16px;
}

.authorization-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.authorization-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #444;
  text-align: justify;
}

.authorization-meta {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 8px;
}

.authorization-meta .date {
  color: var(--primary-green);
  font-weight: 500;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid rgba(76, 175, 80, 0.2);
}

.authorization-meta .doc-number {
  color: #666;
  font-size: 14px;
}

.authorization-content .view-details {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: var(--primary-green);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.authorization-content .view-details::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.authorization-content .view-details:hover {
  background-color: var(--bg-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.authorization-content .view-details:hover::after {
  transform: translateX(4px);
}

.authorization-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-green);
  border-radius: 4px 0 0 4px;
}

/* 图片预览遮罩层 */
.image-preview-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.image-preview-overlay.active {
  display: flex;
}

.image-preview-overlay img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .policy-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .authorization-card {
    margin-right: 0;
    margin-bottom: 24px;
    max-width: none;
    order: 1;
    position: relative;
    top: 0;
  }

  .policy-timeline {
    order: 2;
    padding-bottom: 0;
  }
  
  .policy-timeline::before {
    left: 20px;
    height: 100%;
  }

  .policy-item::before {
    left: 20px;
  }
  
  .authorization-image {
    height: 600px;
  }
  
  .authorization-content {
    padding: 24px;
  }
  
  .authorization-content h3 {
    font-size: 18px;
  }
  
  .authorization-content p {
    font-size: 15px;
  }

  .authorization-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .authorization-meta .date {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .authorization-image {
    height: 300px;
  }
}

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

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 400px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.2rem;
  }

  .about-content-section {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .policy-timeline::before {
    left: 20px;
  }

  .policy-item::before {
    left: 20px;
  }

  .partner-item h3 {
    font-size: 16px;
  }
}

.key-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.key-partner-item {
  position: relative;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-green);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.key-partner-item:nth-child(1) {
  background: linear-gradient(rgb(0 156 104 / 35%), rgb(0 24 17 / 69%)), 
              url('/assets/images/state-grid.jpg');
  background-size: cover;
  background-position: center;
}

.key-partner-item:nth-child(2) {
  background: linear-gradient(rgb(0 156 104 / 35%), rgb(0 24 17 / 69%)),
              url('/assets/images/energy-bureau.jpg');
  background-size: cover;
  background-position: center;
}

.key-partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.key-partner-item:hover::before {
  opacity: 1;
}

.key-partner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(76, 175, 80, 0.3), 
    rgba(33, 150, 243, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.key-partner-item h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.key-partner-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.key-partner-item:hover h3,
.key-partner-item:hover p {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .key-partners-grid {
    grid-template-columns: 1fr;
  }
  
  .key-partner-item {
    padding: 2rem;
    min-height: 180px;
  }
  
  .key-partner-item h3 {
    font-size: 1.4rem;
  }
  
  .key-partner-item p {
    font-size: 1.1rem;
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Download Grid Styles */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.download-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .download-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .download-info h3 {
    font-size: 1.1rem;
  }

  .download-info p {
    font-size: 0.9rem;
  }

  .download-meta {
    font-size: 0.8rem;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Project Highlight Styles */
.project-highlight {
  margin-top: 4rem;
}

.project-title {
  font-size: 2rem;
  color: var(--bg-green-dark);
  margin-bottom: 2rem;
}

.project-description {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--primary-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-description p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
  text-align: justify;
}

.project-case-title {
  font-size: 1.6rem;
  color: var(--bg-green-dark);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-green);
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.project-card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.project-card-text {
  padding: 2.5rem;
}

.project-card-text h3 {
  font-size: 1.8rem;
  color: var(--bg-green-dark);
  margin-bottom: 1.5rem;
}

.project-card-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(76, 175, 80, 0.2), rgba(33, 150, 243, 0.2));
}

@media (max-width: 768px) {
  .project-card-content {
    grid-template-columns: 1fr !important;
  }
  .project-card-text {
    padding: 1.5rem !important;
  }
  .project-card-image {
    min-height: 250px !important;
  }
  .project-card-text h3 {
    font-size: 1.5rem !important;
  }
  .project-card-text p {
    font-size: 1rem !important;
  }
}

/* Project Carousel Styles */
.project-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 2rem 0;
}

.project-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 300px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.project-card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.project-card-text {
  padding: 2.5rem;
}

.project-card-text h3 {
  font-size: 1.8rem;
  color: var(--bg-green-dark);
  margin-bottom: 1.5rem;
}

.project-card-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(76, 175, 80, 0.2), rgba(33, 150, 243, 0.2));
}

@media (max-width: 768px) {
  .project-card-content {
    grid-template-columns: 1fr !important;
  }
  .project-card-text {
    padding: 1.5rem !important;
  }
  .project-card-image {
    min-height: 250px !important;
  }
  .project-card-text h3 {
    font-size: 1.5rem !important;
  }
  .project-card-text p {
    font-size: 1rem !important;
  }
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 99, 99, 0.3);
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(0, 99, 99, 0.7);
}

.carousel-dot.active {
  background: #006363;
  transform: scale(1.2);
}

/* 箭头样式 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .project-carousel .project-card-content {
    grid-template-columns: 1fr;
  }
  
  .project-carousel .project-card-text {
    padding: 1.5rem;
  }
  
  .project-carousel .project-card-image {
    min-height: 250px;
  }
  
  .project-carousel .project-card-text h3 {
    font-size: 1.5rem;
  }
  
  .project-carousel .project-card-text p {
    font-size: 1rem;
  }
  
  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
}

.project-carousel .project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none; /* 去掉渐变效果 */
  z-index: 1;
}

/* 项目卡片轮播相关样式 */
@media (min-width: 769px) {
  .carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .carousel-prev {
    left: calc(50% + 30px); /* 增加左边距，使其更靠近内容中心 */
  }
  
  .carousel-next {
    right: 30px; /* 保持对称 */
  }
  
  .carousel-indicators {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    bottom: 400px; /* 移至卡片下方10px处 */
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .carousel-arrow {
    position: absolute;
    top: 125px; /* 图片区域高度为250px的一半 */
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    font-size: 16px;
    z-index: 20; /* 确保箭头显示在最上层 */
  }
  
  .carousel-prev {
    left: 20px;
  }
  
  .carousel-next {
    right: 20px;
  }
  
  /* 调整指示器样式，使其更容易看到 */
  .carousel-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: rgba(0, 99, 99, 0.3);
  }
  
  .carousel-dot.active {
    background: #006363;
    transform: scale(1.2);
  }
  
  /* 恢复项目卡片样式 */
  .project-carousel .project-card-content {
    grid-template-columns: 1fr;
  }
  
  .project-carousel .project-card-text {
    padding: 1.5rem;
    order: 2;
  }
  
  .project-carousel .project-card-image {
    min-height: 250px;
    order: 1;
    position: relative;
    height: auto;
  }
  
  .project-carousel .project-card-text h3 {
    font-size: 1.5rem;
  }
  
  .project-carousel .project-card-text p {
    font-size: 1rem;
  }
  
  .project-carousel .project-card {
    box-shadow: none;
  }
  
}

.project-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden; /* 保持hidden以控制轮播图显示 */
  margin-bottom: 10px; /* 减小底部边距，为指示器留出空间 */
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.project-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  padding: 0;
  gap: 0;
  overflow-x: visible;
  scroll-snap-type: none;
}

.project-carousel .project-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: none;
  background: white;
  scroll-snap-align: unset;
  display: block;
  position: relative;
}

.project-carousel .project-card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.project-carousel .project-card-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.project-carousel .project-card-text h3 {
  color: #006363;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.project-carousel .project-card-text p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}

.project-carousel .project-card-image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  height: 100%;
}

/* 指示器包装元素样式 */
.carousel-indicators-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  overflow: visible;
}

/* 指示器样式调整 */
.carousel-indicators {
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative; /* 不再使用absolute定位 */
  bottom: 0;
  left: 0;
  right: 0;
  width: auto; /* 自动宽度 */
  z-index: 10;
  margin: 10px 0;
}

@media (max-width: 768px) {
  .project-carousel .project-card-content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  
  .project-carousel .project-card-text {
    padding: 1.5rem;
    height: auto;
    min-height: 150px; /* 设置固定最小高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .project-carousel .project-card-image {
    min-height: 250px;
    height: 250px; /* 固定高度 */
    width: 100%;
  }
  
  .project-carousel .project-card-text h3 {
    font-size: 1.5rem;
  }
  
  .project-carousel .project-card-text p {
    font-size: 1rem;
  }
  
  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
}

@media (max-width: 768px) {
  .carousel-arrow {
    position: absolute;
    top: 125px; /* 图片区域高度为250px的一半 */
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    font-size: 16px;
    z-index: 20; /* 确保箭头显示在最上层 */
  }
  
  .carousel-prev {
    left: 20px;
  }
  
  .carousel-next {
    right: 20px;
  }
  
  /* 调整指示器样式，使其更容易看到 */
  .carousel-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: rgba(0, 99, 99, 0.3);
  }
  
  .carousel-dot.active {
    background: #006363;
    transform: scale(1.2);
  }
  
  /* 恢复项目卡片样式 */
  .project-carousel .project-card-content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  
  .project-carousel .project-card-text {
    padding: 1.5rem;
    order: 2;
    height: auto;
    min-height: 150px; /* 固定最小高度 */
  }
  
  .project-carousel .project-card-image {
    min-height: 250px;
    height: 250px; /* 固定高度 */
    order: 1;
    position: relative;
  }
  
  .project-carousel .project-card-text h3 {
    font-size: 1.5rem;
  }
  
  .project-carousel .project-card-text p {
    font-size: 1rem;
  }
  
  .project-carousel .project-card {
    box-shadow: none;
  }
  
  /* 调整指示器包装元素在手机端的位置 */
  .carousel-indicators-wrapper {
    position: relative;
    margin-top: 10px; /* 在轮播图下方添加10px间距 */
    margin-bottom: 20px;
  }
  
  .carousel-indicators {
    position: absolute;
    bottom: 420px; /* 移至卡片下方 */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
  }
}

/* 指示器包装元素样式 */
.carousel-indicators-wrapper {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  overflow: visible;
}

/* 超小屏幕设备 */
@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blog-filter {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .blog-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .blog-excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

.download-icon svg {
  stroke: var(--primary-green);
}

.download-btn {
  color: #8BC34A;
  transition: background-color var(--animation-speed);
  white-space: nowrap;
}

.download-btn:hover {
  background-color: #333;
}

/* 公司资质 */
.qualifications-section {
  padding: 60px 0;
  background-color: var(--background-light); /* Or choose a suitable background */
}
.qualifications-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  background-color: var(--background-card);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.qualifications-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qualifications-list li {
  margin-bottom: 0rem;
  padding-bottom: 0rem;
  border-bottom: 1px solid var(--border-color-light);
  transition: background-color 0.3s ease;
}
.qualifications-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.qualifications-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}
.qualifications-list a::before {
  content: '📄'; /* Document icon */
  margin-right: 12px;
  font-size: 1.3rem;
  color: var(--primary-green);
}
.qualifications-list a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}
/* Adjust section titles if needed */
.qualifications-section .section-title {
  text-align: center;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.qualifications-section .section-title-en {
  text-align: center;
  margin-bottom: 40px; /* Increase spacing */
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}