/* 资质荣誉页面样式 */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
/* ==================== 页面横幅 ==================== */
.page-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.page-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.page-banner-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.page-banner-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 证书展示区域 ==================== */
.cert-section {
    position: relative;
    padding: 100px 50px;
    background: linear-gradient(135deg, #1e5799 0%, #2980b9 50%, #1e5799 100%);
    overflow: hidden;
}

/* 半透明几何建筑剪影背景 */
.cert-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%),
        url('images/霖邻工程/7.31拍摄/DJI_20250729095044_0196_D.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

/* 几何装饰图形 */
.cert-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.cert-container {
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* 标题区域 */
.cert-header {
    text-align: center;
    margin-bottom: 60px;
}

.cert-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.cert-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

/* 证书滑块容器 */
.cert-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.cert-slider {
    position: relative;
}

.cert-slide {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cert-slide.active {
    display: grid;
    opacity: 1;
}

/* 单张证书卡片 */
.cert-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    
}

/* 证书图片区域 */
.cert-card-image {
    width: 80%;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* 证书文字说明 */
.cert-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-card-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* 分页按钮和指示器 */
.cert-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.cert-pagination-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cert-pagination-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.cert-pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.cert-pagination-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.cert-pagination-dots {
    display: flex;
    gap: 12px;
}

.cert-pagination-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-pagination-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.cert-pagination-dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ==================== 专利展示区域 ==================== */
.patent-section {
    position: relative;
    padding: 100px 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f7fa 100%);
    overflow: hidden;
}

/* 几何装饰 */
.patent-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(30, 87, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(30, 87, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.patent-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.patent-header {
    text-align: center;
    margin-bottom: 60px;
}

.patent-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.patent-subtitle {
    font-size: 16px;
    color: #666;
    letter-spacing: 2px;
}

/* 专利网格 - 4列布局 */
.patent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 专利卡片 */
.patent-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.patent-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.patent-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #1e5799;
    box-shadow: 0 20px 40px rgba(30, 87, 153, 0.15);
}

/* 专利图片 */
.patent-card-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.patent-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.patent-card:hover .patent-card-image img {
    transform: scale(1.05);
}

/* 专利文字 */
.patent-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.patent-card-number {
    font-size: 13px;
    color: #666;
}

/* 专利统计 */
.patent-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
     margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.patent-stat-item {
    text-align: center;
}

.patent-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #1e5799;
    margin-bottom: 10px;
}

.patent-stat-label {
    font-size: 14px;
    color: #666;
    letter-spacing: 2px;
}

/* ==================== Lightbox 弹出框 ==================== */
.honor-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.honor-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.honor-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.honor-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10;
}

.honor-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.honor-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.honor-lightbox-close svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.honor-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.honor-lightbox-info {
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

.honor-lightbox-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.honor-lightbox-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .cert-grid,
    .patent-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .cert-grid,
    .patent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-section,
    .patent-section {
        padding: 60px 30px;
    }
    
    .patent-stats {
        gap: 40px;
    }
    
    .patent-stat-number {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-banner-title {
        font-size: 36px;
    }
    
    .cert-title,
    .patent-title {
        font-size: 28px;
    }
    
    .cert-grid,
    .patent-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-section,
    .patent-section {
        padding: 40px 20px;
    }
    
    .cert-card-image {
        width: 80%;
    }
    
    .patent-stats {
        flex-direction: column;
        gap: 30px;
    }
}