/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    /* color: #3366FF; */
    transition: all 0.3s ease;
}

a:hover {
    color: #004c99;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #3366FF;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #004c99;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    color: #3366FF;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

section {
    padding: 80px 0;
}

/* 顶部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 280px;
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #fff;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3366FF;
}

/* 首屏横幅 */
.banner {
    height: 920px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-content {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 关于我们 */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
    padding-right: 40px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    flex: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    display: block;
    width: 100%;
}

.stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    flex: 0 0 calc(16.666% - 20px);
    margin: 10px;
    padding: 20px 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 36px;
    color: #3366FF;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 14px;
}

/* 业务方向 */
.service-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 10px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: #3366FF;
}

.service-card:hover .service-content h3 {
    color: #fff;
}

.service-card:hover .service-content p {
    color: #fff;
}

.service-card:hover .btn-outline {
    color: #fff;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3366FF;
}

.service-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
}

/* 企业展示 */
.showcase {
    background-color: #f9f9f9;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 25px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.tab-btn.active,
.tab-btn:hover {
    color: #fff;
    background-color: #3366FF;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    max-width: 1200px;
    margin: 0 auto;
    color: #555;
    text-indent: 2em;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.swiper-container {
    width: 1200px;
    height: 200px;
}

.swiper-silde-item {
    width: 95%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item {
    position: relative;
    flex: 0 0 calc(25% - 20px);
    margin: 10px;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 新闻动态 */
.news-container {
    display: flex;
    align-items: stretch;
    gap: 20px;
    overflow: hidden;
}

.news-featured {
    position: relative;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.news-image {
    flex: 0 0 60%;
    position: relative;
}

.news-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-list {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    box-sizing: border-box;
    padding: 10px 15px 10px 10px;
    background-color: #F1F2F6;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #3366FF;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-link {
    font-size: 14px;
    color: #3366FF;
}

.news-item {
    color: #333;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.news-item:hover {
    color: #3366FF;
    border-left: 2px solid #3366FF;
}

.news-item:hover p {
    color: #3366FF;
}

.news-list .btn {
    margin-top: 20px;
}

/* 合作客户 */
.clients {
    background-color: #fff;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.client-logo {
    flex: 0 0 calc(16.666% - 20px);
    margin: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* filter: grayscale(100%); */
}


.client-logo img {
    max-width: 100%;
    max-height: 60px;
}

/* 页脚 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    margin-bottom: 40px;
}

.footer-column {
    padding: 0 15px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3366FF;
}

.footer-column p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-column i {
    margin-right: 10px;
    color: #3366FF;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #3366FF;
    transform: translateY(-3px);
}

.hotline {
    font-size: 24px;
    font-weight: 700;
    color: #3366FF;
    margin-bottom: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

.copyright a {
	color: #999;
}

.copyright a:hover {
	color: #004c99;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .stat-item {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .service-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .client-logo {
        flex: 0 0 calc(25% - 20px);
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .service-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .gallery-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .news-container {
        flex-direction: column;
    }
    
    .news-image {
        flex: 0 0 300px;
    }
    
    .client-logo {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-item {
        flex: 0 0 calc(100% - 20px);
    }
    
    .gallery-item {
        flex: 0 0 calc(100% - 20px);
    }
    
    .client-logo {
        flex: 0 0 calc(50% - 20px);
    }
} 