
.solution-body{
  position: relative;
}
/* 左右切换箭头 */
.solution-global-arrows {
  position: absolute;
  top: 20%;
  left: 10%;
  right: 10%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  pointer-events: none; 
}
/* 页面容器：包含多个完整页面 */
.page-solution-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 完整页面单元：初始隐藏，仅active显示 */
.full-solution-page {
  display: none;
  width: 100%;
}
.full-solution-page.active {
  display: block;
}

/* Banner区域样式 */
.banner {
  position: relative;
  width: 100%;
  height: 300px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.solution-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.solution-item-title {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  padding: 0 20px;
}
.banner h1 {
  font-size: 32px;
  margin-bottom: 15px;
}
.banner p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.solution-global-carousel {
  width: 40px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  pointer-events: auto; /* 恢复点击能力 */
}
.solution-global-carousel:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* 内容区域样式 */
.content {
  width: 100%;
  margin: -15px auto 0px auto;
  padding: 0px 20px;
}
.solution--list-tab {
  display: flex;
  position: relative;
  justify-content: center;
  margin-bottom: 40px;
}
.solution-tab {
  width: 40%;
  padding: 12px 30px;
  background-color: #f1f5f9;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  position: relative; /* 新增：为了计算位置 */
}
.solution-tab.active {
  background-color: #165DFF;
  color: #fff;
}
.solution-tab.inactive{
  box-shadow: 0.02px 1px 20px #165DFF;
}

/* 内容面板：同页面内的内容切换 */
.solution-panels-content {
  position: relative;
}
.solution-panels-item {
  display: none;
}
.solution-panels-item.active {
  display: block;
  width: 80%;
  margin: 20px auto;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.panel-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.panel-desc {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.solution-card-item {
  padding: 20px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.tab-arrow {
  position: absolute;
  bottom: -8px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #165DFF;
  transition: left 0.3s ease;
  z-index: 10;
}


.solution-tabs-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.solution-section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.solution-section-desc {
    width: 90%;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 auto 30px;
}

.solution-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution-card-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-img-container {
    height: 220px; /* 固定图片容器高度 */
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片自适应裁剪 */
    transition: transform 0.3s;
}
.solution-card-grid-item:hover .card-img {
    transform: scale(1.03); /* 悬停轻微放大 */
}

/* 核心：内容部分在图片上，部分在图片下 */
.solution-card-content-box {
    width: 90%;
    margin: 0 auto;
    position: relative;
    margin-top: -60px; /* 向上偏移，让标题和部分描述在图片上 */
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
}

.card-content-box-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    position: relative;
    z-index: 2; /* 确保标题在最上层 */
}

.card-content-box-desc {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-content-box-footer {
    font-size: 12px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}
