.box{
    width: 100%;
    padding: 0 15px;
    margin-bottom: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.box_title{
    width: 100%;
    font-weight: bold;
}
.box_grid{
    width: 90%;
    position: relative;
    text-align: center;
}
.grid{
    display: grid;
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:auto auto;
    gap: 10px;
}
.grid_item{
    width: 100%;
}
.grid_item:nth-child(1){
    height: 300px;
}
.grid_item:nth-child(2){
    display: flex;
    gap: 30px;
    padding-left: 60px;
}
.grid_item:nth-child(3){
    grid-column: 1/3;
    grid-row: 2/2;
    display: flex;
    align-items: flex-end;
    position: absolute;
    top: -200px;
}
.grid_item_info{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #bcbcbc;
    border-radius: 10px;
}
.grid_item_info:hover{
    border-color: #592d9e;
}
.grid_item_info h3{
    margin: 10px 0 20px 0;
}
.grid_item_info text{
    font-size: 16px;
    line-height: 1.5;
    color: #5D5D66;
}
.grid_item a{
    display: block;
    width: 140px;
    height: 50px;
    background-color: #9c57b7;
    color: #fff;
    line-height: 50px;
}
.grid_item a:hover{
    background-color: #592d9e;
}
/* 图片 */
.grid_item img:nth-child(1){
    width: 230px;
    height: auto;
    border-radius: 10px
}
.grid_item img:nth-child(2){
    width: 280px;
    height: 300px;
    border-radius: 10px;
}
/* 业务能力 */
.business{
    width: 100%;
    height: 500px;
    padding: 10px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../images/img_3.jpg');
}
.business_nr{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.business_nr div{
    width: 100%;
    height: 180px;
    background-color: #592d9e;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.business_nr div p{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    position: relative;
}
.business_nr div p span{
    font-size: 16px;
    position: absolute;
    top: -5px;
    right: -10px;
}




/* 移动端页面样式 */
@media (max-width:767px){
    .box{
        padding: 0 10px;
    }

    .box_grid{
        width: 100%;
    }

    .grid{
        display: grid;
        grid-template-columns: 1fr 1fr;  /* 保持两列布局 */
        gap: 10px;
    }

    .grid_item:nth-child(1){
        grid-column: 1 / 3;  /* 跨越两列 */
        display: grid;
        grid-template-columns: 1fr 1fr;  /* 内部保持两列 */
        gap: 10px;
        height: auto;
    }

    .grid_item_info{
        padding: 10px;
    }

    .grid_item_info h3{
        font-size: 16px;
        margin: 5px 0;
    }

    .grid_item_info text{
        font-size: 12px;
        line-height: 1.4;
    }

    .grid_item:nth-child(2){
        grid-column: 1 / 3;  /* 跨越两列 */
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .grid_item:nth-child(2) img{
        width: 45%;  /* 调整图片宽度 */
        height: auto;
        object-fit: cover;
    }

    .grid_item:nth-child(3){
        grid-column: 1 / 3;  /* 跨越两列 */
        position: relative;
        top: auto;
        margin-top: 10px;
    }

    .grid_item a{
        width: 100px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }
    .business{
        height: auto;
    }
    /* 业务能力部分的移动端适配 */
    .business_nr{
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

/* 小屏幕额外调整 */
@media (max-width: 480px) {
    .grid_item_info h3{
        font-size: 14px;
    }

    .grid_item_info text{
        font-size: 12px;
    }

    .grid_item:nth-child(2) img{
        width: 48%;
    }


}







/* 案例展示 */
/* 案例展示区域样式 */
.case {
    padding: 70px 0;
    background: url('../images/img_6.jpg');
    background-size: cover;
    margin-top:130px;
    margin-bottom: 100px;
  }
  
  .case_box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .case_box_nr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
  }
  
  .case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .case-card:hover {
    transform: translateY(-5px);
  }
  
  .case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .case-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px;
  }
  
  .case-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .case-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 7.5em;
    flex: 1 1 auto;
  }
  
  .case-btn {
    background: #673ab7;
    color: white;
    padding: 8px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: auto;
    align-self: flex-end;
  }
  
  .case-btn:hover {
    background: #5e35b1;
  }
  
  /* 响应式布局调整 */
  @media screen and (max-width: 1200px) {
    .case_box_nr {
      grid-template-columns: repeat(2, 1fr);
    }
    .grid_item:nth-child(2) {
        padding-left: 0;
    }
  }

  @media screen and (max-width: 640px) {
    .case_box_nr {
      grid-template-columns: 1fr;
    }
    .pagebottom{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .top_item:nth-child(1){
        display: none;
    }
    .top_item:nth-child(2){
        display: none;
    }
    .top_item:nth-child(3){
        width: 100%;
        font-size: 14px;
        text-align: center;
    }
    .top_item:nth-child(3) p{
        font-size: 14px;
    }
  }
