@font-face {
  font-family: "OPPO Sans 4.0";
  src: url('OPPO-Sans-4.0.woff2') format('woff2'), url('OPPO-Sans-4.0.woff') format('woff');
}

:root {
  --bs-font-sans-serif: "OPPO Sans 4.0","PingFang","微软雅黑", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --bs-heading-color: #0056C3;
  --bs-navbar-active-color: #0056C3;
}

/* Header */
.nav-ul a {
  position: relative;
  font-weight: 600;
  font-size: 18px;
  color: #1A1A1A;
}

.nav-ul a:hover,
.nav-ul a.active {
  --bs-navbar-active-color: #0056C3;
  font-weight: 600;
  color: var(--bs-navbar-active-color);
}

.nav-ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bs-navbar-active-color);
  transition: all 0.3s ease;
}

.nav-ul a:hover::after {
  width: 100%;
}

.nav-ul a:hover::after {
  width: 100%;
}

.nav-ul a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-ul a {
    border: none;
  }

  .nav-ul a:hover,
  .nav-ul a.active {
    border: none;
  }
}

/* Banner */
.hero {
  height: 650px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero_p {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Section */
.section-title {
  font-size: 32px;
  font-weight: 600;
  position: relative;
}

.section-title::before,
.section-title::after {
  content: "-";
  color: #f96002;
  margin: 0 12px;
  font-weight: 400;
}

.card-pro {
  border: 0 !important;
}

.card-pro a {
  color: #000;
  text-decoration: none;
}

.card-pro a:hover {
  color: var(--bs-navbar-active-color);
}

.card-pro .card-title {
  font-size: 18px;
}

.card-pro .card-text {
  margin-top: 20px;
  text-align: center !important;
}

/* Company */
.company-section {
  margin-top: 40px;
  height: 500px;
}

.company-slogan {
  font-size: 28px;
  font-weight: 500;
  margin: 30px 0 30px 20px;
}

.company-slogan span {
  font-weight: normal;
}

.data-card {
  background: #e6f4ffe6;
  margin: 100px 20px;
  padding: 24px 12px;
  border-radius: 6px;
  font-family: 'DINPro';
  color: #1e6bd6;
  font-weight: 700;
  font-size: 22px;
}

.data-num {
  font-size: 96px;
  font-family: 'DINPro';
  color: #1e6bd6;
  font-weight: 700;
  margin: 18px 0 45px 0;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, rgba(86, 86, 86, 1) 0%, rgba(51, 51, 51, 1) 100%);
}

.footer h6 {
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  color: #dbe9ff;
}

.footer .line {
  border-top: 1px solid #6D6D6D;
}




/* ===== 产品页面 ===== */
.product-sidebar {
  padding: 0.5rem;
  border-radius: .5rem;
  top: 100px;
  z-index: 100;
}

/* 标题 */
.sidebar-title {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #1a1a1a;
  height: 50px;
  border-radius: 4px;
  background: linear-gradient(91.63deg, #f1f1f1 0%, #ffffff 138.08%);
}

/* ===== 主导航 ===== */
.product-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  border: 1px solid #dfedf9;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f2f7fd 0%, #fcfdfe 100%);
}

.nav-group+.nav-group {
  margin-top: .5rem;
}

.nav-group svg {
  color: #f96002;
}

/* 一级分类 */
.nav-parent {
  display: block;
  padding: .5rem .75rem;
  font-size: 1.1rem;
  color: #333;
  text-decoration: none;
  transition: all .2s ease;
}

.nav-parent:hover {
  background: #D5E8FF;
  color: #0056c3;
}

/* 一级激活 */
.nav-parent.active {
  color: #0056c3;
  font-weight: 600;
}

/* ===== 子分类 ===== */

.nav-child {
  display: block;
  padding: .35rem .75rem .35rem 2rem;
  margin: .25rem 0 .5rem;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  transition: all .2s ease;
}

.nav-child:hover {
  color: #0056c3;
  background: #D5E8FF;
}

.nav-child:hover::before {
  content: "→";
}

/* ===== 响应式：移动端 ===== */
@media (max-width: 991px) {
  .product-sidebar {
    padding: .75rem;
  }
}

.product-list {
  list-style: none;
  padding: 0.5rem;
}

.product-section h5,
.product-section h6,
.product-section a {
  color: #000;
}

.product-section h5::before,
.product-section h5::after {
  content: "-";
  color: #f96002;
  margin: 0 5px;
  font-weight: 400;
}

.product-section h5 {
  margin: 10px 0;
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7e7e7;
}

.product-section h6 {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  background: #f3f7fd;
  border-radius: 4px;
  margin-bottom: 10px;
}


.product-list .card {
  border-radius: 4px;
  border: 1px solid #dfedf9;
}

.product-list .card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-list .card-body {
  padding: 8px 0 5px;
}

.product-list a {
  text-decoration: none;
}

.product-image {
  padding: 20px;
  height: 200px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #dfedf9;
}

.product-image img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
}

.product-detail h6 {
  color: #000;
  padding-left: 10px;
  border-left: 6px solid #2e70ff;
}

.product-detail nav {
  font-size: 14px;
}

.product-detail .breadcrumb-item {
  color: #999;
}

.product-detail .card {
  border: 1px solid #e7e7e7;
  border-radius: 4px;
}

.product-content p {
  padding: 10px 0 10px 20px;
}

.product-content ul {
  padding: 10px 0 10px 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.product-content ul>li {
  flex: 1 1 calc(50% - 15px);
  box-sizing: border-box;
  line-height: 2;
}

.product-content ul>li.full{
  grid-column: span 2;
}


.apply .slogan-wrap {
  margin-bottom: 30px;
}

.apply .slogan-text {
  color: #000;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* 圆点组 */
.dot-group {
  display: flex;
  gap: 6px;
}

/* 单个圆点 */
.dot-group .dot1 {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0056c34d;
}

.dot-group .dot2 {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0056c399;
}

.dot-group .dot3 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0056c3;
}

.apply .card-title span {
  font-size: 18px;
  display: inline-block;
  padding-bottom: 20px;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right,
      #f96002 50%,
      #0056c3 50%) 1;
}

.apply .card-text {
  font-size: 14px;
  margin-top: 18px;
}

.apply .card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}


.btn-outline-custom {
  --bs-btn-color: #0056c3;
  --bs-btn-border-color: #0056c3;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0056c3;
  --bs-btn-hover-border-color: #0056c3;
  --bs-btn-active-bg: #0056c3;
  --bs-btn-active-border-color: #0056c3;
}

.article {
  margin: 0 auto;
  padding: 2.5rem 1rem;
  line-height: 1.8;
}

.article-title {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: #000;
}

.article-content {
  font-size: 1rem;
  color: #333;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  color: #333;
}

.article-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
}