.service-object{
  width: 100%;
  background-color: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  position:relative;
}
/* #region 服务场景导航栏 */
.sonav{
  width: 60%;
  /* background-color: #fa1234; */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position:absolute;
  z-index: 1;
  bottom: 0;
}

.sonav_btns {
  width: 87.5%;
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
  /* background: #f3f3f3; */
  padding: 0;
  /* border-radius: 5px; */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}

.sonav_btns button {
  width: 15px;
  height: 15px;
  border: none;
  margin: 20px;
  border-radius: 50px;
  background-color: #c9c9c9;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}
/* 按钮悬停样式 */
.sonav_btns button:hover {
  background-color: #ddd;
  color: #555;
}
/* 按钮激活样式 */
.sonav_btns button.active {
  background-color: #fa1234;
  color: #000;
  font-weight: bold;
}

/* #endregion 服务场景导航栏 */



/* #region 服务场景内容栏 */
.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  min-width: 100%;
  height: 700px;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  padding: 0px;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

.slide.active {
  opacity: 1;
}


.service-text {
  width:80%;
  position: absolute;
  text-align: center;
  white-space: pre-line; 
}

.service-title {
  font-size: 100px;
  color: #333;
  margin-bottom: 15px;
}

.service-description {
  font-size: 20px;
  color: #666;
  margin-bottom: 15px;
}

.service-link {
  display: inline-block;
  width:200px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.service-link:hover {
  background-color: #0056b3;
}

.service-image {
  width: 80%;
  flex: 1;
  text-align: center;
}

.service-img {
  height: auto;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .service-container {
      flex-direction: column;
  }
  .service-title {
    font-size: 80px;
  }
  .service-text,
  .service-image {
      flex: none;
      width: 100%;
  }
}


 /* #endregion 服务场景内容栏 */