/* ======================== 科研创新页面样式 ======================== */

/* 主体内容区域 */
.innovation-main {
  padding: 60px 0 100px 0;
  min-height: calc(100vh - 678px);
}

.innovation-main .section-container {
  width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ======================== 标签页导航 ======================== */

.tab-nav {
  display: flex;
  justify-content: center;
}

.tab-btn {
  flex: 1;
  max-width: 200px;
  padding: 20px 40px;
  background: none;
  border: none;
  font-weight: 400;
  font-size: 30px;
  color: #626262;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.tab-btn:hover {
  color: #003fa4;
  background: rgba(0, 62, 161, 0.05);
}

.tab-btn.active {
  color: #003fa4;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 164px;
  height: 4px;
  background: #003fa4;
}

/* ======================== 标签页内容容器 ======================== */
.tab-content-wrapper {
  min-height: 600px;
}

.tab-content {
  display: none;
  padding: 0;
}

.tab-content.active {
  display: block;
}

/* ======================== 创新平台样式 ======================== */
.platform-item {
  margin-bottom: 30px;
  height: 704px;
  position: relative;
  margin-top: 60px;
}

/* 背景元素基础样式 */
.platform-item-1,
.platform-item-2,
.achievement-item-1,
.achievement-item-2,
.capability-item-1,
.capability-item-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("../images/cxcg.png");
  background-size: 80% 100%;
  background-repeat: no-repeat;
}

/* 左侧背景定位 */
.platform-item-1,
.achievement-item-1,
.capability-item-1 {
  background-position: left center;
}

/* 右侧背景定位 */
.platform-item-2,
.achievement-item-2,
.capability-item-2 {
  background-position: right center;
}

.div-overlay {
  width: 80%;
  height: 100%;
  opacity: 0.7;
  background-color: #f9f9f9;
}

.div-overlay-reverse {
  width: 80%;
  height: 100%;
  opacity: 0.7;
  background-color: #f9f9f9;
  margin-left: auto;
}

.platform-item:last-child {
  margin-bottom: 0;
}

.platform-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  height: 100%;
  padding-left: 52px;
}

.platform-text {
  flex: 1;
}

.platform-title {
  font-weight: 400;
  font-size: 42px;
  color: #000000;
  margin-bottom: 20px;
}

.platform-text p {
  font-weight: 400;
  font-size: 20px;
  color: #000000;
  line-height: 40px;
  text-align: justify;
}

.platform-image {
  flex: 0 0 45%;
  text-align: center;
  height: 356px;
}

.platform-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.platform-image img:hover {
  transform: scale(1.02);
}

/* 反向布局 */
.platform-item.reverse .platform-content {
  padding-left: 0;
  padding-right: 52px;
}

/* ======================== 创新成果和创新实力现在使用platform样式 ======================== */

/* ======================== 动画效果 ======================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为每个标签页内容添加动画 */
.platform-item {
  animation: fadeInUp 0.6s ease-out;
}

.platform-item:nth-child(1) {
  animation-delay: 0.1s;
}
.platform-item:nth-child(2) {
  animation-delay: 0.3s;
}
