/* 基础样式 */
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 英雄区域 - 背景图部分 */
.certificate-hero {
    position: relative;
    height: auto;
    min-height: 500px;
    background: url('../images/certificate-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #262626;
    padding: 51px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 243, 0.8); 
}

.w1100 {
    width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 查询容器 */
.certificate-query-container {
    width: 100%;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

/* 头部样式 */
.query-header {
    margin-bottom: 40px;
}

.query-header h1 {
    color: #491807;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.query-header h2 {
    color: #666;
    font-size: 24px;
    margin-top: 0;
}

/* 表单样式 */
.certificate-query-form {
    margin: 0 auto 50px auto;
    max-width: 500px;
}

.form-group {
    margin-bottom: 25px;
}

.certificate-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.certificate-input:focus {
    border-color: #491807;
    outline: none;
    box-shadow: 0 0 10px rgba(73, 24, 7, 0.3);
}

/* 查询容器包装 */
.certificate-query-wrapper {
    width: 100%;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

/* 证书说明区域 */
.con {
    background: #fff;
    padding: 50px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

/* 调整表单容器的边距 */
.certificate-query-form {
    margin: 0 auto;
    max-width: 500px;
}

/* 查询按钮 */
.query-button {
    width: 100%;
    padding: 15px;
    background-color: #491807;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.query-button:hover {
    background-color: #5a2a0e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 证书说明区域 */
.con {
    background: #fff;
    padding: 1px;
    margin: 1px auto 0 auto;
}

.certificate-intro {
    width: 100%;
    text-align: left;
}

.intro-content {
    width: 100%;
    margin: 0 auto;
}

.intro-content h3 {
    color: #491807;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.intro-content h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #491807;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .w1100 {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .certificate-hero {
        padding: 30px 0;
        min-height: 400px;
    }
    
    .query-header h1 {
        font-size: 26px;
    }
    
    .query-header h2 {
        font-size: 20px;
    }
    
    .certificate-query-container {
        padding: 132px 29px;
    }
    
    .con {
        padding: 30px 20px;
        margin: 30px auto 0 auto;
    }
    
    .intro-content h3 {
        font-size: 24px;
    }
}