/* body{
    background-color: var(--primary-color);
} */

.main-page {
    margin-top: 130px;
}

.header {
    background-color: #fff;
    height: 130px;
}

.nav-logo svg{
    fill: var(--primary-color);
}

.main-navigation ul li>a{
    color: var(--primary-color);
}

.header.scroll .nav-logo svg{
    fill: #fff;
}

.header.scroll .main-navigation ul li>a{
    color: #fff;
}

.header.scroll .main-navigation ul li.ing>a{
    color: var(--secondary-color);
}

.banner-section {
    padding-top: 35%;
    background-image: url('/assets/images/practice-area.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 50%;
    left: 60px;
    /* padding-left: 100px; */
    transform: translate3d(0, -50%, 0);
    color: #fff;
    /* background-color: rgba(255, 255, 255, 0.1); */
    padding: 40px;
    border-radius: 10px;
    /* box-shadow: 0 0 10px 0 rgba(28, 44, 60, 0.1); */
    backdrop-filter: blur(1px);
}

.banner-content h1 {
    font-size: 60px;
    font-weight: 600;
    font-style: italic;
}

.banner-content h2 {
    font-size: 25px;
    font-weight: 400;
    /* font-family: var(--family-font-secondary); */
    line-height: 1.3;
    opacity: 0.9;
}



/* 列表 */
.list-section {
    padding: 80px 0;
}

.list-title {
    font-size: 50px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    font-style: italic;
    width: 100%;
    position: relative;
    padding-left: 20px;
}

.list-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 3px;
    height: 60%;
    border-radius: 5px;
    background-color: var(--secondary-color);
}

.list-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
}


.bussiness-item {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(28, 44, 60, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    border-radius: 10px;
    min-height: 350px;
    height: 350px;
    transition: all 0.3s ease;
    overflow: hidden;
    flex: 1 auto;
}

.bussiness-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.15);
}

.bussiness-item svg {
    color: #fff;
    width: 38px;
    height: 38px;
}

.bussiness-item .image-box {
    color: var(--secondary-color);
    background-color: rgba(28, 44, 60, 0.3);
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex: 1 auto;
}

.bussiness-item .image-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bussiness-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    position: relative;
    padding: 0 15px;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 auto;
    font-family: var(--family-font-secondary);
}


.bussiness-item:hover h3 {
    color: var(--secondary-color);
}

.bussiness-item:hover svg {
    color: var(--secondary-color);
}

.list-pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.list-pagination .layui-laypage {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--family-font-secondary);
}

.list-pagination .layui-laypage a,
.list-pagination .layui-laypage span {
    color: #666;
    font-size: 16px;
    padding: 0;
    min-width: 40px;
    height: auto;
    border: none;
    background: transparent;
    line-height: 1;
}

.list-pagination .layui-laypage a {
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.list-pagination .layui-laypage a:hover {
    color: var(--secondary-color);
}

.list-pagination .layui-laypage .layui-laypage-prev {
    min-width: auto;
    margin-right: 36px;
}

.list-pagination .layui-laypage .layui-laypage-next {
    min-width: auto;
    margin-left: 16px;
}

.list-pagination .layui-laypage .layui-laypage-curr {
    position: relative;
    padding: 0;
}

.list-pagination .layui-laypage .layui-laypage-curr em {
    color: var(--secondary-color);
    font-weight: 600;
}

.list-pagination .layui-laypage .layui-laypage-curr em,
.list-pagination .layui-laypage .layui-laypage-curr a {
    background: transparent;
}



/* faq */
.faq-section {
    padding: 80px 0;
}

.faq-title {
    font-size: 50px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    font-style: italic;
    width: 100%;
    position: relative;
    padding-left: 20px;
}

.faq-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 3px;
    height: 60%;
    border-radius: 5px;
    background-color: var(--secondary-color);
}

.faq-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* background-color: rgba(28, 44, 60, 0.9); */
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(1px);
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.faq-item {
    color: #fff;
    border-bottom: 1px solid rgba(28, 44, 60, 0.1);
    transition: all 0.3s ease;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;

}

.faq-item-title:hover {
    opacity: 0.9;
}

.faq-item-title h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
    font-family: var(--family-font);
    position: relative;
}

.faq-item-title h3::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -15px;
    width: 2px;
    height: 0;
    background-color: var(--secondary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-item-title h3::after{
    height: 55%;
}

.faq-item-title span {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    min-width: 28px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.faq-item-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    margin-top: 0;
}

.faq-item.active .faq-item-content {
    opacity: 1;
    margin-top: 20px;
}

.faq-item-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    font-family: var(--family-font-secondary);
}




@media screen and (max-width: 992px) {
    .banner-section{
        padding-top: 0;
        height: 50vh;
    }
    .banner-content {
        width: 100%;
        left: 0;
        padding: 0px 15px 0 15px;
    }
    .header{
        height: 90px;
        background-color: transparent;
    }

    .nav-logo svg{
        /* fill: #fff; */
    }

    .mobile-menu-toggle .menu-icon-line{
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .header.scroll .mobile-menu-toggle .menu-icon-line{
        background-color: #fff;
    }

    .main-page{
        margin-top: 90px;
    }

    .banner-content h1{
        font-size: 30px;
        margin-bottom: 15px;
    }
    .banner-content h2{
        font-size: 17px;
    }

    .list-section{
        padding: 40px 0;
    }
    .list-title{
        font-size: 30px;
    }
    .list-wrapper{
        margin-top: 30px;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .bussiness-item .image-box{
        font-size: 18px;
    }
    .bussiness-item h3{
        font-size: 16px;
    }

    .faq-section{
        padding: 10px 0 40px 0;
    }
    .faq-title{
        font-size: 30px;
    }
    .faq-wrapper{
        margin-top: 30px;
        padding: 15px;
    }
    .faq-item-title h3{
        font-size: 19px;
    }
    .faq-item-title span{
        font-size: 19px;
    }
    .faq-item-content p{
        font-size: 15px;
        line-height: 1.3;
    }

    .bussiness-item{
        height: 300px;
        min-height: 300px;
    }
}