ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
a{
    text-decoration: none;
    color: inherit;
}
.navbar {
  min-height: 5rem;
}
.nav-link {
  display: block;
  width: 10rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  padding: 0;
}
.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* 下拉菜单整体样式 */
.dropdown-menu {
  /* 尺寸与圆角 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: none;
  min-width: 5rem; /* 宽一点更稳重 */
  padding: 8px 0;

  /* 动画控制 */
  opacity: 1;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: top center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 展开时：滑下动画 + 显示 */
.dropdown-menu.show {
  visibility: visible;
  transform: scaleY(1);
  animation: dropdownSlideDown 0.3s ease forwards;
}

/* 定义滑动动画 */
@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px) scaleY(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

/* 下拉项基础样式 */
.dropdown-item {
  color: #333;
  font-size: 15px;
  padding: 12px 20px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hover 效果：背景色 + 微位移 */
.dropdown-item:hover,
.dropdown-item.active {
  background: linear-gradient(90deg, #e6f7ff, #d0f0fc);
  color: #1890ff;
  font-weight: 500;
}

/* 可选：添加小图标（用 Font Awesome）*/
.dropdown-item i {
  font-size: 14px;
  color: #1890ff;
  width: 18px;
  text-align: center;
}

/* 分隔线美化 */
.dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid #eee;
}

/* 激活状态高亮 */
.dropdown-toggle::after {
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.dropdown-toggle.show::after {
  transform: rotate(180deg); /* 箭头翻转，提示已展开 */
}
/* 轮播容器 */
.hero-carousel {
  height: 50rem;
  position: relative;
  margin-bottom: 5rem;
}

.main-swiper {
  width: 100%;
  height: 100%;
}
.swiper {
  color: #000;
}
.swiper-slide .btn {
  color: #fff;
  background: #6c63ff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem;
}
/* Swiper 默认按钮美化 */
.swiper-button-prev,
.swiper-button-next {
  color: white;
  background-color: rgba(255, 255, 255, 0.2); /* 白色透明背景 */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px); /* 毛玻璃效果（现代感） */
  transition: all 0.3s ease;
  opacity: 0; /* 默认隐藏 */
  transform: scale(0.8);
}

/* Hover 时显示 */
.main-swiper:hover .swiper-button-prev,
.main-swiper:hover .swiper-button-next {
  opacity: 1;
  transform: scale(1);
}

/* 悬停效果 */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}
.c1box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10rem;
}
.c1box video {
  width: 45%;
  max-width: 50rem;
  height: auto;
  border-radius: 1rem;
  display: block;
}
.c1box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.c1box ul {
  margin-bottom: 1.5rem;
}
.c1box ul li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
}
/* 每个li前有个紫色小方块 使用伪类实现 */
.c1box ul li::before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  background: #6c63ff;
  margin-right: 0.5rem;
}
.c1box a {
  display: block;
  background: #6c63ff;
  color: #fff;
  text-align: center;
  width: 10rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 0.5rem;
  padding: 0;
}
.c2 {
  display: none;
  margin-bottom: 5rem;
}
.c2 h3 {
  text-align: center;
  font-weight: bold;
  font-size: 3rem;
  margin-bottom: 2rem;
}
.c2box1 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 5rem;
}
.c2box1 div {
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 25rem;
  height: 10rem;
  text-align: left;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.c2box1 div img {
  width: 20%;
  height: auto;
  margin-left: 1.2rem;
}
.c2box1 p {
  width: 65%;
  font-size: 0.8rem;
}
.c2box1 p b {
  font-size: 1.1rem;
}
.c2txt1 {
  width: 70%;
  margin: 0 auto 3rem;
}
.c2txt1 li {
  font-size: 0.9rem;
  line-height: 2;
}
.c2txt1 li b {
  color: #1890ff;
}
.c2img1 {
  display: block;
  width: 100%;
  /* height: auto; */
  height: 50rem;
  margin: 0 auto 5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.c2box2-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
}
.c2box2-item img {
  width: 48%;
  max-width: 50rem;
  height: auto;
  border-radius: 1rem;
  display: block;
}
.c2box2-item a {
  display: block;
  background: #6c63ff;
  color: #fff;
  text-align: center;
  width: 10rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 0.5rem;
}
.c2box2-item p {
  font-size: 1rem;
  line-height: 2;
  margin: 0.2rem 0;
}
.cont2 {
  margin-bottom: 5rem;
}
.cont2 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 3rem;
  margin-bottom: 5rem;
}
.c3box1,
.c3box2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}
.cont2 .c3box1 a {
  display: block;
  width: 45%;
  margin: 2rem 0;
  min-width: 20rem;
}
.cont2 .c3box2 a {
  display: block;
  width: 20%;
  margin: 2rem 0;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.cont2 div a img {
  width: 100%;
  height: auto;
}
.c4txt1 {
  text-align: center;
  margin-bottom: 5rem;
}
.cont3 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 3rem;
  margin-bottom: 2rem;
}
.c4box1 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto 5rem;
}
.c4box1 div {
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 50rem;
  min-width: 20rem;
  height: 10rem;
  padding: 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.xia {
  display: block;
  width: 6.5rem;
  height: auto;
}
.fan {
  width: 5rem;
}
.footer {
  background: #0f1838;
  padding: 3rem 0;
  color: #979797;
}
.footer .row h5 {
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}
.footer .row a {
  display: block;
  margin: 1rem auto;
  text-align: center;
}
.footer .kf-code {
  width: 8rem;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: block;
}
.beian {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 3rem;
}
.beian a {
  display: block;
  margin: 0 1rem;
}
.sub-content {
  font-size: 1.0rem;
  line-height:2.0;
  font-weight: bold;
  color: #5c30fd;
  border-radius: 10px;
  box-shadow: 0px 10px 60px rgba(92, 48, 253, 0.2);
  padding: 0.3rem 0.75rem;
  /* text-transform: capitalize; */
  position: relative;
  width: 12rem;
}

.center-sub-content {
  font-size: 1.0rem;
  line-height:2.0;
  font-weight: bold;
  color: #5c30fd;
  border-radius: 10px;
  box-shadow: 0px 10px 60px rgba(92, 48, 253, 0.2);
  padding: 0.3rem 0.75rem;
  /* text-transform: capitalize; */
  position: relative;
  width: 12rem;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-content img {
  width: 1.5rem;
  height: auto;
  margin-right: 0.5rem;
  animation: icon-animation 1.5s infinite ease-in-out;
}
@keyframes icon-animation {
  0% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  20%,
  32%,
  44%,
  56%,
  68% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  23%,
  35%,
  47%,
  59%,
  71% {
    transform: rotate3d(0, 0, 1, 15deg);
  }
  26%,
  38%,
  50%,
  62%,
  74% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  29%,
  41%,
  53%,
  65%,
  77% {
    transform: rotate3d(0, 0, 1, -15deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
