/* 独生子女服务页面专用样式 */

/* Header Logo样式 */
.header-logo {
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.header-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* 修改header .container的定位 */
.header .container {
    position: relative;
}

/* 第一个container包含logo，设置左对齐 */
.header .container:first-child {
    text-align: left;
    padding: 40px;
    height: auto;
}

/* 第二个container包含标题，保持居中 */
.header .container:nth-child(2) {
    text-align: center;
}

/* 服务内容描述样式 */
.service-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
}

/* 章节标题样式 */
.section-title {
    color: #5a67d8;
    margin-bottom: 20px;
}

/* 服务分类标题 */
.category-title {
    color: #e53e3e;
    margin: 20px 0 15px 0;
    display: flex;
    align-items: center;
}

.category-title i {
    color: #f6ad55;
    margin-right: 10px;
}

/* 表格容器 */
.table-container {
    overflow-x: auto;
}

/* 表格样式优化 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th {
    background: #667eea;
    color: white;
    padding: 15px;
    text-align: left;
    border: 2px solid #e2e8f0;
}

.data-table td {
    padding: 15px;
    border: 2px solid #e2e8f0;
    vertical-align: top;
    line-height: 1.6;
}

.data-table tr:nth-child(even) {
    background: #f7fafc;
}

/* 特别提示框 */
.special-notice {
    background: #fef5e7;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 5px solid #f6ad55;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.special-notice p {
    color: #744210;
    margin: 0;
}

/* 材料准备网格 */
.material-grid {
    display: grid;
    gap: 25px;
    margin-top: 25px;
}

/* 材料项目样式 */
.material-item {
    background: #edf2f7;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #4299e1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.material-item:hover {
    transform: translateY(-2px);
}

.material-item.item-blue {
    border-left-color: #4299e1;
}

.material-item.item-green {
    border-left-color: #48bb78;
}

.material-item.item-orange {
    border-left-color: #ed8936;
}

.material-item h4 {
    color: #2b6cb0;
    margin-bottom: 15px;
    font-weight: 600;
}

.material-item.item-green h4 {
    color: #276749;
}

.material-item.item-orange h4 {
    color: #c05621;
}

.material-item ul {
    margin-top: 15px;
}

/* 流程说明 */
.process-description {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
}

.process-description i {
    color: #f6ad55;
    margin-right: 8px;
}

/* 服务介绍 */
.service-intro {
    color: #5a67d8;
    margin-bottom: 20px;
}

.service-intro i {
    color: #f6ad55;
    margin-right: 10px;
}

.service-detail {
    line-height: 1.8;
    color: #4a5568;
}

/* 政策依据 */
.policy-reference {
    color: #2d3748;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* 问答区域 */
.qa-section {
    margin-top: 20px;
}

.qa-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.qa-item:hover {
    transform: translateY(-1px);
}

.qa-item .question {
    color: #2d3748;
    margin: 0;
}

.qa-item .question strong {
    color: #e53e3e;
}

.qa-item .answer {
    color: #4a5568;
    margin-top: 12px;
}

.qa-item .answer strong {
    color: #38a169;
}

/* 联系信息 */
.contact-subtitle {
    margin: 20px 0;
}

.phone-number {
    font-size: 2.2rem;
    color: #e53e3e;
    font-weight: bold;
}

/* 返回按钮容器 */
.back-button-container {
    text-align: center;
}