/* ============================================================
   新航传输 - 自定义样式
   技术栈: Bootstrap 4.6.2 + Bootstrap Icons
   ============================================================ */

/* ---------- CSS变量 ---------- */
:root {
  --xh-primary: #0a3d8f;
  --xh-primary-dark: #072d6b;
  --xh-primary-light: #1a5fc9;
  --xh-secondary: #00b4d8;
  --xh-accent: #e63946;
  --xh-dark: #1a1a2e;
  --xh-gray-100: #f8f9fa;
  --xh-gray-200: #e9ecef;
  --xh-gray-300: #dee2e6;
  --xh-gray-600: #6c757d;
  --xh-gray-800: #343a40;
  --xh-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --xh-transition: all 0.3s ease;
}

/* ---------- 全局 ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--xh-font-family);
  color: var(--xh-gray-800);
  overflow-x: hidden;
}

a {
  color: var(--xh-primary);
  transition: var(--xh-transition);
}

a:hover {
  color: var(--xh-primary-light);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* 全局点片效果 */
.xh-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--xh-transition);
  position: relative;
}

.xh-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.xh-bcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 显示动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- 顶部导航栏 ---------- */
.xh-navbar {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 0;
  transition: var(--xh-transition);
  z-index: 1030;
}

.xh-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.xh-navbar .navbar-brand {
  padding: 10px 0;
}

.xh-navbar .navbar-brand img {
  height: 40px;
}

.xh-navbar .nav-link {
  color: var(--xh-gray-800) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 24px 10px !important;
  position: relative;
  transition: var(--xh-transition);
}

.xh-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--xh-primary);
  transition: var(--xh-transition);
  transform: translateX(-50%);
}

.xh-navbar .nav-link:hover,
.xh-navbar .nav-link.active {
  color: var(--xh-primary) !important;
}

.xh-navbar .nav-link:hover::after,
.xh-navbar .nav-link.active::after {
  width: 60%;
}

.xh-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 160px;
}

.xh-navbar .dropdown-item {
  font-size: 14px;
  padding: 8px 20px;
  transition: var(--xh-transition);
}

.xh-navbar .dropdown-item:hover {
  background-color: rgba(10, 61, 143, 0.06);
  color: var(--xh-primary);
}

/* PC端：鼠标悬停自动展开子菜单（由JS配合控制show类） */
@media (min-width: 992px) {
  .xh-navbar .nav-item.dropdown.show>.dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
  }

  .xh-navbar .nav-item.dropdown.show>.nav-link::after {
    width: 60%;
  }

  .acontent img {
    padding: 10px;
  }
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.xh-nav-actions .btn-icon {
  background: none;
  border: none;
  color: var(--xh-gray-800);
  font-size: 18px;
  padding: 8px 10px;
  cursor: pointer;
  transition: var(--xh-transition);
}

.xh-nav-actions .btn-icon:hover {
  color: var(--xh-primary);
}

.xh-nav-actions .btn-auth {
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 3px;
}

.xh-nav-actions .btn-auth.btn-login {
  color: var(--xh-primary);
  border: 1px solid var(--xh-primary);
  background: transparent;
}

.xh-nav-actions .btn-auth.btn-login:hover {
  background: var(--xh-primary);
  color: #fff;
}

.xh-nav-actions .btn-auth.btn-register {
  color: #fff;
  background: var(--xh-primary);
  border: 1px solid var(--xh-primary);
}

.xh-nav-actions .btn-auth.btn-register:hover {
  background: var(--xh-primary-dark);
}

/* 移动端图标按钮（搜索、用户、汉堡菜单） */
.xh-navbar .btn-icon {
  background: none;
  border: none;
  color: var(--xh-gray-800);
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--xh-transition);
  outline: none;
  text-decoration: none;
}

.xh-navbar .btn-icon:hover,
.xh-navbar .btn-icon:focus {
  color: var(--xh-primary);
  background-color: rgba(10, 61, 143, 0.06);
  box-shadow: none;
}

.xh-navbar .btn-icon i {
  font-size: 20px;
  line-height: 1;
}

/* 移动端导航 */
@media (max-width: 991.98px) {
  .xh-navbar .navbar-brand img {
    height: 32px;
  }

  .xh-navbar .nav-link {
    padding: 10px 15px !important;
  }

  .xh-navbar .nav-link::after {
    display: none;
  }

  .xh-nav-actions .btn-auth-text {
    display: none;
  }

  .xh-nav-actions .btn-auth-icon {
    display: inline-block !important;
  }

  .pagination>a {
    display: none;
  }
}

/* ---------- 搜索模态框 ---------- */
.xh-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 61, 143, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.xh-search-overlay.show {
  display: flex;
}

.xh-search-overlay .search-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: var(--xh-transition);
  background: none;
  border: none;
}

.xh-search-overlay .search-close:hover {
  transform: rotate(90deg);
}

.xh-search-overlay .search-box {
  width: 90%;
  max-width: 700px;
}

.xh-search-overlay .search-box h4 {
  color: #fff;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 2px;
}

.xh-search-overlay .search-input-group {
  position: relative;
}

.xh-search-overlay .search-input-group input {
  width: 100%;
  padding: 18px 120px 18px 25px;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  transition: var(--xh-transition);
}

.xh-search-overlay .search-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.xh-search-overlay .search-input-group input:focus {
  border-color: var(--xh-secondary);
  background: rgba(255, 255, 255, 0.15);
}

.xh-search-overlay .search-input-group .btn-search {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 30px;
  border-radius: 50px;
  background: var(--xh-secondary);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: var(--xh-transition);
}

.xh-search-overlay .search-input-group .btn-search:hover {
  background: #0096b7;
}

/* ---------- 首页轮播 ---------- */
.xh-carousel{
    margin-top: 60px;
}
.xh-carousel .carousel-item {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.xh-carousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(135deg, rgba(10, 61, 143, 0.75) 0%, rgba(26, 95, 201, 0.4) 100%);*/
}

.xh-carousel .carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;

  left: 10%;
}

.xh-carousel .carousel-caption h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.xh-carousel .carousel-caption p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.xh-carousel .carousel-caption .btn-primary {
  padding: 12px 36px;
  border-radius: 50px;
  background: var(--xh-secondary);
  border-color: var(--xh-secondary);
  font-weight: 500;
}

.xh-carousel .carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
}

.xh-carousel .carousel-indicators li.active {
  background: var(--xh-secondary);
}
.xh-carousel .carousel-item {
    max-height: 450px;
  }
@media (max-width: 767.98px) {
  .xh-carousel .carousel-item {
    height: 350px;
  }

  .xh-carousel .carousel-caption h2 {
    font-size: 28px;
  }

  .xh-carousel .carousel-caption p {
    font-size: 14px;
  }
}

/* ---------- 通用区块 ---------- */
.xh-section {
  padding: 40px 0;
}

.xh-section-gray {
  background: var(--xh-gray-100);
}

.xh-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.xh-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--xh-dark);
  margin-bottom: 12px;
  position: relative;
}

.xh-section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--xh-primary);
  margin: 15px auto 0;
}

.xh-section-title p {
  color: var(--xh-gray-600);
  font-size: 16px;
  max-width: 600px;
  margin: 15px auto 0;
}

/* ---------- 企业简介 ---------- */
.xh-intro {
  position: relative;
}

.xh-intro-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--xh-dark);
  margin-bottom: 20px;
}

.xh-intro-text p {
  color: var(--xh-gray-600);
  line-height: 1.8;
  font-size: 15px;
}

.xh-intro-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.xh-intro-stats .stat-item {
  text-align: center;
}

.xh-intro-stats .stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--xh-primary);
  line-height: 1;
}

.xh-intro-stats .stat-label {
  font-size: 14px;
  color: var(--xh-gray-600);
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .xh-intro-stats .stat-num {
    font-size: 24px;

  }

  .xh-intro-stats {
    display: flex;
    justify-content: center;
  }
}

/* ---------- 产品卡片 ---------- */
.xh-product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--xh-transition);
  height: 100%;
  position: relative;
}

.xh-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.xh-product-card .card-img-wrap {
  height: 180px;
  overflow: hidden;
  background: var(--xh-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xh-product-card .badge {
  position: absolute;
  top: 20px;
  left: 20px;
}

.xh-product-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--xh-transition);
}

.xh-product-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.xh-product-card .card-body {
  padding: 20px;
}

.xh-product-card .card-body h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.xh-product-card .card-body p {
  font-size: 14px;
  color: var(--xh-gray-600);
  margin-bottom: 15px;
}

.xh-product-card .card-body .btn-link {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--xh-primary);
}

.tags>.badge:nth-child(6n+1) {
  background-color: #007bff;
  color: #ffffff;
}

.tags>.badge:nth-child(6n+2) {
  background-color: #28a745;
  color: #ffffff;
}

.tags>.badge:nth-child(6n+3) {
  background-color: #dc3545;
  color: #ffffff;
}

.tags>.badge:nth-child(6n+4) {
  background-color: #ffc107;
  color: #ffffff;
}

.tags>.badge:nth-child(6n+5) {
  background-color: #17a2b8;
  color: #ffffff;
}

.tags>.badge:nth-child(6n+6) {
  background-color: #343a40;
  color: #ffffff;
}

/* 更多定制产品卡片 */
.xh-product-card-custom {
  color: inherit;
}

.xh-product-card-custom:hover {
  color: inherit;
}

.xh-product-card-custom .card-img-custom {
  background: linear-gradient(135deg, #0a3d8f 0%, #1a5fc9 50%, #00b4d8 100%);
}

.xh-product-card-custom .card-img-custom i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--xh-transition);
}

.xh-product-card-custom:hover .card-img-custom i {
  transform: rotate(90deg) scale(1.1);
  color: #fff;
}

.xh-product-card-custom:hover .card-body h5 {
  color: var(--xh-primary);
}

.xh-product-card-custom:hover .card-body .btn-link {
  color: var(--xh-primary-light);
}

/* ---------- 新闻动态 ---------- */
.xh-news-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--xh-gray-200);
  transition: var(--xh-transition);
}

.xh-news-item:hover {
  padding-left: 10px;
}

.xh-news-item:last-child {
  border-bottom: none;
}

.xh-news-item .news-date {
  font-size: 13px;
  color: var(--xh-gray-600);
}

.xh-news-item .news-title {
  font-size: 16px;
  font-weight: 600;
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xh-news-item .news-title a {
  color: var(--xh-dark);
}

.xh-news-item .news-title a:hover {
  color: var(--xh-primary);
}

.xh-news-item .news-desc {
  font-size: 14px;
  color: var(--xh-gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 页脚 ---------- */
.xh-footer {
  background: var(--xh-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.xh-footer h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.xh-footer p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 5px;
}

.xh-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: block;
  padding: 3px 0;
}

.xh-footer a:hover {
  color: var(--xh-secondary);
}

.xh-footer .footer-logo {
  margin-bottom: 20px;
}

.xh-footer .footer-logo img {
  height: 42px;
}

.xh-footer .footer-qrcode {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.xh-footer .footer-qrcode img {
  width: 100px;
  height: 100px;
}

.xh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 页面顶部Banner ---------- */
.xh-page-banner {
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-light) 100%);
  color: #fff;
  padding: 100px 0 40px;
  text-align: center;
}

.xh-page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.xh-page-banner p {
  font-size: 16px;
  opacity: 0.8;
}

.xh-page-banner .breadcrumb {
  background: none;
  justify-content: center;
  margin-top: 15px;
  padding: 0;
}

.xh-page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.xh-page-banner .breadcrumb-item a:hover {
  color: #fff;
}

.xh-page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

.xh-page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 侧边导航 ---------- */
.xh-sidebar-nav {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.xh-sidebar-nav .sidebar-header {
  background: var(--xh-primary);
  color: #fff;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 600;
}

.xh-sidebar-nav .nav-link {
  color: var(--xh-gray-800);
  padding: 14px 20px;
  border-bottom: 1px solid var(--xh-gray-200);
  font-size: 15px;
  transition: var(--xh-transition);
}

.xh-sidebar-nav .nav-link:last-child {
  border-bottom: none;
}

.xh-sidebar-nav .nav-link:hover,
.xh-sidebar-nav .nav-link.active {
  color: var(--xh-primary);
  background: rgba(10, 61, 143, 0.05);
  padding-left: 26px;
}

.xh-sidebar-nav .nav-link.active {
  font-weight: 600;
  border-left: 3px solid var(--xh-primary);
}

/* ---------- 内容区 ---------- */
.xh-content {
  min-height: 300px;
}

.xh-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--xh-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--xh-gray-200);
}

.xh-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--xh-dark);
  margin-bottom: 15px;
}

.xh-content p {
  color: var(--xh-gray-600);
  line-height: 1.8;
  font-size: 15px;
}

/* ---------- 服务承诺 ---------- */
.xh-commitment-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  padding: 28px 24px;
  height: 100%;
  transition: var(--xh-transition);
  position: relative;
  overflow: hidden;
}
.xh-commitment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--xh-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.xh-commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.xh-commitment-card:hover::before {
  transform: scaleY(1);
}
.xh-commitment-card .commitment-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(10, 61, 143, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 28px;
  color: var(--xh-primary);
  transition: var(--xh-transition);
}
.xh-commitment-card:hover .commitment-icon {
  background: var(--xh-primary);
  color: #fff;
}
.xh-commitment-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.xh-commitment-card p {
  font-size: 14px;
  color: var(--xh-gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}
.xh-commitment-scope {
  border-left: 4px solid var(--xh-primary);
}
.xh-commitment-scope strong {
  display: block;
  margin-bottom: 4px;
}
.xh-commitment-feedback {
  border: 2px dashed var(--xh-gray-300);
  transition: var(--xh-transition);
}
.xh-commitment-feedback:hover {
  border-color: var(--xh-primary);
}
/* ---------- 产品筛选 ---------- */
.xh-filter {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.xh-filter .filter-header {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--xh-dark);
  border-bottom: 1px solid var(--xh-gray-200);
}

.xh-filter .filter-header .bi {
  transition: var(--xh-transition);
}

.xh-filter .filter-header.collapsed .bi {
  transform: rotate(-90deg);
}

.xh-filter .filter-body {
  padding: 15px 20px;
}

.xh-filter .filter-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--xh-gray-200);
}

.xh-filter .filter-row:last-child {
  border-bottom: none;
}

.xh-filter .filter-label {
  min-width: 80px;
  font-weight: 600;
  font-size: 14px;
  color: var(--xh-dark);
  padding-top: 4px;
}

.xh-filter .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.xh-filter .filter-options .custom-control {
  min-width: auto;
  margin-right: 0;
  padding-left: 0;
}

.xh-filter .filter-options a {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--xh-gray-200);
  color: var(--xh-gray-800);
  transition: var(--xh-transition);
}

.xh-filter .filter-options a.active {
  background: var(--xh-primary);
  color: #fff;
}

.xh-filter .filter-options .custom-control-label {
  font-size: 14px;
  cursor: pointer;
}

.xh-filter .filter-actions {
  margin-left: 20px;
  padding-top: 4px;
  white-space: nowrap;
}

/* ---------- 标签切换 ---------- */
.xh-tabs .nav-tabs {
  border-bottom: 2px solid var(--xh-gray-200);
}

.xh-tabs .nav-tabs .nav-link {
  border: none;
  color: var(--xh-gray-600);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 0;
  transition: var(--xh-transition);
  position: relative;
}

.xh-tabs .nav-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: var(--xh-transition);
}

.xh-tabs .nav-tabs .nav-link.active {
  color: var(--xh-primary);
  font-weight: 600;
  background: none;
}

.xh-tabs .nav-tabs .nav-link.active::after {
  background: var(--xh-primary);
}

.xh-tabs .nav-tabs .nav-link:hover {
  color: var(--xh-primary);
  border-color: transparent;
}

/* ---------- 荣誉图片墙 ---------- */
.xh-honor-grid .honor-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: var(--xh-transition);
}

.xh-honor-grid .honor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.xh-honor-grid .honor-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.xh-honor-grid .honor-item .honor-title {
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--xh-gray-800);
}

/* ---------- 时间线 ---------- */
.xh-timeline {
  position: relative;
  padding: 20px 0;
}

.xh-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--xh-gray-300);
  transform: translateX(-50%);
}

.xh-timeline .timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
}

.xh-timeline .timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.xh-timeline .timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--xh-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--xh-primary);
  z-index: 1;
}

.xh-timeline .timeline-content {
  width: 44%;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.xh-timeline .timeline-content .year {
  font-size: 22px;
  font-weight: 700;
  color: var(--xh-primary);
  margin-bottom: 8px;
}

.xh-timeline .timeline-content p {
  font-size: 14px;
  color: var(--xh-gray-600);
  margin: 0;
}

@media (max-width: 767.98px) {
  .xh-timeline::before {
    left: 20px;
  }

  .xh-timeline .timeline-item,
  .xh-timeline .timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
  }

  .xh-timeline .timeline-dot {
    left: 20px;
  }

  .xh-timeline .timeline-content {
    width: 100%;
  }
}

/* ---------- 组织架构 ---------- */
.xh-org-tree {
  text-align: center;
}

.xh-org-tree .org-node {
  display: inline-block;
  background: var(--xh-primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
}

.xh-org-tree .org-children {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.xh-org-tree .org-child {
  background: #fff;
  border: 2px solid var(--xh-primary);
  color: var(--xh-primary);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
}

.xh-org-tree .org-line {
  width: 2px;
  height: 30px;
  background: var(--xh-primary);
  margin: 0 auto;
}

/* ---------- FAQ手风琴 ---------- */
.xh-faq .card {
  border: none;
  border-radius: 0;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.xh-faq .card-header {
  background: none;
  border: none;
  padding: 0;
}

.xh-faq .card-header .btn-link {
  color: var(--xh-dark);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
}

.xh-faq .card-header .btn-link:hover {
  color: var(--xh-primary);
}

.xh-faq .card-header .btn-link .bi {
  transition: var(--xh-transition);
}

.xh-faq .card-header .btn-link.collapsed .bi {
  transform: rotate(-90deg);
}

.xh-faq .card-body {
  padding: 0 20px 16px;
  color: var(--xh-gray-600);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 表单样式 ---------- */
.xh-form .form-control {
  border-radius: 4px;
  border: 1px solid var(--xh-gray-300);
  /*padding: 10px 15px;*/
  font-size: 14px;
  transition: var(--xh-transition);
}

.xh-form .form-control:focus {
  border-color: var(--xh-primary);
  box-shadow: 0 0 0 3px rgba(10, 61, 143, 0.1);
}

.xh-form label {
  font-weight: 500;
  font-size: 14px;
  color: var(--xh-dark);
  margin-bottom: 6px;
}

.xh-form .invalid-feedback {
  font-size: 12px;
}

.xh-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---------- 招聘列表 ---------- */
.xh-job-item {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--xh-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.xh-job-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.xh-job-item .job-info h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.xh-job-item .job-info h5 a {
  color: var(--xh-dark);
}

.xh-job-item .job-info h5 a:hover {
  color: var(--xh-primary);
}

.xh-job-item .job-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--xh-gray-600);
}

.xh-job-item .job-meta .bi {
  margin-right: 4px;
}

.xh-job-item .job-action .btn {
  font-size: 13px;
  padding: 6px 20px;
}

/* ---------- 福利图标 ---------- */
.xh-benefit-item {
  text-align: center;
  padding: 30px 15px;
  background: #fff;
  border-radius: 8px;
  transition: var(--xh-transition);
}

.xh-benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.xh-benefit-item .benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: rgb(20 110 205 / 77%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ffffff;
}

.xh-benefit-item h6 {
  font-weight: 600;
  margin-bottom: 8px;
}

.xh-benefit-item p {
  font-size: 13px;
  color: var(--xh-gray-600);
  margin: 0;
}

/* ---------- 产品详情 ---------- */
.xh-product-gallery {
  position: relative;
}

.xh-product-gallery .main-img {
  width: 100%;
  height: 350px;
  background: var(--xh-gray-100);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.xh-product-gallery .main-img img {
  max-width: 200%;
  height: 100%;
  object-fit: cover;
}

.xh-product-gallery .thumb-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.xh-product-gallery .thumb-list .thumb-item {
  min-width: 80px;
  height: 80px;
  border: 2px solid var(--xh-gray-300);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--xh-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.xh-product-gallery .thumb-list .thumb-item.active,
.xh-product-gallery .thumb-list .thumb-item:hover {
  border-color: var(--xh-primary);
}

.xh-product-gallery .thumb-list .thumb-item img {
  max-width: 200%;
  max-height: 100%;
  object-fit: cover;
}

.xh-product-gallery .thumb-nav {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 5px;
}

.xh-product-gallery .thumb-nav button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--xh-gray-300);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xh-card-body {
  min-height: 115px;
}

/* ---------- 参数表格 ---------- */
.xh-spec-table {
  width: 100%;
}

.xh-spec-table th {
  background: var(--xh-primary);
  color: #fff;
  font-weight: 500;
  padding: 12px 15px;
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.1);
}

.xh-spec-table td {
  padding: 10px 15px;
  font-size: 14px;
  border-color: var(--xh-gray-200);
}

.xh-spec-table tbody tr:hover {
  background: rgba(10, 61, 143, 0.03);
}

/* ---------- 产品分类思维导图 ---------- */
.xh-product-nav .product-nav-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: var(--xh-transition);
}

.xh-product-nav .product-nav-item:hover,
.xh-product-nav .product-nav-item.active {
  background: var(--xh-primary);
  color: #fff;
}

.xh-product-nav .product-nav-item .nav-icon {
  font-size: 24px;
  margin-right: 15px;
}

.xh-product-nav .product-nav-item h6 {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
}

.xh-product-nav .product-nav-item small {
  opacity: 0.7;
  font-size: 12px;
}

/* ---------- 联系我们地图 ---------- */
.xh-contact-map {
  width: 100%;
  height: 300px;
  background: var(--xh-gray-200);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xh-contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 登录注册 ---------- */
.xh-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-light) 100%);
}

.xh-auth-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.xh-auth-card .auth-logo {
  text-align: center;
  margin-bottom: 30px;
}

.xh-auth-card .auth-logo img {
  height: 50px;
}

.xh-auth-card h3 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--xh-dark);
}

.xh-auth-card .auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--xh-gray-600);
}

/* ---------- 新闻列表变体 ---------- */
.xh-news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: var(--xh-transition);
  height: 100%;
}

.xh-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.xh-news-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.xh-news-card .card-body {
  padding: 20px;
}

.xh-news-card .card-body .news-date {
  font-size: 13px;
  color: var(--xh-gray-600);
}

.xh-news-card .card-body .card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0;
}

.xh-news-card .card-body .card-title a {
  color: var(--xh-dark);
}

.xh-news-card .card-body .card-title a:hover {
  color: var(--xh-primary);
}

.xh-news-card .card-body .card-text {
  font-size: 14px;
  color: var(--xh-gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 首页新闻卡片 */
.xh-news-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: var(--xh-transition);
  text-decoration: none;
  color: inherit;
}

.xh-news-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  color: inherit;
}

.xh-news-card .news-card-img {
  overflow: hidden;
  position: relative;
}

.xh-news-card .news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xh-news-card:hover .news-card-img img {
  transform: scale(1.08);
}

/* 焦点大图 */
.xh-news-featured .news-card-img {
  height: 320px;
}

.xh-news-featured .news-card-body {
  padding: 24px;
}

.xh-news-featured .news-card-body h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}

.xh-news-featured .news-card-body p {
  color: var(--xh-gray-600);
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* 小图卡片 */
.xh-news-card:not(.xh-news-featured) .news-card-img {
  height: 150px;
}

.xh-news-card:not(.xh-news-featured) .news-card-body {
  padding: 16px;
}

.xh-news-card:not(.xh-news-featured) .news-card-body h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xh-news-card .news-card-date {
  font-size: 13px;
  color: var(--xh-gray-600);
}

.xh-news-card:hover .news-card-body h4,
.xh-news-card:hover .news-card-body h6 {
  color: var(--xh-primary);
}

@media (max-width: 767.98px) {
  .xh-news-featured .news-card-img {
    height: 220px;
  }

  .xh-news-featured .news-card-body h4 {
    font-size: 17px;
  }

  .xh-news-card:not(.xh-news-featured) .news-card-img {
    height: 160px;
  }
}

/* 新闻列表带图标 */
.xh-news-icon-list .news-icon-item {
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px dashed var(--xh-gray-200);
}

.xh-news-icon-list .news-icon-item .news-icon {
  width: 50px;
  height: 50px;
  background: rgba(10, 61, 143, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xh-primary);
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.xh-news-icon-list .news-icon-item .news-text h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.xh-news-icon-list .news-icon-item .news-text h6 a {
  color: var(--xh-dark);
}

.xh-news-icon-list .news-icon-item .news-text h6 a:hover {
  color: var(--xh-primary);
}

.xh-news-icon-list .news-icon-item .news-text span {
  font-size: 13px;
  color: var(--xh-gray-600);
}

/* 新闻列表 - 左图右文 */
.xh-news-img-list .news-img-item {
  text-decoration: none;
  color: inherit;
  transition: var(--xh-transition);
}

.xh-news-img-list .news-img-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px);
}

.xh-news-img-list .news-img-item:hover h5 {
  color: var(--xh-primary);
}

.xh-news-img-list .news-img {
  width: 240px;
  min-height: 160px;
  overflow: hidden;
}

.xh-news-img-list .news-img img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.xh-news-img-list .news-img-item:hover .news-img img {
  transform: scale(1.05);
}

.xh-news-img-list .news-body h5 {
  font-size: 17px;
  font-weight: 600;
  color: var(--xh-dark);
  transition: var(--xh-transition);
}

.xh-news-img-list .news-body p {
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .xh-news-img-list .news-img {
    width: 140px;
    min-height: 110px;
  }

  .xh-news-img-list .news-img img {
    min-height: 110px;
  }

  .xh-news-img-list .news-body h5 {
    font-size: 15px;
  }

  .xh-news-img-list .news-body p {
    display: none;
  }
}

/* ---------- 图片灯箱 ---------- */
.xh-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.xh-lightbox-overlay.show {
  display: flex;
}

.xh-lightbox-overlay .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

.xh-lightbox-overlay .lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* ---------- 回到顶部 ---------- */
.xh-back-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--xh-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(10, 61, 143, 0.3);
  transition: var(--xh-transition);
  font-size: 20px;
}

.xh-back-top:hover {
  background: var(--xh-primary-dark);
  transform: translateY(-3px);
}

.xh-back-top.show {
  display: flex;
}

/* ---------- 懒加载占位 ---------- */
.xh-lazy {
  background: var(--xh-gray-200);
  transform: scale(1.08);
  transition: opacity 0.3s ease;
}

.xh-lazy.loaded {
  opacity: 1;
}

/* ---------- 自定义按钮 ---------- */
.btn-xh-primary {
  background: var(--xh-primary);
  border-color: var(--xh-primary);
  color: #fff;
  transition: var(--xh-transition);
}

.btn-xh-primary:hover {
  background: var(--xh-primary-dark);
  border-color: var(--xh-primary-dark);
  color: #fff;
}

.btn-xh-outline {
  background: transparent;
  border-color: var(--xh-primary);
  color: var(--xh-primary);
  transition: var(--xh-transition);
}

.btn-xh-outline:hover {
  background: var(--xh-primary);
  color: #fff;
}

/* ---------- 工具类 ---------- */
.text-xh-primary {
  color: var(--xh-primary) !important;
}

.bg-xh-primary {
  background-color: var(--xh-primary) !important;
}

.border-xh-primary {
  border-color: var(--xh-primary) !important;
}

/* ---------- 工作环境图片网格 ---------- */
.xh-env-grid .env-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
}

.xh-env-grid .env-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--xh-transition);
}

.xh-env-grid .env-item:hover img {
  transform: scale(1.05);
}

.xh-env-grid .env-item .env-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transition: var(--xh-transition);
}

.xh-env-grid .env-item:hover .env-overlay {
  opacity: 1;
}

/* ---------- 销售网络 ---------- */
.xh-network-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--xh-transition);
}

.xh-network-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.xh-network-item h6 {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--xh-primary);
}

.xh-network-item p {
  font-size: 14px;
  color: var(--xh-gray-600);
  margin-bottom: 3px;
}

/* ---------- 产品思维导图导航 ---------- */
.xh-mindmap-nav {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  padding: 12px;
}

.xh-mindmap-nav .mindmap-category {
  margin-bottom: 20px;
}

.xh-mindmap-nav .mindmap-category:last-child {
  margin-bottom: 0;
}

.xh-mindmap-nav .mindmap-category h6 {
  font-weight: 600;
  font-size: 15px;
  color: var(--xh-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--xh-primary);
  margin-bottom: 10px;
  cursor: pointer;
}

.xh-mindmap-nav .mindmap-series {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 10px;
}

.xh-mindmap-nav .mindmap-series a {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--xh-gray-100);
  color: var(--xh-gray-800);
  transition: var(--xh-transition);
  text-align: center;
}

.xh-mindmap-nav .mindmap-series a:hover,
.xh-mindmap-nav .mindmap-series a.active {
  background: var(--xh-primary);
  color: #fff;
}

.pagination>a.active {
  z-index: 3;
  color: #fff;
  background-color: var(--xh-primary);
  ;
  border-color: var(--xh-primary);
  ;
}

/* ---------- 移动端下拉筛选 ---------- */
@media (max-width: 767.98px) {
  .xh-tabs .nav-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .xh-tabs .nav-tabs .nav-link {
    white-space: nowrap;
  }

  .xh-filter .filter-row {
    flex-direction: column;
  }

  .xh-filter .filter-actions {
    margin-left: 0;
    margin-top: 8px;
  }

  .xh-job-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .xh-job-item .job-action {
    margin-top: 12px;
  }

  .xh-intro-stats {
    flex-wrap: wrap;
    gap: 15px;
  }

  .xh-section {
    padding: 30px 0;
  }

  .xh-section-title h2 {
    font-size: 24px;
  }

  .xh-page-banner {
    padding: 80px 0 40px;
  }

  .xh-page-banner h1 {
    font-size: 26px;
  }

  .acontent img {
    width: 100% !important;
    height: auto !important;
  }
}