:root {
  --brand-primary: #6f42c1;
  --brand-accent: #0dcaf0;
  --brand-dark: #12141c;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-logo {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.hero-section {
  background: linear-gradient(135deg, #6f42c1 0%, #0d6efd 50%, #12141c 100%);
  color: #fff;
  padding: 5rem 0;
}

#homeCarousel .carousel-item {
  height: 520px;
  position: relative;
}

#homeCarousel .carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

#homeCarousel .carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.about-visual {
  min-height: 280px;
  background: linear-gradient(135deg, #6f42c1, #0d6efd);
}

.service-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(111, 66, 193, 0.15) !important;
}

.service-highlight {
  background: linear-gradient(135deg, #6f42c1, #495057);
}

.service-highlight.bg-info {
  background: linear-gradient(135deg, #0dcaf0, #0d6efd) !important;
}

.news-content {
  line-height: 1.9;
  white-space: pre-wrap;
}

.news-list-cover {
  max-height: 120px;
  object-fit: cover;
  width: 100%;
}

.news-detail-cover {
  max-height: 420px;
  object-fit: cover;
}

.hero-section .lead {
  opacity: 0.92;
}

.section-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #6c757d;
  margin-bottom: 2.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 66, 193, 0.12);
  color: var(--brand-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-beian {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-beian img {
  vertical-align: middle;
  margin-right: 4px;
}

.page-header-banner {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 3rem 0;
}

.news-item {
  border-left: 3px solid var(--brand-primary);
  padding-left: 1rem;
}

.contact-info-card {
  border: none;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}
