/* 业务内容Banner */
.services-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner/banner-service.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  padding-top: 100px;
  padding-bottom: 75px;
}

.breadcrumbs-custom-title {
  color: #fff !important;
}



/* 侧边栏菜单 */
.sidebar-menu {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  border: 1px solid rgba(4, 59, 160, 0.1);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sidebar-nav li {
  margin-bottom: 0;
}

.sidebar-link {
  display: inline-block;
  padding: 10px 20px;
  color: #334155;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid rgba(4, 59, 160, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 59, 160, 0.1), transparent);
  transition: left 0.5s;
}

.sidebar-link:hover {
  background: linear-gradient(135deg, #043ba0 0%, #022F80 100%);
  color: #fff;
  border-color: #043ba0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 59, 160, 0.3);
}

.sidebar-link:hover::before {
  left: 100%;
}

.sidebar-link.active {
  background: linear-gradient(135deg, #043ba0 0%, #022F80 100%);
  color: #fff;
  font-weight: 600;
  border-color: #043ba0;
  box-shadow: 0 6px 20px rgba(4, 59, 160, 0.3);
  transform: translateY(-2px);
}

/* 第一个section减少顶部padding */
.section-md:first-of-type {
  padding-top: 40px !important;
}

/* 服务Banner图片 */
.service-banner {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 35px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.service-banner:hover {
  transform: scale(1.02);
}

/* 服务内容布局 */
.section-md > .container > .row {
  display: flex;
  flex-direction: column;
}

.section-md > .container > .row > .col-lg-4,
.section-md > .container > .row > .col-lg-8 {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.section-md > .container > .row > .col-lg-4 {
  order: 1;
  margin-bottom: 30px;
}

.section-md > .container > .row > .col-lg-8 {
  order: 2;
}

.section-md > .container > .row > .col-lg-8 > .row {
  display: flex;
  align-items: flex-end;
}

.section-md > .container > .row > .col-lg-8 > .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* 自定义容器宽度 */
.container-custom-width-1 {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 服务标题 */
.section-title {
  margin-bottom: 25px;
  color: #1e293b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  position: relative;
  padding-bottom: 20px;
  text-align: center;
  justify-content: center;
}

.section-title i {
  color: #022F80;
  background: linear-gradient(135deg, rgba(4, 59, 160, 0.2) 0%, rgba(4, 59, 160, 0.1) 100%);
  padding: 16px;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(4, 59, 160, 0.3);
  transition: all 0.3s ease;
}

.section-title span:last-child {
  flex-grow: 1;
  height: 4px;
  /* background: linear-gradient(to right, #043ba0, transparent); */
  margin-left: 24px;
  border-radius: 2px;
}

/* 服务描述 */
.section-desc {
  margin-bottom: 40px;
  color: #64748b;
  line-height: 1.8;
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 服务详情标题 */
.fw-bold-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  color: #1e293b;
  font-size: 28px;
  font-weight: 700;
}

.fw-bold-title i {
  color: #043ba0;
  background: linear-gradient(135deg, rgba(4, 59, 160, 0.15) 0%, rgba(4, 59, 160, 0.1) 100%);
  padding: 16px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(4, 59, 160, 0.15);
  transition: transform 0.3s ease;
}

.fw-bold-title:hover i {
  transform: rotate(5deg) scale(1.1);
}

/* Banner副标题样式 */
.big.breadcrumbs-custom-subtitle {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  position: static !important;
}

.big.breadcrumbs-custom-subtitle::before {
  display: none !important;
}

/* 服务详情段落 */
.big:not(.breadcrumbs-custom-subtitle) {
  line-height: 1.9;
  color: #475569;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-left: 6px solid #043ba0;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 6px 25px rgba(4, 59, 160, 0.08);
  margin-bottom: 40px;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.big:not(.breadcrumbs-custom-subtitle)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #043ba0 0%, #022F80 100%);
  border-radius: 6px 0 0 6px;
}

.big:not(.breadcrumbs-custom-subtitle):hover {
  box-shadow: 0 8px 30px rgba(4, 59, 160, 0.12);
  transform: translateY(-2px);
}

/* 服务项目 */
.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #043ba0 0%, #022F80 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(4, 59, 160, 0.15);
  border-color: rgba(4, 59, 160, 0.2);
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-item .service_top_image {
  margin-top: 0;
  position: relative;
}

.service-item .service_top_image i {
  font-size: 40px;
  color: #022F80;
  background: linear-gradient(135deg, rgba(4, 59, 160, 0.25) 0%, rgba(4, 59, 160, 0.15) 100%);
  padding: 24px;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(4, 59, 160, 0.25);
  transition: all 0.3s ease;
}

.service-item:hover .service_top_image i {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(4, 59, 160, 0.3) 0%, rgba(4, 59, 160, 0.2) 100%);
  color: #022F80;
  box-shadow: 0 10px 30px rgba(4, 59, 160, 0.35);
}

.service-item .text_box {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-item .text_box h4 {
  color: #1e293b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  line-height: 1.3;
  min-height: 48px;
}

.service-item:hover .text_box h4 {
  color: #043ba0;
}

.service-item .text_box p {
  color: #64748b;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
  flex-grow: 1;
}

.service-item .text_box h4 {
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-item:hover .text_box h4 {
  color: #043ba0;
}

.service-item .text_box p {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0;
}

/* 服务卡片网格 */
.row.row-30 {
  margin: 0 -10px;
  display: flex;
  flex-wrap: wrap;
}

.row.row-30 > [class*="col-"] {
  padding: 0 10px;
  flex: 0 0 auto;
}

.row.row-30 > .col-md-4 {
  width: 33.33333333%;
  max-width: 33.33333333%;
}

/* 服务项目 */
.service-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(4, 59, 160, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1.0);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 100%;
  /* min-height: 250px !important; */
  box-sizing: border-box;
}

.service-item .service_top_image {
  margin-top: 0;
  position: relative;
}

.service-item .service_top_image i {
  font-size: 36px;
  color: #043ba0;
  background: linear-gradient(135deg, rgba(4, 59, 160, 0.15) 0%, rgba(4, 59, 160, 0.1) 100%);
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(4, 59, 160, 0.15);
  transition: all 0.3s ease;
}

.service-item .text_box {
  text-align: center;
  flex-grow: 1;
}

.service-item .text_box h4 {
  color: #1e293b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  line-height: 1.3;
  min-height: 48px;
}

.service-item .text_box p {
  color: #64748b;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 不同背景色的服务section */
section.bg-default {
  /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
}

section.bg-gray-100 {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* 页脚区域 */
.footer-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 10px 0;
  margin-top: 30px;
  width: 100%;
}

.footer-dark .copyright .col-md-12 {
  text-align: center;
}

.footer-dark .copyright p {
  margin-bottom: 0;
  white-space: nowrap;
}

.footer-dark .copyright small {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-dark .copyright a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-dark .copyright a:hover {
  color: #ffffff;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .container-custom-width-1 {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 28px;
  }
  
  .fw-bold-title {
    font-size: 24px;
    gap: 15px;
  }
  
  .service-banner {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .services-banner {
    min-height: 300px;
    padding-top: 80px;
    padding-bottom: 50px;
  }
  
  .section-title {
    font-size: 24px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  
  .section-title span:last-child {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    background: linear-gradient(to right, transparent, #043ba0, transparent);
  }
  
  .fw-bold-title {
    font-size: 22px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .fw-bold-title i {
    padding: 12px;
    font-size: 20px;
  }
  
  .big {
    padding: 20px;
    font-size: 15px;
  }
  
  .service-banner {
    height: 300px;
  }
  
  .service-item {
    padding: 20px;
  }
  
  .service-item .service_top_image i {
    font-size: 32px;
    padding: 20px;
  }
  
  .sidebar-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .sidebar-link {
    width: 100%;
    text-align: center;
  }
  
  .row.row-30 > .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .row.row-30 > [class*="col-"] {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 22px;
  }
  
  .section-title i {
    font-size: 24px;
    padding: 12px;
  }
  
  .service-banner {
    height: 250px;
  }
  
  .row.row-30 {
    gap: 20px;
  }
}