:root {
  --primary-blue: #004B7A;
  --accent-orange: #FF7F30;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --border-color: #e5e5e5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  overflow-x: hidden;
}

body {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 14px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.pt {
  padding-top: 90px;
}

.pb {
  padding-bottom: 90px;
}

.ptb {
  padding: 90px 0;
}

.btn-common {
  background-color: var(--accent-orange);
  color: var(--white);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-common2 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 15px;
  font-family: futura-pt;
  font-style: normal;
  text-decoration: none;
  padding: 1em 1.75em;
  background-color: #e87722;
  display: inline-block;
  line-height: 1em;
  margin: 10px 0;
  color: #fff;
  border: none;
}

/* 导航栏 */
.navbar {
  background-color: var(--white);
  padding: 1rem 0;
  padding: 15px 0;
}

.navbar-brand img {
  height: 40px;
  height: 80px;
}

@media (max-width: 992px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar-brand img {
    height: 50px;
  }
}

.navbar-nav .nav-link {
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-orange);
}

/* 移动端右侧侧边栏 */
#sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  /* 默认隐藏在右侧外 */
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

#sidebar.active {
  right: 0;
  /* 滑入显示 */
}

/* 关闭按钮 */
.sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #004B7A;
  cursor: pointer;
}

/* 侧边栏菜单 */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.sidebar-menu li {
  margin-bottom: 1rem;
}

.sidebar-menu a {
  color: #004B7A;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}

.sidebar-menu a:hover {
  color: #FF7F30;
}

.btn-contact,
.mobile-menu .btn-contact {
  background-color: var(--accent-orange);
  color: var(--white);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-contact:hover,
.mobile-menu .btn-contact:hover {
  background-color: #e66b1f;
  color: var(--white);
}

/* 遮罩 */
#sidebarOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9998;
  display: none;
}

#sidebarOverlay.active {
  display: block;
}

/* 固定导航栏 */
.sticky-top {
  position: sticky;
  top: 0;
  background: #fff !important;
  z-index: 999;
}

/* Hero 区域 */
.hero {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 66px;
  line-height: 1em;
  font-style: normal;
  color: #fff;
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 56px;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
}

.hero-buttons .btn {
  background-color: var(--accent-orange);
  color: var(--white);
  border-radius: 23px;
  margin: 10px 30px;
  /* font-size: 0.8rem;
  margin: 0 0.3rem;
  padding: 0.4rem 1rem; */
}

.hero-buttons .btn:hover {
  background-color: #e66b1f;
}

/* 介绍区域 */
.intro-section {
  padding: 5rem 0 3rem;
  text-align: center;
}

.intro-section h2 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.intro-section p {
  max-width: 700px;
  margin: 0 auto 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.intro-section .highlight {
  color: var(--accent-orange);
  font-size: 1.1rem;
  font-weight: bold;
}

.lang-switch a {
  color: var(--primary-blue);
  font-size: 0.85rem;
  text-decoration: none;
  margin: 0 0.3rem;
}

.lang-switch a:hover {
  text-decoration: underline;
}

/* 品牌logo区域 */
.logo-section {
  padding: 0 0 2rem;
  text-align: center;
}

.logo-container {
  background-color: #eee;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.logo-container img {
  max-width: 200px;
}

/* 双列内容区域 */
.two-col-section {
  padding: 2rem 0 4rem;
}

.two-col-section .col {
  text-align: center;
}

.two-col-section img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.two-col-section h3 {
  color: var(--accent-orange);
  /* font-size: 0.9rem; */
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.two-col-section p {
  font-size: 18px;
  color: var(--text-light);
  margin: 0 auto 1rem;
}

.two-col-section .learn-more {
  color: var(--accent-orange);
  font-size: 18px;
  text-decoration: none;
}

.two-col-section .learn-more:hover {
  text-decoration: underline;
}

/* 页脚 */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.footer-contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.footer-contact-info a {
  color: #ffffff;
}

.blog-link-wrap {
  height: 450px;
  position: relative;
}

.blog-link-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-link-wrap-content {
  width: 60%;
  padding: 30px;
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.45);
}

.blog-link-wrap-content a {
  color: #fff;
}

.blog-link-wrap-content h4 {
  font-weight: 500;
  font-size: 24px;
}

.blog-link-wrap-content p {
  font-size: 16px;
}

@media (max-width: 992px) {
  .blog-link-wrap-content {
    width: 90%;
  }
}

.page-content,
.page-content p {
  font-size: 16px;
  line-height: 1.8;
}

.page-content p {
  margin-bottom: 0;
}

.page-content img {
  max-width: 100%;
}

/* 表单 */
.custom-form-wrap .form-title {
  font-size: 1.4rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
}

.custom-form-wrap .form-label {
  color: var(--text-dark);
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.custom-form-wrap .form-control,
.custom-form-wrap .form-select {
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 0.6rem 0.8rem;
  font-size: 16px;
  color: var(--text-dark);
  transition: 0.25s ease;
}

.custom-form-wrap .form-control:focus,
.custom-form-wrap .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 75, 122, 0.15);
  outline: none;
}

.custom-form-wrap textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.custom-form-wrap .submit-btn {
  background-color: var(--accent-orange);
  color: #fff;
  border: none;
  padding: 0.6rem 2rem;
  border-radius: 2px;
  font-size: 16px;
  transition: 0.25s ease;
}

.custom-form-wrap .submit-btn:hover {
  background-color: #e66b1f;
}

.custom-form-wrap .form-item {
  margin-bottom: 1rem;
}

/* 联系方式 */
.contact-card-wrap {
  width: 100%;
}

.contact-card {
  background: #fff;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.25s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-card .card-icon {
  font-size: 1.5rem;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.contact-card .card-title {
  font-size: 1.3rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card .card-content {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-card .card-content a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-card .card-content a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

/* 服务优势 */
.service-section {
  background-color: #fff;
}

.service-item {
  margin-bottom: 4rem;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-img img {
  width: 100%;
  border-radius: 8px;
}

.service-content h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .service-item {
    margin-bottom: 2rem;
  }

  .service-img-placeholder {
    height: 220px;
    margin-bottom: 1rem;
  }
}

/* 文章列表 */
.news-section {
  background: #fff;
}

.news-title {
  font-size: 1.8rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 2.5rem;
  text-align: center;
}

.news-card {
  height: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}

.news-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* 文章图片 */
.news-img {
  width: 100%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

/* 信息行：日期 + 点击量 */
.news-meta {
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #eee;
}

.news-meta i {
  color: var(--accent-orange);
  margin-right: 4px;
}

/* 文章内容 */
.news-body {
  padding: 1rem;
}

.news-body h5 {
  font-size: 1rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.news-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* 分页 */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0 0;
  border-radius: 4px;
}

.pagination>li {
  display: inline;
}

.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857;
  text-decoration: none;
  color: #337ab7;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
  z-index: 2;
  color: #FF7F30;
  background-color: #eeeeee;
  border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
  z-index: 3;
  color: #fff;
  background-color: #FF7F30;
  border-color: #FF7F30;
  cursor: default;
}



/* 内页整体容器 */
.article-detail-section {
  background: #fff;
}

/* 左侧文章主体 */
.article-main {
  padding-right: 2rem;
}

/* 文章标题区 */
.article-header {
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 1.8rem;
  color: var(--primary-blue);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.article-meta i {
  color: var(--accent-orange);
  margin-right: 4px;
}

/* 文章主图 */
.article-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/* 文章正文 */
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

.article-content p {
  margin-bottom: 0;
}

/* 上下篇导航 */
.article-nav {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.article-nav-item {
  width: 48%;
}

.article-nav-item a {
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

.article-nav-item a:hover {
  color: var(--accent-orange);
}

.article-nav-item i {
  color: var(--accent-orange);
  margin-right: 8px;
  font-size: 0.8rem;
}

.article-nav-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* 右侧推荐文章侧边栏 */
.sidebar-title {
  font-size: 1.2rem;
  color: var(--primary-blue);
  font-weight: 600;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--accent-orange);
  margin-bottom: 1.5rem;
}

.recommend-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: 0.25s ease;
}

.recommend-item:hover {
  transform: translateX(5px);
}

.recommend-img {
  width: 90px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}

.recommend-content {
  flex: 1;
}

.recommend-content a {
  text-decoration: none;
}

.recommend-title {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  transition: color 0.25s ease;
}

.recommend-content a:hover .recommend-title {
  color: var(--accent-orange);
}

.recommend-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* 响应式适配 */
@media (max-width: 767px) {
  .article-detail-section {
    padding: 2rem 0;
  }

  .article-main {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .article-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .article-nav-item {
    width: 100%;
  }

  .article-sidebar {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
  }
}