/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 70px;
    display: flex;
    align-items: center;
    background-color: #fff;

}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    margin-right: 2rem;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3182CE;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #0A2463;
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #0A2463 0%, #2D3748 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-slogan {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: #3182CE;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.4);
}

/* 粒子动效 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* 通用区块样式 */
section {
    padding: 100px 0 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0A2463;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #3182CE;
    border-radius: 2px;
}

/* 企业服务样式 */
.services {
    background-color: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #3182CE;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A2463;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* 学生专区样式 */
.student {
    background-color: #ffffff;
}

.student-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.student-services {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.student-service {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.student-service h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A2463;
}

.student-service p {
    color: #4a5568;
    line-height: 1.6;
}

.student-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #0A2463;
}

.student-cta ul {
    list-style: none;
    margin-bottom: 2rem;
}

.student-cta li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.student-cta li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3182CE;
    font-weight: bold;
}

/* 案例展示样式 */
.cases {
    background-color: #f7fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.case-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A2463;
}

.case-content p {
    color: #4a5568;
    line-height: 1.6;
}

/* 关于我们样式 */
.about {
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* 联系我们样式 */
.contact {
    background-color: #f7fafc;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #0A2463;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.contact-qrcode {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-qrcode h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #0A2463;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    background-color: #ffffff;
}

.qrcode-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0A2463;
    margin-top: 0.5rem;
}



/* 页脚样式 */
.footer {
    background-color: #0A2463;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
    margin: 0.5rem 0;
}

.icp-info a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.icp-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .banner {
        padding: 120px 0 60px;
    }

    .banner-slogan {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .student-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .banner-slogan {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .student-service,
    .contact-form {
        padding: 1.5rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 图片放大模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* 案例图片添加点击指针 */
.case-img img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.case-img img:hover {
    transform: scale(1.05);
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}