html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

.navs .active {
  font-size: 17px;
  font-weight: 600;
}

.nav-link {
  position: relative;
  font-size: 16px;
}

/* 选中（active）时下划线全屏（新增核心样式） */
.nav-link.active::after {
  width: 100%; /* 激活状态下划线常驻全屏 */
  background-color: #e94560; /* 保持红色，和hover一致 */
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #e94560;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 52, 96, 0.3);
}
