:root {
    --primary: #0a2463;
    --secondary: #1e88e5;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* 导航栏样式 */

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, white, white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: blue;
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 10px;
}

.logo-icon {
    width: 217px;
    height: 67px;
     /* background: #ff6b6b;*/
    background: url('/static/images/index/logo.png') center/cover;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links > li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    /*color: rgba(255,255,255,0.9);*/
    color:rgba(0, 0, 0, 0.9);/*黑色*/
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: black;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.nav-links a i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    color: #444;
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
    color: #0a2463;
    background: #f0f4f8;
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 10px;
    color: #1e88e5;
    font-size: 0.9rem;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* 移动端菜单切换 */
.menu-toggle {
    display: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
}


/* 英雄区域 */
.hero {
    /*background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.9)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;*/
    background:    linear-gradient(rgba(10, 36, 99, 0.3), rgba(10, 36, 99, 0.4)),  /* 透明度降至30%-40% */
    url('/static/images/index/index01.png') center/cover;
    color: white;
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto;
    border-radius: 2px;
}

/* 关于部分 */
.about-section {
    padding: 50px 5%;
    /*background: white;*/
    background:#f0f4f8;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;

}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    /*gap: 40px;*/
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    color: white;
}


.about-text h3 {
    /*font-size: 1.8rem;*/
    font-size: 2.5rem;
    color: var(--primary);
    /*line-height: 1.2;*/
    margin-bottom: 2px;
    margin-left: 5%;
}
.centered {
    text-align: center;
}

.about-text p {
    margin-bottom: 5%;
    margin-left: 5%;
    margin-right: 5%;
    color: #444;
    font-size: 18px;
}


/*.highlight {*/
/*    background: linear-gradient(120deg, rgba(30,136,229,0.1), transparent);*/
/*    padding: 25px;*/
/*    border-left: 4px solid var(--secondary);*/
/*    margin: 30px 0;*/
/*    border-radius: 0 8px 8px 0;*/
/*}*/

.about-image1 {
    flex: 1;
    /*border-radius: 10px;*/
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    height: 500px;
    background: url('/static/images/index/index02.png') center/cover;
}

.about-image2 {
    flex: 1;
    /*border-radius: 10px;*/
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    height: 540px;
    background: url('/static/images/index/index03.png') center/cover;
}

.about-image3 {
    flex: 1;
    /*border-radius: 10px;*/
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    /*height: 440px;*/
    min-height: 480px;
    background: url('/static/images/index/3ougv4ma.png') repeat-x; /* 横向平铺 */
    background-size: auto auto; /* 高度占满，宽度自动适应 */
}

.about-image4 {
    flex: 1;
    /*border-radius: 10px;*/
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    height: 860px;
    background: url('/static/images/index/weewd.png') center/cover;
}





/* 服务部分 */
.services {
    padding: 80px 5%;
    background: #f0f4f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* 客户部分 */
.clients {
    padding: 80px 5%;
    background: white;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.client-logo {
    width: 150px;
    height: 80px;
    background: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--gray);
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    color: var(--primary);
}

/* 居中对齐 */
.centered {
    text-align: center;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--primary), #1a365d);
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-column p, .footer-column li {
    opacity: 0.8;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    display: flex;
    align-items: center;
}

.footer-column li i {
    margin-right: 10px;
    color: var(--accent);
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent);
}
.services-grid {
    display: flex;
    justify-content: space-between;
}

.services-grid ul {
    width: 60%; /* 略小于一半宽度以创建间距 */
}




.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}


/* 响应式设计 */
@media (max-width: 992px) {
    .nav-links li {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #0a2463;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links > li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        width: 90%;
        margin: 10px auto 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links li.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 10px;
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
