* {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.pr {
  padding-right: 160px;
}

.pl {
  padding-left: 160px;
}

.active {
  font-weight: bold;
}

a {
  cursor: pointer;
  white-space: nowrap;
}

.elli1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner .swiper-pagination-progressbar {
  background: rgba(255, 255, 255, 0.4) !important;
}

.banner .swiper-pagination-progressbar-fill {
  background: rgba(255, 255, 255, 1) !important;
}

.news-swiper-pagination .swiper-pagination-progressbar-fill {
  background: #174ca0 !important;
}

.newsbanner .swiper-slide {
  opacity: 0.2 !important;
  transition: all 2s ease-in-out;
  transform: scale(0.9) !important;
}

.newsbanner .swiper-slide img {
  transition: all 2s ease-in-out;
  transform: scale(0.8);
}

.newsbanner .swiper-slide-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.newsbanner .swiper-slide-active img {
  transform: scale(1);
}

.indexTitle {
  font-size: 22px;
}

/* PC导航背景色 */
.nav-bgc {
  backdrop-filter: blur(10px) brightness(90%);
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 1s ease-in-out;
}

/* WAP导航背景色 */

.nav-bgc-wap {
  backdrop-filter: blur(16px) brightness(90%);
  background-color: rgba(255, 255, 255, 0.95);
}

/* 按钮了解更多样式 */
.more {
  --color: #174ca0;
  overflow: hidden;
  z-index: 1;
  color: var(--color);
  position: relative;
}

.more::before {
  position: absolute;
  content: "";
  background: var(--color);
  width: 200%;
  height: 200%;
  z-index: -1;
  border-radius: 50%;
}

.more:hover {
  color: white;
}

.more:before {
  top: 100%;
  left: 0;
  transition: 0.5s all;
}

.more:hover::before {
  top: -30%;
  left: -30%;
}

/* 蓝色箭头变为白色 */
.more:hover img {
  filter: brightness(0) invert(1);
}

/* 白色变为蓝色 */
.more-white img {
  filter: brightness(0) invert(1);
}

/* 搜索 */
.search-box {
  backdrop-filter: blur(16px) brightness(90%);
  background-color: rgba(255, 255, 255, 0.5);
}

.search-box .input-group {
  display: flex;
  gap: 10px;
  position: relative;
  width: 30%;
  margin-bottom: 10px;
  margin-top: 2px;
}

.search-box .input-text {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 2px solid #fff;
  border-radius: 0 !important;
  outline: 0;
  font-size: 17px;
  color: #333;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.search-box .input-text::placeholder {
  color: transparent;
}

.search-box .input-text:placeholder-shown ~ .input-text-label {
  font-size: 17px;
  cursor: text;
}

.search-box .input-text-label {
  position: absolute;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #fff;
  pointer-events: none;
}

.search-box .input-text:focus {
  padding-bottom: 6px;
  border-width: 3px;
  border-image: linear-gradient(to right, #005ed1, rgba(255, 255, 255, 0));
  border-image-slice: 1;
}

.search-box .input-text:focus ~ .input-text-label {
  color: #005ed1;
}

.search-box .input-text:not(:placeholder-shown) ~ .input-text-label,
.search-box .input-text:focus ~ .input-text-label {
  position: absolute;
  display: block;
  transition: 0.2s;
  font-size: 15px;
  font-weight: 700;
  top: -17px;
}

.search-box .input-text:required,
.search-box .input-text:invalid {
  box-shadow: none;
}

/* 手机菜单 */
/* From Uiverse.io by ahmedyasserdev */
.burger {
  display: inline-block;
  cursor: pointer;
  z-index: 1000;
}

.burger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #005ed1;
  margin: 6px 0;
  transition:
    transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    opacity 0.3s ease;
}

#burger-checkbox {
  display: none;
}

#burger-checkbox:checked + .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#burger-checkbox:checked + .burger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

#burger-checkbox:checked + .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 关于我们数字滚动样式 */
#counter1 {
  opacity: 0;
  /* 初始状态为透明 */
  transition: opacity 0.5s;
  /* 淡入效果 */
}


#counter1.visible {
  opacity: 1;
  /* 当元素可见时变为不透明 */
}

/* 关于我们 */
.select-active .show-box img {
  opacity: 1;
  transform: rotate(90deg);
}

.select-active .msg-box img {
  opacity: 0;
}

.select-active .msg-box span {
  font-size: 18px;
  color: #666666;
}

.process-swiper-pagination {
  background: rgba(255, 255, 255, 0.3) !important;
}

.process-swiper-pagination .swiper-pagination-progressbar-fill {
  background: white !important;
}


.content img {
  margin: 0 auto;
}

.news-list .active {
  color: #174ca0 !important;
  border-bottom-color: #174ca0 !important;
}

.page .active {
  background: #174ca0 !important;
  color: #fff !important;
  border: none !important;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.border-animation .swiper-slide::after {
  position: absolute;
  content: "";
  width: 0;
  height: 2px;
  bottom: -2px;
  transition: all 3s;
}

.border-animation .swiper-slide-thumb-active::after {
  background-color: #fff;
  width: 100%;
}

.border-animation .swiper-slide-thumb-active p {
  color: #fff;
}

.container {
  padding: 0 8.333vw;
  max-width: none !important;
}

.enterpriseEvents .item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #012e94;
  border-radius: 50%;
}

.eventsRound::after {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.5);
}

.eventsRound::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.5);
}

.lineeeee::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  top: 222px;
  height: 3px;
  background: #87b4de;
}

.lineeeee::before {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  top: 236px;
  height: 1px;
  background: #79a8d9;
}

.pro-box:hover .mask {
  background-color: rgba(0, 0, 0, 0.3);
  animation: fadeInOpacity 0.5s ease-in-out forwards;

}

.index-pro-box img {
  transition: all 3s ease-in-out;
}

.pro-box:hover .index-pro-box img {
  scale: 1.25;
}

#introduce p span,#introduce p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

}

@keyframes fadeInOpacity {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.attachment-box {
  display: flex;
  flex-direction: column;
}

input:focus {
  outline: none;
}

@media (max-width: 1536px) {
  .container {
    padding: 0 6.25vw;
  }

  .pr {
    padding-right: 6.25vw;
  }

  .pl {
    padding-left: 6.25vw;
  }
}

@media (max-width: 1280px) {
  .container {
    padding: 0 5.208vw;
  }

  .pr {
    padding-right: 5.208vw;
  }

  .pl {
    padding-left: 5.208vw;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 4.166vw;
  }

  .indexTitle {
    font-size: 20px;
  }

  .pr {
    padding-right: 4.166vw;
  }

  .pl {
    padding-left: 4.166vw;
  }
}

@media (min-width: 1921px) {

  .farmbanner,
  .gardensbanner,
  .allAluminiumbanner {
    height: 800px !important;
  }
}

@media (min-width: 769px) {
  [pc="hide"] {
    display: none !important;
  }

  .farmbanner .swiper-slide,
  .gardensbanner .swiper-slide,
  .allAluminiumbanner .swiper-slide {
    width: 11% !important;
    text-align: center;
    transition: all 700ms ease-in-out !important;

  }

  .farmbanner .swiper-slide-active,
  .gardensbanner .swiper-slide-active,
  .allAluminiumbanner .swiper-slide-active {
    width: calc(67% - 30px) !important;
    text-align: left;
  }

  .farmbanner .swiper-slide:after,
  .gardensbanner .swiper-slide:after,
  .allAluminiumbanner .swiper-slide:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  }

  .product-box::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    ;
    z-index: 2;
  }

  .commonbanner::before,
  .alloybanner::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    ;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 2.604vw;
  }

  .pr {
    padding-right: 2.604vw;
  }

  .pl {
    padding-left: 2.604vw;
  }

  [wap="hide"] {
    display: none !important;
  }

  .select-active .msg-box span {
    font-size: 14px;
    color: #666666;
  }

  .ul-box .show-box img {
    zoom: 0.8;
  }

  .ul-box .msg-box img {
    zoom: 0.8;
  }

  .more-white img {
    filter: brightness(1) invert(0);
  }

  .alloybanner::after {
    height: 0;
  }

  .footer-box:hover .item-box {
    opacity: 100;
  }

  .lineeeee::after {
    top: 104px;
    height: 2px;
  }

  .lineeeee::before {
    top: 116px;
  }

  .eventsRound::after,
  .eventsRound::before {
    height: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .pr {
    padding-right: 20px;
  }

  .pl {
    padding-left: 20px;
  }

  .indexTitle {
    font-size: 18px;
  }

}
