@charset "utf-8";
/* CSS Document */
/* 基础配色定义 */ :root {
  /* 字体系统 */
  --font-system: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "HarmonyOS Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --font-mono: "Menlo", "Consolas", "Monaco", monospace;
  --primary-color: #165DFF; /* 科技蓝主色 */
  --primary-dark: #0E4BD8; /* 主色加深 */
  --primary-deep: #0A3CCE; /* 主色更深 */
  --secondary-orange: #FF7D00; /* 活力橙辅助色 */
  --secondary-green: #00B42A; /* 清新青辅助色 */
  --gray-dark: #1D2129; /* 深灰 */
  --gray-middle: #86909C; /* 中灰 */
  --gray-light: #F2F3F5; /* 浅灰 */
  --white: #FFFFFF; /* 白色 */
  --danger-color: #F53F3F; /* 错误红 */
  --shadow-base: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  /* 过渡动画变量（优化后） */
  --transition-base: all 0.3s ease;
  --transition-long: all 0.5s ease;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  /* 间距变量（保持不变） */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-xxl: 60px;
}
/* 全局样式 */
body {
  font-family: var(--font-system);
  color: var(--gray-dark);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
.navbar.fixed-top {
  right: var(--bs-scrollbar-width, 0);
}
a {
  text-decoration: none;
  transition: all 0.2s var(--ease-in-out);
}
/* ========== 导航栏样式 ========== */
.navbar {
  transition: all 0.5s ease;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: transparent !important;
}
.navbar.hidden {
  transform: translateY(-100%);
}
/* ========== 透明背景状态 ========== */
.navbar:not(.scrolled) {
  background-color: transparent !important;
}
/* 透明背景下的文字颜色 */
.navbar:not(.scrolled) .navbar-brand, .navbar:not(.scrolled) .nav-link {
  color: white !important;
}
/* 透明背景下的Logo样式 */
.navbar:not(.scrolled) .navbar-brand {
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* 透明背景下的动态下划线 */
.navbar:not(.scrolled) .nav-link::after {
  background-color: white;
}
/* 透明背景下的汉堡菜单线条 */
.navbar:not(.scrolled) .navbar-toggler span {
  background: white;
}
/* 透明背景下的汉堡菜单文字 */
@media (max-width: 991.98px) {
  .navbar:not(.scrolled) .navbar-collapse .nav-link:not(.active) {
    color: rgba(0, 0, 0, 0.7) !important;
  }
}
/* ========== 滚动后白色背景状态 ========== */
.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}
/* 白色背景下的文字颜色 */
.navbar.scrolled .navbar-brand, .navbar.scrolled .nav-link {
  color: rgba(0, 0, 0, 0.7) !important;
}
/* 白色背景下的激活状态文字 */
.navbar.scrolled .nav-link.active {
  color: #000 !important;
  font-weight: 500;
}
/* 白色背景下的Logo样式 */
.navbar.scrolled .navbar-brand {
  text-shadow: none;
  font-weight: bold;
  color: #1D2129 !important;
}
.navbar.scrolled .navbar-brand svg path {
  fill: #165DFF;
  stroke: #FFFFFF;
}
/* 白色背景下的动态下划线 */
.navbar.scrolled .nav-link::after {
  background-color: #007bff;
}
/* 白色背景下的汉堡菜单线条 */
.navbar.scrolled .navbar-toggler span {
  background: #333;
}
/* ========== 通用导航链接样式 ========== */
.nav-link {
  position: relative;
  margin: 0 10px;
  padding: 5px 0 !important;
  transition: all 0.3s ease;
}
/* 动态下划线效果（通用） */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
/* ========== 汉堡菜单动画 ========== */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  transition: all 0.3s ease;
}
.navbar-toggler span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}
.navbar-toggler.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ========== 移动端菜单样式 ========== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  /* 移动端菜单链接颜色统一 */
  .navbar-collapse .nav-link {
    color: rgba(0, 0, 0, 0.7) !important;
  }
  .navbar-collapse .nav-link.active {
    color: #000 !important;
  }
  .navbar-collapse .nav-link::after {
    background-color: #007bff !important;
  }
  .navbar-expand-lg .container {
    padding-right: 15px;
    padding-left: 15px;
  }
}
/* ========== 页面内容样式 ========== */
/* 板块滚动入场动画 */
.section {
  min-height: 1px;
  padding: 60px 0;
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  visibility: hidden;
}
.section.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
/* 图片延迟加载（优先加载文字） */
.img-placeholder {
  opacity: 0;
  transition: opacity 0.5s ease 0.2s; /* 图片延迟0.2秒加载 */
}
.section.active .img-placeholder {
  opacity: 1;
}
/* 标题样式 */
.page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}
.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #007bff, #00bfff);
}
.section-desc {
  font-size: 16px;
  color: var(--gray-middle);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}
.bg_section {
  background: linear-gradient(145.19deg, rgba(205, 226, 255, .2) 0, rgba(138, 188, 255, .2) 100.07%);
}
.bg_btn {
  background: linear-gradient(90deg, #1c5ff1 0, #576dff 50%, #8f2ff5 100%); 
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  border-radius: 100px;
  padding: .5rem 1.5rem;
}
.banner-desc {
  font-size: 18px;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  color: var(--white);
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}
/* 按钮样式 */
.btn-custom {
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 16px;
  transition: var(--transition-base);
  border: none;
  display: inline-block;
}
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.2);
  color: var(--white);
  text-decoration: none;
}
.btn-secondary-custom {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn-secondary-custom:hover {
  background-color: var(--gray-light);
  color: var(--primary-color);
  text-decoration: none;
}
/* 页面头部样式 */
.page-header {
  color: var(--white);
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 75, 216, 0.9), rgba(22, 93, 255, 0.8)), url("../images/bg_02.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
/* header动画关键帧 */
.floating-animation {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}
/* 动画关键帧 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 服务特点样式 */
.feature-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-base);
  padding: 30px;
  height: 100%;
  transition: var(--transition-base);
  margin-bottom: 30px;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(22, 93, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon i {
  font-size: 24px;
  color: var(--primary-color);
}
.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}
.feature-desc {
  font-size: 14px;
  color: var(--gray-middle);
  line-height: 1.7;
}
/* 优化移动端体验 */
@media (max-width: 768px) {
  .service-card {
    margin-bottom: 30px;
  }
  .contact-form input, .contact-form select, .contact-form textarea {
    font-size: 16px; /* 提高移动端输入体验 */
  }
}
.consult-btn {
  padding: 6px 12px;
  border-radius: 50px;
  background: #007bff;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  cursor: pointer;
}
/* 行动召唤样式 */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0E4BDB 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/wangzhan-sheji-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
  max-width: 600px;
}
.cta-button {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-button .btn {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.85rem 2.25rem;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.cta-button .btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}
/* 页脚样式 */
.footer {
  background-color: #0f172a;
  color: var(--white);
  padding: 60px 0 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}
.footer-desc {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 20px;
}
.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-nav {
  list-style: none;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition-base);
}
.footer-nav a:hover {
  color: var(--white);
  text-decoration: none;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  opacity: 0.4;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 1);
  font-size: 12px;
  transition: var(--transition-base);
}
.contact-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.contact-info i {
  margin-right: 10px;
  color: var(--gray-light);
  width: 20px;
}
/* 响应式调整 */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
  }
  .section-title {
    font-size: 24px;
  }
  .section {
    padding: 40px 0;
  }
  .page-header {
    padding: 150px 0 60px;
  }
  .process-line {
    display: none;
  }
  .industry-card {
    height: 220px;
  }
  .case-img {
    height: 160px;
  }
  .consult-section {
    padding: 50px 0;
  }
}
/* 悬浮咨询按钮 */
.fixed-consult-kefu {
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 999;
}
.fixed-consult-kefu .btn {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-md);
  min-height: 44px;
  transition: all 0.2s var(--ease-in-out);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
}
.btn:active {
  transform: scale(0.98);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s var(--ease-in-out);
}
.modal-dialog-centered {
    justify-content: center;
}
.modal-content {
    width: 300px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
