﻿/* 公司业绩样式 */
.performance {
  padding: 60px 0 290px;  /* 增加底部内边距，为标签留出空间 */
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;

.performance:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.16);
  }
}

/* 公司业绩标题样式 */
.performance-title {
  text-align: left;
}

.performance-title h3 {
  color: #fff;
  font-size: 28px;
  font-weight: normal;
  padding-left: 0;
}

.performance-title p {
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  padding-left: 0;
  text-transform: uppercase;
  margin-top: 5px;
}

.performance-title:before {
  display: none;
}

.performance .section-title h3 {
  color: #fff;
  font-size: 24px;
}

.performance .section-title p {
  color: #333;
  font-size: 22px;
  font-weight: 600;
}

.performance-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-top: 20px;
}

.performance-content .btn-more {
  position: absolute;
  left: 0;
  top: 46px;
  display: inline-block;
  background-color: #c81e1e;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.performance-content .btn-more:hover {
  background-color: #a51818;
}

.performance-tabs {
  position: absolute;
  right: 0;
  bottom: -120px;
  display: flex;
  flex-wrap: nowrap;
  background-color: rgba(255, 255, 255, 0.7); /* 背景颜色为黑色，透明度为50% */
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  z-index: 10;
  /* opacity: 0.8 !important; */
}

.performance-tabs a {
  padding: 6px 20px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s;
  white-space: nowrap;
  position: relative;
}

.performance-tabs a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: #ddd;
}

.performance-tabs a.active,
.performance-tabs a:hover {
  color: #c81e1e;
}

/* 针对性修复标题样式 */
@media (min-width: 768px) {
  /* 公司业绩 */
  .performance .section-title h3,
  .performance .section-title p {
    color: #333;
  }
  
  .performance .section-title:before {
    background-color: #fff;
  }
}

/* 响应式样式 */
@media (max-width: 1200px) {
  .performance-tabs {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
  }
  
  .performance-tabs a:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .performance {
    padding-bottom: 60px;
  }

  .performance-tabs {
    position: relative;
    bottom: 0;
    margin-top: 80px;
    justify-content: center;
    width: 100%;
  }
  
  .performance-content .btn-more {
    position: relative;
    margin-bottom: 30px;
  }

}

@media (max-width: 767px) {
  .performance-content .btn-more {
    display: inline-block;
  }
  
  .performance-tabs {
    flex-direction: column;
    padding: 14px;
  }
  
  .performance-tabs a {
    text-align: center;
  }
.performance .section-title h3{font-size: 20px;    font-weight: bold;}
.performance .section-title p{font-size: 12px;font-weight: normal;}
} 