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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* 顶部栏样式 */
.top-bar {
    background-color: #003366;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
}
.contact-info span,
.Office-Resources a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.Office-Resources a:hover {
    color: #f39c12;
}

.language-selector a {
    margin-left: 10px;
}

/* 主导航栏样式 */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: relative;
}

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

.logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    transition: color 0.3s;
    display: block;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #f39c12;
}

.social-links a {
    color: #666;
    margin-left: 15px;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #f39c12;
}

/* 英雄区域样式 */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('a/about.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    width: 100%;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slogan {
    font-size: 24px;
    color: #f39c12;
    font-weight: bold;
}

/* 产品区域样式 */
.products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #003366;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px;
    color: #003366;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-content > * {
        width: 100%;
        max-width: 100%;
    }
}
.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

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

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li:last-child {
    margin-bottom: 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: #f39c12;
}

@media (max-width: 768px) {
    .footer-section {
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-section:last-child {
        margin-bottom: 20px;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section ul li {
        margin-bottom: 15px;
    }

    .footer-section .social-icons {
        justify-content: center;
    }
}
.social-icons a {
    margin-right: 15px;
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

/* 固定底栏样式 */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 0;
    font-size: 12px;
    z-index: 1000;
}

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

.beian-info {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
}

.footer-bottom {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.friend-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.beian-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.beian-info a:hover {
    color: #f39c12;
}

.beian-info img {
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

.friend-links {
    display: flex;
    gap: 15px;
}

.friend-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.friend-links a:hover {
    color: #f39c12;
}

/* 汉堡菜单按钮样式 */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #003366;
    z-index: 1001;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .main-nav .container {
        padding: 10px 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    /* 内容区域优化 */
    .hero {
        height: 400px;
        padding: 20px 0;
    }

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

    .slogan {
        font-size: 18px;
        padding: 0 15px;
    }

    .products {
        padding: 40px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    /* 页脚优化 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }

    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-section ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 0 auto;
    }

    .footer-section ul li {
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }

    .footer-section ul li a {
        display: inline-block;
        padding: 5px 0;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    /* 固定底栏优化 */
    .fixed-bottom-bar {
        padding: 10px 0;
    }

    .fixed-bottom-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .beian-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .friend-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        padding: 10px 0;

    }
    .social-links a {
        font-size: 20px;
        margin-left: 0;
    }

    /* 固定底栏优化 */
    .fixed-bottom-bar {
        padding: 10px 0;
    }

    .fixed-bottom-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .beian-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .friend-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .contact-info span {
        margin-right: 0;
        text-align: center;
    }

    .language-selector {
        margin-top: 8px;
    }
}