/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.service-section {
    text-align: center;
    margin-bottom: 40px;
}

.service-section h2 {
    margin-bottom: 10px;
}

.service-section p {
    margin-bottom: 20px;
}

.image-slider {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.image-slider img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, #ff9800, #ff6f00);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.button:hover {
    background: linear-gradient(90deg, #ff6f00, #ff9800);
    transform: scale(1.05);
}

/* 头部样式 */
header {
    background: #FFA500;
    color: #fff;
    padding: 1rem 0;
}

header h1 {
    text-align: center;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* 主体样式 */
main {
    padding: 2rem 0;
}

.service {
    background: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.image-slider {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 20px;
}

.image-slider img {
    width: 100px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.partners {
    background: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}
.project-list {
    display: flex;
}
.partner-list {
    display: flex;
    animation: scroll-left 40s linear infinite;
}

.partner-item {
    width: 150px;
    text-align: center;
    margin-right: 40px;
    flex-shrink: 0;
}

.partner-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.partner-item p {
    font-size: 0.9rem;
    margin-top: 10px;
    white-space: normal;
}

.about {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    text-indent: 2em;
}

.contact {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact ul li {
    margin: 10px 0;
    font-size: 1rem;
}

/* 底部样式 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    font-size: 0.9rem;
}

/* 商家入驻部分 */
.join {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.join h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.join p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.process h3, .form-container h3 {
    margin-bottom: 20px;
}

.process ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.process ol li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.form-container p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.separator {
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .join {
        padding: 15px;
    }

    .process ol li, .form-container p {
        font-size: 14px;
    }

    .button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* 滚动动画 */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .side-image,
    .main-content {
        width: 100%;
        margin-bottom: 20px;
    }

    .left-image .single-image,
    .right-image .single-image {
        max-width: 100%;
        height: auto;
        border-radius: 10px; /* 统一圆角效果 */
    }
}

.project-list {
    overflow: hidden; /* 阻止滚动 */
}

.project-list {
    display: flex;
    justify-content: space-around; /* 平均分配子元素 */
    align-items: center; /* 垂直居中对齐 */
    padding: 20px 0;
}

.project-item {
    text-align: center;
}

.project-item img {
    max-width: 100%;
    height: auto
}