﻿@import url('css2.css');

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; 
    color: #212529; 
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
header {
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #212529;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); 
    border-bottom: 1px solid #e9ecef;
    position: sticky; 
    top: 0;
    z-index: 100;
}
header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0056b3; 
}
nav {
    margin-top: 5px;
}
nav a {
    color: #0056b3;
    text-decoration: none;
    margin-right: 28px;
    font-size: 1.05em;
    font-weight: 400;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    padding-bottom: 5px;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    transition: width 0.3s;
}
nav a:hover {
    color: #007bff;
}
nav a.active::after,
nav a:hover::after {
    width: 100%;
}
.banner {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 120px 0;
    height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    background-color: #002244; 
}

.banner-content {
    position: relative;
    z-index: 2; 
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
}

.banner-content h2, .banner h2 {
    font-size: 2.8em;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    font-weight: 700;
}
.banner-content p, .banner p {
    font-size: 1.4em;
    color: #e0e6ed;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}
#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.intro, .services, .advantages, .service-list, .history, .team, .honor, .cases, .news-list, .news-items {
    background: #ffffff;
    margin: 32px 0;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}
.intro:hover, .services:hover, .advantages:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.intro h3, .services h3, .advantages h3, .service-list h3, .history h3, .team h3, .honor h3, .cases h3, .news-list h3 {
    color: #0056b3;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}
ul, ol {
    color: #343a40;
}
footer {
    background: #212529; 
    color: #f8f9fa;
    text-align: center;
    padding: 30px 0;
    font-size: 1em;
    margin-top: 40px;
}
.more-btn, button, input[type="submit"] {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px; 
    text-decoration: none;
    font-size: 1.1em;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 700;
}
.more-btn:hover, button:hover, input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.5);
}
input, textarea {
    background: #fff;
    color: #212529;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1em;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}
.service-item, .case-item, .team-member {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px 18px;
    box-shadow: none;
    border: 1px solid #e9ecef;
    margin-bottom: 18px;
}
.service-item img, .case-item img, .team-member img {
    filter: drop-shadow(0 0 8px #00eaff);
}
.news-items li {
    border-bottom: 1px solid #e9ecef;
    padding: 18px 0;
}
.news-items li:last-child {
    border-bottom: none;
}
.news-date {
    color: #007bff;
    font-size: 1em;
    margin-right: 12px;
}
.news-items a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}
.news-items a:hover {
    color: #007bff;
}
::-webkit-scrollbar {
    width: 8px;
    background: #e9ecef;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 8px;
}
@media (max-width: 700px) {
    .container { width: 95%; }
    .banner { padding: 80px 0; height: 50vh; }
    header { padding: 15px 0; }
    header h1 { font-size: 1.5em; }
    nav a {
        margin-right: 18px !important;
        font-size: 1.2em !important;
        padding: 10px 0 !important;
    }
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .intro, .services, .advantages, .service-list, .history, .team, .honor, .cases, .news-list, .news-items {
        padding: 25px 20px;
    }
}

.typed-cursor {
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
}
@keyframes typedjsBlink {
    50% { opacity: 0.0; }
}


* {
    box-sizing: border-box;
}


.banner-content h2, .banner h2,
.banner-content p, .banner p,
nav a,
.more-btn, button, input[type="submit"] {
    will-change: transform, opacity;
    transform: translateZ(0);
}


body {
    -webkit-overflow-scrolling: touch;
}


img {
    max-width: 100%;
    height: auto;
}


.service-list .container {
    max-width: 1200px;
}

.service-list h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
}

.service-list h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 25px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.5em;
    color: #007bff;
    width: 60px;
    text-align: center;
}

.service-card h4 {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: #0056b3;
}

.service-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}


@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-card h4 {
        margin-top: 15px;
    }
}

.intro, .services, .advantages, .service-list, .history, .team, .honor, .cases, .news-list, .news-items {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.content-section, .card-container, .contact-form {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
}

.card {
    max-width: 1200px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
}

.card h2 {
    color: #0056b3;
}