@charset "UTF-8";
/* 全局极简自定义样式，基于BS5复用，仅补充差异化样式，无冗余代码 */
:root {
  --primary-color: #0d6efd;
  /* 主色调，Bootstrap原生主蓝，替换此处即可改全站品牌色 */
  --secondary-color: #212529;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
  color: var(--secondary-color);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.section {
  padding: 8rem 0;
}

/* 公司LOGO样式 - 可根据需求调整宽高 */
.logo-img {
  height: 36px;
  /* 控制LOGO高度，宽度自动等比缩放 */
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  /* 防止LOGO变形 */
}

/* 导航栏滚动后，LOGO样式不变（可选） */
#header.scroll .logo-img {
  height: 32px;
  /* 滚动后LOGO稍微缩小，更精致 */
}

.title-box {
  text-align: center;
  margin-bottom: 4rem;
}

.title-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.title-box p {
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
}

.btn-custom {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.35s ease;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary-custom:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

.btn-outline-custom {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* 导航栏样式 - 悬浮渐变+阴影 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0.8rem 0;
  background-color: transparent;
  transition: all 0.35s ease-in-out;
}

#header.scroll {
  background-color: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1px;
}

#header.scroll .navbar-brand {
  color: #005faf !important;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 1.2rem;
}

#header.scroll .navbar-nav .nav-link {
  color: var(--secondary-color) !important;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  font-size: 1.3rem;
  color: #fff;
}

#header.scroll .navbar-toggler {
  color: var(--primary-color);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* 首屏Hero区 全屏视觉 */
.hero {
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.78)), url("../img/bg1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #e9ecef;
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

/* 卡片悬浮动效 - 核心优势/产品服务通用 */
.card-custom {
  border: none;
  background-color: var(--light-color);
  border-radius: 12px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: all 0.4s ease;
  margin-bottom: 1.5rem;
}

.card-custom:hover {
  transform: translateY(-8px);
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.card-custom i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.card-custom h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-custom p {
  color: var(--gray-color);
  font-size: 0.95rem;
}

/* 产品服务板块 背景主色 */
.service {
  background-color: var(--primary-color);
  color: #fff;
}

.service .title-box h2,
.service .title-box p {
  color: #fff;
}

.service .title-box p {
  opacity: 0.9;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem 1.8rem;
  transition: all 0.4s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.service-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.service-card h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-card a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card a i {
  transition: transform 0.3s ease;
}

.service-card a:hover i {
  transform: translateX(5px);
}

/* 合作客户 LOGO灰度-hover变彩色 */
.client {
  background-color: var(--light-color);
  padding: 6rem 0;
}

.client-logo {
  filter: grayscale(100%);
  opacity: 0.8;
  height: 40px;
  transition: all 0.3s ease;
  margin: 0 1.5rem 1.5rem;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* 联系我们 表单样式 */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.contact-item i {
  width: 45px;
  height: 45px;
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-item p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* 页脚样式 */
footer {
  background-color: var(--secondary-color);
  color: #adb5bd;
  padding: 6rem 0 2rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 0.8rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 3px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* 响应式适配优化 - 基于BS5栅格，仅补充微调 */
@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .title-box h2 {
    font-size: 1.8rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-btn {
    flex-direction: column;
    gap: 0.8rem;
  }
  .btn-custom {
    width: 100%;
  }
  .client {
    padding: 4rem 0;
  }
  .client-logo {
    height: 35px;
    margin: 0 1rem 1rem;
  }
}