/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s;
}

/* 头部样式 */
header {
    background: #005f73;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0;
    padding: 0 20px;
    display: inline-block;
}

nav {
    float: right;
    margin-right: 20px;
}

nav a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: #0a9396;
    color: #fff;
}

/* 英雄区域样式 */
.hero {
    background: url('1.jpg') no-repeat center center / cover;
    height: 600px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero h1 {
    font-size: 2.5em;
    margin: 0;
    position: relative;
    z-index: 10;
}

/* 简介和特色区域样式 */
.intro, .features, .testimonials {
    padding: 40px 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    text-align: center;
}

.intro h2, .features h3 {
    color: #005f73;
    margin-bottom: 20px;
}

.features article {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

/* 引用样式 */
.testimonials blockquote {
    font-style: italic;
    border-left: 3px solid #005f73;
    padding-left: 20px;
    margin: 20px 0;
}

.testimonials cite {
    display: block;
    font-style: normal;
    color: #666;
    margin-top: 10px;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100; /* 确保页脚在页面内容之上 */
}
a {
    color: #000000;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        float: none;
        text-align: center;
    }

    nav a {
        padding: 10px;
    }

    .hero {
        height: auto;
        padding: 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .features article {
        border-bottom: none;
        padding: 10px 0;
    }
}