body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: black;
    text-decoration: none;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* 设置图片的样式 */
main img {
    width: 300px; /* 设置图片宽度 */
    height: 200px; /* 设置图片高度 */
    object-fit: cover; /* 保持图片比例并覆盖容器 */
}

.services-list {
    list-style-type: disc;
    padding-left: 20px;
}





body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: url('header-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
 color: black;
    margin: 0;
    font-size: 2.5em;
    animation: slideIn 1s ease-out;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ddd;
}

main {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

main section {
    margin-bottom: 40px;
}

h2 {
     color: black;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    position: relative;
    animation: fadeIn 1s ease-out;
}

p {
    line-height: 1.6;
    animation: fadeIn 1.5s ease-out;
}

ul.services-list {
    list-style-type: none;
    padding-left: 0;
    font-size: 1.5em;
}

ul.services-list li {
    margin: 20px 0;
    font-size: 2em;
    font-weight: bold;
}

.contact {
    margin-top: 20px;
    padding: 20px;
    background-color: #eaeaea;
    border-left: 5px solid #333;
    border-radius: 5px;
    animation: fadeIn 2s ease-out;
}

.cta {
    text-align: center;
    margin: 20px 0;
}

.cta a {
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta a:hover {
    background-color: #555;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}