#bobo-banner {
  position: relative
}

#bobo-banner img {
  width: 100%
}

#bobo-banner .swiper{width: 100%;height: 100%;}

#bobo-banner .swiper-slide {
  position: relative
}

#bobo-banner .t {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  z-index: 999;
}

#bobo-banner .t .container {
  height: 100%;
  padding-bottom: 60px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  -webkit-flex-direction: column;
  flex-direction: column;
}

#bobo-banner .t h5 {
  text-align: left;
  font-size: 32px;
  font-weight: 700;
  color: #fefefe;
  width: 480px;
}

#bobo-banner .t p {
  text-align: left;
  max-width: 480px;
  font-size: 16px;
  color: #fefefe;
  font-weight: 500;
  margin: 10px 0 0;
}

#bobo-banner .t .more {
  width: 480px;
  font-size: 0;
  position: relative; /* 确保伪元素相对于按钮定位 */
  overflow: hidden; /* 确保伪元素不会超出按钮边界 */
  z-index: 1; /* 确保按钮内容在伪元素之上 */
  background-color: transparent; /* 按钮背景透明 */
  border: none; /* 移除默认边框 */
  padding: 10px 0px; /* 按钮内边距 */
  color: white; /* 文字颜色 */
  font-size: 16px; /* 文字大小 */
  cursor: pointer; /* 鼠标悬浮时显示手型 */
  box-sizing: border-box; /* 确保 padding 和 border 包含在按钮尺寸内 */
}

#bobo-banner .t .more a {
  width: 165px;
  height: 40px;
  line-height: 40px;
  background: var(--color-primary);
  border-radius: var(--button-radius);
  display: inline-block;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  text-align: center;
}
#bobo-banner .t .more a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0; /* 初始宽度为0 */
  height: 100%;
  z-index: -1; /* 伪元素在按钮内容下方 */
   /* 圆角 */
  background-color: #265aab; /* 背景颜色 */
  transition: width 0.3s ease; /* 只对宽度变化添加过渡效果 */
}

#bobo-banner .t .more a:hover::after {
  width: 100%; /* 悬浮时宽度变为100% */
}


#bobo-banner .swiper-pagination-bullets {
  bottom: 60px
}

#bobo-banner .swiper-pagination-bullet {
  width: 80px;
  height: 3px;
  margin: 0 6px;
  background: rgba(255, 255, 225, 0.5);
  border-radius: 0;
  opacity: 1;
  box-sizing: border-box;
  position: relative
}

#bobo-banner .swiper-pagination-bullet-active {
  background: #ffffe1
}


#bobo-banner .swiper-button-prev,
#bobo-banner .swiper-button-next {
  width: auto;
  height: auto;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.5);
  background: 0 0;
  margin-top: -60px;
  text-align: center
}

#bobo-banner .swiper-button-prev::after,
#bobo-banner .swiper-button-next::after {
  display: none;
}

#bobo-banner .swiper-button-prev i,
#bobo-banner .swiper-button-next i {
  font-size: 50px;
  color: inherit
}

#bobo-banner .swiper-button-prev,
#bobo-banner .swiper-container-rtl .swiper-button-next {
  left: 10px;
  right: auto
}

#bobo-banner .swiper-button-next,
#bobo-banner .swiper-container-rtl .swiper-button-prev {
  right: 10px;
  left: auto
}

#bobo-banner .swiper-button-prev:hover,
#bobo-banner .swiper-button-next:hover {
  color: #fff
}


@media screen and (max-width: 1440px) {
#bobo-banner .t {right: 100px;}
}

@media screen and (max-width: 1280px) {
#bobo-banner .t {width: 60%;right: 50px;top: 40px;}
}

    

@media screen and (max-width: 992px) {

  #bobo-banner .t {width: 65%;}
  
  #bobo-banner .t h5 {
    font-size: 29px;
    line-height: 1.3
  }

  #bobo-banner .t p {
    font-size: 15px;
    margin: 15px 0 0
  }

  #bobo-banner .t .more {
    margin-top: 20px;
    font-size: 0
  }

  #bobo-banner .t .more a {
    width: 170px;
    height: 36px;
    line-height: 36px;
    font-size: 15px
  }

  #bobo-banner .swiper-pagination-bullets {
    bottom: 15px
  }

  #bobo-banner .swiper-pagination-bullet {
    width: 20px;
    height: 3px;
    margin: 0 4px
  }

  #bobo-banner .swiper-button-prev,
  #bobo-banner .swiper-button-next {
    display: none
  }
}

@media screen and (max-width: 768px) {
  #bobo-banner .t {width: 80%;}
  #bobo-banner img {width: 100%;min-height: 230px;object-fit: cover;}
  #bobo-banner .t .container { align-items: start;-webkit-align-items: start;}
  /*#bobo-banner .swiper-slide:nth-child(2) img{object-position: bottom right;}*/
  #bobo-banner img[alt="The Premier lrrigation Solution"] {object-position: bottom right;}

  #bobo-banner .t h5 {
    font-size: 30px;
    line-height: 1.2;
    width: auto;
  }

  #bobo-banner .t p {
    font-size: 14px;
    margin: 12px 0 0
  }

  #bobo-banner .t .more {
    margin-top: 15px;
    width: auto;
  }

  #bobo-banner .t .more a {
    width: 150px;
    height: 34px;
    line-height: 34px;
    font-size: 14px
  }
}

@media screen and (max-width: 576px) {
  #bobo-banner .t h5 {
    font-size: 20px;
  }

  #bobo-banner .t p {
    font-size: 10px;
    margin: 10px 0 0
  }

  #bobo-banner .t .more {
    margin-top: 10px
  }

  #bobo-banner .t .more a {
    width: 140px;
    height: 32px;
    line-height: 32px;
    font-size: 13px
  }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 998;
    display: none;
}



@media(max-width:768px){
  .overlay {
    display: block; 
}
}