/* 基础样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: #f8f9fa;
}

/* 响应式布局 - 容器宽度设置，屏幕宽度 ≥ 1920px*/
@media (min-width: 1920px) {
  .navbar-container,
  .hero-container {
    width: 1920px !important;
    max-width: 1920px !important;
    margin: 0 auto;
  }

  .content-container {
    width: 1200px !important;
    margin: 0 auto;
  }
}

/* 响应式布局 - 容器宽度设置，屏幕宽度在 1400px 到 1920px 之间 */
@media (min-width: 1400px) and (max-width: 1920px) {
  .navbar-container,
  .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }

  .content-container {
    width: 1200px !important;
    margin: 0 auto;
  }
}

/* 响应式布局 - 容器宽度设置，屏幕宽度 ≤ 1400px 时生效  */
@media (max-width: 1400px) {
  .navbar-container,
  .hero-container {
    width: 1400px !important;
    margin: 0 auto;
  }

  .content-container {
    width: 1200px !important;
    margin: 0 auto;
  }
}

/* 导航栏样式 */
.navbar,
.navbar-container,
.nav-link {
  height: 80px;
}

.navbar {
  background-color: rgba(13, 33, 57, 0.3);
  padding: 0 !important;
}

.navbar-brand img {
  height: 44px;
  margin-right: 10px;
}

.mr-auto .nav-item {
  margin: 0 1.2vw;
}

.navbar-dark .navbar-nav-menu .nav-link {
  position: relative;
  color: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-self: center;
}

.navbar-nav-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: white;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav-menu .nav-link:hover::after {
  width: 80%; /* 悬停时展开横线 */
  left: 10%; /* 居中对齐 */
}

.navbar-nav-menu .nav-link.active::after {
  width: 80%;
  left: 10%;
}

.navbar-dark .navbar-nav-btn .nav-link {
  color: #fff;
}

/* 登录和注册按钮样式 */
.btn-login {
  border-radius: 24px;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  height: 48px;
  line-height: 48px;
  max-width: 130px;
  min-width: 85px;
  padding: 0 20px;
  text-align: center;
}

.btn-regist {
  background: #f58e2e;
  border-radius: 24px;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  height: 48px;
  line-height: 48px;
  max-width: 130px;
  min-width: 85px;
  padding: 0 20px;
  text-align: center;
}

/* 横幅样式 */
.banner {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

section {
  min-height: 800px;
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.8rem;
  color: #333;
}

/* 加入我们区域样式 */
.join-section {
  background: url("https://anlianpt-cq.source-new.com/vendor/port/img/footer_bg.5405f67.png")
    top no-repeat #093678;
  background-position: center;
  color: white;
  text-align: center;
  height: 320px;
  padding-top: 3.75rem;
}

.join-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.join-section p {
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  font-weight: 400;
}

/* 页脚样式 */
.footer {
  color: white;
  padding: 2rem 0;
  text-align: left;
}

.footer p {
  font-size: 0.875rem;
}

.footer img {
  height: 100px;
  height: 100px;
  margin-right: 1rem;
}

.footer a {
  color: #007bff;
}

/* 侧边栏菜单样式 */
.sidebar-menu {
  margin-top: 2rem;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu a {
  color: #6c757d;
  text-decoration: none;
  display: block;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.sidebar-menu a:hover {
  background-color: #007bff;
  color: white;
}

.sidebar-menu .active {
  background-color: #007bff;
  color: white;
}
