/* ======= 公共头部和页脚样式（PC+移动端，含抽屉菜单） ======= */

/* 顶部信息栏、导航栏、logo、菜单按钮 */
.top-bar {
  background: #238cff;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
.language-selector a {
  color: #fff;
  margin-left: 8px;
  font-size: 14px;
  text-decoration: none;
}
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}
.navbar .navbar-brand img,
.navbar-brand img {
  height: 48px;
  max-height: 48px;
  width: auto;
  transition: all 0.3s;
}
@media (max-width: 991px) {
  .navbar .navbar-brand img,
  .navbar-brand img {
    height: 36px !important;
    max-height: 36px !important;
  }
  .navbar .container.d-flex {
    flex-wrap: nowrap;
    align-items: center;
  }
  .mobile-menu-btn {
    margin-left: auto;
    margin-right: 0;
    display: flex !important;
    align-items: center;
    height: 44px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    justify-content: center;
    z-index: 1201;
  }
}
.menu-icon {
  display: block;
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  position: relative;
  transition: background 0.3s;
}
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

/* PC端菜单 */
.navbar-nav {
  gap: 18px;
}
.navbar-nav .nav-link {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 4px;
  transition: all 0.3s;
  text-decoration: none;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #238cff;
  /* background: #ff6633; */
}

/* PC端导航active高亮 */
.navbar-nav .nav-item.active > .nav-link {
  color: #238cff;
  /* background: #ff6633; */
}

/* ======= 移动端抽屉菜单样式 ======= */
@media (max-width: 991px) {
  .mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    background: transparent;
    z-index: 1200;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  .mobile-drawer .drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1200;
    pointer-events: none;
  }
  .mobile-drawer .drawer-content {
    position: absolute;
    top: 0; right: 0; height: 100vh;
    width: 50vw; /* 半屏宽度 */
    max-width: 320px;
    min-width: 220px;
    background: #23272b;
    color: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    z-index: 1201;
  }
  .mobile-drawer.open {
    pointer-events: auto;
  }
  .mobile-drawer.open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-drawer.open .drawer-content {
    transform: translateX(0);
  }
  .drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    position: absolute;
    top: 18px; right: 22px;
    z-index: 2;
    cursor: pointer;
    transition: color 0.2s;
  }
  .drawer-close:hover { color: #238cff; }
  .drawer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 36px 0 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.4rem !important;
    align-items: flex-start !important;
  }
  .drawer-menu li a,
  .drawer-menu li a:visited,
  .drawer-menu li a:active,
  .drawer-menu li a:focus,
  .drawer-menu li a:hover {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    color: #fff !important;
    font-size: 0.98rem !important;
    padding: 0.28rem 1rem !important;
    border-radius: 0 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
  }
  .drawer-menu li a:hover, .drawer-menu li a.active {
    background: #238cff !important;
    color: #fff !important;
  }
  /* 移动端抽屉菜单active高亮 */
  .drawer-menu .active > a,
  .drawer-menu li a.active {
    background: #238cff !important;
    color: #fff !important;
  }
}

/* ======= 页脚样式 ======= */
.footer {
  background: #23272b;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 15px;
}
.footer h5 {
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.footer p, .footer a {
  color: #bbb;
  font-size: 0.98rem;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.social-links a {
  color: #bbb;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.social-links a:hover {
  color: #fff;
}
.footer .list-unstyled {
  padding-left: 0;
}
.footer .list-unstyled li {
  margin-bottom: 8px;
}
.footer .list-unstyled a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer .list-unstyled a:hover {
  color: #238cff !important;
  text-decoration: underline;
}
@media (max-width: 991px) {
  .footer {
    text-align: center;
    padding: 32px 0 12px 0;
  }
  .footer h5 {
    margin-bottom: 12px;
  }
  .footer .list-unstyled li {
    margin-bottom: 6px;
  }
}
/* ======= 公共头部和页脚样式结束 ======= */

/* ======= 24/7 Support & GET IN TOUCH 公共样式开始 ======= */
.support-contact-section {
  margin: 3rem 0;
}
.support-contact-section .support-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.support-contact-section .support-info img {
  width: 60px;
  height: 60px;
}
.support-contact-section .support-info h2 {
  font-weight: 700;
  font-size: 2rem;
  margin: 0;
}
.support-contact-section .support-desc {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  color: #333;
}
.support-contact-section .support-desc span {
  color: #238cff;
}
.support-contact-section .contact-form {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 2rem 1.5rem;
}
.support-contact-section .contact-form .form-control {
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  background: #fff;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.support-contact-section .contact-form .form-control:focus {
  border-color: #238cff;
  box-shadow: 0 0 0 0.2rem rgba(35, 140, 255, 0.25);
  outline: none;
}
.support-contact-section .contact-form .btn {
  background: #238cff;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.5rem 2.5rem;
  border-radius: 6px;
  border: none;
  transition: background-color 0.3s;
}
.support-contact-section .contact-form .btn:hover {
  background: #1a75d1; /* 鼠标悬停时颜色变深 */
  color: #fff;
}
@media (max-width: 991px) {
  .support-contact-section .support-info h2 {
    font-size: 1.3rem;
  }
  .support-contact-section .contact-form {
    padding: 1.2rem 0.7rem;
  }
}
@media (max-width: 768px) {
  .support-contact-section {
    margin: 2rem 0;
  }
  .support-contact-section .support-info img {
    width: 44px;
    height: 44px;
  }
  .support-contact-section .support-info h2 {
    font-size: 1.1rem;
  }
  .support-contact-section .support-desc {
    font-size: 0.98rem;
  }
  .support-contact-section .contact-form {
    padding: 1rem 0.5rem;
  }
  .support-contact-section .contact-form .btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
}
/* ======= 24/7 Support & GET IN TOUCH 公共样式结束 ======= */

/* ======= PC端LOGO和菜单排版优化开始 ======= */
.navbar .navbar-brand img,
.navbar-brand img {
  height: 48px;
  max-height: 48px;
  width: auto;
  transition: all 0.3s;
}
@media (max-width: 991px) {
  .navbar .navbar-brand img,
  .navbar-brand img {
    height: 36px !important;
    max-height: 36px !important;
  }
}
/* PC端菜单横向排列，移动端隐藏 */
.navbar-nav.d-none.d-lg-flex {
  display: flex !important;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 991px) {
  .navbar-nav.d-none.d-lg-flex {
    display: none !important;
  }
}
/* 移动端菜单按钮和抽屉菜单只在小屏显示，PC端隐藏 */
@media (min-width: 992px) {
  .mobile-menu-btn, .mobile-drawer {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
    height: 36px;
  }
  .mobile-drawer {
    display: block !important;
  }
}
/* ======= PC端LOGO和菜单排版优化结束 ======= */

/* ======= PC端导航栏整体高度和LOGO、菜单优化开始 ======= */
@media (min-width: 992px) {
  .navbar {
    min-height: 84px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  .navbar .navbar-brand img,
  .navbar-brand img {
    height: 50px;
    max-height: 90px;
  }
  .navbar-nav.d-none.d-lg-flex {
    gap: 1.2rem;
  }
  .navbar-nav.d-none.d-lg-flex .nav-link {
    font-size: 1.18rem;
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
  }
}
/* ======= PC端导航栏整体高度和LOGO、菜单优化结束 ======= */ 