/* Banner 样式 */
.bannerbox {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.Homebanner {
    width: 100%;
    position: relative;
    height: 650px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.Homebanner ul {
    width: 100%;
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.Homebanner ul li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.Homebanner ul li.cur {
    opacity: 1;
    z-index: 10;
}

.Homebanner ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    max-width: none;
}

/* Banner左右按钮样式 */
.Homeleft,.Homeright {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 899999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 300;
    opacity: 0;
}

.Homebanner:hover .Homeleft,
.Homebanner:hover .Homeright {
    opacity: 1;
}

.Homeleft {
    left: 30px;
}

.Homeright {
    right: 30px;
}

.Homeleft:hover,.Homeright:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
    color: #19b1a4;
}

/* 使用伪元素代替直接的文本箭头 */
.Homeleft::before, .Homeright::before {
    content: '';
    width: 12px;
    height: 12px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    display: inline-block;
}

.Homeleft::before {
    transform: rotate(-135deg);
    margin-right: 2px;
}

.Homeright::before {
    transform: rotate(45deg);
    margin-left: 2px;
}

/* 指示器样式 */
.Homedot {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 999;
    bottom: 60px
}

.Homedot a {
    display: inline-block;
    margin: 0 5px;
    height: 12px;
    width: 12px;
    line-height: 1000px;
    overflow: hidden;
    background: url(/assets/banner/point_select.png) no-repeat
}

.Homedot a.cur {
    background: url(/assets/banner/point_selected.png) no-repeat
}

/* Banner文字内容样式 */
.Homebannertext {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.Homebannertext images.bigimg {
    transform: translateY(100px);
    -moz-transform: translateY(100px);
    -ms-transform: translateY(100px);
    -o-transform: translateY(100px);
    -webkit-transform: translateY(100px)
}

.Homebannertext images.newyearimg {
    transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    -webkit-transform: translateY(0)
}

.Homebannertext dl.bannerone {
    position: absolute;
    width: 1200px;
    left: 50%;
    top: 0;
    color: #fff;
    margin-left: -590px;
    z-index: 9999
}

.Homebannertext dl.bannerone dt {
    margin-top: -110px;
    position: relative;
    transform: translateY(100px);
    -moz-transform: translateY(100px);
    -ms-transform: translateY(100px);
    -o-transform: translateY(100px);
    -webkit-transform: translateY(100px)
}

/* Banner响应式设计 */
@media (max-width: 1200px) {
  .Homebanner {
    height: 450px;
  }
}

/* Banner 标题样式 */
.banner-title {
    position: absolute;
    bottom: 25%;
    right: 10%;
    text-align: right;
    z-index: 20;
    max-width: 600px;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}
.banner-title-center{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
     animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}

.banner-title-main {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.banner-title-slogan {
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* 标题淡入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
  .Homebanner {
    height: 450px;
  }
  
  .banner-title {
    bottom: 30%;
    right: 8%;
  }
  .banner-title-main {
    font-size: 48px;
    margin-bottom: 15px;
  }
  .banner-title-slogan {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .banner-title {
    bottom: 35%;
    right: 6%;
  }
  .banner-title-main {
    font-size: 36px;
    margin-bottom: 12px;
  }
  .banner-title-slogan {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .banner-title {
    bottom: 40%;
    right: 5%;
  }
  .banner-title-main {
    font-size: 28px;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  .banner-title-slogan {
    font-size: 16px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 992px) {
  .Homebanner {
    height: 400px;
  }
  
  .Homeleft, .Homeright {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 30px;
  }
  
  .Homedot {
    bottom: 45px;
  }
  
  .Homedot a {
    height: 10px;
    width: 10px;
    margin: 0 6px;
  }
}

@media (max-width: 768px) {
  .Homebanner {
    height: 350px;
  }
  
  .Homeleft, .Homeright {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 25px;
  }
  
  .Homedot {
    bottom: 30px;
  }
}

@media (max-width: 576px) {
  .Homebanner {
    height: 280px;
  }
  
  /* 移动端优化图片显示 */
  .Homebanner ul li img {
    object-position: center center;
  }
  
  .Homeleft, .Homeright {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .Homebanner {
    height: 240px;
  }
}

@media (max-width: 360px) {
  .Homebanner {
    height: 200px;
  }
  
  .Homedot {
    bottom: 10px;
  }
  
  .Homedot a {
    height: 7px;
    width: 7px;
    margin: 0 3px;
  }
}

/* 响应式设计中的按钮样式 */
@media (max-width: 992px) {
    .Homeleft, .Homeright {
        width: 45px;
        height: 45px;
    }
    
    .Homeleft {
        left: 20px;
    }
    
    .Homeright {
        right: 20px;
    }
    
    .Homeleft::before, .Homeright::before {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    .Homeleft, .Homeright {
        width: 40px;
        height: 40px;
    }
    
    .Homeleft {
        left: 15px;
    }
    
    .Homeright {
        right: 15px;
    }
    
    .Homeleft::before, .Homeright::before {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 576px) {
    .Homeleft, .Homeright {
        width: 36px;
        height: 36px;
    }
    
    .Homeleft {
        left: 10px;
    }
    
    .Homeright {
        right: 10px;
    }
    
    .Homeleft::before, .Homeright::before {
        width: 8px;
        height: 8px;
    }
}

/* 指示器响应式设计 */
@media (max-width: 768px) {
  .Homedot {
    bottom: 30px;
  }
  .Homedot a {
    height: 9px;
    width: 9px;
    margin: 0 5px;
  }
}

@media (max-width: 576px) {
  .Homedot {
    bottom: 20px;
  }
  .Homedot a {
    height: 8px;
    width: 8px;
    margin: 0 4px;
  }
}

@media (max-width: 360px) {
  .Homedot {
    bottom: 15px;
  }
}

/**
 * 产品banner
 */
 .product-banner{
	background: url("/assets/product/ybj2800.png") no-repeat;
}
.product-banner,.yn-banner,.yljt-banner,.lsyd-banner,.wjw-banner,.ys-banner,.doctor-banner,.ybj-banner{
	background-size: cover;
	background-position: center;
}