/* ===== 全局变量 ===== */
:root {
  --primary-color: #003366;
  --primary-dark: #002244;
  --primary-light: #0055aa;
  --accent-color: #0066cc;
  --text-dark: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --bg-light: #f5f7fa;
  --bg-section: #eef2f7;
  --border-color: #e0e4ea;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
  --transition: all 0.3s ease;
}

/* ===== 基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== 顶部导航 ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 6px 0;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
}

.top-bar a:hover {
  color: var(--white);
}

.navbar-main {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0;
  transition: var(--transition);
}

.navbar-main.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  padding: 12px 0;
}

.navbar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand .navbar-brand-text {
  line-height: 1.3;
  color: #1a2a88 !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 25px 18px !important;
  position: relative;
  font-size: 1.05rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* ===== 轮播图 ===== */
.hero-carousel .carousel-item {
  height: 550px;
  position: relative;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel .carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;    /* 居中对齐 */
  left: 50%;             /* 水平居中定位 */
  right: auto;
  transform: translate(-50%, -50%); /* 同时水平和垂直居中 */
  max-width: 800px;      /* 可适当放宽最大宽度，以适应居中布局 */
  width: 90%;            /* 确保在小屏设备上也有足够宽度 */
}

.hero-carousel .carousel-caption h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-carousel .carousel-caption p {
  font-size: 1.1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 34, 68, 0.75) 0%, rgba(0, 51, 102, 0.55) 50%, rgba(0, 34, 68, 0.65) 100%);
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide-1 {
  background-image: url('../image/hero-slide-3.jpg');
}

.hero-slide-2 {
  background-image: url('../image/hero-slide-1.jpg');
}

.hero-slide-3 {
  background-image: url('../image/hero-slide-2.jpg');
}

.service-1 {
  background-image: url('../image/scope-support.jpg');
}

.service-2 {
  background-image: url('../image/scope-parts.jpg');
}

.service-3 {
  background-image: url('../image/scope-install.jpg');
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* ===== 页面 Banner ===== */
.page-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 34, 68, 0.82) 0%, rgba(0, 51, 102, 0.72) 50%, rgba(0, 85, 170, 0.65) 100%);
  z-index: 1;
}

.page-banner-about {
  background-image: url('../image/banner-about.jpg');
}

.page-banner-news {
  background-image: url('../image/banner-news.jpg');
}

.page-banner-products {
  background-image: url('../image/banner-products.jpg');
}

.page-banner-solutions {
  background-image: url('../image/banner-solutions.jpg');
}

.page-banner-hr {
  background-image: url('../image/banner-hr.jpg');
}

.page-banner-contact {
  background-image: url('../image/banner-contact.jpg');
}

.page-banner-cases {
  background-image: url('../image/banner-cases.jpg');
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.breadcrumb-custom .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom .breadcrumb-item a:hover {
  color: var(--white);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 通用区块 ===== */
.section {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.section-title p {
  color: var(--text-muted);
  margin-top: 0;
  font-size: 1rem;
}

.section-bg {
  background: var(--bg-light);
}

.section-compact {
  padding: 40px 0;
}

.section-compact .section-title {
  margin-bottom: 30px;
}

.section-title-left {
  text-align: left;
}

.section-title-left h2::after {
  left: 0;
  transform: none;
}

.home-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 720px;
}

/* ===== 关于我们卡片 ===== */
.about-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 51, 102, 0.15);
}

.about-card .card-img-top {
  height: 280px;
  object-fit: cover;
}

.about-card .card-body {
  padding: 25px;
}

.about-card .card-body h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-card .card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== 数据统计 ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 60px 0;
  color: var(--white);
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

/* ===== 产品卡片 ===== */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.product-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card .product-img {
  height: 200px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-color);
}

.product-card .card-body {
  padding: 20px;
}

.product-card .card-body h5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.product-card .card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== 新闻列表 ===== */
.news-item {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:hover {
  background: rgba(0, 102, 204, 0.03);
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 6px;
}

.news-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 6px;
  padding: 10px 5px;
  align-self: flex-start;
}

.news-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 0.8rem;
  opacity: 0.9;
}

.news-content h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 8px;
  transition: var(--transition);
}

.news-item:hover .news-content h5 {
  color: var(--primary-color);
}

.news-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== 成功案例 ===== */
.case-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.case-item:first-child {
  padding-top: 0;
}

.case-item:last-child {
  border-bottom: none;
}

.case-item:hover {
  background: rgba(0, 102, 204, 0.03);
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 6px;
}

.case-year {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 6px;
  padding: 12px 5px;
  align-self: flex-start;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.case-year-long {
  font-size: 0.95rem;
  padding: 8px 5px;
}

.case-content {
  flex: 1;
  padding-top: 4px;
}

.case-content p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== 业务范围 ===== */
.business-scope {
  padding-top: 60px;
  padding-bottom: 60px;
}

.business-scope-item {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.business-scope-item:first-child {
  padding-top: 0;
}

.business-scope-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.business-scope-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.business-scope-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.business-scope-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.business-scope-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 0;
}

.business-scope-list {
  margin-bottom: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.business-scope-list li {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 6px;
}

.business-scope-list li:last-child {
  margin-bottom: 0;
}

/* ===== 应用方案卡片（首页等） ===== */
.solution-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.solution-card img,
.solution-card .solution-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.solution-card .solution-bg {
  display: block;
}

.solution-card:hover img,
.solution-card:hover .solution-bg {
  transform: scale(1.05);
}

.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 34, 68, 0.85) 0%, rgba(0, 51, 102, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: var(--white);
  transition: var(--transition);
}

.solution-card:hover .solution-overlay {
  background: linear-gradient(to top, rgba(0, 34, 68, 0.95) 0%, rgba(0, 51, 102, 0.5) 100%);
}

.solution-overlay h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.solution-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0;
}

/* ===== 人才招聘 ===== */
.job-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow);
}

.job-card h5 {
  color: var(--primary-color);
  font-weight: 600;
}

.job-tag {
  display: inline-block;
  background: var(--bg-section);
  color: var(--primary-color);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 8px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}

.benefit-item .benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--white);
  font-size: 1.5rem;
}

.benefit-item h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== 联系我们 ===== */
.contact-info-card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-info-card h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.contact-item {
  gap: 15px;
  margin-bottom: 18px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 35px;
  box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border-color);
  padding: 12px 15px;
  border-radius: 6px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.contact-map-wrap {
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}

.contact-map {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.btn-primary-custom {
  background: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline-custom {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.5rem;
  justify-content: start;
}

.footer-feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  align-items: center;
  font-weight: 600;
}

.footer-feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-feature-item:hover .footer-feature-icon {
  background: var(--accent-color);
}

.footer-col p {
  margin-bottom: 0;
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* ===== 侧边栏 ===== */
.sidebar-nav {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sidebar-nav .sidebar-title {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 20px;
  font-weight: 600;
}

.sidebar-nav .list-group-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
  color: var(--text-dark);
  transition: var(--transition);
}

.sidebar-nav .list-group-item:hover,
.sidebar-nav .list-group-item.active {
  background: var(--bg-section);
  color: var(--primary-color);
  padding-left: 25px;
}

.sidebar-nav .list-group-item.sub-item {
  padding-left: 32px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-nav .list-group-item.sub-item:hover,
.sidebar-nav .list-group-item.sub-item.active {
  padding-left: 36px;
}

/* ===== 公司概况二级标题 ===== */
.overview-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 14px;
  border-left: 4px solid var(--accent-color);
}

.overview-subtitle:first-of-type {
  margin-top: 1.5rem;
}

/* ===== 核心团队 ===== */
.team-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-color);
}

.team-member {
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.team-member:last-of-type {
  margin-bottom: 0;
}

.team-member-name {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.team-member-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.team-support-note {
  margin-top: 20px;
  padding: 18px 20px;
  background: rgba(0, 51, 102, 0.06);
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}

.team-support-note strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.team-support-note p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== 授权证书 ===== */
.certificate-wrap {
  height: 100%;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.certificate-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.certificate-preview {
  cursor: zoom-in;
  transition: var(--transition);
}

.certificate-preview:hover {
  opacity: 0.92;
}

.certificate-preview:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.certificate-modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.certificate-modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow);
}

#team h5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

/* ===== 荣誉墙 ===== */
.honor-card {
  text-align: center;
  padding: 25px 15px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.honor-card:hover {
  transform: translateY(-3px);
}

.honor-card .honor-icon {
  width: 90px;
  height: 90px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary-color);
  font-size: 2.8rem;
}

.honor-card h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.honor-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== 企业文化 ===== */
.culture-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.culture-card:hover {
  transform: translateY(-5px);
}

.culture-card .culture-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.culture-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.culture-card p {
  color: var(--text-muted);
}

/* ===== 分页 ===== */
.pagination .page-link {
  color: var(--primary-color);
  border-color: var(--border-color);
}

.pagination .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--accent-color);
}

.back-to-top.show {
  display: flex;
}

/* ===== 响应式 ===== */
@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-logo {
    height: 36px;
  }

  .hero-carousel .carousel-item {
    height: 400px;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px !important;
  }

  .navbar-nav .nav-link.active::after,
  .navbar-nav .nav-link:hover::after {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 0.85rem;
    line-height: 1.35;
    max-width: calc(100% - 56px);
  }

  .navbar-logo {
    height: 32px;
  }

  .navbar-brand-text {
    font-size: 16px;
  }

  .hero-carousel .carousel-item {
    height: 300px;
  }

  .hero-carousel .carousel-caption {
    text-align: center;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: 1.4rem;
  }

  .page-banner {
    padding: 60px 0 40px;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .news-item {
    flex-direction: column;
  }

  .news-date {
    width: auto;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 5px 15px;
  }

  .news-date .day {
    font-size: 1.2rem;
  }

  .case-item {
    flex-direction: column;
    gap: 12px;
  }

  .case-year {
    width: auto;
    display: inline-block;
    padding: 5px 15px;
  }

  .business-scope-item {
    padding: 35px 0;
  }

  .business-scope-img img {
    height: 220px;
  }

  .business-scope-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-features {
    gap: 0.5rem;
  }

  .footer-feature-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-feature-item {
    font-size: 0.8rem;
  }
}
