/* index.css */
.index-top {
  background: url('../images/banner1.jpg');
  background-size: cover;
  background-position: top center;
  height: 560px;
}

.index-top-main {
  padding-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-top .site-header {
  width: 100%;
  background-color: rgba(0, 0, 0, .8);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
  padding: 0;
  transition: top .7s, background-color .5s;
  color: #fff;
}
.index-top .main-navbar,
.index-top .navbar-nav {
  height: 80px;
}

.index-top .navbar-nav .nav-item.active {
  background-color: none
}

.index-top .site-header a {
  color: #fff
}
.home .dropdown-menu{
  background-color: rgba(0, 0, 0, .8);
}


.index-top-main .search-container {
  display: flex;
  justify-content: center;
}

/* .index-top-main .search-container form {
  box-shadow: 0 .0625rem .125rem 0 rgba(60, 64, 67, .3), 0 .125rem .375rem .125rem rgba(60, 64, 67, .15);
} */

.index-top-main .search-container .form-control {
  width: 510px;
  height: 60px;
  font-size: 18px;
  border-color: #ed7902;
}

.index-top-main .search-container .btn {
  height: 60px;
  border-radius: 0;
  background-color: #ed7902;
  color: #fff;
  font-size: 18px;
  margin-left: -2px;
  border-color: #ed7902;
  /* box-shadow: 0 .0625rem .125rem 0 rgba(60, 64, 67, .3), 0 .125rem .375rem .125rem rgba(60, 64, 67, .15); */
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

.slogon {
  font-size: 36px;
  font-weight: 600;
  margin-top: 150px;
  margin-bottom: 3rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.company-intro {
  color: #333;
  font-size: 18px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #fff;

}

.company-intro p {
  margin-bottom: 1rem;
}



.index-jumbotron {
  position: relative;
}

.index-jumbotron .content {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 1rem 0;
  background: rgba(25, 108, 162, 0.9);
  color: #fff;
  text-align: justify;

}

.index-jumbotron .content .title {
  font-size: 28px;
}

.index-jumbotron .content .description {
  font-size: 1rem;
}

.index-product-category {
  display: flex;
}

.index-product-category .category-1 {
  width: 30%;
  margin-bottom: 2rem;
}

.index-product-category .category-2 {
  width: 70%;
}

.index-product-category .category-1 .nav-item {
  border-radius: 0;
  background-color: rgba(31, 51, 116, 0.05);
  margin-top: 1px;
  position: relative;
}

.index-product-category .nav-item .icon-arrow-right {
  position: absolute;
  top: 5px;
  right: 20px;
  transition: transform 0.3s ease;
}

/* 鼠标悬停时箭头向右移动 */
.index-product-category .nav-item .icon-arrow-right:hover {
  transform: translateX(5px);
  /* 向右移动 5px */
}

/* 产品标题样式 */
.category-1 .category-title {
  font-size: 18px;
  font-weight: bold;
  color: #196ca2;
  margin-bottom: 10px;
}

/* 产品描述样式 */
.category-1 .category-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

/* .index-product-category .tab-content {
    border-top: none;
    padding: 0 1rem;
  } */

.index-product-category .nav-pills .nav-link {
  border-radius: 0;

}

.index-product-category .nav-pills:last-child .nav-link {
  border-bottom: none;
}

.index-product-category .nav-link.active,
.index-product-category .nav-link.active:hover {
  background-color: rgb(25, 108, 162);
  color: white;
  border-bottom: none;
}

.index-product-category .nav-link:hover {
  background-color: rgba(25, 108, 162, 0.1);
}

.index-product-category .nav-link.active .category-title,
.index-product-category .nav-link.active .category-description {
  color: white;
}


.index-product-category .nav-item a {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}


.section-container {
  margin: 0 auto;
  padding-bottom: 80px;
}

.section-container-gray-bg {
  background: #f8f8f8;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

.section-container-image-bg,
.section-container-image-bg h2,
.section-container-image-bg h3 {
  color: #fff;
  text-align: center;
}

.divider-1 span {
  display: inline-block;
  width: 200px;
  height: 1px;
  background: #ddd;
}

.card-img-top {
  height: 160px;
  width: 160px;
  object-fit: cover;
  object-position: center;
}

.card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}


.list-product-categoriy .list-group-item {
  display: flex;
}

.list-product-categoriy .category-featured-image {
  height: 80px;
  width: 80px;
  border-radius: 5px;
  margin-right: 10px;
}





.section-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.section-more a {
  width: 200px;
  line-height: 50px;
  background-color: #196ca2;
  color: #fff !important;
  transition: all 0.5s;
  font-weight: bold;
  text-align: center;
  border-radius: .25rem;
  box-shadow: 0 .0625rem .125rem 0 rgba(60, 64, 67, .3), 0 .125rem .375rem .125rem rgba(60, 64, 67, .15);
}

.section-more a:hover {
  width: 260px;
  transition: width 0.5s;
  text-decoration: none;
}
.index-quality{
  padding: 2rem 0;
}
.index-quality-control {
  display: flex;
  position: relative;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

.quality-control-img {
  width: 50%;
}
.carousel-item h3 a{
  font-family: 'Oswald';
  color:#fff
}
.quality-control-intro {
  width: 50%;
  padding: 1rem;
  color: #333
}

.quality-control-intro p {
  margin-bottom: 1rem;
}

.quality-control-list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.quality-control-list li {
  width: 24.5%;
  position: relative;
}
.quality-control-list li h3{
  position: absolute;
  left:10px;
  top:10px;
  font-size: 20px;
  color:#fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}
.index-quality .section-desc{
  text-align: left;
}

.index-hoist-category {
  display: flex;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}

.home .hoist-item {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.home  .hoist-item .wrap_thumb{
  padding-bottom: 75%;
}
.index-hoist-category .hoist-item .category-title{
  font-size: 18px;
}
.index-hoist-category.app{
  display: none;
}
.home .subcategory-container{
  padding-left:1rem;
}
.home .blog-container{
  display: flex;
  flex-wrap: wrap;

}
.home .blog-container article{
  width: 25%;
  padding: 10px;
}

.home article .wrap_thumb{
  padding-bottom: 75%;
}
.home .article_title{
  padding-top: 10px;
  
}
.home .article_title a{
  font-size:16px;
  line-height: 1.3;
}
.home .index-friendship{
  padding: 2rem 0;
}
.home .index-friendship img{
  height: 50px;
  width: auto;
}
@media screen and (max-width: 768px) {
  .index-product-category.pc{
    display: none;
  }
  .index-hoist-category.app{
    display: flex;
  }
  .company-intro{
    padding: 0;
  }
  .index-top-main .search-container .form-control{
    width: 75%;
  }
  .index-top-main .search-container .btn{
    margin-top: 0 !important ;
  }
  .index-top .site-header .main-navbar{
    height: auto;
  }
  .index-top .site-header .navbar-nav {
    height: auto;
    background: #111;
  }
  .section-title{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section-title .more-link{
    display: inline-flex;
    position: relative;
  }
  .section-desc{
    display: none;
  }
  .quality-control-intro{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .subcategory-container .subcategory-item{
    width: 100% !important;
  }
  .quality-control-list li {
    width: 49% !important;
  }
  .blog-container article{
    width: 100% !important;
  }
  
}
@media (max-width: 991px) {
  
  .navbar-nav .nav-item.active{
    background-color: transparent;
    
  }
  .navbar-nav .nav-item.active .nav-link,.dropdown-menu .menu-item.active .dropdown-item {
    color: rgb(25, 108, 162);
  }
}