body {
  background-image: url("../img/bk.png");
  background-repeat: repeat-y;
  background-size: cover;
  width: 100%;
  height: 100%;
}

/*banner样式*/
.banner {
  /* border-bottom: 2px #c7161e solid; */
  position: relative;
  /* top: 90px;
  margin-bottom: 160px; */
}

.banner img {
  width: 100%;
  margin: 0 auto;
}

.banner.carousel-example-generic.right.carousel-control {
    background-image: none !important;
    filter: none !important;
}
.banner.carousel-example-generic.left.carousel-control {
    background-image: none !important;
    filter: none !important;
}


/*feature特色内容模块样式*/
.feature {
  width: 1120px; /*添加最大宽度限制*/ 
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center; /*居中防止左对齐留白 */
    
}

.feature-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.33% - 15px);
  border-radius: 10px;
  min-height: 420px; /*改为最小高度 */
  background-color: #fff;
  box-shadow: 0 0 10px rgba(204, 204, 204, .5); 
  position: relative;  /*为绝对定位的更多链接准备*/ 
  font-size: clamp(13px, 1.9vw, 16px);
  min-width: 200px; /*防止内容过度挤压 */
}
.feature-image {
  height: 250px;/* 固定图片高度 */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  border-radius: 10px 10px 0 0;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.feature-text {
  flex: 0.5;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-container {
  flex: 1;
  overflow-y: auto;/* 添加滚动条 */
  padding-right: 8px; /* 防止滚动条遮挡文字 */
}

/*折角特效*/
.feature-image:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0;
  border-color: rgba(0, 0, 0, 0.2) #fff;
  border-radius: 0 0 0 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease-out;
}

.feature-image:hover:before {
  border-right-width: 80px;
  border-bottom-width: 80px;
}

.feature-content .feature-more {
  color: #c7161e;
  opacity: 0.6;
  text-decoration: none;
}

.feature-content .feature-more:hover {
  opacity: 1;
}

/* 滚动条样式 */
.text-container::-webkit-scrollbar {
  width: 4px;
}

.text-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.text-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 2px;
}

.text-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.first {
  margin-left: 0px;
}

/*上推特效*/

/*.feature-content:hover{
  cursor: pointer;
}*/

/*.feature-content:hover .feature-image{
  height: 160px;
  transform:translateY(-10px);
  -webkit-transform:translateY(-10px);
  -moz-transform:translateY(-10px);
  -o-transform:translateY(-10px);
  -ms-transform:translateY(-10px);
}*/

.feature-text .feature-icon-project {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("../img/comment\ \(1\).png");
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-text .feature-icon-team {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("../img/文件.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-text .feature-icon-dev {
  float: left;
  width: 50px;
  height: 50px;
  background-image: url("../img/奖杯2-1.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-text .feature-icon-job {
  float: left;
  width: 50px;
  height: 50px;
  background-image: url("../img/消息.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-text .feature-text-top {
  width: 180px;
  height: 60px;
}

.feature-text .feature-title {
  font-size: 20px;
  font-weight: bold;
  float: right;
  margin-left: 20px;
  line-height: 40px;
  color: #000;
  text-decoration: none;
  padding-top: 10px;
}

.feature-content .feature-more {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 0;
}

.feature-content .feature-more:hover {
  opacity: 1;
}

/*feature响应式处理*/
.feature-response {
  display: none;
  width: 400px;
  height: 500px;
  margin: 0 auto;
}

/* ::before样式 */

.carousel-control.left::before,
.carousel-control.right::before {
  content: "";
  font-family: Arial, sans-serif;
  /* 使用通用字体确保符号显示 */
  font-size: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control.left::before {
  content: "<";
  left: 30px;
}

.carousel-control.right::before {
  content: ">";
  right: 30px;
}

/* 隐藏原始图标 */
.carousel-control .glyphicon {
  display: none;
}

/* 新增简介 */
.mid {
  width: 80%;
  margin: 40px 10%;
  /* 上下40px 左右10% */
  box-sizing: border-box;
}

.title,
.feature {
  width: 100%;
  transform-origin: 0 0;
  /* 保持缩放基准点 */
}

/* 调整feature内容间距 */
.feature-content {
  /* margin: 1.5%; */
  /* 按比例缩放间距 */
  width: 30%;
  /* 保持3列布局 */
}

/* 新增简介 */
.mid {
  width: 80%;
  margin: 40px 10%;
  box-sizing: border-box;
}

/* 标题容器 */
.title {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  /* 核心属性：强制等高 */
  width: 100%;
  margin: 2.5% 0;
  padding: 0 1.5%;
  gap: 2.5%;
}

/* 左侧内容区 */
.title-left {
  flex: 1;
  min-width: 55%;
  display: flex;
  flex-direction: column;
  font-size: clamp(16px, 1.8vw, 23px);
  line-height: 1.7;
  padding: 2%;
  background: #f8f9fa;
  border-radius: 8px;

  /* 高度控制 */
  height: auto !important;
  /* 强制高度自适应 */
  min-height: 300px;
  /* 最低高度保障 */
}

/* 右侧图片容器 */
.title-right {

  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

  /* 高度同步机制 */
  height: inherit !important;
  /* 继承父容器高度 */
  max-height: 1000px;
  /* 安全限制 */
  overflow: hidden;
  /* 内容溢出处理 */
}

.title-right img {
  width: 100%;
  height: 100%;
  /* 关键属性：填满容器 */
  object-fit: contain;
  object-position: center;
  padding: 3%;
  transition: transform 0.3s ease;
  /* 可选动画效果 */
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .mid {
    width: 90%;
    margin: 30px 5%;
  }
}

@media (max-width: 992px) {
  .title-left {
    min-width: 40%;
    font-size: clamp(15px, 1.9vw, 18px);
  }

  .title-right {
    flex-basis: 30%;
  }
}

@media (max-width: 768px) {
  .mid {
    width: 94%;
    margin: 20px 3%;
  }

  .title {
    flex-direction: column;
    height: auto !important;
    /* 解除高度限制 */
  }

  .title-left,
  .title-right {
    width: 100% !important;
    flex-basis: auto !important;
  }

  .title-right {
    height: auto !important;
    /* 移动端高度自适应 */
    min-height: 200px;
    /* 移动端最小高度 */
    margin-top: 25px;
  }

  .title-right img {
    max-width: 50%;
    height: auto;
    /* 移动端高度释放 */
  }
}

.send {
  width: 100%;
  margin: 2.5% 1.5%;
  padding: 0 1.5%;
  gap: 2.5%;
  background: #f8f9fa;
  /* */
}
.send-1 {
  padding: 50px 2%;
}

.mid {
  overflow: hidden;
  /* 触发 BFC 包含浮动 */
}
/* 修改.last区块样式 */
.last {
  width: 100%;
  margin: 2.5% 1.5%;
  padding: 0 1.5%; /* 增大上下间距 */
  background: #f8f9fa;
  margin-bottom: 100px;
  box-sizing: border-box;/* 修复盒模型 */
}

.last-1 {
  /* margin-bottom: 40px; */ /* 增大标题间距 */
  position: relative;
  font-weight: bold;
  color: #000;
  font-size: 3rem;
  padding: 50px 2%;
}

/* 添加标题装饰线 */
.last-1::before {
  /* content: ""; */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 4px;
  background: #c7161e;
  /* 使用主题红色 */
}

.last-2 {
  display: flex;
  gap: 30px;/* 增大卡片间距 */
  height: auto;/* 移除固定高度 */
  margin-bottom: 0;
}

/* 统一左右卡片样式 */
.last-left,
.last-right {
  flex: 1;
  background: white;
  /*border-radius: 12px; 增大圆角 */
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);/* 更柔和的阴影 */
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;/* 防止内容溢出 */
}

/* 悬停动效 */
.last-left:hover,
.last-right:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 图片容器样式 */
.last-left img,
.last-right img {
  width: 100%;
  height: 240px;/* 增大图片高度 */
  object-fit: cover;
  border-radius: 10px; 
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

/* 图片悬停缩放 */
.last-left:hover img,
.last-right:hover img {
  transform: scale(1.03);
}

/* 标题样式调整 */
.last-left p,
.last-right p {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;/* 中等字重 */
  letter-spacing: 0.5px;/* 字间距微调 */
}
/* 边缘虚化效果 */
.last-left::after,
.last-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*box-shadow: inset 0 0 20px rgba(236, 236, 236, 0.5); 内侧白色阴影模拟虚化 */
  pointer-events: none;/* 避免遮挡点击事件 */
}
  

/* 可选：鼠标悬停时轻微放大图片 */
.last-left:hover img,
.last-right:hover img {
  transform: scale(1.05);
}

/* 按钮样式优化 */
.last-left a,
.last-right a {
  padding-left:80%;
  font-size: 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7161e;
  opacity: 0.6;
   
}

/* 按钮悬停效果 */
.last-left button:hover,
.last-right button:hover {
  background: #a01016;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192, 22, 30, 0.3);
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .last {
    /* padding: 50px 10%; */
    /* padding: 50px 0; */

  }
}

@media (max-width: 992px) {
  .last-2 {
    flex-direction: column;
    gap: 40px;
  }

  .last-left,
  .last-right {
    flex: none;
    width: 100%;
  }

  .last-1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .last {
    padding: 40px 5%;
  }

  .last-1 {
    font-size: 2rem;
    padding-left: 15px;
  }

  .last-left img,
  .last-right img {
    height: 200px;
  }
}