

/* 服务板块整体样式 */
.service-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 服务头部样式 */
.service-header {
  text-align: center;
  margin-bottom: 30px;
}
.service-header img{ margin-bottom:10px}
.service-header h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative; margin-bottom:10px;
}



.service-header p {
  font-size: 14px;
  color: #888888;
  line-height: 1.6;
}

/* 服务列表样式 */
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 单个服务项样式 */
.service-item {
  width: calc(33.33% - 20px);
  margin-bottom: 30px;
  text-align: center;
  border: 1px solid #f5f5f5; 
  overflow:hidden; 
  padding-bottom:10px;
}
.service-item .pcimg{  width: 100%;
  height: 270px;
  margin-bottom: 10px;overflow:hidden }
.service-item img {
  width: 100%;
  height: auto;

}
 .zoom-image {
        transition: transform 0.3s ease; /* 平滑过渡效果 */
    }
 
    .zoom-image:hover {
        transform: scale(1.1); /* 鼠标悬停时放大1.2倍 */
    }
.service-item:hover{border: 1px solid #2694f8;}
.service-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 14px;
  color: #999;
}

/* 响应式适配，小屏幕下一行显示两个服务项 */
@media (max-width: 768px) {
  .service-item {
    width: calc(50% - 15px);
  }
}

/* 超小屏幕下一行显示一个服务项 */
@media (max-width: 480px) {
  .service-item {
    width: 100%;
  }
}

/* 案例网格容器 */
.case-grid {
display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px; /* 案例项之间的间距 */
  max-width: 1200px; /* 容器最大宽度，可根据需求调整 */
  margin: 0 auto; /* 水平居中 */
}
.case-grid li{float:left; margin-bottom:10px;height:280px; overflow:hidden}




/* 单个案例项 */
.case-item {
 width:100%;height:280px;
  position: relative; /* 用于绝对定位文字 */
  overflow: hidden; /* 隐藏超出部分，配合图片缩放 */
}

.case-grid li:nth-child(1),.case-grid li:nth-child(2){width: calc(25% - 10px); margin-right:10px;}
.case-grid li:nth-child(5){width: 25%; }
.case-grid li:nth-child(6){width: calc(25% - 10px); margin-left:10px; }
.case-grid li:nth-child(3){width: 50%;}
.case-grid li:nth-child(4){width: calc(50% - 10px); margin-right:10px;}
/* 案例图片 */
.case-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease; /* 图片缩放过渡动画 */
}

/* 案例文字信息 */
.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
  color: #fff;transition: transform 1s ease;
}

.case-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.case-info p {
  font-size: 14px; display:none
}
.case-item:hover .case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height:100%;
  padding: 10px;
  background-color: rgba(30, 100, 150, 0.8); /* 半透明黑色背景 */
  color: #fff; 
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
}
.case-item:hover .case-info h3 { padding-top:80px;
  font-size: 16px;
  margin-bottom: 5px;
}
.case-item:hover .case-info p{ display:block}
/* 鼠标悬停时图片放大 */
.case-item:hover img {
  transform: scale(1.1); /* 放大1.05倍，可调整 */
}

/* 响应式：平板屏幕（768px以下） */
@media (max-width: 768px) {
  .case-item {
    width: calc(50% - 10px); /* 两列布局 */
  }
}

/* 响应式：手机屏幕（480px以下） */
@media (max-width: 480px) {
  .case-item {
    width: 100%; /* 一列布局 */
  }
}

/* 查看更多按钮样式 */
.view-more-btn { display:inherit;
  width: 200px; /* 按钮宽度，可根据需求调整 */
  height: 40px; /* 按钮高度，可根据需求调整 */
  line-height:40px;
  background-color: #fff; /* 按钮背景色为白色 */
  color: #003366; /* 文字颜色为深蓝色 */
  border: 1px solid #003366; /* 边框颜色为深蓝色 */
  border-radius: 20px; /* 圆角，使按钮呈椭圆形，数值为高度的一半效果更圆 */
  font-size: 16px; /* 文字大小，可根据需求调整 */
  cursor: pointer; /* 鼠标悬停时显示手型指针，提示可点击 */
  transition: all 0.3s ease; /* 过渡效果，使 hover 等状态变化更平滑 */
  margin:0 auto;
  margin-top:40px; margin-bottom:20px; text-align:center;
}

/* 鼠标悬停时的样式（可选，增强交互感） */
.view-more-btn:hover {
  background-color: #003366;
  color: #fff;
}

/* 关于赛福容器样式，实现左右布局 */
.about-container {
  display: flex;
  width: 100%;
  padding: 40px 30px;
}

/* 左侧图片容器样式 */
.about-img {
  flex: 1;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例，填充容器 */
}

/* 右侧文字内容容器样式 */
.about-text {
  flex: 1;
  background-color: #0099ff; /* 蓝色背景 */
  color: #fff; /* 白色文字 */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.about-text .ttinfo{width:80%}
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 公司介绍按钮样式 */
.company-intro-btn {
  width: 150px;
  height: 40px;
  background-color: #fff;
  color: #0099ff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.company-intro-btn:hover {
  background-color: #0099ff;
  color: #fff;
  border: 1px solid #fff;
}

/* 响应式适配，小屏幕下改为上下布局 */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }
  .about-img img {
    height: 300px; /* 小屏幕下限制图片高度 */
  }
  .about-text {
    padding: 20px;
  }
}

/* 资讯列表容器样式 */
.news-list {
  max-width: 1200px;
  margin: 0 auto;
}

/* 单个资讯项样式 */
.news-item {
  display: flex;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #eee; /* 底部分隔线 */
}

.news-img {
  width: 200px; /* 图片宽度，可根据需求调整 */
  height: 120px; /* 图片高度，可根据需求调整 */
  margin-right: 20px;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例，填充容器 */
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.news-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}

.news-view {
  font-size: 14px;
  color: #999; line-height:25px;
  text-align: right;
}

/* 响应式适配，小屏幕下图片和内容上下排列 */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-img {
    margin-bottom: 10px;
    margin-right: 0;
  }
  .news-content {
    width: 100%;
  }
  .news-view {
    text-align: left;
  }
}

/* 联系板块整体样式 */
.contact-section {
  background: url("../images/contact_bg.jpg") no-repeat center center; /* 替换为实际背景图路径 */
  background-size: cover;
  padding: 50px 20px;
  text-align: center;
  position: relative; margin-top:60px;
}

/* 背景遮罩，使文字更清晰 */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0); /* 深蓝色半透明遮罩，可根据实际调整 */
  z-index: 1;
}

.contact-header,
.contact-desc,
.contact-info {
  position: relative;
  z-index: 2; /* 使内容显示在遮罩上方 */
}

/* 标题上方红色线条样式 */
.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.red-line {
  width: 80px;
  height: 4px;
  background-color: #ff0000; /* 红色线条 */
  position: relative;
}

/* 模拟箭头形状，可根据实际设计调整 */
.red-line::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-top: 4px solid #ff0000;
  border-right: 4px solid #ff0000;
  transform: rotate(45deg);
}

.contact-header h2 {
  font-size: 36px;
  color: #fff;
  margin-top: 10px;
}

.contact-desc {
  font-size: 14px;
  color: #fff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info { max-width:1200px;width:94%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; margin:0 auto;
}

.contact-info p {
  font-size: 16px;
  color: #fff;
  margin: 10px;
}

/* 响应式适配，小屏幕下信息上下排列 */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
  .contact-header h2 {
    font-size: 28px;
  }
  .contact-desc {
    font-size: 16px;
  }
}

/* 导航栏容器 */
.service-nav {
  display: flex; /* 横向排列子元素 */
  align-items: center; /* 垂直居中 */
 margin-bottom:30px;
}

/* 单个导航项 */
.nav-item {
  padding: 12px 32px; /* 内边距，控制点击区域和文字间距 */
  font-size: 18px;
  color: #6b7280; /* 默认文字灰色 */
  cursor: pointer; /* 鼠标悬浮变手型，提示可点击 */
  transition: background-color 0.2s ease, color 0.2s ease; /*  hover 过渡动画 */
}

/* 激活状态（六大服务） */
.nav-item.active {
  background-color: #2694f8; /* 蓝色背景 */
  color: #fff; /* 白色文字 */
}

/* 鼠标悬浮非激活项时的样式 */
.nav-item:not(.active):hover {
  color: #2563eb; /* 文字变蓝色 */
}

/* 导航项之间的竖线（通过伪元素实现） */
.nav-item:not(:first-child) {
  position: relative;
}
.nav-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: #e5e7eb; /* 竖线浅灰色 */
}


/* 步骤板块整体样式 */
.steps-section {
  max-width: 1200px;
  margin: 0 auto; margin-bottom:50px; 
}

.steps-section h2 {
  font-size: 30px;
  color: #333;
  margin-bottom: 50px;
  text-align: center;
}

.steps-section h2 span {
  color: #ff0000; /* 红色“轻松6步” */
  font-weight: bold;
}

/* 步骤容器样式，实现水平排列 */
.steps-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; /* 小屏幕下自动换行 */
}

/* 单个步骤项样式 */
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
}

/* 步骤图标样式 */
.step-icon {
  width: 80px;
  height: 80px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-icon svg {
  width: 40px;
  height: 40px;
}

.step-item p {
  font-size: 16px;
  color: #333;
}

/* 响应式适配，小屏幕下调整布局 */
@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
  }
  .step-item {
    margin-bottom: 20px;
  }
  .steps-section h2 {
    font-size: 20px;
  }
}