/* 英雄图部分 */
.hero-section {
    position: relative;
    text-align: center;
    color: white;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* 我们的服务部分 */
.services-section {
    background-color: #f9f9f9;
}

.service-buttons {
    margin-bottom: 30px;
}

.service-btn {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 30px;
}

.service-btn.active, .service-btn:hover {
    background: linear-gradient(to right, #0056b3, #007bff);
    color: #fff;
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-detail {
    display: none;
    flex-direction: row;
    align-items: center;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s;
}

.service-detail.active {
    display: flex;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-image {
    flex: 1;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-image img:hover {
    transform: scale(1.05);
}

.service-text {
    flex: 2;
    padding-left: 30px;
}

.service-text h3 {
    margin-top: 0;
    color: #007bff;
}

.service-text ul {
    list-style: none;
    padding: 0;
}

.service-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #007bff;
}

@media (max-width: 768px) {
    .service-detail {
        flex-direction: column;
    }

    .service-text {
        padding-left: 0;
        margin-top: 20px;
    }
}
/***anli***/
