* {
  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: #0d6efd !important;
}

.navbar_box .collapse .nav-item {
  position: relative;
}

.navbar_box .navbar-brand {
  margin-bottom: 0;
  color: #0d6efd;
  font-size: 24px;
  font-weight: bold;
}

/* .navbar_box .collapse .nav-item.active::after {
  content: "";
  width: 50%;
  height: 4px;
  background: #0d6efd;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
} */

.navbar_box .phone_fr {
  font-size: 16px;
  padding: 8px 15px;
  text-decoration: none;
  color: #0d6efd;
}

.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: 6rem 0;
  background: #0d6efd;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.banner-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.banner-text {
  padding-right: 3rem;
}

.banner-text a:nth-of-type(2) {
  border: 2px solid #ffffff;
  color: #ffffff;
  margin-left: 10px;
}

.banner-text a {
  padding: 0.6rem 1rem;
  font-size: 14px;
}

.banner-section .img-fluid {
  max-width: 600px;
  border-radius: 1rem;
}

.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;
}

.section_text {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  margin-top: 2rem;
}

.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: #0d6efd;
  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%;
}

.product-card h4 {
  padding: 15px 20px;
  font-size: 15px;
  text-align: left;
}

.product_box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 8px;
}

.product_box h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.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;
}

.product_box .product_list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_box .product_list span {
  background-color: rgb(22 93 255 / 0.1);
  padding: 0.6rem 2rem;
  border-radius: 30px;
  margin: 0 1rem;
  display: block;
}
.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: rgb(245 247 250 / var(--tw-bg-opacity, 1));
  padding: 20px 15px;
  box-shadow: none !important;
  border-radius: 10px;
}

.advantage-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto 20px;
  font-size: 35px;
  color: #0d6efd;
  border: 2px solid #0d6efd;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
  background: #0d6efd;
  color: #fff;
}

.advantage-card h4 {
  transition: color 0.3s ease;
  font-weight: bold;
  margin-bottom: 15px;
}

.advantage-card:hover h4 {
  color: #0d6efd;
}

.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: #0d6efd;
  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: #0d6efd;
  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: #0d6efd;
}

.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 {
  text-align: center;
}
.branch-wrap p{
  color: #ffffff;
}
.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: #0d6efd;
  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;
}

.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;
}
/* 卡片外层容器 */
.card-wrap {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* 单个卡片样式 */
.item-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
/* 卡片悬浮动效 */
.item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
/* 标题样式+蓝色下划线 */
.card-title {
  font-size: 1.5rem;
  color: #1a2436;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
  font-weight: bold;
}
.card-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #2563eb;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
/* 正文文案 */
.card-desc {
  font-size: 16px;
  color: #444854;
  line-height: 1.8;
  text-align: center;
}
/* 移动端自适应：小屏改成单列 */
@media (max-width: 768px) {
  .card-wrap {
    grid-template-columns: 1fr;
  }
}
/*逐个延迟出现动画*/
.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;
}

.card-label {
  font-size: 20px;
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.card-value {
  font-size: 15px;
  color: #0d6efd;
  /*数值滚动动画*/
  opacity: 0;
  animation: textShow 1s ease forwards 0.5s;
}

/*hover上浮动效*/
.item-card:hover {
  transform: translateY(-6px);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgb(47 140 202 / 40%);
}

.city_box {
  padding: 2rem 0;
  background: #2c3e50;
  border-bottom: 1px solid #ffffff;
}

.city_web {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.city_web span a {
  padding: 0.8rem 1.3rem;
  background: #ffffff;
  border-radius: 30px;
  font-size: 14px;
}

/* 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;
  }

  .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;
  }
}
