.tiancf-search-form {
    margin: 0;
    padding: 0;
}

.tiancf-search-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.tiancf-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.tiancf-search-input {
    min-width: 240px;
    height: 40px;
    border: 1px solid var(--logo-font-color);
    padding-left: 45px;
    border-radius: 30px;
    flex-grow: 1;
}

.tiancf-search-submit {
    width: 100px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
    border: none;
    margin-left: 10px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* 二维码容器样式 */
.qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-image {
  max-width: 150px;
  height: auto;
}

.qr-title {
  font-size: 16px;
  color: #616161;
}

/* 动画效果 */
.animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20%, 0);
    transform: translate3d(0, 20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20%, 0);
    transform: translate3d(0, 20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/* 首页样式 */
.tiancf-index-title h3{
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
}

.tiancf-index-title p{
    font-size: 16px;
    color: var(--logo-font-color);
    margin: 10px auto;
    line-height: 24px;
}

.tiancf-index-title-w h3{
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.tiancf-index-title-w p{
    font-size: 16px;
    color: #fff;
    margin: 10px auto;
    line-height: 24px;
}

.tiancf-index-line{
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 30px auto 30px;
}

.tiancf-index-line-w{
    height: 4px;
    width: 80px;
    background-color:#fff;
    margin: 30px auto 30px;
}

.tiancf-footer-logo {
    width: 340px;
    height: auto;
    margin-top: 20px;
}

.tiancf-footer-copyright{
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin: 30px auto 0;
}

.tiancf-footer-adderss{
  margin-top: 20px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: baseline;
  text-align: right;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column
}

.tiancf-footer-adderss p{
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;

}

.tiancf-footer-adderss p:first-child{
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;

}

.tiancf-footer-share{
  margin-top: 20px;
  color: var(--logo-font-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: baseline;
  text-align: right;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column
}

.qrcode-container {
    border-radius: 10px;
}

.qrcode-popup {
    top: -230px;
    right: 35px;
    transform: translateX(50%);
    transition: all 0.3s ease;
}

.hidden {
    display: none;
}

.tiancf-footer-share p:first-child {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.tiancf-footer-share-icon{
    display: block;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    box-sizing: content-box;
    text-align: center;
    border-radius: 100%;
    border: 1px solid #fff;
    font-size: 2.5rem;
    padding: 0.5rem;
    color: #fff;
}

.tiancf-index-img {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-top: 60px;
}

/* 关于我们 */
.carousel-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  color: #f5cc2e;
}

.foundation-content {
  background-color: #f2f3f5;
  padding: 30px;
  height: 400px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.foundation-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--logo-font-color);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* 隐藏超出容器的内容 */
}

.content-animation-container {
  opacity: 0;
}

.animation-slide-down {
  animation: slideDown 1s ease forwards;
  opacity: 0;
}

.animation-slide-up {
  animation: slideUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 视频资料样式 */
.video-wrapper{
    padding: 60px 0;
}
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-player {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.video-list{
    padding-bottom: 60px;
}

/* 移动端我们的项目 */
.project-slider-wrapper {
  position: relative;
  padding: 20px 0;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.project-list {
  transition: transform 0.5s ease;
  will-change: transform;
  display: flex;
  flex-wrap: nowrap;
}

.project-item {
  padding: 0 10px;
  transition: all 0.5s ease;
  z-index: 1;
  flex: 0 0 auto;
}

.col-lg-2_4 {
  flex: 0 0 25%;
  max-width: 25%;
}

.case-item-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.project-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.case-item:hover .project-thumbnail {
  transform: scale(1.05);
}

.project-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.project-slider-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-title-status {
  width: 100%;
}

.project-status {
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
}

.status-active {
  background-color: green;
}

.status-terminated {
  background-color: red;
}

/* PC端主导航样式 */
@media (min-width: 992px) {
  .tiancf-index-nav{
    background-color: var(--primary-color);
    height: 60px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    /* z-index: 10; */
    margin-top: 30px;
  }

  .tiancf-index-nav {
    position: relative;
  }

  .tiancf-nav-menu {
    height: 60px;
    display: block;
    width: 100%;
  }

  .tiancf-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    width: 100%;
  }

  .tiancf-nav-menu ul li {
    position: relative;
    text-align: center;
    line-height: 60px;
    height: 60px;
    flex: 1;
    min-width: 0;
  }

  .tiancf-nav-menu ul li a {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    overflow: hidden;
    font-size: 1.125rem;
    /* font-weight: 700; */
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
  }

  .tiancf-nav-menu ul li a span {
    position: absolute;
    left: 0;
    width: 100%;
  }

  .tiancf-nav-menu ul li a span.tiancf-nav-out {
    top: 0px;
  }

  .tiancf-nav-menu ul li a span.tiancf-nav-over {
    top: -60px;
  }

  #tiancf-nav-menu2 {
    background: var(--primary-color);
  }

  #tiancf-nav-menu2 ul li a {
    color: #fff;
  }

  #tiancf-nav-menu2 ul li a span.tiancf-nav-over {
    background: #ff762a;
    color: #fff;
  }

  .tiancf-nav-menu ul li .tiancf-nav-submenu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 100;
  }

  .tiancf-nav-menu ul li .tiancf-nav-submenu li {
    float: none;
    background: var(--primary-color);
    overflow: hidden;
    width: 100%;
  }

  .tiancf-nav-menu ul li .tiancf-nav-submenu li a {
    width: 100%;
    font-size: 1rem;
    color: #000;
  }

  .tiancf-nav-menu ul li .tiancf-nav-submenu li a span {
    width: 100%;
    background-color: var(--primary-color);
  }
  
  .mobile-menu-btn{
    display: none !important;
  }
}

/* 移动端主导航样式 */
@media (max-width: 991.98px) {
  .mobile-menu-btn {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 101;
  }
  
  
  header .logo img{
    width: 170%;
    height: auto;
    object-fit: contain;
  }
  .logo {
    display: block;
  }
  
  .mobile-menu-container {
    display: none;
    position: relative;
    /* top: 0;
    left: 0;
    right: 0; */
    background-color: white;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px 10px 10px 0;
  }
  
  .mobile-nav ul {
    display: block;
    flex-direction: column;
  }

  .mobile-nav ul li {
    flex: none;
    width: 100%;
    position: relative;
    text-align: left;
    padding: 5px 0 5px 10px;
    box-sizing: border-box;

  }

  .mobile-nav ul li a{
    font-size: 14px;
    font-weight: bold;
    color: var(--logo-font-color);
  }

  .mobile-nav-item {
    position: relative;
  }

  .mobile-nav-toggle {
    position: absolute;
    right: 20px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--logo-font-color);
    cursor: pointer;
  }

  .mobile-nav-submenu li a{
    font-size: 14px !important;
    color: #999 !important;
  }
  
  .row.align-items-center {
    padding: 10px 0;
  }
  
  .main-slider {
    position: relative;
    z-index: 0 !important;
  }
  
 
  .tiancf-nav-menu.d-none.d-lg-block {
    display: none ;
  }

  /* 移动端页脚样式优化 */
    .tiancf-footer-logo {
        width: 225px !important; /* 缩小logo尺寸 */
        margin: 0 auto !important;
    }

    .container.d-flex:first-of-type {
        justify-content: center !important;
    }
    
    .left.d-flex {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .footer-menu .d-flex {
        flex-direction: column !important; /* 垂直排列 */
    }
    
    .tiancf-footer-adderss,
    .tiancf-footer-share {
        text-align: center !important; /* 文本居中 */
        align-items: center !important;
        margin: 15px 0 !important;
    }
    
    .tiancf-footer-adderss p,
    .tiancf-footer-share p {
        font-size: 14px !important; /* 减小字体 */
    }
    
    .tiancf-footer-copyright {
        font-size: 14px !important;
        padding: 0 15px !important;
    }
    
    .qrcode-popup {
        right: 50% !important;
        transform: translateX(50%) !important; /* 二维码居中显示 */
    }

    .qrcodes img{
      width: 35% !important;
    }

    .footer-contact p{
      font-size: 14px !important;
    }

    /* 移动端项目展示区域样式 */
    .col-lg-2_4 {
        flex: 0 0 50% !important; /* 移动端改为2列布局 */
        max-width: 50% !important;
    }
    
    .project-item {
        padding: 0 8px !important;
        margin-bottom: 15px !important;
    }
    
    .case-item-title {
        font-size: 14px !important; /* 减小标题字体 */
        padding: 10px !important;
    }
    
    .tiancf-index-title-w h3 {
        font-size: 24px !important; /* 减小标题大小 */
    }
    
    .tiancf-index-title-w p {
        font-size: 14px !important; /* 减小副标题大小 */
    }
    
    .project-slider-wrapper {
        padding: 10px 0 !important;
    }
    
    .case-item-state {
        font-size: 12px !important; /* 减小状态标签字体 */
        padding: 3px 8px !important;
    }

    .case-wrapper{
      padding: 0 15px !important;
    }

    /* 关于我们区域移动端样式 */
    .product-wrapper{
      padding-top: 0;
    }

    .product-wrapper .col-12.col-lg-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .carousel-image {
        height: 220px !important; /* 减小移动端图片高度 */
    }
    
    .foundation-content {
        padding: 20px !important;
        height: auto !important; /* 自动适应内容高度 */
    }
    
    .foundation-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .procont_lbot p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .product-wrapper .product-more{
      margin-top: 0;
    }

    /* .product-more {
        padding: 15px 0 !important;
    } */
    
    .public-more {
        font-size: 14px !important;
        padding: 8px 15px !important;
    }

     /* 新闻公告区域移动端样式 */
    .news-wrapper .news-item {
        flex-direction: column !important; /* 垂直排列 */
    }

    .news-item-img {
        width: 100% !important; /* 图片占满宽度 */
        margin-bottom: 10px !important;
    }

    .news-item-img img {
        width: 100% !important;
        height: 160px !important; /* 固定图片高度 */
        object-fit: cover !important;
    }

    .card-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .card-info {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    .card-text {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .news-list .col-lg-6 {
        padding: 0 8px !important;
    }

    .news-item .col-md-8 {
        padding: 0 10px !important;
    }

    /* .product-more {
        padding: 15px 0 !important;
    } */

    .tiancf-index-title{
      padding: 0 20px;
      margin-top: 20px;
    }

    .tiancf-index-title h3{
      font-size: 25px;
      font-weight: 700;
      color: var(--primary-color);
    }

    .tiancf-index-title p{
      font-size: 14px;
    }

    /* 其他 */
    .page-content .card-body{
      padding: 10px;
    }

    .page-content{
      margin: 10px !important;
    }

    .news-wrapper{
      padding: 5px !important;
    }

    .page-content-title{
      font-size: 30px !important;
      padding-top: 20px;
    }

    /* 合作伙伴区块移动端样式 */
    .custom-wrapper {
        padding: 20px 0;
    }
    
    .custom-list {
        margin: 0 -8px;
    }
    
    .custom-item {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        padding: 8px 8px !important;

    }
    
    .custom-item .pic {
        padding: 10px !important;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
    }
    
    .custom-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 60px;
    }
    
    .tiancf-index-img {
        background-size: cover;
        background-position: center;
        padding: 30px 0;
    }

    /* 我们的足迹区块移动端样式 */

    #footprint-map {
        height: 350px !important;
    }
    .tiancf-index-title h3 {
        font-size: 22px;
    }
    .tiancf-index-title p {
        font-size: 13px;
    }
    .tiancf-index-line {
        margin: 20px auto;
    }
    .visualMap {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80% !important;
    }

    .product-item-bottom {
        justify-content: center !important; /* 按钮居中显示 */
        padding: 8px 0; /* 增加上下内边距 */
    }
    
    /* 分页控件移动端样式 */
    .page-pagination {
        padding: 15px 0;
        overflow-x: auto; /* 允许横向滚动 */
        -webkit-overflow-scrolling: touch; /* 平滑滚动 */
    }
    .page-pagination ul {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 0;
        white-space: nowrap; /* 防止分页项换行 */
    }
    .page-pagination li {
        margin: 0 3px;
    }
    .page-pagination a,
    .page-pagination span {
        display: inline-block;
        min-width: 36px; /* 增加点击区域 */
        height: 36px;
        line-height: 36px; /* 垂直居中 */
        text-align: center;
        font-size: 14px !important;
        padding: 0 8px;
        border-radius: 4px;
        text-decoration: none;
    }
    .page-pagination .active {
        background-color: var(--primary-color);
        color: white !important;
        font-weight: bold;
        border: none !important;
    }
    .page-pagination a {
        color: var(--logo-font-color) !important;
        border: 1px solid #ddd !important;
    }
    .page-pagination a:hover,
    .page-pagination a:focus {
        background-color: #f5f5f5;
        border-color: #ccc !important;
    }

    .product-list {
      margin-top: 10px;
      padding-bottom: 0 !important;
    }

    /* 项目列表页面移动端样式 */
    .page-list.case-wrapper {
        padding: 15px 0;
    }
    
    .page-list .container {
        padding: 0 15px;
    }
    
    /* 调整项目网格布局为2列 */
    .page-list .col-xl-3,
    .page-list .col-md-6,
    .page-list .col-sm-12 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 8px !important;
        margin-bottom: 16px !important;
    }
    
    /* 项目项样式优化 */
    .case-item {
        display: flex;
        flex-direction: column;
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background-color: white;
        margin-bottom: 0 !important;
    }
    
    .case-item-img {
        position: relative;
        width: 100%;
    }
    
    .case-item-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .mobile-case-wrapper{
      margin-top: 20px;
    }

    /* 状态标签样式优化 */
    .case-item-state {
        font-size: 12px !important;
        padding: 3px 8px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    /* 项目标题样式优化 */
    .case-content-wrapper {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .case-item-title {
        font-size: 14px !important;
        padding: 12px 12px !important;
        margin-bottom: 0 !important;
        line-height: 1.5;
        color: var(--logo-font-color);
        font-weight: 600;
    }

    /* 项目详情页移动端样式 */
    .product-content-info .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .mobile-product-content-info{
      margin-top: 30px;
    }
    
    .procontent1_l {
        padding: 0 15px !important;
        height: auto;
    }
    
    .project-title-status h2 {
        font-size: 22px !important;
    }
    
    .project-status {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }
    
    .procont_lbot p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        padding: 0 10px !important;
    }
    
    .procontent_zx a {
        width: 100% !important;
        padding: 12px 0 !important;
        margin: 10px !important;
        font-size: 16px !important;
    }
    
    .page-content {
        margin: 20px 0 !important;
    }
    
    .tabs {
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        padding: 0 !important;
    }

    .procontent_zx {
        display: none !important;
    }
    
    .tabs-item {
        flex: 0 0 auto !important;
        padding: 12px 18px !important;
        margin-right: 8px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
    
    .card-body {
        padding: 15px !important;
        font-size: 14px !important;
    }
    
    .swiper-container {
        height: 220px !important;
        margin-top: 50px;
    }

    .mobile-tiancf-jianjie{
      margin-top: 10px;
    }
    
    .swiper-slide img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .procont_ltop {
        padding: 0 5px;
    }

    .procont_lbot{
      padding: 10px;
      margin-top: 15px;
    }

}

.tiancf-project-title{
  font-size: 24px;
}