.index-title{
    width:fit-content;
    margin:50px auto;
    position: relative;
}
.index-title::before{
    content:'';
    position: absolute;
    top: 50%;
    left: -25vw;
    width: 20vw;
    height: 1px;
    background-color: #efefef;
}
.index-title::after{
    content:'';
    position: absolute;
    top: 50%;
    right: -25vw;
    width: 20vw;
    height: 1px;
    background-color: #efefef;
}
.index-title-cn{
    font-size:2.5vw;
    font-weight: bold;
    color:#383838;
    line-height: 1.5;
    text-align: center;
}
.index-title-en{
    font-size:2.5vw;
    font-weight: bold;
    color:#383838;
    line-height: 1.5;
    text-align: center;
}

/* banner */
.banner{
    width:100%;
    height:100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 原生slide：只做布局，不做动画 */
.swiper-slide {
    width: 100%;
    height: 100%;
}

/* 内层背景容器：实现全局放大 + 过渡动画 */
.slide-bg {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    /* 初始放大 */
    transform: scale(1.15);
    transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 激活状态：缓慢还原尺寸，实现入场缩小动画 */
.swiper-slide-active .slide-bg {
    transform: scale(1);
}

/* 链接布局 */
.swiper-slide a{
    padding:5vw 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* 文字动画 */
.banner-text-en{
    font-size: 4.5vw;
    font-weight: bold;
    color:#fff;
    line-height: 1.1;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}
.banner-text-cn{
    font-size: 2.5vw;
    font-weight: bold;
    color:#fff;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s;
}

/* 非激活文字隐藏 */
.swiper-slide:not(.swiper-slide-active) .banner-text-en,
.swiper-slide:not(.swiper-slide-active) .banner-text-cn{
    opacity: 0;
    transform: translateY(60px);
}
/* 激活文字入场 */
.swiper-slide-active .banner-text-en,
.swiper-slide-active .banner-text-cn{
    opacity: 1;
    transform: translateY(0);
}

/* 分页器、下滑箭头 保留原有样式 */
.swiper-horizontal>.swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal{
    bottom:4vw;
    left: 10%;
    width: fit-content;
}
.swiper-pagination{
    text-align: left;
}
.swiper-pagination-bullet{
    width:12px;
    height:12px;
    background:#ccc;
    opacity: 0.5;
}
.swiper-pagination-bullet-active{
    opacity: 1;
}
.scroll-down{
    position: absolute;
    bottom: 5vw;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 37px;
    z-index: 2;
    /* animation: scrollDown 3s ease-in-out infinite; */
}
.scroll-down img{
    width:24px;
    height:37px;
}
.scroll-down::after{
    content:'';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 3;
    border-radius: 20px;
    animation: scrollDown 3s ease-in-out infinite;
}
@keyframes scrollDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}


/* Service Section */
.services {
    padding: 60px 5%;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.service-item {
    background-color: #f5f5f5;
    border-radius: 2px;
    text-align: left;
}
.service-item a{
    padding: 30px 20px;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #1a4d1a;
}
.service-item .num {
    font-size: 2vw;
    margin-bottom: 2vw;
    color: #383838;
}
.service-item .title {
    font-size: 1.5vw;
    color: #383838;
    line-height: 1.5;
    font-weight: bold;
}
.service-item .title-en {
    font-size: 0.8vw;
    line-height: 1.5;
    color: #383838;
}
.service-item:hover .num{
    color: rgba(255, 255, 255, 0.7);
}
.service-item:hover .title{
    color: white;
}
.service-item:hover .title-en{
    color: white;
}

/* Case Section */
.cases {
    padding: 60px 7.5%;
    /* background-color: #fafafa; */
    text-align: center;
}

.case-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.case-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 18vw;
    transition: transform 0.3s;
    border-radius: 1vw;
}
.case-item a{
    padding: 20px;
    display: flex;
    align-items: flex-end;
}
.case-item:hover {
    transform: scale(1.02);
}

.case-item:nth-child(1) {
    grid-row: span 2;
    height: auto;
}

.case-item .title {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* News & Notice Section */
.news-notice {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: 45% 45%;
    gap: 10%;
}
.news{}
.notice{}
.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.news-item {
    transition: all 0.3s ease;
    border-bottom: 1px solid #efefef;
}
.news-item a{
    padding: 15px 0;
}
.news-item:first-child a{
    padding-top:0;
}
.news-item:last-child {
    border-bottom: 1px solid transparent;
}

.news-title {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.news-desc {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.8;
}
.news-date {
    color: #666;
    font-size: 14px;
}
.news-item:hover{
    /* border-bottom: 1px solid #dedede; */
    border-bottom: 1px solid #1a4d1a;
}
.news-item:hover .news-title {
    color: #1a4d1a;
}

.notice-item {
    cursor: pointer;
    transition: all 0.3s ease;
    /* background-color: #383030; */
    background-color: #F7F7F7;
    margin-bottom: 25px;
}
.notice-item a{
    padding: 15px;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-title {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: bold;
}

.notice-date {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
}

.notice-item:hover {
    background-color: #F0F0F0;
}
.notice-item:hover .notice-title{
    color: #1a4d1a;
}
