/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 颜色变量 */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e293b;
  --accent-color: #3b82f6;
  --light-color: #f8fafc;
  --dark-color: #1e293b;
  --white-color: #fff;
  --gray-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --info-color: #06b6d4;
  --purple-color: #8b5cf6;
  --text-muted: #64748b;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  font-size: 16px;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
header {
  background-color: var(--white-color);
  color: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: #e63946;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #e63946;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* 下拉菜单 */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white-color);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.dropdown-content a {
  color: var(--dark-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: var(--transition);
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: var(--light-color);
  color: #e63946;
  padding-left: 20px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 英雄区域 */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20building%20exterior%20with%20grid%20pattern%20black%20and%20white&image_size=landscape_16_9');
  background-size: cover;
  background-position: center;
  color: var(--white-color);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(230, 57, 70, 0.1),
    rgba(52, 152, 219, 0.1)
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  animation: slideInDown 0.8s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  animation: slideInUp 0.8s ease 0.2s both;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background-color: #e63946;
  color: var(--white-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(230, 57, 70, 0.3);
  animation: slideInUp 0.8s ease 0.4s both;
}

.btn:hover {
  background-color: #c1121f;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(230, 57, 70, 0.4);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.more-btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background-color: var(--dark-color);
  color: var(--white-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.more-btn:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 通用标题样式 */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* 服务区域 */
.services {
  padding: 5rem 0;
  background-color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(230, 57, 70, 0.05),
    rgba(255, 107, 107, 0.05)
  );
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid #e63946;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e63946, #ff6b6b);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* 公司介绍 */
.company-intro {
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.company-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
  z-index: 0;
}

.company-intro .container {
  position: relative;
  z-index: 1;
}

.intro-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.intro-header h1 {
  font-size: 3.2rem;
  margin: 0;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.intro-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0 1rem;
  font-weight: normal;
  opacity: 0.9;
}

.company-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 100%;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 中科龙安简介 */
.company-profile {
  padding: 5rem 0;
  background-color: var(--white-color);
}

.company-profile h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.company-profile h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.company-profile h3 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
  padding-left: 1rem;
}

.company-profile h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.company-profile p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  text-align: justify;
  color: var(--text-muted);
}

/* 产品分类 */
.product-category {
  padding: 5rem 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.product-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.05),
    rgba(230, 57, 70, 0.05)
  );
  z-index: 0;
}

.product-category .container {
  position: relative;
  z-index: 1;
}

.product-category h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.product-category h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #e63946, #ff6b6b);
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid #e63946;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e63946, #ff6b6b);
  transform: scaleX(0);
  transition: var(--transition);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.product-card:hover h3 {
  color: #e63946;
}

.product-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* 新闻动态 */
.news-list {
  padding: 5rem 0;
  background-color: var(--white-color);
}

.news-list h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.news-list h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.news-item {
  display: flex;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-color);
  transition: var(--transition);
}

.news-item:hover {
  transform: translateX(10px);
}

.news-date {
  flex: 0 0 120px;
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 2rem;
  font-size: 0.95rem;
  position: relative;
}

.news-date::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: var(--gray-color);
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.news-content:hover h3 {
  color: var(--primary-color);
}

.news-content p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.news-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-link:hover {
  color: #c1121f;
  text-decoration: none;
  transform: translateX(5px);
}

.news-link::after {
  content: '→';
  transition: var(--transition);
}

.news-link:hover::after {
  transform: translateX(3px);
}

/* 合作伙伴 */
.partners {
  padding: 5rem 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.05),
    rgba(230, 57, 70, 0.05)
  );
  z-index: 0;
}

.partners .container {
  position: relative;
  z-index: 1;
}

.partners h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.partners h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #e63946;
  border-radius: 2px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.partner-card {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--gray-color);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(230, 57, 70, 0.05),
    rgba(52, 152, 219, 0.05)
  );
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #e63946;
}

.partner-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 90px;
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.partner-card:hover .partner-icon {
  transform: scale(1.05);
}

.partner-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.partner-card:hover .partner-icon img {
  filter: brightness(1.1);
}

.partner-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  text-align: center;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.partner-card:hover h3 {
  color: #e63946;
}

/* 联系我们 */
.contact {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(230, 57, 70, 0.1),
    rgba(52, 152, 219, 0.1)
  );
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
  color: var(--white-color);
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.contact-content:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding-right: 2.5rem;
  border-right: 1px solid var(--gray-color);
}

.contact-details {
  flex: 1;
  min-width: 300px;
  padding-left: 2.5rem;
}

.contact-info p {
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 1rem;
}

.contact-details h3 {
  margin-bottom: 1.8rem;
  color: var(--secondary-color);
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.8rem;
}

.contact-details h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

.contact-details p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-details p:before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  margin-top: 2px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.contact-details p:nth-child(2):before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e63946" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg>');
}

.contact-details p:nth-child(3):before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e63946" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>');
}

/* 资质荣誉 */
.qualifications {
  padding: 5rem 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.qualifications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.05),
    rgba(230, 57, 70, 0.05)
  );
  z-index: 0;
}

.qualifications .container {
  position: relative;
  z-index: 1;
}

.qualifications h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 1rem;
}

.qualifications h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.qualifications h3 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
  padding-left: 1rem;
}

.qualifications h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.qualifications-content {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.qualifications-content:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.qualifications-list ol {
  margin-left: 2rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 1rem;
}

.qualifications-list ol li {
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.qualifications-list ol li:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cert-card {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-color);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.cert-icon {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cert-card:hover .cert-icon {
  transform: scale(1.05);
}

.cert-card p {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
  transition: var(--transition);
}

.cert-card:hover p {
  color: var(--primary-color);
}

.honors {
  margin-top: 2.5rem;
}

.honors p {
  line-height: 1.7;
  color: var(--text-muted);
  text-align: justify;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.qualification-item {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--info-color);
  position: relative;
  overflow: hidden;
}

.qualification-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--info-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.qualification-item:hover::before {
  transform: scaleX(1);
}

.qualification-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.qualification-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
  padding-left: 0;
}

.qualification-item h3::before {
  display: none;
}

.qualification-item:hover h3 {
  color: var(--info-color);
}

.qualification-item p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 1rem;
}

/* 页脚 */
footer {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e63946, #ff6b6b);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white-color);
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #e63946;
  border-radius: 1px;
}

.footer-col p {
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-col a {
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #e63946;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 2rem;
}

.footer-info {
  flex: 1;
  min-width: 300px;
}

.footer-records {
  flex: 1;
  min-width: 300px;
}

.footer-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white-color);
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

.footer-info p {
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-records p {
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title,
  .services h2,
  .company-profile h2,
  .product-category h2,
  .news-list h2,
  .partners h2,
  .contact h2,
  .qualifications h2 {
    font-size: 2rem;
  }

  .intro-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-header h2 {
    margin: 0.5rem 0 0 0;
  }

  .contact-info,
  .contact-details {
    padding: 0;
    border: none;
  }

  .news-item {
    flex-direction: column;
  }

  .news-date {
    margin-right: 0;
    margin-bottom: 0.8rem;
  }

  .news-date::after {
    display: none;
  }

  .service-card,
  .product-card,
  .partner-card,
  .cert-card,
  .qualification-item {
    padding: 2rem;
  }

  .contact-content {
    padding: 2rem;
  }

  .footer-content {
    flex-direction: column;
  }
}
