.page-header {
    padding: 178px 0 126px 0;
    height: 480px;
    box-sizing: border-box;
    background-image: url(https://static.hhs.net.cn/image/20250225/396bd099-5cf2-43b3-b3cf-639ebb2ed454.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -80px;
}

.page-title {
    max-width: 1200px;
    margin: auto;
}

.page-title div:nth-of-type(1) {
    font-family: "PuHuiTi";
    font-weight: 700;
    font-size: 48px;
    color: #fff;
    transform: translateY(-187px);
    animation: bounceIn 1.2s ease-out forwards;
}

.page-title div:nth-of-type(2) {
    margin-top: 6px;
    font-family: "PuHuiTi";
    font-weight: 300;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-167px);
    animation: bounceIn 0.6s ease-out 0.2s forwards;
}

.select-box {
    padding: 30px 0;
    max-width: 1200px;
    margin: auto;
}

.option {
    margin-right: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.4s;
}

.option:hover {
    background: var(--hhs-font-color);
    color: #FFFFFF;
}

.on-option {
    background: var(--hhs-font-color) !important;
    color: #FFFFFF !important;
}

.case-container {
    max-width: 1200px;
    margin: auto;
}

.case-list {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    grid-gap: 30px;
    justify-content: center;
}

.case-box {
    max-width: 380px;
    height: 350px;
    border-radius: 12px;
    background: #FFFFFF;
    transition: all 0.4s;
}

.case-img {
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
}

.case-img img {
    width: 100%;
    transition: all 0.4s;
}

.case-msg {
    padding: 20px;
    box-sizing: border-box;
}

.case-name {
    font-family: "PuHuiTi";
    font-weight: 500;
    font-size: 24px;
    color: #14212f;
    transition: all 0.4s;
}

.case-lable {
    margin-top: 12px;
    font-family: "PuHuiTi";
    font-weight: 400;
    font-size: 14px;
    color: #6e7a88;
    transition: all 0.4s;
}

.case-box:hover {
    box-shadow: 0 0 20px 0 rgba(2, 38, 135, 0.09);
    transform: translateY(-2px);
}

.case-box:hover img {
    transform: scale(1.05);
}

.case-box:hover .case-msg div:nth-of-type(1) {
    color: var(--hhs-font-color);
}

.case-box:hover .case-msg div:nth-of-type(2) {
    color: var(--hhs-font-color);
}

.cese-page {
    text-align: center;
    padding: 70px 0 66px 0;
}

/* 修改当前页的背景颜色为深蓝色 */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #6daf32 !important;
    color: #fff !important;
}

/* 修改按钮的 hover 效果 */
.layui-laypage a:hover {
    background-color: #6daf32 !important;
    color: #fff !important;
    border: 1px solid #6daf32 !important;
}


/* 1. 公共初始样式：不透明度为 0，带有 transition 过渡效果 */
.anim-section {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

/* 2. 不同方向的初始 transform */
.anim-section.top {
    transform: translateY(-20px);
}

.anim-section.bottom {
    transform: translateY(20px);
}

.anim-section.left {
    transform: translateX(-20px);
}

.anim-section.right {
    transform: translateX(20px);
}

/* 3. 当进入视口时，添加 in-view 触发最终状态 */
.anim-section.in-view {
    opacity: 1;
    transform: none;
}

.header-container {
    background-color: rgba(255, 255, 255, 0);
}

.header-container .header .nav .nav-menu, .header-container .header .phone .phone-number {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .case-list {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 15px;
    }

    .case-box {
        max-width: 100%;
        height: 350px;
    }
}