/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    font-size: 17px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 使用index.css中的全局导航样式 */
/* 政府监管页面移除自定义导航样式，保持与首页一致 */


/* 政府智慧养老解决方案头部样式 */
.government-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.government-header .container {
    position: relative;
    z-index: 2;
}

.government-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.government-header p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.header-decoration svg {
    width: 100%;
    height: 100%;
}

/* 中心-外围结构样式 */
.center-periphery {
    padding: 4rem 0;
    background-color: white;
}

.center-periphery img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.center-periphery img:hover {
    transform: translateY(-5px);
}

/* 六大支撑样式 */
.six-supports {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.supports-header {
    text-align: center;
    margin-bottom: 3rem;
}

.supports-header h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
}

.supports-header p {
    font-size: 1.1rem;
    color: #666;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.supports-hexagon {
    text-align: center;
    margin-bottom: 3rem;
}

.supports-hexagon img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    transition: transform 0.3s ease;
}

.supports-hexagon img:hover {
    transform: scale(1.05);
}

.support-module {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.support-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.support-module h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .support-content {
        flex-direction: row;
    }
    
    .support-text,
    .support-table {
        flex: 1;
    }
}

.support-text p {
    line-height: 1.8;
    color: #555;
}

.support-table {
    overflow-x: auto;
}

.support-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.support-table th,
.support-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.support-table th {
    background-color: #1e40af;
    color: white;
    font-weight: 600;
}

.support-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.support-table tr:hover {
    background-color: #e0f2fe;
}

/* 页脚样式 */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-logo {
        text-align: left;
    }
}

.footer-logo i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-contact li {
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #3b82f6;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-icons {
        justify-content: flex-start;
    }
}

.social-icons a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #3b82f6;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: 0.9rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .government-header h1 {
        font-size: 2rem;
    }
    
    .supports-header h2 {
        font-size: 1.75rem;
    }
    
    .support-module h3 {
        font-size: 1.3rem;
    }
    
    .support-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .government-header h1 {
        font-size: 1.75rem;
    }
    
    .government-header p {
        font-size: 1rem;
    }
    
    .supports-header h2 {
        font-size: 1.5rem;
    }
    
    .support-module {
        padding: 1.5rem;
    }
    
    .support-module h3 {
        font-size: 1.2rem;
    }
    
    .support-table th,
    .support-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}