/* 头部样式 */
.header-hs {
    /* background: linear-gradient(to right, #f0f9ff, #e6f7ff); */
    background: url('../headservice-bg1.png') no-repeat;
    background-size: cover;
    /* 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, #528CFD 0%, #63F1CD 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;
    color: #333;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.problems-list {}

.listBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.top-list{
    margin-bottom: 20px;
}

.problem-item {
    background: #F4F9FF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    cursor: pointer;
    width: 20%;
}

.problem-item:nth-child(1) {
    animation-delay: 0.1s;
}

.problem-item:nth-child(2) {
    animation-delay: 0.2s;
}

.problem-item:nth-child(3) {
    animation-delay: 0.3s;
}

.problem-item:nth-child(4) {
    animation-delay: 0.4s;
}

.problem-item:nth-child(5) {
    animation-delay: 0.5s;
}

.problem-item:nth-child(6) {
    animation-delay: 0.6s;
}

.problem-item:nth-child(7) {
    animation-delay: 0.7s;
}

.problem-item:nth-child(8) {
    animation-delay: 0.8s;
}

.problemitemhover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 8px 30px 0px rgba(132, 146, 207, 0.2);
    transform: scale(1.1) translateY(-5px);
    width: 300px;
}
.problemitemWidth{
    width: 19%;
}

.problem-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    /* border: 1px dashed #e0e0e0; */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon img {
    max-width: 60px;
    max-height: 60px;
}

.problem-item h3 {
    margin-bottom: 10px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 20px;
    color: #202036;
}

.problem-item p {
    line-height: 1.6;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #A0A0B2;
}


/* 侧边栏样式 */
.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);
}

/* 适用岗位样式 */
.suitable-position {
    padding: 80px 0;
    background: linear-gradient(180deg, #F3F8FD 0%, #FFFFFF 100%);
}

.suitable-header {
    text-align: center;
    margin-bottom: 60px;
}

.suitable-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;
}

.suitable-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;
}

.suitable-list {
    text-align: center;
}

.suitable-list img {
    width: 100%;
    height: auto;
}

.advantages {
    background: url('../advantagesbj1.png') no-repeat;
    background-size: cover;
    /* padding: 60px 0; */
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.advantages .title {
    text-align: center;
    margin-bottom: 50px;
}


.advantages .title h2 {
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 32px;
    color: #fff;
}

.advantages .title p {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
}

.advantages .cards {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    gap: 20px;
}

.advantages .card {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.advantages .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.advantages .card:hover h3{
    color: #3D71FF;
}


.advantages .card img {
    width: 100%;
    /* height: auto; */
    border-radius: 4px;
    margin-bottom: 15px;
    height: 163px;
    transition: opacity 0.3s ease-in-out;
}

.advantages .card:hover img {
    opacity: 0.9;

}

.advantages .card h3 {
    margin-bottom: 10px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 22px;
    color: #202036;
}

.advantages .card p {
    line-height: 1.6;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #6F6F81;
    margin-bottom: 10px;
}




/* 动画 */
@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;
    }

    .advantages .card {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .header-hs {
        padding: 40px 0;
    }

    .header-hs h1 {
        font-size: 28px;
    }

    .problems {
        padding: 40px 0;
    }

    .problems h2 {
        font-size: 24px;
    }

    .problems-list {
        /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
        width: 90%;
        margin: 0 auto;
    }

    .advantages .cards {
        /* display: block; */
    }

    .advantages .card {
        flex: 1 1 100%;
    }
}

@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;
    }
    .listBox{
        flex-wrap: wrap;
    }
    .problem-item {
        width: 40%;
        /* margin: 0 auto; */
        margin-bottom: 10px;
        padding: 15px;

    }
    .top-list{
        margin: 0;
    }
    .problem-icon {
        width: 50px;
        height: 50px;
    }

    .problem-icon img {
        max-width: 30px;
        max-height: 30px;
    }

    .problem-item h3 {
        font-size: 16px;
    }

    .problem-item p {
        font-size: 13px;
    }

    .advantages .cards {
        display: block;
    }

    .advantages .card {
        /* flex: 1 1 100%; */
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .advantages .card:last-child {
        margin-bottom: 0;
    }

    .advantages .card h3 {
        font-size: 18px;
    }

    .advantages .card p {
        font-size: 13px;
    }
}

/* .w1200i {
width: 1200px;
margin: auto;
} */