/*文字*/
.ct-text-shadow {
  color: white;
  text-shadow: 2px 2px 50px #6c757d;
}

.bg-purple-title {
  fill: #502c6c !important;
  background-color: #502c6c !important;
}

/*背景色*/
.bg-warning-c {
  background-color: #ffde03 !important;
}


/* 导航链接添加过渡动画 */
.navbar {
  padding: .75rem 0 !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.bg-custom-red {
  background-color: rgba(176, 42, 55, 0.96) !important;
}

.nav-link-custom {
  transition: all 0.3s ease;
  /* 平滑过渡效果 */
  border-radius: 9999px !important;
  /* 强制覆盖Bootstrap原有圆角 */
  color: #fff !important;
  /* 强制覆盖Bootstrap原有文字颜色 */
}

/* 悬停/聚焦状态：显示胶囊圆角 */
.nav-link-custom:hover,
.nav-link-custom:focus {
  border-radius: 9999px !important;
  /* 强制覆盖Bootstrap原有圆角 */
  background-color: #ffcd39 !important;
  /* 可选：悬停背景色 */
  color: #000 !important;
  /* 强制覆盖Bootstrap原有文字颜色 */
}

/* 点击/激活状态：颜色加深 */
.nav-link-custom:active,
.nav-link-custom.active {
  background-color: #ffc107 !important;
  /* 加深背景色 */
  color: #000 !important;
  /* 保持文字颜色 */
  box-shadow: none !important;
  /* 移除Bootstrap默认阴影 */
}

/* 可选：为链接添加胶囊形状的padding */
.nav-link-custom {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/*幻灯片*/
.carousel-item {

  height: 32rem !important;
}


/*图标*/
.feature-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 10rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  
}

.feature-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.iconbox {
  width: 60px;
  height: 60px;
  font-size: 2rem;
  border: 1px solid;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

}


.media {
  display: flex;
  align-items: flex-start;
}

.media-body {
  flex: 1;
}

.custombanner {
  background-image: url(../style/banner.png);
  background-position: center;
  background-size: cover;
}
.custombanner2 {
  background-image: url(../style/carbanner.png);
  background-position: center;
  background-size: cover;
}

.custombanner3 {
  background-image: url(../style/ylbanner.png);
  background-position: center;
  background-size: cover;
}

/*卡片*/
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/*图片居中*/
.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*备注*/
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #eee;
  border-left-width: .25rem;
  border-radius: .25rem;
  border-left-color: #5bc0de;
}

/*列表*/

.list-li-number-wh {
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}



@media (min-width: 992px) {
  .ctline {
    position: relative;
    overflow: visible;
  }

  .ctline::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background-image:
      radial-gradient(circle, #333 1px, transparent 1px),
      radial-gradient(circle, #333 1px, transparent 1px);
    background-size: 6px 1px;
    background-position: 0 0, 3px 0;
    background-repeat: repeat-x;
  }

}