@charset "UTF-8";
/* 为固定导航栏预留空间 - 其他页面使用 */
body {
  padding-top: 80px;
}

/* 页面加载动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 页面加载时初始状态 */
.page-section {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* 轮播图淡入效果 */
#carouselCaptions {
  animation: fadeIn 0.6s ease-out;
}

/* 延迟显示各个区块，创造层次感 */
.company-intro-section {
  animation-delay: 0.2s;
}

.tech-solution-section {
  animation-delay: 0.4s;
}

.tech-product-section {
  animation-delay: 0.6s;
}

/* 导航栏样式 - 透明背景，覆盖在轮播图上，固定定位 */
.cm-navbar {
  margin-bottom: 0 !important;
  background-color: transparent !important;
  border-bottom: none !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002; /* 确保导航栏在菜单之上 */
  width: 100%;
  transition: background-color 0.3s ease;
  min-height: 70px;
}

/* 当页面滚动时，给导航栏添加背景色（可选） */
.cm-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cm-navbar.scrolled .navbar-nav .nav-link {
  color: #212529 !important;
  text-shadow: none;
}

.cm-navbar.scrolled .navbar-brand {
  filter: none;
}

.cm-navbar .navbar-nav .nav-link {
  font-size: 18px;
  padding-left: 16px;
  padding-right: 16px;
  color: #ffffff !important;
  transition: color 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.cm-navbar .navbar-nav .nav-link:hover {
  color: #007bff !important;
  text-shadow: none;
}
.cm-navbar .navbar-nav .nav-link.active {
  color: #007bff !important;
  font-weight: 600;
  text-shadow: none;
}

/* 导航栏布局优化 */
.cm-navbar .navbar-content-wrapper {
  position: relative;
}

/* Logo区域 - 最左边，增加右边距 */
.cm-navbar .navbar-brand-wrapper {
  margin-right: 60px;
  flex-shrink: 0;
}

/* 导航栏内容包装器 - 确保logo靠左 */
.cm-navbar .navbar-content-wrapper {
  position: relative;
}

/* 移动端Logo区域优化 - 确保靠左对齐 */
@media (max-width: 1199.98px) {
  .cm-navbar .navbar-brand-wrapper {
    margin-right: 10px;
    margin-left: 0;
    flex-shrink: 0;
  }
  
  .cm-navbar .navbar-brand {
    padding: 0;
    margin: 0;
  }
  
  .cm-navbar .navbar-brand img {
    height: 40px !important; /* 手机端稍微缩小logo */
  }
  
  /* 移动端功能按钮区域 - 在logo和折叠按钮之间 */
  .cm-navbar .mobile-nav-actions {
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 8px;
  }
  
  /* 移动端菜单按钮 - 靠右 */
  .cm-navbar .btn.d-xl-none {
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
  }
}

/* 超小屏幕进一步优化 */
@media (max-width: 575.98px) {
  .cm-navbar .navbar-brand-wrapper {
    margin-right: 8px;
  }
  
  .cm-navbar .navbar-brand img {
    height: 35px !important;
  }
}

.cm-navbar .navbar-brand {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  padding: 0;
  margin: 0;
}

/* 导航菜单居中区域 */
.cm-navbar .navbar-nav-center {
  flex: 1;
  justify-content: center;
}

/* 右侧功能区 - 最右边，增加左边距 */
.cm-navbar .navbar-nav-right {
  margin-left: 40px;
  flex-shrink: 0;
}

/* 移动端响应式优化 */
@media (max-width: 1199.98px) {
  .cm-navbar .navbar-brand-wrapper {
    margin-right: 15px; /* 移动端减少间距 */
  }
  
  .cm-navbar .navbar-nav-right {
    margin-left: 0; /* 移动端不需要左边距，因为已经隐藏 */
  }
  
  .cm-navbar .navbar-content-wrapper {
    flex-wrap: wrap; /* 允许换行 */
  }
}

/* 移动端导航菜单样式优化 */
@media (max-width: 1199.98px) {
  /* 移动端折叠菜单 - 添加半透明背景色和阴影 */
  .cm-navbar .mobile-nav-menu {
    position: relative;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.55) !important; /* 进一步降低透明度，更透明 */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    margin-top: 0.5rem;
    padding-top: 0.25rem !important; /* 减少上内边距，让背景更贴近文字 */
    padding-bottom: 0.25rem !important; /* 减少下内边距，让背景更贴近文字 */
  }
  
  .cm-navbar .mobile-nav-menu .navbar-nav {
    padding: 0.25rem 0; /* 减少导航列表的内边距 */
  }
  
  .cm-navbar .mobile-nav-menu .nav-link {
    color: #212529 !important;
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .cm-navbar .mobile-nav-menu .nav-link:last-child {
    border-bottom: none;
  }
  
  .cm-navbar .mobile-nav-menu .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff !important;
  }
  
  .cm-navbar .mobile-nav-menu .nav-link.active {
    background-color: rgba(0, 123, 255, 0.15);
    color: #007bff !important;
    font-weight: 600;
  }
}


/* 导航栏按钮和下拉菜单 */
.cm-navbar .btn,
.cm-navbar .dropdown-toggle {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

/* 导航栏搜索按钮等 */
.cm-navbar .btn-light {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

.cm-navbar .btn-light:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.cm-navbar .btn-primary {
  background-color: rgba(0, 123, 255, 0.8) !important;
  border-color: rgba(0, 123, 255, 0.9) !important;
}

/* 导航栏下拉菜单背景 */
.cm-navbar .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.cm-navbar .dropdown-item {
  color: #212529 !important;
}

.navbar-nav-scroll {
  max-width: 100%;
  height: 2.5rem;
  overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
  overflow-x: auto;
  white-space: nowrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  -webkit-overflow-scrolling: touch;
}

.cm-hidden {
  display: none;
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

.cm-block-head-bottom {
  border-bottom: solid 2px;
  border-color: #007bff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
}

.cm-media-img {
  max-width: 180px;
  max-height: 120px;
}

@media screen and (max-width: 767px) {
  .cm-media-img {
    max-width: 120px;
    max-height: 80px;
  }
}
.cm-link {
  color: #212529;
  transition: color 0.3s ease;
}
.cm-link:hover {
  color: rgb(0, 98.4, 204);
}

.es-highlight em {
  color: #dc3545;
  font-style: normal;
}

/* 科技公司风格样式 */
.tech-product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.tech-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none;
}

.tech-product-card .card-img-wrapper {
  transition: background-color 0.3s ease;
}

.tech-product-card:hover .card-img-wrapper {
  background-color: #f0f0f0;
}

.tech-solution-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}


.tech-solution-card .card-img-top img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

.tech-solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
  text-decoration: none;
}

/* 轮播图样式 - 从页面顶部开始，作为导航栏背景 */
#carouselCaptions {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  height: 100vh;
  min-height: 300px;
  overflow: hidden;
}

/* 手机端覆盖基础高度 */
@media (max-width: 767.98px) {
  #carouselCaptions {
    height: auto !important;
  }
}

/* 轮播图外层容器，确保与下方区块紧贴 */
div[style*="position: relative"]:has(#carouselCaptions) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden; /* 确保内容不溢出 */
}

/* 确保轮播图容器和公司简介区块之间没有间距 */
#carouselCaptions ~ .company-intro-section,
div[style*="position: relative"] + .company-intro-section {
  margin-top: 0 !important;
}

/* 确保轮播图容器本身不产生额外间距 */
#carouselCaptions {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 确保轮播图内的所有绝对定位元素都在容器内 */
#carouselCaptions .carousel-indicators,
#carouselCaptions .carousel-control-prev,
#carouselCaptions .carousel-control-next,
#carouselCaptions .carousel-caption {
  position: absolute; /* 确保都是绝对定位，不占用文档流空间 */
}

#carouselCaptions .carousel-inner {
  overflow: hidden;
  height: 100%;
  position: relative;
}

#carouselCaptions .carousel-item {
  height: 100%;
  position: relative;
}

#carouselCaptions .carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#carouselCaptions .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

/* 响应式优化 - 不同屏幕尺寸下的轮播图高度 */
@media (max-width: 991.98px) {
  #carouselCaptions {
    height: auto; /* 中等屏幕根据图片自适应 */
    width: 100%;
  }
  
  #carouselCaptions .carousel-inner,
  #carouselCaptions .carousel-item {
    height: auto;
  }
  
  #carouselCaptions .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 767.98px) {
  #carouselCaptions {
    width: 100%;
    max-width: 100vw;
    position: relative;
    height: auto !important; /* 确保高度自适应 */
    min-height: 0 !important; /* 移除最小高度限制 */
    overflow: hidden; /* 确保内容不溢出 */
  }
  
  /* 使用 padding-bottom 技巧固定宽高比，JavaScript 会动态调整 */
  /* 调高到合适高度，使用 60% 的宽高比 */
  #carouselCaptions::before {
    content: '';
    display: block;
    padding-bottom: 60% !important; /* 调高到60%，增加轮播图高度 */
  }
  
  #carouselCaptions .carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 内层占满外层容器 */
  }
  
  /* 限制控制按钮的高度，使其与carousel-inner匹配 */
  #carouselCaptions .carousel-control-prev,
  #carouselCaptions .carousel-control-next {
    top: 0;
    bottom: 0;
    height: 100%; /* 控制按钮占满容器高度 */
  }
  
  #carouselCaptions .carousel-item {
    height: 100%;
    position: relative;
  }
  
  #carouselCaptions .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 575.98px) {
  #carouselCaptions {
    width: 100%;
    max-width: 100vw;
    position: relative;
    height: auto !important; /* 确保高度自适应 */
    min-height: 0 !important; /* 移除最小高度限制 */
    overflow: hidden; /* 确保内容不溢出 */
  }
  
  /* 使用 padding-bottom 技巧固定宽高比，JavaScript 会动态调整 */
  /* 调高到合适高度，使用 60% 的宽高比 */
  #carouselCaptions::before {
    content: '';
    display: block;
    padding-bottom: 60% !important; /* 调高到60%，增加轮播图高度 */
  }
  
  #carouselCaptions .carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 内层占满外层容器 */
  }
  
  /* 限制控制按钮的高度，使其与carousel-inner匹配 */
  #carouselCaptions .carousel-control-prev,
  #carouselCaptions .carousel-control-next {
    top: 0;
    bottom: 0;
    height: 100%; /* 控制按钮占满容器高度 */
  }
  
  #carouselCaptions .carousel-item {
    height: 100%;
    position: relative;
  }
  
  #carouselCaptions .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* 横屏模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
  #carouselCaptions {
    height: auto; /* 横屏时根据图片自适应 */
  }
  
  #carouselCaptions .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* 轮播图指示器样式调整，确保在导航栏下方可见 */
#carouselCaptions .carousel-indicators {
  z-index: 1000; /* 提高 z-index，确保在文字上方 */
  bottom: 20px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: absolute; /* 确保绝对定位，不影响容器高度 */
  left: 0;
  right: 0;
  /* 确保指示器完全在轮播图容器内，不产生额外空间 */
  pointer-events: none; /* 允许点击穿透到下方元素 */
}

#carouselCaptions .carousel-indicators li {
  pointer-events: auto; /* 指示器本身可以点击 */
}

/* 手机端指示器优化 */
@media (max-width: 767.98px) {
  #carouselCaptions .carousel-indicators {
    bottom: 8px !important; /* 确保指示器在底部，但留出一点边距 */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: absolute; /* 确保绝对定位，不影响容器高度 */
    left: 0;
    right: 0;
    z-index: 1000 !important; /* 确保指示器在文字上方 */
  }
}

@media (max-width: 575.98px) {
  #carouselCaptions .carousel-indicators {
    bottom: 6px !important; /* 确保指示器在底部，但留出一点边距 */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: absolute; /* 确保绝对定位，不影响容器高度 */
    left: 0;
    right: 0;
    z-index: 1000 !important; /* 确保指示器在文字上方 */
  }
}

/* 轮播图文字样式 - 保持底部定位，居中显示 */
.carousel-caption {
  background: none !important;
  border-radius: 0;
  text-align: center;
  padding: 2rem;
  max-width: 100%;
  box-sizing: border-box;
}

.carousel-caption h3 {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.carousel-caption .lead {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
  color: #ffffff;
}

/* 手机端轮播图文字优化 */
@media (max-width: 767.98px) {
  #carouselCaptions .carousel-caption {
    padding: 0.75rem 0.5rem !important;
    bottom: 28px !important; /* 减少距离，让文字更靠近指示器 */
    left: 0;
    right: 0;
    text-align: center;
  }
  
  #carouselCaptions .carousel-caption h3,
  #carouselCaptions .carousel-caption h3.mb-2,
  #carouselCaptions .carousel-caption h3.mb-md-3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }
  
  #carouselCaptions .carousel-caption .lead,
  #carouselCaptions .carousel-caption p.lead {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
  
  #carouselCaptions .carousel-caption p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 575.98px) {
  #carouselCaptions .carousel-caption {
    padding: 0.5rem 0.4rem !important;
    bottom: 24px !important; /* 减少距离，让文字更靠近指示器 */
    left: 0;
    right: 0;
    text-align: center;
  }
  
  #carouselCaptions .carousel-caption h3,
  #carouselCaptions .carousel-caption h3.mb-2,
  #carouselCaptions .carousel-caption h3.mb-md-3 {
    font-size: 0.85rem !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }
  
  #carouselCaptions .carousel-caption .lead,
  #carouselCaptions .carousel-caption p.lead {
    font-size: 0.65rem !important;
    line-height: 1.4 !important;
  }
  
  #carouselCaptions .carousel-caption p {
    font-size: 0.65rem !important;
    line-height: 1.4 !important;
  }
}

/* 卡片标题样式 */
.card-title {
  font-weight: 600;
  color: #212529;
}

/* 解决方案和产品卡片标题居中 */
.tech-solution-card .card-title,
.tech-product-card .card-title {
  text-align: center;
}



/* 手机端通用字体自适应 */
@media (max-width: 767.98px) {
  /* 导航栏字体 */
  .cm-navbar .navbar-nav .nav-link {
    font-size: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* 按钮字体 */
  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .btn-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
  }
  
  .btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  /* 标题字体 */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  h5 {
    font-size: 1rem;
  }
  
  h6 {
    font-size: 0.9rem;
  }
  
  /* 卡片字体 */
  .card-title {
    font-size: 1rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* 公司简介标题 */
  .company-intro-title {
    font-size: 1.5rem;
  }
  
  /* 服务项字体 */
  .service-item-title {
    font-size: 1rem;
  }
  
  .service-item-desc {
    font-size: 0.85rem;
  }
  
  /* 解决方案和产品卡片字体 */
  .tech-solution-card .card-title,
  .tech-product-card .card-title {
    font-size: 1rem;
  }
  
  .tech-solution-card .card-text,
  .tech-product-card .card-text {
    font-size: 0.85rem;
  }
  
  /* 段落和文本 */
  p {
    font-size: 0.9rem;
  }
  
  small, .small {
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  /* 导航栏字体 */
  .cm-navbar .navbar-nav .nav-link {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* 按钮字体 */
  .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .btn-sm {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .btn-lg {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
  
  /* 标题字体 */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  h4 {
    font-size: 1rem;
  }
  
  h5 {
    font-size: 0.9rem;
  }
  
  h6 {
    font-size: 0.85rem;
  }
  
  /* 卡片字体 */
  .card-title {
    font-size: 0.9rem;
  }
  
  .card-text {
    font-size: 0.85rem;
  }
  
  .lead {
    font-size: 0.9rem;
  }
  
  /* 公司简介标题 */
  .company-intro-title {
    font-size: 1.25rem;
  }
  
  /* 服务项字体 */
  .service-item-title {
    font-size: 0.9rem;
  }
  
  .service-item-desc {
    font-size: 0.8rem;
  }
  
  /* 解决方案和产品卡片字体 */
  .tech-solution-card .card-title,
  .tech-product-card .card-title {
    font-size: 0.9rem;
  }
  
  .tech-solution-card .card-text,
  .tech-product-card .card-text {
    font-size: 0.8rem;
  }
  
  /* 段落和文本 */
  p {
    font-size: 0.85rem;
  }
  
  small, .small {
    font-size: 0.75rem;
  }
}

/* 轮播图响应式高度 - 占满一页（100vh） */
.carousel-img-responsive {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
}

/* 确保轮播图容器和图片高度一致 */
#carouselCaptions .carousel-item .carousel-img-responsive {
  height: 100% !important;
  width: 100% !important;
}

/* 产品推荐图片容器响应式高度 */
.product-img-wrapper {
  height: 200px !important;
}

@media (max-width: 767.98px) {
  .product-img-wrapper {
    height: 150px !important;
  }
  /* 手机端产品卡片高度随内容，避免同行等高导致图片与标题间距过大 */
  .tech-product-section .tech-product-card {
    height: auto !important;
  }
  .tech-product-section .tech-product-card .card-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .tech-product-section .tech-product-card .card-text.flex-grow-1 {
    flex-grow: 0;
  }
}

@media (max-width: 575.98px) {
  .product-img-wrapper {
    height: 120px !important;
  }
  .tech-product-section .tech-product-card .card-body {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* 解决方案图片响应式高度 - 参考产品推荐部分 */
.solution-img-responsive {
  height: 360px !important;
  object-fit: cover;
}

/* 解决方案卡片间距优化 - 参考产品推荐 */
.tech-solution-card {
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .solution-img-responsive {
    height: 300px !important;
  }
}

@media (max-width: 767.98px) {
  .solution-img-responsive {
    height: 250px !important;
  }
  
  /* 小屏幕：解决方案卡片改为2列 */
  .tech-solution-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .solution-img-responsive {
    height: 200px !important;
  }
  
  /* 超小屏幕：解决方案卡片改为单列 */
  .tech-solution-card {
    margin-bottom: 1rem;
  }
}

/* 公司简介模块 - 左右布局 */
.company-intro-section {
  background-color: #f8f9fa;
  margin-top: 0 !important;
  width: 100%;
  overflow: visible; /* 由内容撑开高度，不裁剪右侧 4 条 */
}

.company-intro-section .row {
  margin: 0;
  display: flex;
  flex-wrap: nowrap; /* 防止换行，保持左右布局 */
  align-items: stretch; /* 确保左右两侧高度一致 */
  overflow: visible; /* 不裁剪，右侧 4 条完整显示 */
}

.company-intro-image-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0;
  flex: 0 0 35%;
  flex-shrink: 0; /* 明确禁止收缩，防止被右侧内容挤压 */
  max-width: 35%;
  min-width: 35%; /* 设置最小宽度，确保不被压缩 */
  width: 35%;
  box-sizing: border-box;
  display: flex;
  align-items: stretch; /* 让容器高度与右侧内容区域一致 */
}

.company-intro-image {
  width: 100%;
  height: 100%; /* 填充容器高度，与右侧内容区域一致 */
  object-fit: cover; /* 使用cover保持图片比例并填充容器 */
  display: block;
}

/* 标题样式 - 在右侧内容区域左上角 */
.company-intro-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 1rem 0; /* 缩小与下方服务列表的间隙 */
  padding: 0;
  padding-left: 2rem;
}

.company-intro-content-wrapper {
  display: flex;
  align-items: stretch;
  align-self: flex-start; /* 右侧按内容高度撑开，行高由 4 条内容决定 */
  flex-shrink: 0; /* 禁止收缩，保证 4 条内容完整显示，不被左侧图片高度限制 */
  background-color: #ffffff;
  padding: 0;
  flex: 0 0 65%;
  max-width: 65%;
  min-width: 0;
  box-sizing: border-box;
}

.company-intro-content {
  padding: 6rem 3rem 7rem 3rem; /* 大幅增加上下内边距，显著调高区域高度 */
  width: 100%;
  max-width: 100%;
  min-width: 0; /* 允许内容在容器内适应和换行 */
  box-sizing: border-box;
  overflow-wrap: break-word; /* 允许长单词换行 */
  word-wrap: break-word; /* 兼容性：允许长单词换行 */
}

.company-intro-services {
  margin-top: 1.5rem; /* 缩小与标题的间隙 */
  margin-left: 3rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.company-intro-services .row {
  margin-left: -15px;
  margin-right: -15px;
  display: flex;
  flex-wrap: wrap; /* 电脑端两行显示：4 条自动换行为 2 行 x 2 列 */
}

.company-intro-services .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

/* 电脑端：服务项两行两列，每项占 50% 宽并换行 */
@media (min-width: 768px) {
  .company-intro-services .row > .service-item-wrapper.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
  }
}

.service-item-wrapper {
  margin-bottom: 2.5rem;
}

.service-item-wrapper:nth-child(n+3) {
  margin-top: 1rem;
}

/* 服务项样式 */
.service-item {
  margin-bottom: 0;
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.service-item:hover {
  background-color: #f8f9fa;
}

.service-item-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #dc3545;
  border-radius: 4px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.service-item-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-item-content {
  flex: 1;
  min-width: 0; /* 允许内容收缩 */
  overflow-wrap: break-word; /* 允许长单词换行 */
  word-wrap: break-word; /* 兼容性：允许长单词换行 */
}

.service-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.service-item-desc {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* 响应式优化 */
@media (max-width: 991.98px) {
  /* 中等屏幕：保持左右布局 35%/65% */
  .company-intro-section .row {
    flex-wrap: nowrap; /* 保持不换行 */
  }
  
  .company-intro-image-wrapper {
    flex: 0 0 35%;
    flex-shrink: 0; /* 禁止收缩 */
    max-width: 35%;
    min-width: 35%; /* 设置最小宽度 */
    height: auto;
  }
  
  .company-intro-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .company-intro-content-wrapper {
    flex: 0 0 65%;
    flex-shrink: 0; /* 禁止收缩，4 条完整显示 */
    max-width: 65%;
    min-width: 0;
    height: auto;
    overflow: visible;
  }
  
  .company-intro-content {
    padding: 1.5rem 2rem 2rem 2rem;
    min-width: 0; /* 允许内容适应 */
  }
  
  .company-intro-title {
    padding-left: 0; /* 移除左侧padding，使用容器的padding */
  }
  
  .company-intro-services {
    margin-left: 0; /* 移除左侧margin */
    min-width: 0; /* 允许内容适应 */
  }
  
  .company-intro-services .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 767.98px) {
  /* 小屏幕：改为上下布局，图片在上，内容在下 */
  .company-intro-section .row {
    flex-direction: column;
  }
  
  .company-intro-image-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
    order: 1;
  }
  
  .company-intro-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 250px; /* 调低图片高度，从300px调整为250px */
  }
  
  .company-intro-content-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
    order: 2;
  }
  
  .company-intro-content {
    padding: 2rem 1.5rem;
  }
  
  .company-intro-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 0;
    text-align: center;
    color: #212529;
  }
  
  /* 手机端：每条服务项的标题和描述居中 */
  .company-intro-services .service-item-title,
  .company-intro-services .service-item-desc {
    text-align: center;
  }
  
  .company-intro-services {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }
  
  .company-intro-services .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .service-item-wrapper {
    margin-bottom: 1.25rem;
    padding: 0;
  }
  
  .service-item-wrapper:last-child {
    margin-bottom: 0;
  }
  
  .company-intro-services .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* 小屏幕：服务项改为单列布局 */
  .company-intro-services .row > [class*="col-md-6"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* 手机端服务项优化 */
  .service-item {
    padding: 1rem;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
  }
  
  .service-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  
  .service-item img,
  .service-item > div[style*="width: 48px"] {
    width: 44px !important;
    height: 44px !important;
    margin-right: 1rem;
  }
  
  .service-item-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  
  .service-item-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 575.98px) {
  /* 超小屏幕：保持上下布局，进一步优化间距和图片高度 */
  .company-intro-image {
    max-height: 220px; /* 进一步调低图片高度，从250px调整为220px */
  }
  
  .company-intro-content {
    padding: 1.5rem 1rem;
  }
  
  .company-intro-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-left: 0;
    text-align: center;
  }
  
  /* 超小屏：服务项标题和描述居中 */
  .company-intro-services .service-item-title,
  .company-intro-services .service-item-desc {
    text-align: center;
  }
  
  .company-intro-services {
    margin-left: 0;
    margin-top: 0;
  }
  
  .service-item-wrapper {
    margin-bottom: 1rem;
  }
  
  .service-item-wrapper:last-child {
    margin-bottom: 0;
  }
  
  /* 超小屏幕：服务项进一步优化 */
  .service-item {
    padding: 0.875rem;
    border-radius: 10px;
  }
  
  .service-item img,
  .service-item > div[style*="width: 48px"] {
    width: 40px !important;
    height: 40px !important;
    margin-right: 0.875rem;
  }
  
  .service-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.4;
  }
  
  .service-item-desc {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* 响应式优化 */
@media (max-width: 768px) {
  .tech-product-card,
  .tech-solution-card {
    margin-bottom: 1rem;
  }
}