* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

html {
  font-size: 10px;
}

body {
  font-size: 1.6rem;
}

.txt-min {
  font-size: 1.2rem;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-behavior: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  scroll-behavior: smooth;
  scroll-behavior: auto;
}

.container {
  max-width: 1530px;
  margin: 0 auto;
}

svg.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  overflow: hidden;
  vertical-align: -0.1em;
}

.navbar {
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
  color: #333333 !important;
  margin: 0 8px;
  line-height: 40px;
}

.navbar .nav-link:hover {
  color: #165dff !important;
}

.navbar_box .collapse .nav-item {
  position: relative;
}

.navbar_box .navbar-brand {
  margin-bottom: 0;
  color: #165dff;
  font-size: 24px;
  font-weight: bold;
}

/* .navbar_box .collapse .nav-item.active::after {
  content: "";
  width: 50%;
  height: 4px;
  background: #165dff;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
} */

.navbar_box .phone_fr {
  font-size: 16px;
  padding: 8px 15px;
  text-decoration: none;
  color: #165dff;
}

.navbar_box .phone_fr svg.icon {
  margin-right: 5px;
}

.navbar_box .phone_fr p {
  margin: 0;
}

.banner-section {
  min-height: 400px;
  margin-top: 80px;
  padding: 45px 0;
  background: #165dff;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.banner-text h2 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: bold;
  margin-bottom: 16px;
}

.btn_group a {
  background-color: #d4af37;
  color: #ffffff;
  border: 1px solid #d4af37;
}

.btn_group a:hover {
  background-color: #ffffff;
  color: #d4af37;
}

.btn_group .btn_shop {
  background-color: transparent;
  border: 1px solid #ffffff;
  margin-left: 15px;
}

.banner-text .text {
  font-size: 20px;
  line-height: 28px;
}

.banner-text .tag {
  font-size: 16px;
  opacity: 0.9;
}

.banner-text .tel {
  font-size: 20px;
  margin: 10px 0;
}

.section-title {
  font-size: clamp(24px, 3vw, 30px);
  color: #1e293b;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
  margin-bottom: 35px;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #165dff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-card h4 {
  padding: 15px 15px 8px;
  font-size: 15px;
  text-align: center;
}

.product-card p {
  padding: 0 15px;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.case-desc {
  text-align: center;
  font-size: 20px;
  color: #444;
  line-height: 1.8;
}

.newsSwiper {
  padding-bottom: 50px;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-info {
  padding: 18px;
}

.news-info h5 {
  margin-bottom: 10px;
}

footer {
  background: #1e293b;
}

footer p {
  margin-bottom: 0;
  font-size: 15px;
}

footer .nav-link {
  color: #fff !important;
}

.advantage-card {
  position: relative;
  overflow: hidden;
  border: none;
  transition: all 0.4s ease;
  cursor: pointer;
  background: #fff;
  padding: 20px 15px;
}

.advantage-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.25) !important;
}



.advantage-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto 20px;
  font-size: 35px;
  color: #165dff;
  border: 2px solid #165dff;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
  background: #165dff;
  color: #fff;
}

.advantage-card h4 {
  transition: color 0.3s ease;
  font-weight: bold;
  margin-bottom: 15px;
}

.advantage-card:hover h4 {
  color: #165dff;
}

.navbar_box .navbar-toggler {
  padding: 0;
  border: none;
  font-size: 25px;
}

.section-padding {
  padding: 6rem 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.menu-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #2c3e50;
  z-index: 99;
  padding-top: 70px;
  transition: all 0.35s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.menu-sidebar.show {
  left: 0;
}

.menu-sidebar .nav-link {
  color: #fff !important;
  padding: 15px 25px;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-sidebar .nav-link:hover {
  background: #165dff;
  color: #fff !important;
  padding-left: 30px;
}

.call-btn {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: #165dff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  display: none;
}

.call-btn a {
  color: #fff !important;
}

.contact-section {
  background-color: #165dff;
}

.contact-section .section-title::after {
  background-color: #fff;
}

.contact-section .fs-4 {
  font-size: 20px !important;
  font-weight: bold;
}

.contact-section p {
  font-size: 18px;
  color: #fff;
}

.contact-section p .icon {
  font-size: 20px;
}

.contact-section p.phone {
  font-size: 24px;
}

.contact-section p a:hover {
  color: #d4af37;
}

.contact-section 

.about-section .about_fl {
  padding-right: 20px;
}

.about-section .about_fr {
  padding-left: 90px;
}

/* 分站公司 美观样式 */
.branch-wrap {
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.branch-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
}

.branch-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.branch-list span a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.branch-list span:hover a {
  background: #165dff;
  color: #fff;
}

.wrap-box {
  width: 100%;
}

.title-main {
  font-size: 32px;
  color: #002699;
  margin-bottom: 30px;
  padding-left: 8px;
  border-left: 4px solid #0033cc;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.item-card {
  background: #fff;
  padding: 26px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgb(47 140 202 / 20%);
  border: 1px solid #e8eeff;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

.about-section .space-y .icon {
  color: #d4af37;
  margin-right: 5px;
  font-size: 20px;
}

.about-section .space-y li {
  font-size: 16px;
  color: #333333;
  line-height: 2;
  display: flex;
  align-items: center;
}

/*逐个延迟出现动画*/
.item-card:nth-child(1) {
  animation-delay: 0.1s;
}

.item-card:nth-child(2) {
  animation-delay: 0.25s;
}

.item-card:nth-child(3) {
  animation-delay: 0.4s;
}

.item-card:nth-child(4) {
  animation-delay: 0.55s;
}

.item-card:nth-child(5) {
  animation-delay: 0.7s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-label {
  font-size: 20px;
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.card-value {
  font-size: 15px;
  color: #165dff;
  /*数值滚动动画*/
  opacity: 0;
  animation: textShow 1s ease forwards 0.5s;
}

@keyframes textShow {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*hover上浮动效*/
.item-card:hover {
  transform: translateY(-6px);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgb(47 140 202 / 40%);
}

/* PC端隐藏侧边栏 */
@media (min-width: 992px) {
  .navbar-toggler,
  .menu-overlay,
  .menu-sidebar {
    display: none !important;
  }

  .navbar_box .collapse {
    display: flex !important;
  }
}

@media (max-width: 992px) {
  .about-section .about_fl {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }

  .about-section .about_fr {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
}

@media screen and (max-width: 768px) {
  .call-btn {
    display: flex;
  }
  .case-desc {
    font-size: 14px;
  }
  .section-title {
    font-size: 20px;
  }

  .product-card img{
    height: 130px;
  }

  .about-section .space-y li {
    font-size: 14px;
  }

  .navbar_box .navbar-brand {
    font-size: 17px;
  }

  .navbar_box .phone_fr {
    font-size: 12px;
    padding: 5px 6px;
    display: none;
  }

  .navbar_box .phone_fr .icon {
    font-size: 14px;
  }

  .banner-section {
    margin-top: 55px;
    min-height: 320px;
  }

  .banner-text h1 {
    font-size: 20px;
    font-weight: bold;
  }

  .advantage-card h4 {
    font-size: 20px;
  }

  .advantage-back p {
    font-size: 14px;
  }

  .banner-text .tag {
    font-size: 14px;
  }

  .banner-text p {
    font-size: 14px !important;
  }

  .banner-text .btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .about-section h4 {
    font-size: 18px;
    font-weight: bold;
  }

  .about-section p {
    font-size: 14px !important;
  }

  .about-section .mt-3 {
    font-size: 16px;
    font-weight: bold;
  }

  .product-section h4 {
    font-size: 14px;
    font-weight: bold;
  }

  .product-section p {
    font-size: 14px !important;
  }

  .product-section .mt-3 {
    font-size: 16px;
    font-weight: bold;
  }
  .contact-section p {
    font-size: 14px;
  }
  .contact-section p.phone {
    font-size: 16px;
  }
  footer p {
    font-size: 14px;
  }
}
