/*==============================================顶部==============================================*/
body {
  background-color: #fff;
  margin: 0px;
  font-family: '新細明體' !important;
}

:root {
  --primary-color: #0d6efd;
  --blue-color: #4a9eff;
  --secondary-color: #198754;
  --dark-color: #212529;
  --gray-color: #838383;
  --light-color: #f8f9fa;
  --accent-color: #ff6b35;
  --red-color: #e43213;
  --orange-color: #fa9305;
  --danger-color: #ea7c5f;
  --temp-red: #ff3838;
  --temp-blue: #1e90ff;
  --temp-yellow: #ffd700;
  --icon-color: #4a9eff;
  --good-color: #2ed573;
  --text-color: #ffffff;
  --bg-black: #000000;
  --card-dark: #1a1a1a;
  --border-gray: #333333;
  --text-white: #ffffff;
  --text-gray: #999999;
  --danger-red: #ff4757;
}

/*==============================================导航==============================================*/



.dengru {
  padding: 8px 16px;
  /* background-color: #1d5cfc; */
  border-radius: 26px;
  font-size: 16px;
  color: #fff;
  display: inline;
}

.nav-item a {
  font-size: 16px;
  margin-right: 12px;
  color: var(--dark-color);
}

.nav-item a:hover {
  color: var(--accent-color);
}

.nav-item a:focus {
  color: var(--dark-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
  color: var(--accent-color) !important;
}
.nav-link > .btn-outline-primary{
  color: #5D87FF;
}
.nav-link > .btn-outline-primary:hover{
  color: #fff;
}

.nav-item {
  text-align: center;
  font-family: '新細明體' !important;
}

/* 导航栏样式 */
.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--accent-color);
}

.navbar img {
  opacity: 1 !important;
}

/* 轮播大图样式 */
.carousel-item {
  height: 66vh;
  min-height: 300px;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  bottom: 20%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 2rem;
}

.carousel-caption h2 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}


.section-title2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.section-title2 img {
  margin-right: 15px;
}

/* 什么是智能家居？ */
.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--orange-color);
}

/* 智能家居的优势 */
.advantage-item {
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  height: 100%;
  background-color: #f8f9fa;
  transition: all 0.3s;
}

.advantage-item:hover {
  background-color: #4989e8;
  color: white;
}

.advantage-item:hover h4 {
  color: white;
}


.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.advantage-item:hover .advantage-icon {
  color: white;
}


/* 一条龙服务 */
/* 服务卡片样式 */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--primary-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* 服务序号样式 */
.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(42, 107, 204, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-number {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

/* 服务图标样式 */
.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* 服务标题和描述 */
.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
  min-height: 2.5em;
}

.service-desc {
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 连接线样式 */
.service-connector {
  position: absolute;
  top: 50%;
  right: -15px;
  width: 30px;
  height: 2px;
  /* background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); */
  opacity: 1;
  z-index: 1;
  display: none;
}

/* 响应式调整 */
@media (min-width: 768px) {
  .service-connector {
    display: block;
  }
}

@media (max-width: 768px) {
  .service-card {
    padding: 20px 10px;
    margin-bottom: 20px;
  }

  .service-icon {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1rem;
  }
}

/* 服务流程箭头动画 */
@keyframes arrowPulse {
  0% {
    transform: translateX(0);
    opacity: 0.6;
  }

  50% {
    transform: translateX(2px);
    opacity: 0.9;
  }

  100% {
    transform: translateX(0);
    opacity: 0.6;
  }
}

.service-connector i {
  position: absolute;
  right: 0px;
  top: -39px;
  color: #df05af;
  font-size: 1.9rem;
  animation: arrowPulse 2s infinite;
}

/* 整体服务容器 */
.service-container {
  position: relative;
  padding-bottom: 40px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.08);
}

/* 服务顶部装饰 */
.service-header {
  background: linear-gradient(135deg, #236dda 0%, #6aade6 100%);
  color: white;
  padding: 25px;
  border-radius: 15px 15px 0 0;
  margin-bottom: 40px;
}

.service-header h2 {
  margin-bottom: 10px;
}

.service-header p {
  opacity: 0.9;
  margin-bottom: 0;
}

.service-header .text-center {
  color: #fff;
}

.system-showcase h3 {
  color: #fff;
}

.system-showcase {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.system-showcase .p-4 {
  padding-top: 1.3rem !important;
  padding-bottom: 1.3rem !important;
}

.system-showcase p {
  margin: 0;
}

.list-unstyled li {
  line-height: 30px;
}

/* 關於我們 */

.about1 {
  background: linear-gradient(115deg, #000, #000);

  position: relative;
  overflow: hidden;
  height: 400px;
  border-radius: 6px;
}

.about1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/about1.jpg') center/cover;
  opacity: 0.36;
  z-index: 0;
}

.about1 h4 {
  opacity: 1;
  line-height: 40px;
  text-align: center;
  color: white !important;
  vertical-align: middle;
  line-height: 50px;
  margin-top: 70px;
}

/* 图片占位框样式 */
.image-placeholder {
  /* background-color: #e9ecef; */
  border: 2px solid #dee2e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-weight: bold;
  height: 100%;
  min-height: 160px;
}

.image-placeholder.tall {
  min-height: 160px;
}

/* 文字区域样式 */
.text-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.text-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #2c3e50;
  line-height: 1.3;
  /* display: flex; */
  text-align: center;
  align-items: center;
}

.title-icon {
  margin-right: 12px;
  font-size: 28px;
  color: #3498db;
}

.text-content {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
}

/* 图标颜色主题 */
.security-icon {
  color: #e74c3c;
  /* 红色 - 代表安全/守护 */
}

.health-icon {
  color: #2ecc71;
  /* 绿色 - 代表健康/自然 */
}

.smart-icon {
  color: #9b59b6;
  /* 紫色 - 代表智能/科技 */
}

/* 箭头样式 */
.arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 0;
}

.arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #6c757d;
  border: 2px solid #ced4da;
}



.timeline-layout {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
}

.timeline-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

.timeline-item {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: -2.5rem;
  width: 2px;
  background: linear-gradient(to bottom, #f77f7b);
}

.timeline-item:last-child:before {
  display: none;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f77f7b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: 10px;
  font-size: 15px;
}

.timeline-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
}

.shadow {
  box-shadow: 0 .5rem 1rem rgba(var(--bs-body-color-rgb), .15) !important;
  border: 1px solid #ccc;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.map-section {
  margin-top: 50px;
}

#map {
  height: auto;
  /* background-color: #ccc; */
  margin-bottom: 10px;
}

#map img {
  max-width: 100%;
  margin: 10px auto;
}

.map-title {
  margin-bottom: 20px;
}

/* 分类标签 */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
}

.category-tab {
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  background-color: white;
  border: 2px solid #e0e0e0;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tab:hover,
.category-tab.active {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: #168ccb;
}

/* 常见问题区域 */
.faq-section {
  max-width: 900px;
  margin: 0 auto 5rem;
}

.faq-category-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--dark-color);
  padding-bottom: 1rem;
  border-bottom: 3px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.faq-category-title i {
  margin-right: 15px;
  color: var(--primary-color);
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f7ff;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 1000px;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.small a {
  color: #f5f5f5;
}

.contact-info a {
  color: #f5f5f5;
}

.fb a {
  margin-right: 6px;
}

.txz img {
  max-width: 50%;
  margin-top: 10px;
}

.align-items-center .text-center>a>img {
  height: 180px;
  object-fit: contain;
}

.align-items-center .text-center {
  float: left;
  width: 100%;
  overflow: hidden;
  border-radius: 9px;
}

.align-items-center .text-center img {
  border-radius: 9px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.align-items-center .text-center:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* 分类导航 */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 12px 30px;
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 30px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-btn:hover {
  border-color: #f9a297;
  color: #f0887a;
  transform: translateY(-3px);
}

.category-btn.active {
  background: #f37160;
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(42, 110, 138, 0.3);
}

/* 产品展示区域 */
.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* 产品卡片 */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 220px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgb(208 230 255 / 90%);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 999;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-color);
  line-height: 1.3;
  text-align: center;
}

.product-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-original {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  margin-right: 10px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-view {
  padding: 8px 15px;
  background-color: rgba(42, 110, 138, 0.1);
  color: var(--primary-color);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-view:hover {
  background-color: rgba(42, 110, 138, 0.2);
  transform: translateY(-2px);
}

.btn-cart {
  padding: 8px 15px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-cart:hover {
  background-color: #2db34a;
  transform: translateY(-2px);
}



.header {
  color: white;
  border-radius: 10px;
  padding: 50px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #545454, #13385d);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/img3.jpg') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.header h1 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 5px;
}

.header .subtitle {
  color: #e1f45b;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.category-title {
  color: var(--dark-color);
  margin-bottom: 15px;
  display: inline-block;
}
.category-title2 {
  color: var(--dark-color);
  margin-bottom: 15px;
  display: inline-block;
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 20px;
}

.card-title {
  color: #333;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
}

.card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.badge-category {
  background-color: var(--accent-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.section-divider {
  margin: 50px 0;
  border-top: 1px solid #eaeaea;
}

.btn-learn-more {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(180, 165, 131, 0.3);
}

.btn-learn-more:hover {
  background-color: #555;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(126, 126, 126, 0.4);
  color: #fff;
}

.btn-learn-more i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.btn-learn-more:hover i {
  transform: translateX(5px);
}

.button-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}
.content-header > .text-muted{
  text-align: left;
}
.text-muted{
  text-align: center;
}
#general-users>span{
  float: left;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
#business-users>span{
  float: left;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

#general-users>span h2{
  margin: 0px auto;
  text-align: center;
  padding: 20px;
  border: 1px solid #222;
  border-radius: 6px;
}
#business-users>span h2{
  margin: 0px auto;
  text-align: center;
  padding: 20px;
  border: 1px solid #222;
  border-radius: 6px;
}



 /* 左侧分类导航样式 */
 .sidebar {
  background-color: var(--sidebar-bg);
  /* border-right: 1px solid #eaeaea; */
  padding: 30px 20px;
  height: 100%;
  overflow-y: auto;
}

.sidebar-header {
  margin-bottom: 40px;
  text-align: center;
}

.sidebar-header h1 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.sidebar-header p {
  color: var(--secondary-color);
  font-size: 1rem;
  line-height: 1.5;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  background: #f0f9ff;
}


.category-item.active {
  background-color: #f0f9ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-link {
  display: block;
  padding: 18px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  position: relative;
}

.category-link:hover {
  background-color: #f0f9ff;
  color: var(--accent-color);
  padding-left: 25px;
}

.category-item.active .category-link {
  color: var(--accent-color);
  background-color: #fff4f4;
}

.category-icon {
  margin-right: 12px;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.category-badge {
  background-color: var(--accent-color);
  color: white;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
  float: right;
  margin-top: 2px;
}

/* 右侧内容区域样式 */
.content-area {
  padding: 30px;
  height: 100%;
  overflow-y: auto;
}

.content-header {
  margin-bottom: 30px;
}

.content-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent-color);
}

.content-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 案例卡片样式 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 20px;
}

.case-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #f0f0f0;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.case-image {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover .case-image {
  transform: scale(1.05);
}

.case-body {
  padding: 20px;
}

.case-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.case-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;    
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-tag {
  display: inline-block;
  background-color: #e8f4f1;
  color: var(--accent-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* 返回按钮样式 */
.return-case{
  width: 100%;
  position: relative;
  text-align: center;
  margin-bottom: 33px;
}
.back-button {
  background-color: white;
  color: var(--dark-color);
  border: none;
  border-radius: 50px;
  padding: 20px 30px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}



/* 案例头部样式 */
.case-header {
  background: linear-gradient(135deg, #292b2c 0%, #1a2530 100%);
  color: white;
  padding: 80px 0 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.case-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.case-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.meta-icon {
  color: var(--accent-color);
}

.case-tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* 主图样式 */
.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
}

/* 内容区域样式 */
.content-section {
  background-color: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


.section-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #555;
}

/* 特色功能列表样式 */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-content h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.feature-content p {
  color: #666;
  margin: 0;
}

/* 图片网格样式 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.grid-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
  cursor: pointer;
}

.grid-image:hover {
  transform: scale(1.03);
}

/* 技术规格表格样式 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid #eee;
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 15px 0;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--primary-color);
  width: 30%;
}

/* 底部行动按钮 */
.action-buttons {
  text-align: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-primary-action {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
}

.btn-primary-action:hover {
  background-color: #16a085;
  border-color: #16a085;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

.btn-secondary-action {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid #ddd;
}

.btn-secondary-action:hover {
  background-color: #f8f9fa;
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-3px);
}


.shuang{
  float: left;
  width: 100%;
  margin: 20px auto;
}
.shuang h2 {
  text-align: center;
  font-size: 36px;
}
.shuang h3{
  text-align: center;
  font-size: 20px;
  color: #1167ff;
  margin-top: 10px;
}
.shuang h4{
  text-align: center;
  font-size: 20px;
  color: #a45903;
  margin-bottom: 22px;
}
.simg{
  border-radius: 12px;
  background-color: #070103;
  margin-bottom: 16px;
}
.simg img{
  max-width: 100%;
  border-radius: 12px;
}


.member-hero {
  color: white;
  padding: 50px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #272a2e 0%, #4d62a8 100%);
  position: relative;
  overflow: hidden;
}
.member-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/acount2.jpg) bottom / cover;
  opacity: 0.13;
  z-index: 0;
}
.member-hero h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.member-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.hero-section {
  background: linear-gradient(135deg, #2c5aa0 0%, #1a3a6e 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.05"/></svg>');
  background-size: cover;
}
.benefit-card {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  border-top: 4px solid #2c5aa0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.benefit-icon {
  background-color: rgba(44, 90, 160, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #2c5aa0;
  font-size: 1.8rem;
}

.partner-type {
  /* border-left: 4px solid var(--danger-color); */
  padding-left: 15px;
  margin-bottom: 20px;
}

.cta-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.cta-button {
  background-color: #ff6b35;
  border-color: #ff6b35;
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s;
}

.cta-button:hover {
  background-color: #e55a2b;
  border-color: #e55a2b;
  transform: scale(1.05);
  color: white;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
}
.distitle>h3>i{
  font-size: 26px !important;
  margin-top: -10px;
}
.distitle>h3{
  font-size: 38px !important;
}

.contact-info2 {
  background-color: #2c5aa0;
  color: white !important;
  border-radius: 10px;
  padding: 25px;
}
.contact-info2 h5{
  color: #fff;
}

.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #4cc9f0;
}
.distitle{
  text-align: center;
  line-height: 36px;
}
.distitle h3{
  color: #fff;
  font-size: 3rem;
}


main .section-title {
  color: #2c5aa0;
  position: relative;
  padding-bottom: 25px;
  margin-bottom: 30px;
  font-weight: 700;
}
main .section-title:after {
}
.othertitle{
  font-size: 16px;
}
.info-box {
  background-color: rgba(44, 90, 160, 0.05);
  border-left: 5px solid #ff6b35;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}

.benefit-item {
  margin-bottom: 25px;
  padding-left: 20px;
  /* border-left: 4px solid #2c5aa0; */
}

.benefit-icon {
  color: #ff6b35;
  font-size: 1.5rem;
  margin-right: 10px;
  vertical-align: middle;
}

.benefit-title {
  width: 100%;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  display: flex;
  line-height: 60px;
}
.disimg img{
  max-width: 100%;
  border-radius: 22px;
}
.downimg{
  position: absolute;
}
.downimg img{
  margin-top: 33px;
  padding-left: 33px;
}

.downimg2{
  display: none;
}

.sidebar2 {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.sidebar2-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 0.5rem;
  font-size: 15px;
}

.sidebar-menu a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
  background-color: rgba(26, 95, 180, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.sidebar-menu a i {
  margin-right: 6px;
  text-align: center;
  font-size: 16px;
}

.main-content {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.profile-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a5fb4 0%, #5d87ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  margin-right: 1.5rem;
}

.profile-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.profile-info p {
  color: #666;
  margin-bottom: 0.2rem;
}

.member-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.device-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding-top: 5px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 5px;
  border-bottom: 2px solid #f0f0f0;
}

.device-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.device-status.offline .device-icon {
  color: #5d87ff;
}

.device-icon {
  font-size: 1.8rem;
}

/* 设备信息网格布局 */
.device-info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-item {
  position: relative;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.info-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* 序号样式 */
.item-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 22px;
  height: 22px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(77, 171, 247, 0.3);
}

.item-content p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: #555;
}

.item-content strong {
  color: #555;
  margin-right: 5px;
}
.item-content img{
  max-width: 100%;
  height: 150px;
  object-fit: cover;
}

.amount{
  color:rgb(254 75 87);
}
.xiangmu{
  color: rgb(93 135 255);
}

.table-responsive .table th, .table td {
  white-space: nowrap;
  vertical-align: middle;
}


/* 响应式设计 */
@media (max-width: 992px) {
  .info-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .device-name {
    font-size: 1.3rem;
  }
  
  .device-card {
    padding: 15px;
  }
}

.device-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
}

.device-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}


.bill-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.bill-table th {
  background-color: #f8f9fa;
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: #555;
  border-bottom: 2px solid #eee;
}

.bill-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.bill-table tr:hover {
  background-color: #f8f9fa;
}



/* 响应式调整 */
@media (max-width: 768px) {
  .downimg{
    display: none;
  }
  .downimg2{
    text-align: center;
    margin-bottom: 5px;
    display: block;
  }
  .case-title {
      font-size: 2rem;
  }
  
  .main-image {
      height: 300px;
  }
  
  .content-section {
      padding: 25px;
  }
  
  .section-title {
      font-size: 1.5rem;
  }
  
  .case-header {
      padding: 100px 0 30px;
  }
  
  .image-grid {
      grid-template-columns: 1fr;
  }
  
  .action-buttons {
      flex-direction: column;
  }
  
  .action-btn {
      width: 100%;
  }
}

@media (max-width: 576px) {
  .case-title {
      font-size: 1.7rem;
  }
  
  .case-meta {
      flex-direction: column;
      gap: 10px;
  }
}



/* 响应式设计 */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 3fr);
  }
}

@media (max-width: 425px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .page-title {
    font-size: 2rem;
  }

  .category-nav {
    gap: 8px;
  }

  .category-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


/* 响应式调整 */
@media (max-width: 768px) {
  .btn-learn-more {
    padding: 10px 25px;
    font-size: 1rem;
}
  .image-placeholder {
    min-height: 180px;
    margin-bottom: 0px;
  }

  .align-items-stretch .col-md-1 {
    display: none !important;
  }

  .image-placeholder.tall {
    min-height: 220px;
  }

  .text-section {
    padding: 15px;
  }

  .text-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .title-icon {
    font-size: 24px;
    margin-right: 10px;
  }

  .arrow-container {
    padding: 15px 0;
  }
}


#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  z-index: 99;
  width: 45px;
  height: 41px;
  border-radius: 4px;
  text-align: center;
  line-height: 22px;
}

#back-to-top i {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  line-height: 0;
}

#back-to-top:hover {
  background: #db603e;
  color: #fff;
}

footer {
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 20px;
  background-color: var(--dark-color);
  color: #f5f5f5;
}

footer h3,
footer h5 {
  color: #f5f5f5;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
}


@media only screen and (max-width: 1023px) {
  .justify-content-end {
    background-color: #f6f8f9;
  }

  .navbar-nav {
    padding-bottom: 12px;
  }
}


/* 响应式调整 */
@media (max-width: 992px) {
  .carousel-caption h2 {
    font-size: 2.5rem;
  }

  .service-timeline::before {
    left: 30px;
  }

  .service-step {
    flex-direction: row !important;
    justify-content: flex-start;
  }

  .step-content {
    width: calc(100% - 100px);
    margin-left: 40px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 46vh;
    min-height: 200px;
  }

  .carousel-caption h2 {
    font-size: 2rem;
  }

  .carousel-caption {
    bottom: 20%;
    padding: 1.5rem;
  }

  .product-carousel {
    padding: 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}


@media (min-width: 1024px) and (max-width: 1152px) {
  .navbar-brand {
    width: 22%;
  }

  .navbar-brand>img {
    width: 100%;
  }

  .nav-item a {
    font-size: 14px;
    margin-right: 1px;
  }
}


@media (min-width: 1153px) and (max-width: 1366px) {
  .navbar-brand {
    width: 23%;
  }

  .navbar-brand>img {
    width: 100%;
  }

  .nav-item a {
    font-size: 15px;
    margin-right: 2px;
  }
}


@media (max-width: 1023px) {
  .navbar-brand {
    width: 60%;
  }

  .navbar-brand>img {
    width: 80%;
  }
}