/* header */

#site-header .navbar.fixed-top {
  margin: 1rem 1rem 0;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}


/* Logo */
.logo {
  max-height: 40px;
  transition: all 0.3s;
}

@media (min-width: 992px) {
  .logo {
    max-height: 50px;
  }
}

.navbar-light.menu-fixed {
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-dark.menu-fixed {
  background-color: rgba(0, 0, 0, 0.9);
}

.menu-fixed .logo {
  max-height: 40px;
}

#site-header .navbar.menu-fixed{
  padding: 0.5rem 1rem !important;
}

/* 菜单开合按钮 */

.navbar .navbar-toggler {
  border: none;
  border-radius: 0;
  font-size: 20px;
  padding: 0;
  z-index: 1;
  outline: none;
  padding-right: 0;
  cursor: pointer;
}
.navbar .navbar-toggler .line {
  display: flex;
  width: 2.2rem;
  height: 2px;
  background: rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease-out;
  animation: resize 1.3s ease-in-out infinite alternate !important;
  animation-duration: 1.3s !important;
  animation-timing-function: ease-in-out !important;
  animation-delay: 0s !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
  animation-fill-mode: none !important;
  animation-play-state: running !important;
  animation-name: resize !important;
}
.navbar.navbar-dark .navbar-toggler .line {
  background: rgba(255, 255, 255, 0.9);
}
.navbar .navbar-toggler .second-line {
  margin: 0.5rem 0;
}
.navbar-toggler[aria-expanded="true"] .first-line {
  transform: rotate(25deg) translate3d(0.5rem, 0.5rem, 0);
  transform-origin: center;
}
.navbar-toggler[aria-expanded="true"] .second-line {
  transform: scale3d(0, 1, 1);
}
.navbar-toggler[aria-expanded="true"] .third-line {
  transform: rotate(-25deg) translate3d(0.5rem, -0.5rem, 0);
  transform-origin: center;
}

/* 菜单样式 */
.dropdown-menu {
  border: 0;
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: #eebd00;
}

.dropdown-toggle::after {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\F282";
  font-size: 0.8rem;
  border: 0 !important;
}

.nav-link {
  font-size: 14px;
  color: #475569;
}

.menu-item.active .nav-link,
.nav-link:hover {
  color: #047857;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: calc(var(--bs-navbar-nav-link-padding-x) * 2.5);
        padding-left: calc(var(--bs-navbar-nav-link-padding-x) * 2.5);
    }
}

.nav-contact .nav-link > span {
  font-weight: bold;
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  color: #fff;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    background: linear-gradient(to right, rgb(16, 185, 129), rgb(13, 148, 136));
}
