/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

ul {
    list-style: none;
}

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a3b5d;
    position: relative;
}

.section-header.light h2 {
    color: #fff;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: #0078d4;
    margin: 0 auto;
}

.underline.light {
    background-color: #fff;
}

.btn-primary {
    display: inline-block;
    background-color: #0078d4;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #005fa3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

#logo-img {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #1a3b5d;
    font-weight: 600;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0078d4;
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #0078d4;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 横幅区域 */
.hero {
    height: 80vh;
    background-image: url('https://www.hljjfzx.com/static/upload/image/20250818/1755477619299158.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

/* 关于我们部分 */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a3b5d;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.company-features {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 150px;
    margin: 10px;
    padding: 20px 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2rem;
    color: #0078d4;
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
    color: #1a3b5d;
}

/* 核心优势 */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a3b5d, #0078d4);
    color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-circle i {
    font-size: 2rem;
}

.advantage-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* 服务内容 */
.services-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #e6f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: #0078d4;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1a3b5d;
}

.service-card p {
    color: #666;
}

/* 科技创新 */
.technology-section {
    padding: 100px 0;
    background-color: #fff;
}

.tech-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.tech-text {
    flex: 1;
}

.tech-image {
    flex: 1;
}

.tech-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a3b5d;
}

.tech-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.tech-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0078d4;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* 公司使命 */
.mission-section {
    padding: 100px 0;
    background-image: url('../images/mission-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 59, 93, 0.85), rgba(0, 120, 212, 0.85));
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.mission-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 页脚 */
footer {
    background-color: #1a3b5d;
    color: #fff;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-links,
.footer-services,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #0078d4;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0078d4;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #0078d4;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-content,
    .tech-content {
        flex-direction: column;
    }

    .about-image,
    .about-text,
    .tech-image,
    .tech-text {
        flex: none;
        width: 100%;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .tech-image {
        order: -1;
        margin-bottom: 30px;
    }
}

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

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .contact-content {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        flex: none;
        width: 100%;
    }

    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    #logo-img {
        height: 40px;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-section,
    .advantages-section,
    .services-section,
    .technology-section,
    .mission-section,
    .contact-section {
        padding: 60px 0;
    }

    .company-features,
    .tech-stats {
        flex-direction: column;
    }

    .feature,
    .stat-item {
        margin-bottom: 20px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        display: none;
    }

    .footer-services {
        display: none;
    }
}

.page-hero {
    background-color: #f5f7fb;
    background-image: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #eef0f2;
    padding: 24px 0;
}
@media (min-width: 576px) {
    .page-hero { padding: 28px 0; }
}
@media (min-width: 992px) {
    .page-hero { padding: 40px 0 28px; }
}

/* 新页脚布局 */
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.footer-left {
    flex: 0 0 auto;
    min-width: 180px;
}
.footer-logo-img {
    height: 64px;
    width: auto;
    display: block;
}
.footer-right {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: auto 1fr; /* 左列二维码，右列信息 */
    gap: 16px 24px;
    align-items: flex-start;
}
.footer-right .qr-col img.footer-wechat {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 6px;
}
.footer-right .info-col {
    display: grid;
    grid-auto-rows: minmax(24px, auto);
    gap: 10px;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-row .label {
    width: 56px;           /* 固定标签宽度，冒号右对齐 */
    flex: 0 0 56px;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
}
.info-row .value {
    flex: 1 1 auto;
    color: #fff;
    line-height: 1.8;
    word-break: break-word;
}

/* 移动端优化 */
@media (max-width: 576px) {
    .footer-right {
        grid-template-columns: 1fr; /* 二维码置顶，信息在下 */
    }
    .footer-right .qr-col {
        margin-bottom: 6px;
    }
    .footer-left {
        min-width: 140px;
    }
    .footer-logo-img {
        height: 56px;
    }
}
