/* CSS Reset 和基础样式优化 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 性能优化：减少重绘和回流 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #111;
  line-height: 1.6;
  /* 优化可读性 */
}

:root {
  --font-base: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

p,
a,
li,
div,
span,
input,
select,
textarea,
button,
.menu,
.submenu a,
.badge,
.news-item,
.grid,
.card,
.figure,
.breadcrumb,
.footer {
  font-family: var(--font-base);
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.section-title,
.brand-text,
.card .hd {
  font-family: var(--font-head);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 10;
}

.topbar {
  background: #0f172a;
  color: #cbd5e1;
}

.topbar a {
  color: #cbd5e1;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-direction: row;
  flex-shrink: 0;
}

.brand img {
  height: 60px;
  width: auto;
  display: inline;
}

.brand-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #0b3b7a;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
    "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu .menu-item {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.menu .menu-item>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu .menu-item>a {
  height: 44px;
  line-height: 44px;
  padding: 0 12px;
}

.menu a {
  padding: 10px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
}

.menu a:hover {
  background: #f3f6fb;
}

.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  min-width: 200px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 1000;
  white-space: nowrap;
}

.submenu a {
  display: block;
  padding: 8px 12px;
}

.submenu a:hover {
  background: #f7f9fc;
}

.has-sub:hover .submenu {
  display: block;
}

.has-sub>a::after {
  content: "\25BE";
  font-size: 12px;
  margin-left: 6px;
  color: #64748b;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  color: #fff;
}

.hero-slides {
  position: relative;
  overflow: hidden;
}

.hero-slides .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slides .slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dot.active {
  background: #ffd026;
}

.hero-slides img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-slides .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0.15) 100%);
}

.hero-slides .caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 0 16px;
}

.hero-slides .caption h1 {
  margin: 0 0 10px;
  font-size: 42px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
    "Helvetica Neue", Arial, sans-serif;
}

.hero-slides .caption p {
  margin: 0 0 16px;
  font-size: 18px;
  color: #fff;
  opacity: 0.95;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 40px 16px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hero-sub {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 12px;
}

.hero-cta {
  margin-top: 20px;
  display: inline-block;
  background: #ffd026;
  color: #111;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background-color: #f8fafc;
}

.section:nth-child(odd) {
  background-color: #fff;
}

.section-title {
  margin: 0 0 60px;
  font-size: 36px;
  color: #0f172a;
  font-weight: 700;
  text-align: center;
  position: relative;
  letter-spacing: -1px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffd026;
  margin: 24px auto 0;
  border-radius: 2px;
}

.hero-slides img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

.hero .container {
  min-height: 680px;
  padding: 60px 16px;
}

.hero-slides .caption h1 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slides .caption p {
  font-size: 20px;
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1),
    0 10px 20px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-8px);
}

.card .hd {
  padding: 24px 28px 16px;
  font-size: 20px;
  color: #1e293b;
}

.card .bd {
  padding: 0 28px 28px;
  color: #64748b;
  line-height: 1.7;
  font-size: 16px;
}

.card .ft {
  padding: 20px 28px;
  border-top: 1px solid #f8fafc;
  background: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.metric:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.metric .num {
  font-size: 48px;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -1px;
}

.metric .txt {
  font-size: 16px;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  width: 80px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.adv-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background: #fff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  height: 100%;
}

.adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

.adv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f9ff;
  color: #0b3b7a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.adv-card:hover .adv-icon {
  background: #0b3b7a;
  color: #fff;
}

.adv-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.adv-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

.category-card span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

:root {
  --brand: #0b3b7a;
  --brand2: #0e77b0;
  --accent: #ffd026;
  --ink: #111;
  --muted: #64748b;
  --line: #e6e8eb;
  --bg: #f7f9fc;
}

.brand-text {
  color: var(--brand);
}

.submenu {
  border-color: var(--line);
}

.hero-dot.active {
  background: var(--accent);
}

.hero-cta {
  background: var(--accent);
  color: var(--ink);
}

.section-title {
  font-size: 28px;
  color: var(--brand);
  font-weight: 800;
  position: relative;
}

.section-title::after {
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  border-radius: 999px;
}

.figure {
  border-color: var(--line);
}

.figure .cap {
  color: var(--muted);
}

.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-title {
  color: var(--brand);
}

.breadcrumb {
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand);
}

.badge {
  border-color: var(--line);
  color: var(--brand);
}

.metric {
  border-color: rgba(255, 255, 255, 0.2);
}

.metric .num {
  color: #fff;
}

.metric .txt {
  color: #e2e8f0;
}

.cta-band {
  background: var(--brand);
}

.cta-band a {
  background: var(--accent);
  color: var(--ink);
}

.news-item {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  margin-bottom: 0;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
  font-weight: 500;
  display: block;
}

.news-card-title {
  font-size: 18px;
  color: #1e293b;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  margin-top: auto;
  color: #3b82f6;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card-link::after {
  content: "→";
  transition: transform 0.2s;
}

.news-card:hover .news-card-link::after {
  transform: translateX(4px);
}

.card {
  border-color: var(--line);
}

.section.bg-img {
  position: relative;
  background-size: cover;
  background-position: center;
}

.section.bg-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.section.bg-img .container {
  position: relative;
  z-index: 1;
}

.section.light .section-title {
  color: #fff;
}

.section.light .card {
  background: rgba(255, 255, 255, 0.9);
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.img-grid .tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.img-grid .tile img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.img-grid .tile:hover img {
  transform: scale(1.06);
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 60px;
}

.footer .container {
  display: block;
  padding: 0 16px;
}

.footer .container.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

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

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-text {
  line-height: 1.8;
  color: #94a3b8;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  transition: color 0.2s;
  display: inline-block;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.copyright {
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 24px 0;
  color: #64748b;
  font-size: 14px;
}

.admin-wrap {
  display: flex;
  min-height: calc(100vh - 64px);
}

.sidebar {
  width: 240px;
  border-right: 1px solid #e6e8eb;
  background: #fff;
}

.side-brand {
  padding: 16px;
  font-weight: 600;
  color: #0b3b7a;
}

.tree {
  padding: 8px;
}

.tree .group {
  margin-bottom: 8px;
}

.tree-toggle {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #e6e8eb;
  background: #f7f9fc;
  border-radius: 8px;
  color: #0b3b7a;
}

.tree-items {
  padding: 6px 0 0 8px;
  display: none;
}

.tree-items a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #333;
}

.tree-items a.active {
  background: #e8eef9;
  color: #0b3b7a;
  font-weight: 600;
}

.main {
  flex: 1;
  background: #fafbfc;
  padding: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.two-col {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  text-align: justify;
}

.about-text p {
  margin-bottom: 24px;
}

.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 400px;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.05);
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .menu {
    display: none;
  }

  .menu.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .menu.open .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 8px;
  }

  .menu.open .has-sub.sub-open .submenu {
    display: block;
  }

  .menu-toggle {
    display: block;
    border: 1px solid #e6e8eb;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .nav {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero .container {
    min-height: 340px;
  }

  .hero-slides img {
    height: 320px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.admin-wrap {
  flex-direction: row;
}

.sidebar {
  width: 240px;
  border-right: 1px solid #e6e8eb;
  border-bottom: none;
}

.tree-items {
  display: block;
}

/* Page Banner Styles */
.page-banner {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  color: #ffffff;
}

.page-breadcrumb {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  opacity: 0.95;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

.page-breadcrumb a {
  color: #fff;
  transition: opacity 0.2s;
  font-weight: 500;
}

.page-breadcrumb a:hover {
  opacity: 0.8;
}

.page-breadcrumb span {
  opacity: 0.8;
}

/* Internal Page Content */
/* Ensure search.css content is present or fallback */
.search-highlight {
  background-color: #ffd026;
  color: #111;
}

.page-content {
  padding-bottom: 80px;
  min-height: 500px;
  background: #fff;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

.items-center {
  align-items: center;
}

/* Metrics Section */
.section-metrics {
  padding: 120px 0;
}

.metrics-title {
  color: #fff;
  margin-bottom: 60px;
}

.metric-suffix {
  font-size: 24px;
  color: #94a3b8;
  font-weight: 400;
  margin-left: 4px;
}

/* Buttons */
.btn-primary {
  font-size: 15px;
  padding: 12px 28px;
  background: #0b3b7a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 59, 122, 0.3);
  transition: all 0.3s;
  border-radius: 8px;
  display: inline-block;
}

.btn-primary:hover {
  background: #0e4b96;
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0b3b7a;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
}

.btn-white {
  background: #fff;
  color: #0b3b7a;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
}

.btn-outline-white {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
}

/* Honors Grid */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.honor-tile {
  height: 300px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
}

.honor-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 10px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
  background: #fff;
  border-radius: 8px;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.partner-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* Sidebar */
.sidebar-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-link {
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  border-left: 3px solid transparent;
}

.cat-link.active {
  color: #0b3b7a;
  background-color: #e0f2fe;
  font-weight: 600;
  border-left-color: #0b3b7a;
}

.cat-link:hover:not(.active) {
  background-color: #f8fafc;
  color: #0b3b7a;
}

.cat-link-all {
  color: #fff;
  background-color: #0b3b7a;
  font-weight: 600;
}

.cat-link-all:hover {
  background-color: #0e4b96;
  color: #fff;
}

.cat-link-all.inactive {
  color: #64748b;
  background-color: transparent;
  font-weight: 400;
}

.cat-link-all.inactive:hover {
  background-color: #f8fafc;
  color: #0b3b7a;
}

/* Filter Bar */
.products-filter-bar {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-icon {
  font-size: 24px;
  color: #0b3b7a;
}

.filter-title {
  font-size: 18px;
  margin: 0;
  color: #1e293b;
  font-weight: 600;
}

.filter-right {
  flex: 1;
  max-width: 500px;
}

.search-form {
  display: flex;
  gap: 10px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input {
  width: 100%;
  padding: 10px 15px;
  padding-left: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s;
  font-size: 14px;
}

.search-input:focus {
  border-color: #0b3b7a;
  box-shadow: 0 0 0 3px rgba(11, 59, 122, 0.1);
}

.search-icon-input {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

.search-btn {
  padding: 10px 24px;
  background-color: #0b3b7a;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  font-size: 14px;
}

.search-btn:hover {
  background-color: #0e4b96;
}

/* Product Card List View */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f1f5f9;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 59, 122, 0.1);
}

.product-card-body {
  padding: 24px;
  flex: 1;
}

.brand-tag {
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  border-radius: 4px;
  font-weight: 500;
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e293b;
  line-height: 1.4;
}

.product-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  padding: 15px 24px;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-date {
  font-size: 12px;
  color: #94a3b8;
}

.product-link {
  color: #0b3b7a;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Pager */
.custom-pager ul {
  display: inline-flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-pager li a,
.custom-pager li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s;
  background: #fff;
  font-weight: 500;
}

.custom-pager li.active span,
.custom-pager li.active a {
  background: #0b3b7a;
  color: #fff;
  border-color: #0b3b7a;
}

.custom-pager li a:hover:not(.active) {
  border-color: #0b3b7a;
  color: #0b3b7a;
}

.pager-wrap {
  margin-top: 40px;
  text-align: center;
}

/* Empty State */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.empty-icon {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.empty-title {
  font-size: 20px;
  color: #334155;
  margin-bottom: 10px;
}

.empty-desc {
  color: #94a3b8;
  margin-bottom: 20px;
}

.btn-pill {
  display: inline-block;
  padding: 10px 24px;
  background: #0b3b7a;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 960px) {
  .products-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-right {
    max-width: 100%;
  }
}

.contact-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-bg {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(11, 59, 122, 0.9),
      rgba(11, 59, 122, 0.7) 60%,
      transparent);
  display: flex;
  align-items: center;
  padding: 60px;
}

.contact-content {
  color: #fff;
  max-width: 600px;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.contact-info {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 960px) {
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-overlay {
    background: rgba(11, 59, 122, 0.9);
    padding: 40px;
  }

  .contact-bg {
    height: auto;
    min-height: 450px;
  }
}

@media (max-width: 640px) {
  .honors-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-title {
    font-size: 28px;
  }
}

/* Case Study Card */
.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: 1px solid #f1f5f9;
  height: 100%;
}

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

.case-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

.case-card:hover .case-img {
  transform: scale(1.05);
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  height: 80px;
}

.case-body {
  padding: 24px;
}

.case-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}

.case-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Detail Page (News/Product) */
.detail-card {
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: none;
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.detail-header {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.detail-title {
  font-size: 32px;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.detail-meta {
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-image {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.back-btn-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  padding-top: 20px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b3b7a;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.btn-back:hover {
  transform: translateX(-5px);
}

/* Product Detail Specific */
.product-hero {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.product-gallery {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-info {
  flex: 1;
  min-width: 300px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-tags {
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-pill {
  background: #eef2ff;
  color: #0b3b7a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.product-summary {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 30px;
}

.product-content-card {
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: none;
  background: #fff;
  margin-bottom: 40px;
}

.content-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

/* Contact Page Specific */
.contact-info-list {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-list-item {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list-item:last-child {
  margin-bottom: 0;
}

.icon-box {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b3b7a;
  flex-shrink: 0;
}

.contact-label {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 18px;
  color: #1e293b;
  font-weight: 500;
}

.contact-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 240px;
  position: relative;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.cta-band-card {
  background: #0b3b7a;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(11, 59, 122, 0.2);
}

.map-card {
  height: 100%;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.map-container {
  width: 100%;
  height: 400px;
}

@media (max-width: 960px) {
  .cta-band-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-band-card a {
    text-align: center;
  }
}

/* Header & Footer Components */
.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: 36px;
}

.topbar-info {
  color: #e2e8f0;
  font-size: 13px;
  opacity: 0.8;
}

.topbar-lang {
  display: flex;
  gap: 12px;
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1fr 0.5fr 1.5fr 1fr;
  gap: 30px;
  padding-top: 60px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-info-group {
  margin-top: 20px;
  line-height: 2;
  font-size: 14px;
  opacity: 0.8;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  opacity: 0.7;
  transition: opacity 0.3s;
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  opacity: 1;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.footer-link-grid-item {
  width: 100%;
  opacity: 0.7;
  transition: opacity 0.3s;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.footer-link-grid-item:hover {
  opacity: 1;
}

.footer-qr-box {
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  display: inline-block;
}

.footer-qr-img {
  width: 100px;
  height: 100px;
  display: block;
}

@media (max-width: 960px) {
  .footer-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid-layout {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    gap: 10px;
  }

  .footer-link-grid-item {
    width: calc(50% - 5px);
  }
}