* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #2E7D32; /* 深绿色文字 */
    background: #FFFFFF; /* 白色背景 */
}

header {
    background: #2E7D32; /* 深绿色头部 */
    color: #FFFFFF;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #4CAF50; /* 浅绿色悬停 */
}

main {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.banner {
    background: url('images/sfdsfds.webp') no-repeat center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 2rem;
}

.banner h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2E7D32;
}

section img {
    max-width: 100%;
    margin-top: 1rem;
}

.blog-preview {
    margin-bottom: 1.5rem;
}

.testimonial {
    background: #E8F5E9; /* 浅绿色背景 */
    padding: 1rem;
    border-left: 4px solid #4CAF50;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

form input, form textarea {
    padding: 0.5rem;
    border: 1px solid #2E7D32;
    border-radius: 4px;
}

form button {
    padding: 0.5rem;
    background: #4CAF50;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background: #388E3C; /* 稍深的绿色 */
}

.class, .blog-post {
    margin-bottom: 2rem;
}

footer {
    background: #2E7D32;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .banner h1 {
        font-size: 1.8rem;
    }
}