/* 头部样式 */
.header-hs {
    /* background: linear-gradient(to right, #f0f9ff, #e6f7ff); */
    background: url('../headservice-bg1.png') no-repeat;
    background-size: 100% !important;
    /* padding: 60px 0; */
    position: relative;
    overflow: hidden;
    height: 500px;
}

.header-hs-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* width: 1200px;
    margin: auto; */
}

.header-hs-text {
    flex: 1;
    padding-right: 40px;
}

.header-hs h1 {
    animation: fadeInUp 1s ease;
    font-size: 60px;
    color: #202036;
    margin-bottom: 40px;
    font-weight: bold;
}

.header-hs p {
    margin-bottom: 120px;
    animation: fadeInUp 1s ease 0.2s both;
    font-size: 18px;
    color: #6E6E8C;
    /* width: 650px; */
}

.header-hs-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #2f80ed;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;

    width: 241px;
    height: 50px;
    background: linear-gradient( 348deg, #3145A8 0%, #528CFD 95%);
    border-radius: 32px;
    line-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-hs-btn:hover {
    background-color: #1e67d9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(47, 128, 237, 0.3);
}

.header-hs-img {
    max-width: 500px;
    height: auto;
    animation: fadeInRight 1s ease;
}

/* 问题部分样式 */
.problems {
    padding: 60px 0;
}

.problems h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.problems-list {
    display: flex;
    gap: 30px;
}
.problems-list .group{
    width: 50%;
}
.problem-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient( 330deg, #EEF4FF 0%, #FAFFFE 100%);
    box-shadow: 0px 0px 20px 0px rgba(129,178,225,0.2);
}

.problem-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #202036;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
}
.problem-item h3 .icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: linear-gradient( 348deg, #3145A8 0%, #528CFD 95%);
    border-radius: 2px 2px 2px 2px;
    transform: rotate(45deg);
    margin-right: 10px;
}

.problem-item p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #A0A0B2;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
}

.problem-img {
    width: 100%;
    height: 190px;
    /* border: 1px dashed #ccc; */
    border-radius: 6px;
    margin-top: 10px;
    transition: transform 0.3s ease;
    object-fit: cover;
    border-radius: 20px;
}

.problem-item:hover .problem-img {
    /* transform: scale(1.03); */
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.sidebar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2f80ed;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background-color: #1e67d9;
    transform: scale(1.1);
}

/* 优势部分样式 */
.advantages {
    padding: 80px 0;
    background: linear-gradient( 180deg, #F3F8FD 0%, #FFFFFF 100%);
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-header h2 {
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 32px;
    color: #202036;
    line-height: 26px;
}

.advantages-header p {
    animation: fadeInUp 1s ease 0.2s both;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #A0A0B2;
    line-height: 21px;
}

.advantages-list {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; */
    display: flex;
    width: 100%;
    /* height: 100px; */
    border-radius: 4px;
    margin-top: 20px;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;

    border-radius: 20px;
    justify-content: space-around;
    width: calc(50% - 20px);
    padding: 40px;                 
    box-sizing: border-box;
    border: 1px solid transparent;
    cursor: pointer;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px 0px rgba(132,146,207,0.2);
    border-radius: 20px;
    border: 1px solid #3D71FF;
    /* background: linear-gradient(257.05922978882967deg, #3145A8 0%, #528CFD 100%); */
}

.advantage-icon {
    flex: 0 0 80px;
    height: 80px;
    margin-right: 20px;
    /* border: 1px dashed #ccc; */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-content {
    flex: 1;
}

.advantage-content h3 {
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.4s both;

    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 22px;
    color: #202036;
}

.advantage-content:hover h3 {
    color: #6CB2FF;
    /* background: linear-gradient(257.05922978882967deg, #3145A8 0%, #528CFD 100%); */
}

.advantage-content p {
    animation: fadeInUp 1s ease 0.6s both;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #A0A0B2;
    line-height: 21px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(20px);
    }

    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
    opacity: 0;
    transform: translateX(20px);
    }

    to {
    opacity: 1;
    transform: translateX(0);
    }
}

/* 响应式 */
@media (max-width: 992px) {
    .header-hs {
        background-size: cover !important;
        background-position: 80% !important;
    }
   
    .w1200 {
        width: 100%;
        margin: auto;
    }
    .header-hs-content {
    flex-direction: column;
    text-align: center;
    }

    .header-hs-text {
    padding-right: 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    }

    .header-hs-img {
    max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-hs {
    padding: 40px 0;
    }

    .header-hs h1 {
    font-size: 28px;
    }

    .problems {
    padding: 40px 0;
    }

    .problems h2 {
    font-size: 22px;
    }

    .advantages {
        padding: 60px 0;
      }

      .advantages-header h2 {
        font-size: 26px;
      }

      .advantages-list {
        gap: 30px;
      }
}

@media (max-width: 576px) {
    .header-hs {
    padding: 30px 0;
    /* height: 300px; */
    }

    .header-hs h1 {
    font-size: 24px;
    margin-bottom: 25px;
    }

    .header-hs p {
    font-size: 13px;
    width: 300px;
    margin-bottom: 90px;
    }

    .header-hs-btn {
        font-size: 16px;
        width: 180px;
        height: 30px;
        line-height: 30px;
    }

   .problems {
    padding: 30px 0;
    }

    .problems h2 {
    font-size: 20px;
    }

    .problems-list {
        display: flex;
        align-items: center;
        flex-direction: column;
        /* gap: 0; */
    }
    .problems-list .group{
        width: 90%;
    }
    .problem-item {
    padding: 15px;
    }

    .problem-item h3 {
    font-size: 15px;
    }

    .problem-item p {
    font-size: 13px;
    }

    .advantages {
        padding: 40px 0;
    }
    .advantages-header {
        margin-bottom: 30px;
    }
    .advantages-list {
        display: block;
        height: auto;
    }

    .advantages-header h2 {
    font-size: 22px;
    }

    .advantage-item {
    /* flex-direction: column; */
    width: 100%;
    }
    
    .advantage-icon {
    margin-right: 0;
    margin-bottom: 15px;
    }
    .advantage-content {
    margin-left: 18px;
    }

    /* .same-banner .btn{
        width: 62%;
        font-size: 15px;
        height: auto;
        line-height:0;
        margin-left: auto;
        margin-right: auto;
    } */
    .advantage-content h3{
        font-size: 18px;

    }
    .advantage-content p{
        font-size: 13px;
        line-height: 19px;
    }
    .advantages-list{
        width: 90%;
        margin: 0 auto;
    }
}