* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #fff;
    font-size: 15px;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: #1e5aa8;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0f3f7d;
}

img {
    max-width: 100%;
    display: block;
}

/* ==== Header ==== */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eaecef;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a2a42;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1e5aa8 0%, #2e7dd9 100%);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 38px;
}

.nav a {
    color: #555;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
    font-weight: 400;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1e5aa8;
    transition: width 0.25s;
}

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

.nav a:hover,
.nav a.active {
    color: #1e5aa8;
}

/* ==== Hero ==== */
.hero {
    background:
        linear-gradient(135deg, rgba(15, 63, 125, 0.82) 0%, rgba(30, 90, 168, 0.72) 60%, rgba(46, 125, 217, 0.6) 100%),
        url("../images/hero.jpg") center/cover no-repeat;
    color: #fff;
    padding: 130px 0 150px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    bottom: -150px;
    left: -80px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.3;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==== Buttons ==== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}

.btn-primary {
    background-color: #1e5aa8;
    color: #fff;
    border-color: #1e5aa8;
}

.btn-primary:hover {
    background-color: #0f3f7d;
    border-color: #0f3f7d;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* ==== Stats ==== */
.stats {
    background-color: #fff;
    padding: 50px 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(15, 63, 125, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 36px 20px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid #eaecef;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 38px;
    color: #1e5aa8;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-num sup {
    font-size: 20px;
    margin-left: 2px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* ==== Section Head ==== */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head h2 {
    font-size: 30px;
    color: #1a2a42;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-head p {
    color: #777;
    font-size: 15px;
}

/* ==== Services Section ==== */
.services-section {
    padding: 80px 0;
    background-color: #f7f9fc;
}

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

.service-card {
    background-color: #fff;
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid #eef1f5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(30, 90, 168, 0.12);
    border-color: #d7e2f0;
}

.service-card .service-cover {
    width: 100%;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.service-card .service-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(26, 42, 66, 0.35) 100%);
}

.service-card .service-body {
    padding: 26px 24px 28px;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e7f0fc 0%, #d7e2f0 100%);
    color: #1e5aa8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    color: #1a2a42;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.75;
}

/* ==== Why Us ==== */
.why-us {
    padding: 80px 0;
    background-color: #fff;
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    border-top: 3px solid #1e5aa8;
    background-color: #f7f9fc;
    border-radius: 0 0 6px 6px;
    transition: transform 0.2s;
}

.advantage-item:hover {
    transform: translateY(-4px);
}

.advantage-item h3 {
    font-size: 18px;
    color: #1a2a42;
    margin-bottom: 12px;
    font-weight: 600;
}

.advantage-item p {
    color: #777;
    font-size: 14px;
}

/* ==== CTA ==== */
.cta {
    background: linear-gradient(135deg, #1a2a42 0%, #1e5aa8 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.cta h2 {
    font-size: 28px;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 26px;
}

.cta .btn-primary {
    background-color: #fff;
    color: #1e5aa8;
    border-color: #fff;
}

.cta .btn-primary:hover {
    background-color: #f7f9fc;
    color: #0f3f7d;
}

/* ==== Page Banner ==== */
.page-banner {
    background:
        linear-gradient(135deg, rgba(26, 42, 66, 0.85) 0%, rgba(30, 90, 168, 0.8) 100%),
        url("../images/banner.jpg") center/cover no-repeat;
    color: #fff;
    padding: 90px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.page-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
}

/* ==== About Page ==== */
.about-intro {
    padding: 70px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-image {
    width: 100%;
    border-radius: 6px;
    display: block;
    box-shadow: 0 8px 24px rgba(15, 63, 125, 0.12);
    margin-bottom: 24px;
}

.intro-text h2 {
    font-size: 26px;
    color: #1a2a42;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1e5aa8;
    display: inline-block;
    font-weight: 600;
}

.intro-text p {
    color: #555;
    margin-bottom: 14px;
    line-height: 1.85;
    text-indent: 2em;
}

.info-box {
    background-color: #f7f9fc;
    padding: 28px;
    border-radius: 6px;
    border-left: 4px solid #1e5aa8;
}

.info-box h3 {
    font-size: 18px;
    color: #1a2a42;
    margin-bottom: 18px;
    font-weight: 600;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #dde3eb;
    color: #333;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li span {
    color: #888;
}

/* ==== Culture ==== */
.culture {
    background-color: #f7f9fc;
    padding: 70px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.culture-card {
    background-color: #fff;
    padding: 36px 28px;
    border-radius: 6px;
    text-align: center;
    border-top: 4px solid #1e5aa8;
}

.culture-card h3 {
    font-size: 20px;
    color: #1a2a42;
    margin-bottom: 14px;
    font-weight: 600;
}

.culture-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* ==== Timeline ==== */
.history {
    padding: 70px 0;
}

.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: #d7e2f0;
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -39px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #1e5aa8;
}

.timeline-year {
    font-size: 20px;
    color: #1e5aa8;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: Menlo, Consolas, monospace;
}

.timeline-content h4 {
    font-size: 17px;
    color: #1a2a42;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
}

/* ==== Service Detail ==== */
.service-detail {
    padding: 70px 0;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
    border-bottom: 1px dashed #e5ebf3;
    align-items: center;
}

.service-block:last-child {
    border-bottom: none;
}

.service-block.reverse {
    background-color: #f7f9fc;
    padding: 50px 40px;
    border-radius: 6px;
    border-bottom: none;
    margin: 20px 0;
}

.service-block.reverse .service-media {
    order: 2;
}

.service-media {
    width: 100%;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(15, 63, 125, 0.12);
    position: relative;
    overflow: hidden;
}

.service-media .service-number {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 58px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-family: Menlo, Consolas, monospace;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}


.service-content h2 {
    font-size: 24px;
    color: #1a2a42;
    margin-bottom: 14px;
    font-weight: 600;
}

.service-intro {
    color: #555;
    line-height: 1.85;
    margin-bottom: 20px;
}

.service-content h4 {
    font-size: 15px;
    color: #1a2a42;
    margin-bottom: 12px;
    font-weight: 600;
    padding-left: 10px;
    border-left: 3px solid #1e5aa8;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.service-list li {
    color: #555;
    font-size: 14px;
    padding-left: 18px;
    position: relative;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e5aa8;
    font-weight: bold;
}

/* ==== News ==== */
.news-section {
    padding: 60px 0;
}

.news-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 12px;
}

.news-tabs .tab {
    color: #666;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -13px;
}

.news-tabs .tab.active {
    color: #1e5aa8;
    border-bottom-color: #1e5aa8;
    font-weight: 500;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    padding: 24px 20px;
    border-bottom: 1px solid #eaecef;
    transition: background-color 0.2s;
    align-items: start;
}

.news-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.news-item:hover {
    background-color: #f7f9fc;
}

.news-date {
    text-align: center;
    padding: 10px;
    background-color: #f7f9fc;
    border-radius: 4px;
    height: fit-content;
}

.news-date .day {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #1e5aa8;
    line-height: 1.1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.news-body h3 {
    font-size: 17px;
    margin: 6px 0 10px;
    font-weight: 600;
}

.news-body h3 a {
    color: #1a2a42;
}

.news-body h3 a:hover {
    color: #1e5aa8;
}

.news-body p {
    color: #777;
    font-size: 14px;
    line-height: 1.75;
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    color: #1e5aa8;
    background-color: #e7f0fc;
    padding: 3px 12px;
    border-radius: 12px;
}

.news-date-inline {
    display: block;
    margin-top: 10px;
    color: #999;
    font-size: 13px;
    font-family: Menlo, Consolas, monospace;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e5ec;
    color: #666;
    border-radius: 4px;
    font-size: 14px;
    min-width: 38px;
    text-align: center;
}

.page-btn:hover,
.page-btn.active {
    background-color: #1e5aa8;
    border-color: #1e5aa8;
    color: #fff;
}

/* ==== Contact ==== */
.contact-section {
    padding: 70px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: #fff;
    padding: 32px 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #eaecef;
    transition: all 0.25s;
}

.contact-card:hover {
    border-color: #1e5aa8;
    box-shadow: 0 6px 20px rgba(30, 90, 168, 0.08);
}

.contact-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #e7f0fc 0%, #d7e2f0 100%);
    color: #1e5aa8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.contact-card h3 {
    font-size: 16px;
    color: #1a2a42;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-value {
    color: #1e5aa8;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-note {
    color: #999;
    font-size: 13px;
}

.contact-form-wrap {
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 50px;
    margin-bottom: 40px;
}

.form-head {
    text-align: center;
    margin-bottom: 36px;
}

.form-head h2 {
    font-size: 24px;
    color: #1a2a42;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-head p {
    color: #777;
}

.contact-form {
    max-width: 680px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.form-field {
    margin-bottom: 18px;
}

.form-row .form-field {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dde3eb;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1e5aa8;
}

.form-field textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.contact-note-box {
    background-color: #fff;
    padding: 36px;
    border-radius: 8px;
    border: 1px solid #eaecef;
}

.contact-note-box h3 {
    font-size: 18px;
    color: #1a2a42;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 3px solid #1e5aa8;
    font-weight: 600;
}

.plain-list {
    list-style: none;
    padding-left: 0;
}

.plain-list li {
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.plain-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #1e5aa8;
    font-size: 10px;
    top: 3px;
}

/* ==== Footer ==== */
.footer {
    background-color: #1a2a42;
    color: #a8b5c8;
    padding: 56px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-col p {
    color: #8a98ad;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    color: #8a98ad;
    line-height: 1.6;
}

.footer-col ul li a {
    color: #8a98ad;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.contact-list li {
    font-size: 13px;
}

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    color: #8a98ad;
    font-size: 13px;
}

.footer-bottom p {
    margin: 4px 0;
}

.footer-bottom a {
    color: #8a98ad;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ==== Responsive ==== */
@media (max-width: 960px) {
    .stats-grid,
    .service-grid,
    .advantage-grid,
    .culture-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .service-block {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-block.reverse .service-media {
        order: 0;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 180px 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .header .container {
        flex-direction: column;
        gap: 14px;
    }

    .nav ul {
        gap: 20px;
    }

    .hero {
        padding: 70px 0 90px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .stats-grid,
    .service-grid,
    .advantage-grid,
    .culture-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eaecef;
        padding: 16px 0;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap,
    .contact-note-box {
        padding: 28px 20px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -29px;
    }
}
