/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #001269;
    --secondary-color: #002894;
    --accent-color: #e6a817;
    --text-color: #2d3748;
    --light-text: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo h1 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    white-space: nowrap;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-color);
    font-size: 15px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 70px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0,18,105,0.15) 0%,
        rgba(0,18,105,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content > p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-services span {
    background: rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c99615;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
}

.hero-stat .stat-txt {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c99615;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 168, 23, 0.4);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features h2,
.services-preview h2,
.team-section h2,
.contact-section h2,
.map-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: var(--light-text);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--light-text);
}

/* Page Hero */
.page-hero {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 70px;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--light-text);
    margin-top: 5px;
}

/* Values Section */
.team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
}

.value-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--light-text);
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-detail-icon {
    font-size: 60px;
    flex-shrink: 0;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.service-subtitle {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-detail-content ul {
    list-style: disc;
    padding-left: 20px;
}

.service-detail-content li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
}

.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-placeholder {
    height: 400px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section li {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-grid,
    .service-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        flex-direction: column;
        text-align: center;
    }

    .service-detail-card.reverse {
        flex-direction: column;
    }

    .service-detail-icon {
        margin-bottom: 20px;
    }

    .service-detail-content ul {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .feature-grid,
    .service-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.service-card,
.value-card,
.service-detail-card {
    animation: fadeInUp 0.6s ease forwards;
}
