body {
    padding-bottom: 27px;
    /* background: var(--bg-primary); */
    background: linear-gradient(to bottom right, #d5d0d0, #FFFFFF) !important;
    color: var(--text-primary);
    background-image: 
        radial-gradient(var(--grid-color) 1px, transparent 1px),
        radial-gradient(var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* 科技感全局样式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--primary-light);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
* {
    margin: 0;
    padding: 0;
  }
  ul{
    list-style: none;
  }

  * .cevent-carousel {
    height: 100vh;
    overflow: hidden;
    /*图片被覆盖*/
    /* margin-top: 50px; */
  }
  * .cevent-carousel .item img {
    width: 100%;
  }
  * .cevent-carousel .item .carousel-caption {
    bottom: 78%;
  }
  * .btn-group label {
    top: -600px;
    right: -600%;
  }
  * .cevent-container {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  * .thumbnail {
    border: none;
    border-radius: 5px;
    margin-bottom: 0px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }
  * .thumbnail .caption .h3,
  * .thumbnail .caption h3 {
    margin-top: 0px;
  }
  * .cevent-hr {
    margin: auto;
  }
  * .cevent-hr hr {
    border: 1px solid silver;
    box-shadow: 1px 1px 2px silver;
  }
  * .tab-content-img {
    margin-top: 20px;
  }
  * .tab-content-img img {
    width: 30%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 10px auto;
  }
  * .tab-content {
    bottom: 100px;
  }
  * .cevent-footer {
    height: 27px;
    background: #000000;
    color: white;
    padding: 0;
    text-align: center;
  }
  * .cevent-footer .h4,
  * .cevent-footer h4 {
    margin-top: 5px;
  }
  * .cevent-top {
    margin-top: -6.5%;
    margin-left: 93.5%;
    padding: 2px 4px !important;
  }
  @media screen and (max-width: 768px) {
    * .cevent-carousel,
    * .cevent-carousel .item {
      height: 200px;
    }
    * .swiper-slide{
      width: 90vw;
      margin: 0 50vw;
    }
    * .cevent-carousel .carousel-caption,
    * .cevent-carousel .item .carousel-caption {
      bottom: 50%;
    }
    * .btn-group label {
      top: -70px;
      left: 100%;
    }
    *.navbar-brand img{
        height: 30px;
      }
    *.two-row{
      height: 300px;
      overflow-y: scroll;
    }
    *.footer2{
      height: auto;
    }
  }
  @media screen and (min-width: 768px) and (max-width: 992px) {
    * .cevent-carousel,
    * .cevent-carousel .item {
      height: 400px;
    }
    * .cevent-carousel .carousel-caption,
    * .cevent-carousel .item .carousel-caption {
      bottom: 20%;
    }
    * .swiper-slide{
      width: 90vw;
      margin: 0 50vw;
    }
    * .btn-group label {
      top: -100px;
      left: 300%;
    }
    *.navbar-brand img{
        height: 40px;
      }
      *.two-row{
        height: 300px;
        overflow-y: scroll;
      }
    *.footer2{
      height: auto;
    }
  }
  .cevent-tag-page{
    background: transparent;
    overflow: hidden;
    margin-top: 30px;
    transition: all 0.3s ease;
}

/* Tab菜单 - 公司官网风格 */
.cevent-menu-list {
    border-bottom: none;
    background: transparent;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.cevent-menu-list > li {
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.cevent-menu-list > li > a {
    color: #666666;
    border: none;
    border-radius: 0;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.cevent-menu-list > li > a:hover {
    color: #0078d4;
    /* background: #f8f9fa; */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.cevent-menu-list > li.active > a,
.cevent-menu-list > li.active > a:hover,
.cevent-menu-list > li.active > a:focus {
    color: #0078d4;
    background: rgba(223, 215, 215, 0.24) !important;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cevent-menu-list > li.active > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0078d4;
}

/* Tab内容区域 - 公司官网风格 */
.tab-content {
    /* padding: 35px; */
    /* background: #ffffff; */
    position: relative;
    bottom: auto;
}

.tab-pane {
    transition: all 0.5s ease;
}

/* Tab图片样式优化 */
.tab-content-img {
    margin-top: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    padding: 20px;
}

.tab-content-img img {
    width: 100%;
    max-width: 220px;
    position: relative;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-content-img img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* 内容文字样式 */
.tab-content h3 {
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-content p {
    color: #555555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}


.partners {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
}
.partners-item{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  width: 19%;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}
.partners-item:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}
.partners-item img{
  /* height: 70px; */
  width: 90%;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .cevent-tag-page {
        margin: 15px;
        border-radius: 6px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .cevent-menu-list {
        flex-direction: column;
    }
    
    .cevent-menu-list > li > a {
        padding: 12px 20px;
        font-size: 14px;
        margin: 0;
    }
    
    .tab-content-img {
        min-height: 180px;
        padding: 15px;
    }
    
    .tab-content-img img {
        max-width: 180px;
    }
    
    .tab-content h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .tab-content p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* 确保Bootstrap样式不会干扰 */
.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

/* 炫酷的淡入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.tab-content > .tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.tab-content > .active {
    opacity: 1;
    transform: translateY(0);
}

/* 知识产权轮播图样式 */
.property-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    padding: 10px;
}

.property-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.5s ease;
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
}

.property-carousel:hover .property-img {
    transform: scale(1.02);
}

/* 轮播指示器优化 */
.property-carousel .carousel-indicators {
    bottom: 10px;
}

.property-carousel .carousel-indicators li {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    margin: 0 8px;
}

.property-carousel .carousel-indicators .active {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    background: #0078d4;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.8);
}

/* 轮播控制按钮样式 */
.property-carousel .carousel-control {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.property-carousel .carousel-control:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.property-carousel .carousel-control .glyphicon {
    color: #0078d4;
    font-size: 20px;
}

/* 证书展示样式 */
.certificate-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}


.certificate-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px;
    text-align: center;
}

.certificate-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1) 0%, rgba(148, 0, 211, 0.1) 100%);
    z-index: 1;
}

.certificate-img {
    width: 100%;
    height: auto;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.certificate-wrapper:hover .certificate-img {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 证书信息样式 */
.certificate-info {
    padding: 30px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.certificate-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 1;
}

.certificate-title {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    padding-bottom: 15px;
}

.certificate-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0078d4, #9400d3);
    border-radius: 2px;
}

.certificate-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* 优化容器和行布局 */
.tab-content .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    text-align: center;
}

.tab-content .row {
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .property-carousel .carousel-control {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .property-carousel .carousel-control .glyphicon {
        font-size: 16px;
    }
    
    .certificate-wrapper {
        padding: 20px;
    }
    
    .certificate-info {
        padding: 25px;
    }
    
    .certificate-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .certificate-desc {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* 添加炫酷的背景效果 */
.tab-content {
    position: relative;
}

.tab-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
        radial-gradient(circle at 10% 20%, rgba(0, 120, 212, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(148, 0, 211, 0.05) 0%, transparent 20%); */
    pointer-events: none;
    z-index: -1;
}
  /*定义整个滚动条高宽及背景：高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
    width:10px;
    background-color:rgb(34, 34, 34, 0.7);
}
/*定义滚动条轨道：内阴影+圆角*/
::-webkit-scrollbar-track
{
    background-color:rgb(34, 34, 34, 0.7);
}
/*定义滑块：内阴影+圆角*/
::-webkit-scrollbar-thumb
{
    border-radius:5px;
    background-color:#222222;
}

.navbar-inverse .navbar-nav>li>a{
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 18px;
}
.navbar-inverse .navbar-nav>.active>a{
  color: rgb(255, 255, 255);
}