/* Banner styles */
.banner {
    margin-top: 64px;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner .swiper-container {
    width: 100%;
    height: 600px;
}

.banner .swiper-wrapper {
    height: 100%;
}

.banner .swiper-slide {
    position: relative;
    overflow: hidden;
}

.banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.banner .swiper-slide-active img {
    transform: scale(1);
}

.banner .slide-content {
    position: absolute;
    /* left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); */
	right: 1%;
	top: 5%;
	/* transform: translate(-50%, -50%); */
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 80%;
    max-width: 800px;
    opacity: 0;
    transition: all 0.8s ease;
}

.banner .swiper-slide-active .slide-content {
    opacity: 1;
}

.banner .slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(30px);
    transition: transform 0.8s ease;
}

.banner .slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transform: translateY(30px);
    transition: transform 0.8s ease 0.2s;
}

.banner .slide-content .btn {
    transform: translateY(30px);
    transition: transform 0.8s ease 0.4s;
}

.banner .swiper-slide-active .slide-content h2,
.banner .swiper-slide-active .slide-content p,
.banner .swiper-slide-active .slide-content .btn {
    transform: translateY(0);
}

.banner .swiper-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); */
	background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.3));
    z-index: 1;
}

.banner .swiper-pagination {
    bottom: 30px !important;
}

.banner .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.banner .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.banner .swiper-button-prev,
.banner .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner .swiper-button-prev:hover,
.banner .swiper-button-next:hover {
    background: rgba(255,255,255,0.4);
}

.banner .swiper-button-prev:after,
.banner .swiper-button-next:after {
    font-size: 20px;
    color: #fff;
}

@media (max-width: 1024px) {
    .banner {
        margin-top: 80px;
    }

    .banner .swiper-container {
        height: 500px;
    }

    .banner .slide-content h2 {
        font-size: 36px;
    }

    .banner .slide-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .banner .swiper-container {
        height: 400px;
    }

    .banner .slide-content h2 {
        font-size: 28px;
    }

    .banner .slide-content p {
        font-size: 16px;
    }

    .banner .swiper-button-prev,
    .banner .swiper-button-next {
        display: none;
    }
}

/* Quick links styles */
.quick-links {
    padding: 40px 0;
    background: #fff;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.link-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.link-item .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.link-item:hover .icon {
    transform: scale(1.1);
}

.link-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.link-item p {
    color: #666;
    font-size: 14px;
}

/* News section styles */
.news {
    padding: 40px 0;
    background: #fff;
}

.news-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.news-tab {
    padding: 10px 30px;
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
}

.news-tab.active {
    color: var(--primary-color);
}

.news-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s;
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
    transition: all 0.3s;
}

.news-item:hover .news-content h3 {
    color: var(--primary-color);
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
}

.news-meta .category {
    color: var(--primary-color);
}

/* Service section */
.service-section {
    padding: 40px 0;
    background: #f8f8f8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.service-item:hover .icon {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-item p {
    color: #666;
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .quick-links .container,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-links .container,
    .service-grid,
    .news-list {
        grid-template-columns: 1fr;
    }

    .news-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .news-tab {
        padding: 10px 20px;
    }
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
} 