/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0066cc;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.language-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-switch a {
    margin: 0 5px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.language-switch a:hover {
    color: #0066cc;
}

.language-switch span {
    color: #999;
    font-size: 14px;
}

.hero {
    position: relative;
    height: 620px;
    background-image: url('https://placeholder.com/1920x500');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: left;
    padding: 0 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

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

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

section {
    padding: 50px;
    margin: 0;
    background-color: #fff;
}

.section-title {
    font-size: 1em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #0066cc;
}

section p {
    margin: 15px 0;
    color: #666;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
}

.btn-outline:hover {
    background-color: #0066cc;
    color: white;
}

/* 产品卡片样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    height: 400px;
    background-color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-info h4 {
    color: #0066cc;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1em;
}

.product-info ul {
    margin: 15px 0;
    padding-left: 20px;
    font-size: 0.9em;
}

.product-info li {
    margin-bottom: 8px;
    color: #555;
}

.product-info p {
    font-size: 0.9em;
    margin: 15px 0;
    color: #666;
}

/* 证书页面样式 */
.cert-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    padding: 20px;
}

.cert-item {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
}

.cert-item img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    border-radius: 4px;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info h4 {
    color: #0066cc;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-info ul {
    margin: 15px 0;
    padding-left: 20px;
}

.product-info li {
    margin-bottom: 5px;
    color: #555;
}

/* 专利列表样式 */
.patent-list {
    margin: 20px 0;
    padding-left: 20px;
}

.patent-list li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们样式 */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.contact-item {
    /*flex-basis: 30%;*/
    /*margin-bottom: 30px;*/
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
}

.contact-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #090000;
}

/* 页脚样式 */
footer {
    background-color: #004080;
    color: #090000;
    padding: 1px;
    text-align: left;
}

.footer-links {
    display: flex;
    justify-content: right;
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 10px 20px;
        flex-direction: column;
    }
    
    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        height: 400px;
        padding: 0 20px;
    }
    
    section {
        padding: 30px 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }


}
.certificates {
    padding: 40px 0;
}

.certificates .product-image {
    display: inline-block;
    width: 45%;
    margin: 0 2%;
}