/* 修复顶栏贴合问题 */
h1 {
    position: fixed;         
    top: 0;                  
    left: 0;
    width: 100%;
    min-height: 60px;            
    background-color: #d6faff;
    z-index: 1000;
    display: flex;           
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0; /* 确保没有外边距 */
    padding: 0; /* 清除默认内边距 */
}

/* 确保body从顶部开始 */
body {
    margin-top: 60px;
    padding-top: 0;
    background-color: #d6faff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%; /* 改为100%以充分利用宽度 */
    margin-left: auto;
    margin-right: auto;
}
h1 img {
    width: 150px; /* 调整宽度为150px，可根据需要修改 */
    height: auto;
}
h1 nav a {
    color: rgb(0, 0, 0); /* 修改为白色 */
    text-decoration: none; /* 删除下划线 */
}
/* 图片铺满左右且保持比例 */
body > img {
    width: 100%;
    max-width: 100%; /* 确保不超出视窗 */
    height: auto;
    display: block;
    margin: 0 auto; /* 上下边距为0 */
    object-fit: contain; /* 保持比例 */
}

/* 导航栏优化 */
h1 nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* 保留所有其他样式 */
.big-text {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    background-color: #d6faff;
    padding: 20px;
    margin-top: 0;
}

.intro {
    font-size: 1.2em;
    margin-bottom: 40px;
    text-align: center;
    padding: 0 20px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px auto 0;
    clear: both;
}

.service-card {
    flex: 1;
    min-width: 250px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    background-color: white;
    position: relative;
    z-index: 2;
}

.service-card h2 {
    color: #0066cc;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.explore-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: bold;
}

.explore-links {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.explore-links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid #0066cc;
    border-radius: 4px;
}

.explore-links a:hover {
    background-color: #0066cc;
    color: white;
}

.powered {
    position: absolute;
    right: 100px;
    font-size: 12px;
    color: #747474;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #747474;
    margin-top: 20px;
}

/* 新增内容样式匹配图片中的文字 */
.header-title {
    font-size: 2rem;
    text-align: center;
    margin: 20px 0;
}

.subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.registration-links {
    text-align: center;
    margin: 20px 0;
}

.about-section {
    margin: 40px auto;
    max-width: 800px;
}