/* 全局样式 - 完全固定宽度布局 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 1440px;
  margin: 0 auto;
  font-family: "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #34495E; /* 深灰色文本 */
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #F8F9FA; /* 极浅灰背景 */
}

.container {
  width: 1440px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* 确保所有区域都使用固定宽度 */
header, 
section,
footer {
  width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* 添加对内部元素的限制，确保不会超出宽度 */
.business-cards,
.intro-content,
.cert-gallery,
.vehicle-cards,
.scenario-cards,
.case-display,
.advantage-grid,
.footer-top,
.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.card {
  max-width: 345px;
  box-sizing: border-box;
}

/* 确保内联样式中的宽度不会超出 */
.case-display {
  display: flex;
  flex-wrap: wrap;
}

.case-side, .case-center {
  box-sizing: border-box;
}

/* 头部导航和Banner固定尺寸 */
header {
  height: auto;
  overflow: visible;
}

.header-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.header-banner {
  width: 100%;
  position: relative;
  overflow: visible;
  line-height: 0;
}

.header-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

a {
  text-decoration: none;
  color: #3498DB; /* 标准蓝链接色 */
  transition: all 0.3s ease;
}

a:hover {
  color: #2C3E50; /* 深蓝灰色链接悬停 */
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* 通用标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  margin: 0 25px;
  padding: 0 15px;
  color: #2C3E50; /* 标题颜色 */
}

.section-title::before,
.section-title::after {
  content: "";
  height: 1px;
  background: linear-gradient(to var(--direction, right), transparent, #3498DB, #3498DB, transparent); /* 强调线颜色 */
  flex: 1;
  max-width: 120px;
}

.section-title::before {
  --direction: right;
}

.section-title::after {
  --direction: left;
}

.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: #3498DB; /* 标题装饰颜色 */
}

.section-title h2::before {
  left: -20px;
}

.section-title h2::after {
  right: -20px;
}

/* 针对应用场景的白色标题 */
.application-scenarios .section-title::before,
.application-scenarios .section-title::after {
  background: linear-gradient(to var(--direction, right), transparent, #FFFFFF, #FFFFFF, transparent); /* 特殊区域标题线颜色，保持白色 */
}

.application-scenarios .section-title h2::before,
.application-scenarios .section-title h2::after {
  background-color: #FFFFFF; /* 特殊区域标题装饰颜色，保持白色 */
}

.application-scenarios .section-title h2 {
  color: #FFFFFF; /* 应用场景标题文字颜色，通常背景较深 */
}

.title-line {
  display: none; /* 隐藏原来的下划线，因为现在使用新的设计 */
}

section {
  padding: 30px 0;
  width: 100%;
  min-width: auto;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

header .logo span, header nav ul li a {
  color: #FFFFFF; /* 导航文字保持白色，因为背景可能是深色图片或颜色 */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 添加文字阴影增强可读性 */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 15px;
}

.logo span {
  font-size: 18px;
  font-weight: 600;
}

nav ul {
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #FFFFFF;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
}

nav ul li a.active::after,
nav ul li a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FFFFFF; /* 导航激活/悬停下划线颜色，保持白色 */
}

.search {
  cursor: pointer;
  margin-right: 5%; /* Add some margin to move it further inside */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search i {
  color: #fff;
  font-size: 18px;
  position: relative;
  z-index: 2;
}

.search::before {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.2); /* Transparent circle */
  border-radius: 50%;
  z-index: 1;
}

/* Banner */
.banner {
  padding: 0;
  position: relative;
}

.banner-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* 核心业务 */
.core-business {
  background-color: #f7f9fc;
  padding: 70px 0;
  width: 100%;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1440px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

.card {
  color: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: none;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 356px;
  width: 345px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: none;
  background-color: transparent;
}

/* Styles for the link wrapping the card */
.card-link {
  display: block; /* Make the link a block element to wrap the card correctly */
  text-decoration: none; /* Remove default underline */
  color: inherit; /* Inherit text color from card content */
  outline: none; /* Remove outline on focus, if any */
}

.card-link:hover,
.card-link:focus {
  text-decoration: none; /* Ensure no underline on hover/focus */
  color: inherit; /* Ensure text color remains inherited on hover/focus */
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-subtitle {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.card-desc {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
  margin-top: 15px;
}

/* 企业简介 */
.intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  background-size: contain !important;
}

.intro-image {
  flex: 0 0 50%;
  max-width: 50%;
}

.intro-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 8%;
  box-sizing: border-box;
}

.intro-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #3566c9;
}

.intro-text p {
  margin-bottom: 15px;
  text-align: justify;
  text-indent: 2em; /* Add 2-character indentation for first line */
}

/* 荣誉资质 */
.certificates {
  background-color: #f7f9fc;
}

.cert-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
}

.cert-desc-text {
  font-size: 24px;
  font-weight: 400;
}

.cert-desc i {
  color: #f8c200;
  font-size: 24px;
}

/* 为证书描述区域的图片添加样式 */
.cert-desc-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 5px;
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, 320px);
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
  justify-content: center;
}

.cert-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-item img {
  border: 1px solid #eee;
  padding: 10px;
  background-color: #fff;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  width: 320px;
  height: 200px;
  object-fit: contain;
}

.cert-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 车辆信息展示 */
.vehicle-info {
  background-color: #f0f8ff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.vehicle-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.vehicle-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.vehicle-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 300px;
  color: #fff;
  padding: 30px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vehicle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(53, 102, 201, 0.3);
}

.vehicle-card h3 {
  font-size: 24px;
  margin: 0 0 15px;
  color: #fff;
  font-weight: 500;
}

.vehicle-card p {
  padding: 0 15px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* 应用场景 */
.application-scenarios {
  color: #fff;
  background-image: url('../images/bg-application.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
}

.application-scenarios .section-title h2 {
  color: #fff;
}

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.scenario-card {
  background-color: #253244;
  padding: 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.scenario-card.active {
  background-color: #3566c9;
}

.scenario-number {
  font-size: 32px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.scenario-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.scenario-card p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* 典型案例 */
.case-studies {
  background-color: #f7f9fc;
}

.case-content {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.case-number {
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 72px;
  font-weight: 900;
  color: rgba(0, 41, 107, 0.05);
  z-index: 1;
}

.case-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.case-image {
  flex: 1;
}

.case-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.case-text {
  flex: 1;
  padding: 30px 40px 30px 0;
}

.case-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #3566c9;
}

.case-text p {
  margin-bottom: 20px;
}

.more-link {
  color: #3566c9;
  font-weight: 600;
}

/* 核心优势 */
.advantage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.advantage-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #3566c9;
}

.advantage-card p {
  font-size: 14px;
}

/* 页脚 */
footer {
  background-color: #1e90ff; /* 页脚背景色 */
  color: #ECF0F1; /* 页脚文字浅色 */
  padding: 40px 0 0;
  height: 444px;
  position: relative;
  padding-bottom: 60px; /* 为底部版权区域留出空间 */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.link-group h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #FFFFFF; /* 页脚小组标题白色 */
  position: relative;
}

.link-group h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #3498DB; /* 页脚小组标题下划线颜色 */
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: #BDC3C7; /* 页脚链接浅灰色 */
  font-size: 14px;
}

.link-group ul li a:hover {
  color: #FFFFFF; /* 页脚链接悬停白色 */
}

.footer-qrcode {
  text-align: center;
}

.footer-qrcode p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1440px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* 添加底部版权信息样式 */
.footer-copyright-wrapper {
  background-color: #0c80f4; /* 页脚底部版权背景色，比页脚主背景稍深 */
  padding: 15px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 30px;
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: #BDC3C7; /* 版权文字颜色 */
  margin: 0;
}

/* 核心优势样式 */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-top: 20px;
}
.advantage-card {
  padding: 10%;
  border-radius: 8px;
  position: relative;
  /* height: 260px; */
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100%;
  text-align: left;
}
.advantage-card h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}
.advantage-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 40px;
}
.data-icon {
  background-image: url('../images/data-icon/data-icon.png');
}
.innovation-icon {
  background-image: url('../images/data-icon/innovation-icon.png');
}
.research-icon {
  background-image: url('../images/data-icon/research-icon.png');
}
.network-icon {
  background-image: url('../images/data-icon/network-icon.png');
}
/* 页脚样式 */
.footer-qrcode {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-qrcode img {
  width: 50%;
  max-width: 120px;
  margin-bottom: 10px;
}

.header-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.case-info {
  background-color: #2C3E50; /* 中间案例信息背景色 */
  color: white;
  padding: 20px;
  text-align: left;
}

.slider-prev {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
}
.slider-prev i {
  color: #3498DB; /* 切换按钮图标颜色 */
}

.slider-next {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #3498DB; /* 切换按钮背景色 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
}
.slider-next i {
  color: white; /* 切换按钮图标颜色 */
}

/* 核心优势区块标题的特殊颜色 */
.core-advantages .section-title h2 span { /* 假设span包裹了◆符号 */
  color: #3498DB; /* 核心优势标题符号颜色 */
} 