/* 返回顶部按钮样式 */
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#backToTop:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#backToTop i {
  font-size: 20px;
  line-height: 1;
}

/* 移动端优化 */
@media (max-width: 768px) {
  #backToTop {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
  
  #backToTop i {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  #backToTop {
    width: 35px;
    height: 35px;
    bottom: 10px;
    right: 10px;
  }
  
  #backToTop i {
  font-size: 14px;
}
}

/* 首页幻灯片样式 */
.carousel-item {
  height: 400px;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}