/* 
 * Favicon is located at /favicon.ico
 * It is generated from the company logo (Logo.jpg)
 * Supported formats: .ico, .png, .svg
 */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo img {
    height: 70px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #0056b3;
    margin: 3px 0;
    transition: 0.3s;
}

/* Animation for hamburger icon */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    position: relative;
    margin-left: 0.5rem;
}

.main-nav ul li a {
    display: block;
    padding: 1rem 1.2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-nav ul li a:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

/* Dropdown styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    width: 600px; /* 增加宽度以容纳多列 */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    right: 0; /* 改为right: 0，使菜单右对齐 */
    left: auto; /* 取消left属性 */
    padding: 10px;
    column-count: 2; /* 设置为两列 */
    column-gap: 20px; /* 列间距 */
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px; /* 统一padding */
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    break-inside: avoid; /* 防止菜单项被分割到不同列 */
    line-height: 1.4; /* 增加行高以改善文本和标签的垂直间距 */
    min-height: 48px; /* 设置最小高度确保一致性 */
    box-sizing: border-box; /* 确保padding包含在高度计算中 */
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 文本和标签两端对齐 */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown.active .dropdown-content {
    display: block;
}

/* 为dropdown中的tag添加样式 */
.dropdown-content .tag {
    margin-left: 8px; /* 在文本和第一个tag之间添加间距 */
    margin-right: 4px; /* 在相邻tag之间添加间距 */
    margin-top: 2px; /* 垂直居中调整 */
    vertical-align: middle; /* 垂直居中 */
}

/* Language switch */
.lang-switch {
    margin-left: auto;
}

.lang-switch a {
    text-decoration: none;
    color: #0056b3;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #0056b3;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: block;
    background-color: transparent;
}

.lang-switch a:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0056b3 0%, #009e47 100%), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.85) 0%, rgba(0, 158, 71, 0.85) 100%);
    z-index: -1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn.primary {
    background-color: #ffffff;
    color: #0056b3;
}

.btn.primary:hover {
    background-color: #e6f0ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Featured products section */
.featured-products {
    padding: 3rem 0;
    background-color: #fff;
    margin-bottom: 3rem;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2rem;
    position: relative;
}

.featured-products h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* Product sections (cn-products and eu-products) */
.cn-products,
.eu-products {
    padding: 4rem 0;
    background-color: #fff;
    margin-bottom: 3rem;
    scroll-margin-top: 80px; /* 防止标题被固定导航栏遮挡 */
}

.cn-products h2,
.eu-products h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #0056b3;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    letter-spacing: 1px;
}

.cn-products h2::after,
.eu-products h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: #0056b3;
    margin: 0.8rem auto;
    border-radius: 3px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-link:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: #0056b3; /* 更改颜色为网站主题蓝色，更符合新能源主题 */
    font-weight: 600; /* 增加字重使标题更突出 */
}

/* 确保产品标题链接无论是否被访问过都保持一致的样式 */
.product-content h3 a,
.product-content h3 a:visited,
.product-content h3 a:hover,
.product-content h3 a:active {
    color: #0056b3; /* 使用与标题一致的主题蓝色 */
    text-decoration: none;
}

.product-content p {
    margin-top: 0.8rem;
    color: #666;
    line-height: 1.7;
}

/* Certifications tags */
.certifications {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    min-height: 1.2rem;
}

.tag {
    display: inline-block;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid #34495e;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.tag:hover {
    background-color: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

/* Company info section */
.company-info {
    padding: 4rem 0;
    background-color: #f1f3f5;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.info-item h3 {
    color: #0056b3;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-item p {
    color: #666;
    line-height: 1.7;
}

/* Company photo section */
.company-photo {
    padding: 3rem 0;
    background-color: #f8f9fa;
    margin-bottom: 3rem;
}

.company-photo h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2rem;
    position: relative;
}

.company-photo h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 0.5rem auto;
    border-radius: 2px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.photo-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Content pages */
.content-page {
    padding: 3rem 0;
    background-color: #fff;
    min-height: 70vh;
}

.content-page .container {
    max-width: 800px;
}

.content-page h1 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.content-page h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 0.5rem 0;
    border-radius: 2px;
}

.content-page h2 {
    margin-top: 1.5rem;
    color: #0056b3;
    font-size: 1.5rem;
}

.content-page p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Corporate Culture Page */
.corporate-culture {
    padding: 3rem 0;
}

.corporate-culture h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.5rem;
    position: relative;
}

.corporate-culture h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    margin: 0.8rem auto;
    border-radius: 2px;
}

.corporate-culture .culture-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.corporate-culture .culture-intro p {
    margin-bottom: 0;
}

.corporate-culture h2 {
    color: #0056b3;
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.corporate-culture h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    border-radius: 2px;
}

.corporate-culture h3 {
    color: #28a745;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

/* 重新设计列表项样式，让同一组的词汇更集中 */
.corporate-culture .culture-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.corporate-culture .culture-category:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #0056b3;
}

/* 文化类别标题样式 */
.corporate-culture .culture-category .category-title {
    margin-top: 0;
    color: #0056b3;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.corporate-culture .culture-category ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0 0;
}

.corporate-culture .culture-category li {
    background: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin: 0;
}

.corporate-culture .culture-category li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #0056b3;
}

.corporate-culture .culture-category li:before {
    content: "•";
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
    font-size: 1.2rem;
}

/* Free-text sections styling */
.corporate-culture .culture-category .free-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    padding: 1rem 0;
    text-align: center;
    border-left: 3px solid #0056b3;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* Special styling for philosophy section - REMOVED to maintain consistency */

@media (max-width: 768px) {
    .corporate-culture h1 {
        font-size: 2rem;
    }
    
    .corporate-culture h2 {
        font-size: 1.5rem;
    }
    
    .corporate-culture .culture-intro {
        font-size: 1rem;
    }
    
    .corporate-culture .culture-category {
        padding: 1.5rem;
    }
    
    .corporate-culture .culture-category ul {
        gap: 0.75rem;
    }
    
    .corporate-culture .culture-category li {
        padding: 0.6rem 1.2rem;
        border-radius: 20px;
    }
    
    /* Hide company name on mobile */
    .company-name-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .corporate-culture h1 {
        font-size: 1.8rem;
    }
    
    .corporate-culture h2 {
        font-size: 1.3rem;
    }
    
    .corporate-culture h1::after,
    .corporate-culture h2::after {
        width: 50px;
    }
    
    .corporate-culture .culture-category {
        padding: 1rem;
    }
    
    .corporate-culture .culture-category ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .corporate-culture .culture-category li {
        padding: 0.5rem 1rem;
        border-radius: 15px;
        justify-content: center;
    }
}

/* Contact Page */
.contact {
    padding: 3rem 0;
}

.contact h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2rem;
    position: relative;
}

.contact h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 0.5rem auto;
    border-radius: 2px;
}

.contact h2 {
    color: #0056b3;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.contact .map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact .map-container iframe {
    border: 0;
    width: 100%;
    height: 450px;
}

.contact a.email-link {
    color: #64a0ff;
    text-decoration: none;
    border-bottom: 1px dotted #64a0ff;
}

.contact a.email-link:hover {
    color: #a0c8ff;
    border-bottom: 1px solid #a0c8ff;
}

.contact a[href^="tel"] {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 1px dotted #0056b3;
}

.contact a[href^="tel"]:hover {
    color: #003d80;
    border-bottom: 1px solid #003d80;
}

/* Events/Milestones Page */
.milestones {
    padding: 3rem 0;
}

.milestones h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.5rem;
    position: relative;
}

.milestones h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    margin: 0.8rem auto;
    border-radius: 2px;
}

.milestones .milestones-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.milestones .milestones-intro p {
    margin-bottom: 0;
}

.milestones h2 {
    color: #0056b3;
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.milestones h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    border-radius: 2px;
}

.milestones ul {
    list-style-type: none;
    padding-left: 0;
}

.milestones li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.milestones li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.milestones li:before {
    content: "•";
    color: #0056b3;
    font-size: 1.5rem;
    position: absolute;
    left: -1rem;
    top: 1.2rem;
}

.milestones p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

@media (max-width: 768px) {
    .milestones h1 {
        font-size: 2rem;
    }
    
    .milestones h2 {
        font-size: 1.5rem;
    }
    
    .milestones .milestones-intro {
        font-size: 1rem;
    }
    
    .milestones li {
        padding: 1rem;
    }
    
    .milestones li:before {
        top: 0.9rem;
    }
}

@media (max-width: 480px) {
    .milestones h1 {
        font-size: 1.8rem;
    }
    
    .milestones h2 {
        font-size: 1.3rem;
    }
    
    .milestones h1::after,
    .milestones h2::after {
        width: 50px;
    }
    
    .milestones li {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Certifications Page */
.certifications {
    padding: 0.1rem 0;
}

.certifications h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.5rem;
    position: relative;
}

.certifications h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    margin: 0.8rem auto;
    border-radius: 2px;
}

.certifications .certifications-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.certifications .certifications-intro p {
    margin-bottom: 0;
}

.certifications h2 {
    color: #0056b3;
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.certifications h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    border-radius: 2px;
}

.certifications-content ul {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.certifications-content li {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.certifications-content li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.certifications-content li:before {
    content: "•";
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
    font-size: 1.2rem;
}

/* Certificates Gallery */
.certificates-gallery h2 {
    text-align: center;
    margin: 3rem 0 2rem;
}

.intellectual-property {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.intellectual-property:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #0056b3;
}

.intellectual-property h2 {
    text-align: center;
    color: #0056b3;
    margin: 0 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.intellectual-property h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #28a745);
    border-radius: 2px;
}

.intellectual-property p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
    margin: 0;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.certificate-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.certificate-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certificate-item:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 1.5rem;
    text-align: center;
}

.certificate-info h3 {
    margin: 0 0 0.5rem;
    color: #333;
    font-size: 1.1rem;
}

.certificate-year {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .certifications h1 {
        font-size: 2rem;
    }
    
    .certifications h2 {
        font-size: 1.5rem;
    }
    
    .certifications .certifications-intro {
        font-size: 1rem;
    }
    
    .certifications-content ul {
        grid-template-columns: 1fr;
    }
    
    .certificate-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .certificate-image {
        height: 200px;
    }
    
    .certificate-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .certifications h1 {
        font-size: 1.8rem;
    }
    
    .certifications h2 {
        font-size: 1.3rem;
    }
    
    .certifications h1::after,
    .certifications h2::after {
        width: 50px;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-image {
        height: 180px;
    }
}

/* Product detail page styles */
.product-detail {
  padding: 40px 0;
}

.product-detail h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #0056b3;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.product-detail h1::after {
  content: '';
  display: block;
  width: fit-content;
  height: 4px;
  background-color: #3498db;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.product-detail h2 {
  color: #3498db;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

.product-detail h3 {
  color: #2c3e50;
  margin-top: 25px;
}

.product-detail p {
  line-height: 1.6;
  color: #333;
}

.product-detail ul {
  padding-left: 20px;
}

.product-detail li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.product-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Image carousel styles */
.image-carousel {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.carousel-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background-color: #ffffff;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* FAQ styles */
.faq-section {
  margin-top: 40px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.faq-list {
  margin-top: 15px;
}

.faq-question {
  font-weight: bold;
  margin-top: 15px;
  padding: 15px;
  background-color: #f5f5f5;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #e9e9e9;
}

.faq-answer {
  padding: 15px;
  display: none;
  background-color: #fafafa;
  border-left: 4px solid #3498db;
  margin-top: 5px;
  border-radius: 0 5px 5px 0;
}

.faq-question.active + .faq-answer {
  display: block;
}

/* Product features list styles */
.product-features ul {
  padding-left: 20px;
}

.product-features li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .product-detail {
    padding: 20px 0;
  }
  
  .carousel-slider {
    height: 250px;
  }
  
  table, thead, tbody, th, td, tr {
    display: block;
  }
  
  thead {
    display: none;
  }
  
  tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }
  
  td {
    position: relative;
    padding: 10px 10px 10px 40%;
    border: none;
    border-bottom: 1px solid #ddd;
  }
  
  td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    text-align: left;
  }
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #0056b3;
}

.faq-list {
    margin: 0;
    padding: 0;
}

.faq-list dt {
    font-weight: bold;
    color: #0056b3;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    padding-left: 2rem; /* 增加左内边距以适应图标 */
    line-height: 1.5; /* 确保行高一致 */
    display: flex; /* 使用flex布局 */
    align-items: flex-start; /* 顶部对齐 */
}

.faq-list dt:before {
    content: "+";
    display: inline-flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    width: 1.5rem; /* 增加宽度 */
    height: 1.5rem; /* 增加高度 */
    text-align: center;
    border: 1px solid #0056b3;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0; /* 防止图标被压缩 */
    margin-right: 0.5rem; /* 图标与文本之间的间距 */
}

.faq-list dt.active:before {
    content: "-";
}

.faq-list dd {
    margin: 0.5rem 0 2rem; /* 调整左边距以对齐内容 */
    padding: 0 0 1rem 1rem;
    color: #444;
    line-height: 1.7;
    border-bottom: 1px solid #e9ecef;
}

.faq-list dd:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-list dd p {
    margin: 0;
}

/* 改进FAQ中的列表样式，使其在视觉上形成独立的组 */
.faq-list dd ul {
    margin: 0.2rem 0;
    padding-left: 1.2rem;
}

.faq-list dd ul:first-child {
    margin-top: 0.5rem;
}

.faq-list dd ul:last-child {
    margin-bottom: 0.5rem;
}

.faq-list dd li {
    margin-bottom: 0.2rem; /* 减小li之间的间距 */
    padding-bottom: 0.2rem; /* 减小li之间的间距 */
    border-bottom: 1px dashed #e9ecef;
}

.faq-list dd li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-list dd li strong {
    display: inline-block; /* 改为inline-block而不是block */
    margin-bottom: 0.3rem;
    color: #0056b3;
}

/* 当strong标签后有冒号时，确保它们在同一行 */
.faq-list dd li strong:after {
    content: ": ";
}

/* 当段落后面跟着列表时，增加间距以区分不同的内容组 */
.faq-list dd p + ul {
    margin-top: 1.2rem;
}

/* 当列表后面有段落时，增加间距 */
.faq-list dd ul + p {
    margin-top: 2.2rem;
}

@media (max-width: 768px) {
    .product-detail h1 {
        font-size: 2rem;
    }
    
    .product-detail h2 {
        font-size: 1.5rem;
    }
    
    .product-detail h3 {
        font-size: 1.2rem;
    }
    
    .faq-section {
        padding: 1.5rem;
    }
    
    .faq-list dt {
        font-size: 1rem;
    }
    
    /* 在移动端保持相同的列表样式 */
    .faq-list dd ul {
        padding-left: 1rem;
    }
    
    .faq-list dd li {
        margin-bottom: 0.7rem;
        padding-bottom: 0.7rem;
    }
}

@media (max-width: 480px) {
    .product-detail h1 {
        font-size: 1.8rem;
    }
    
    .product-detail h2 {
        font-size: 1.3rem;
    }
    
    .product-detail h1::after,
    .product-detail h2::after {
        width: 50px;
    }
    
    .faq-section {
        padding: 1rem;
    }
    
    .faq-list dd {
        margin-left: 1rem;
    }
}

/* Footer */
footer {
    background-color: #212529;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 50px;
}

.footer-info p {
    margin: 0.3rem 0;
    color: #adb5bd;
}

.contact-info {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #adb5bd;
}

.contact-info.email a {
    color: #64a0ff;
    text-decoration: none;
    border-bottom: 1px dotted #64a0ff;
}

.contact-info.email a:hover {
    color: #a0c8ff;
    border-bottom: 1px solid #a0c8ff;
}

.contact-info.phone a {
    color: #adb5bd;
    text-decoration: none;
    border-bottom: 1px dotted #adb5bd;
}

.contact-info.phone a:hover {
    color: white;
    border-bottom: 1px solid white;
}

.beian-info {
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

.beian-info a {
    color: #adb5bd;
    text-decoration: none;
    border-bottom: 1px dotted #adb5bd;
}

.beian-info a:hover {
    color: white;
    border-bottom: 1px solid white;
}

/* Responsive design */
@media (max-width: 992px) {
    .corporate-culture h1 {
        font-size: 1.8rem;
    }
    
    .corporate-culture h2 {
        font-size: 1.4rem;
    }
    
    .corporate-culture h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .corporate-culture {
        padding: 2rem 0;
    }
    
    .corporate-culture h1 {
        font-size: 1.6rem;
    }
    
    .corporate-culture h2 {
        font-size: 1.3rem;
    }
    
    .corporate-culture h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .corporate-culture h1 {
        font-size: 1.5rem;
    }
    
    .corporate-culture h2 {
        font-size: 1.2rem;
    }
    
    .corporate-culture h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .featured-products {
        padding: 3rem 0;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .company-photos .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .company-photo {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 1rem 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: relative;
    }
    
    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        width: 70%;
        height: 100vh;
        overflow-y: auto;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        background-color: #fff;
        -webkit-transition: right 0.3s ease, transform 0.3s ease;
        -moz-transition: right 0.3s ease, transform 0.3s ease;
        transition: right 0.3s ease, transform 0.3s ease;
        margin: 0;
        padding: 80px 0 0 0;
        z-index: 100;
        border-left: 1px solid #eee;
        display: block;
        transform: translateX(0); /* 确保初始状态下没有额外的transform影响 */
    }
    
    .main-nav ul.show,
    .main-nav ul.mobile-show,
    .main-nav.mobile-show ul {
        right: 0;
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        -moz-transform: translateX(0) !important;
    }
    
    .main-nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav ul li a {
        padding: 0.8rem 1.2rem; /* 减少内边距，更适合小屏幕 */
        border-radius: 0;
        font-size: 0.95rem; /* 稍微减小字体 */
    }
    
    .dropdown-content {
        position: static;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 0.5rem 1.5rem;
        display: none;
        background-color: #f8f9fa;
        margin-left: 1.5rem;
        border-left: 3px solid #0056b3;
        column-count: 1; /* 移动端强制单列显示 */
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .lang-switch {
        margin: 0.75rem 1.2rem; /* 减少语言切换按钮的外边距 */
        position: relative;
        z-index: 101;
    }
    
    .lang-switch a {
        text-align: center;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
        max-width: 250px;
    }
    
    .featured-products {
        padding: 2rem 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-info {
        padding: 2rem 0;
    }
    
    .content-page {
        padding: 1.5rem 0;
    }
    
    .content-page .container {
        padding: 0 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .company-photo {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .main-nav ul {
        width: 100vw; /* 确保菜单占满整个视口宽度 */
        padding-top: 70px;
        right: -100vw; /* 使用视口宽度作为单位，确保完全隐藏 */
        transition: right 0.3s ease, transform 0.3s ease; /* 添加transform过渡 */
    }
    
    .main-nav ul.show {
        right: 0;
        transform: translateX(0); /* 确保平滑滑入 */
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .featured-products h2 {
        font-size: 1.5rem;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card p {
        font-size: 0.9rem;
    }
    
    .company-info h2 {
        font-size: 1.5rem;
    }
    
    .company-photos .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .content-page h1 {
        font-size: 1.5rem;
    }
    
    .content-page h2 {
        font-size: 1.3rem;
    }
    
    .content-page p {
        font-size: 0.9rem;
    }
}

/* Electric Vessel Benefits Section */
.electric-vessel-benefits {
    background-color: #fff;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.electric-vessel-benefits .benefits-content h2 {
    text-align: center;
    color: #0056b3;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.electric-vessel-benefits .benefits-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: #0056b3;
    margin: 0.8rem auto;
    border-radius: 3px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.benefit-item h3 {
    color: #0056b3;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
}

/* Company Strengths Section */
.company-strengths {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.company-strengths .strengths-content h2 {
    text-align: center;
    color: #0056b3;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.company-strengths .strengths-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: #0056b3;
    margin: 0.8rem auto;
    border-radius: 3px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

.strength-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.strength-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.strength-item h3 {
    color: #0056b3;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.strength-item p {
    color: #666;
    line-height: 1.7;
}

/* 友情链接样式 */
/*
.friendly-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}
*/

.friendly-links p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #adb5bd;
    font-size: 1.1rem;
}

.friendly-links ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.friendly-links li {
    list-style: none !important;
    margin: 5px 10px;
}

.friendly-links li {
    margin: 5px 10px;
}

.friendly-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.friendly-links a:hover {
    color: #0056b3;
    transform: translateY(-2px);
}

.friendly-links a.external-link {
    background-color: transparent;
    border: none;
    padding: 5px;
    border-radius: 0;
    color: #333;
    font-weight: normal;
}

.friendly-links a.external-link:hover {
    background-color: transparent;
    transform: translateY(-2px);
}

.friendly-links .friend-name {
    color: #adb5bd;
}

.friendly-links img {
    height: 50px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .friendly-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .friendly-links li {
        margin: 5px 0;
        width: 100%;
        max-width: 250px;
        display: flex;
        justify-content: center;
    }

    .friendly-links a {
        justify-content: center;
    }

    .friendly-links img {
        margin-right: 0;
    }
}
