/* 资质证照页面特定样式 */

.qualification-section {
    margin-bottom: 35px;
    transition: transform 0.3s;
}

.qualification-section:hover {
    transform: translateY(-2px);
}

.qualification-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 12px;
    border-left: 4px solid #FF7043;
    background: linear-gradient(to right, rgba(255, 112, 67, 0.05), transparent);
}

.qualification-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.qualification-content:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cert-image {
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.cert-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.info-item {
    margin: 12px 0;
    padding: 12px 15px;
    background: #fff;
    border-radius: 6px;
    border-left: 4px solid #FF7043;
    transition: all 0.3s;
}

.info-item:hover {
    background: #fafafa;
    border-left-width: 6px;
    padding-left: 13px;
}

.info-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    font-size: 14px;
}

.info-value {
    color: #666;
    font-size: 14px;
}

.info-value a {
    color: #FF7043;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.info-value a:hover {
    color: #ff5722;
    text-decoration: underline;
}

/* 图片预览弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.7); }
    to { transform: translate(-50%, -50%) scale(1); }
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.close:hover {
    color: #fff;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .qualification-title {
        font-size: 16px;
        padding-left: 10px;
    }

    .info-item {
        padding: 10px 12px;
        font-size: 14px;
    }

    .info-label,
    .info-value {
        font-size: 13px;
    }

    .cert-image {
        max-width: 100%;
        margin: 12px auto;
    }

    .close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }
}
