:root {
    --primary: #4caf92;
    --primary-light: #4dc6ac;
    --primary-dark: #006e58;
    --secondary: #29b6f6;
    --accent: #ff9800;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

/* banner区域样式 */
.certifications-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.certifications-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.certifications-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.certifications-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.2rem;
}

/* 分类筛选 */
/* .certification-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--light);
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
} */

/* 图片展示网格样式 */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.certification-item {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.certification-img {
    width: 100%;
    height: 396px;
    object-fit: cover;
    cursor: pointer;
}

.certification-info {
    padding: 20px;
}

.certification-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.certification-info p {
    color: #666;
    font-size: 0.95rem;
}

/* 模态框样式 */
/* .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
} */

/* 响应式设计 */
@media (max-width: 768px) {
    .certifications-hero h1 {
        font-size: 2rem;
    }

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

    .certifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}