body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

a {
   text-decoration: none;
}

a:link{text-decoration:none;}/*点击前*/
a:visited{text-decoration:none;}/*点击后*/
a:active{text-decoration:none;}/*点击中*/
a:hover{text-decoration:none; }/*鼠标悬浮*/

.header-image {
    position: relative;
    text-align: center;
    color: white;
}
.header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.header-image div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
nav {
    text-align: center;
    margin-bottom: 20px;
}
nav a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
}
.container {
    justify-content: space-between;
    margin: auto;
}
.services {
    margin-bottom: 20px;
}

.service-item {
    margin-bottom: 15px;
    border-radius: 5px;
}
.service-item h3 {
    margin-bottom: 10px;
}
.service-item p {
    margin-top: 5px;
}

.service-item-left {
    padding: 20px;
}

.service-item-right {
    padding: 20px;
}
.service-item-left h2 {
    margin-bottom: 20px;
}
.service-item-right p {
    margin-top: 5px;
}
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: #fff;
    width: 100%;
}

/* PC */
@media only screen and (min-width: 601px) {
    .service-item {
        width: 100%;
        display: flex;
    }

    .service-item-left {
        width: 450px;
        margin-top: 20px;
    }

    .service-item-right {
      margin-top: 40px;
    }

    .service-item:last-child {
        margin-right: 0;
    }
}

/* Mobile */
@media only screen and (max-width: 600px) {

    .service-item-content {
        align-items: center;
    }
    .service-item-content h3 {
        margin-bottom: 5px;
    }
    .service-item-content p {
        margin-top: 10px;
    }
}

.join-button {
background-color: transparent; 
border: 2px solid #fff; 
border-radius: 5px; 
padding: 10px 20px; 
color: #fff; 
text-align: center; 
text-decoration: none; 
display: inline-block; 
font-size: 16px; 
cursor: pointer;
margin: 5px; 
}
.join-button:hover {
background-color: #f0f0f0; /* 鼠标悬停时的背景色 */
}

.slider {
display: flex;
overflow: hidden;
width: 100%;
height: 350px; 
}
.slider img {
width: 100%;
height: 100%;
object-fit: cover; /* 图片覆盖整个容器 */
transition: transform 0.5s ease; /* 过渡效果 */
}
.slider img.active {
transform: scale(1.1); /* 激活的图片放大1.1倍 */
}

.contact {
    margin-top: 40px;
    margin: 10px;
}

.contact-info {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.contact-info i {
    margin-right: 10px;
    font-size: 1.5em;
}
.contact-info a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}
.contact-info a:hover {
    text-decoration: underline;
}

.carousel img {
    width: 200px;
    height: 800px;
}
