/* 
 * 长春维度空间科技有限公司网站样式
 * 作者: Amazon Q
 * 版本: 1.0
 */

/* ===== 基础样式 ===== */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --section-padding: 80px 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--dark-color);
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--light-color);
}

.bg-primary {
  background-color: var(--primary-color);
  color: #fff;
}

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

.text-left {
  text-align: left;
}

.mt-5 {
  margin-top: 3rem;
}

/* ===== 按钮样式 ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #2980b9;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
}

.info-item {
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.info-item i {
  margin-right: 8px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
}

.social-link {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ===== 导航栏 ===== */
#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: var(--transition);
}

.header-transparent {
  background-color: transparent !important;
  box-shadow: none !important;
  position: absolute !important;
}

.header-transparent .logo-text,
.header-transparent .nav-links a {
  color: #fff;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark-color);
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
}

.nav-links li {
  position: relative;
  margin-left: 30px;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

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

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

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 5px 15px var(--shadow-color);
  border-radius: var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 400;
}

.dropdown-menu a:hover {
  background-color: var(--light-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-color);
}

/* ===== 主横幅轮播 ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 100%;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}

.slider-item.active {
  opacity: 1;
  visibility: visible;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.slider-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 600px;
  padding-top: 200px;
}

.slider-content h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}

.slider-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

/* ===== 我们的优势 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
}

/* ===== 章节标题 ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: var(--primary-color);
}

.section-subtitle::before {
  left: -40px;
}

.section-subtitle::after {
  right: -40px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

/* ===== 服务内容 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  opacity: 0.05;
  z-index: -1;
  transition: var(--transition);
}

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

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* ===== 技术栈展示 ===== */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.tech-category {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.tech-category h3 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.tech-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

.tech-icon span {
  font-size: 14px;
  text-align: center;
}
/* ===== 成功案例 ===== */
.cases-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 20px;
  margin: 0 5px 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.case-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
}

.case-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.case-info {
  text-align: center;
  color: #fff;
  padding: 20px;
  transform: translateY(20px);
  transition: var(--transition);
}

.case-item:hover .case-info {
  transform: translateY(0);
}

.case-info h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.case-info p {
  margin-bottom: 15px;
}

.case-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.case-tags span {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin: 0 5px 5px 0;
}
/* ===== 解决方案 ===== */
.solutions-tabs {
  margin-top: 50px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--text-light);
  transition: var(--transition);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.solution-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.solution-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.solution-text p {
  margin-bottom: 20px;
}

.solution-features {
  margin-bottom: 30px;
}

.solution-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.solution-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}
/* ===== 客户评价 ===== */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  display: none;
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-text p {
  font-size: 18px;
  line-height: 1.8;
}

.testimonial-text p::before {
  content: '"';
  font-size: 50px;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--text-light);
  margin: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-dots .dot {
  background-color: var(--border-color);
}

.testimonial-dots .dot.active {
  background-color: var(--primary-color);
}

/* ===== 合作伙伴 ===== */
.partners-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.partner-logo {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
/* ===== 关于我们 ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.experience-badge .years {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 14px;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

.about-features .feature {
  display: flex;
  align-items: center;
}

.about-features .feature i {
  color: var(--primary-color);
  margin-right: 10px;
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* ===== 团队介绍 ===== */
.team-section {
  margin-top: 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.member-photo {
  position: relative;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.member-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  background-color: rgba(52, 152, 219, 0.9);
  transition: var(--transition);
}

.team-member:hover .member-social {
  bottom: 0;
}

.member-social a {
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.member-info p {
  color: var(--text-light);
  margin: 0;
}
/* ===== 数据统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fff;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 18px;
  font-weight: 600;
}

/* ===== 最新动态 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.news-img {
  position: relative;
  height: 200px;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px;
  border-radius: var(--border-radius);
  text-align: center;
  min-width: 60px;
}

.news-date .day {
  font-size: 24px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.news-date .month {
  font-size: 14px;
}

.news-content {
  padding: 25px;
}

.news-category {
  display: inline-block;
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}

.news-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.news-content h3 a {
  color: var(--dark-color);
  transition: var(--transition);
}

.news-content h3 a:hover {
  color: var(--primary-color);
}

.news-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}
/* ===== 联系我们 ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-info .info-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.contact-info .info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.contact-info .info-icon i {
  font-size: 20px;
  color: var(--primary-color);
}

.info-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.info-text p {
  color: var(--text-light);
  margin: 0;
}

.contact-social {
  margin-top: 30px;
}

.contact-social h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-social .social-links {
  display: flex;
  gap: 15px;
}

.contact-social .social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin: 0;
}

.contact-social .social-link:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.contact-form {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
/* ===== 页脚 ===== */
.footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about p {
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-bottom {
  display: flex;
  gap: 20px;
}

.footer-links-bottom a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links-bottom a:hover {
  color: var(--primary-color);
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: translateY(-5px);
}
/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .slider-content h1 {
    font-size: 42px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  
  .solution-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .solution-image {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 300px;
  }
  
  .slider-content {
    padding-top: 150px;
    text-align: center;
    margin: 0 auto;
  }
  
  .slider-content h1 {
    font-size: 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .cases-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
  
  .slider-content h1 {
    font-size: 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }
  
  .top-info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .info-item {
    margin-right: 0;
  }
}
/* Language switcher */
.right-top {
  display: flex;
  align-items: center;
}

.language-switcher {
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.lang-switch {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.lang-switch.active {
  color: var(--primary-color);
}

.lang-switch:hover {
  color: var(--primary-color);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}
