* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}


.header {
    background-color: #fff;
    color: #000000; 
    padding: 1rem;
    .animate__animated {
        animation-duration: 0.2s;
    }
    
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.2s ease;
    }
    
    .header.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .detail-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.2s ease;
    }
    
    .detail-btn:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .detail-btn:hover:before {
        left: 100%;
    }
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.highlight-text {
    color: #FD6D2E;
    font-weight: bold;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: #000000; 
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 顶栏样式 */
.nav-links a:hover {
    color: #FD6D2E;
}

/* 信息卡片样式 */
.info-card h3 {
    margin-bottom: 1rem;
    text-align: center;
    color: #FD6D2E;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FD6D2E;
}

.more-link {
    margin-top: 1rem;
    align-self: flex-end;
    color: #FD6D2E;
    text-decoration: none;
    font-weight: bold;
}

/* 主内容区域 */
.main-content h2 {
    margin-bottom: 1.5rem;
    color: #FD6D2E;
    font-size: 1.8rem;
}

.card-title {
    margin-bottom: 0.5rem;
    color: #FD6D2E;
}

.card-btn {
    display: inline-block;
    background-color: #FD6D2E;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.card-btn:hover {
    background-color: #e55a1e;
}

.form-control:focus {
    outline: none;
    border-color: #FD6D2E;
}

.btn-submit {
    background-color: #FD6D2E;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e55a1e;
}

/* 服务卡片按钮 */
.detail-btn:hover {
    background-color: #e55a1e;
}

/* 自定义滚动条 */
::-webkit-scrollbar-thumb {
    background: #FD6D2E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a1e;
}
.hero {
    color: #fff;
    padding: 4rem 0;
    background-image: url('../image/top.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; 
}


.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; 
}


.timeline-section .container,
.service-section .container {
    padding: 0 2rem; 
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 80%;
}

.timeline-section {
    padding: 3rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #000000; 
}

.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* 修改info-card样式 */
.info-card {
    flex: 1 1 250px;
    max-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 修改service-card样式 */
.service-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    min-width: 300px; /* 添加最小宽度 */
    width: 350px; /* 添加固定宽度 */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px; 
    display: flex;
    flex-direction: column;
    margin: 10px auto; /* 添加外边距并居中 */
}

/* 修改service-cards容器 */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* 修改为居中对齐 */
    max-width: 100%;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .service-card {
        max-width: 90%; /* 修改为百分比宽度 */
        width: 90%; /* 修改为百分比宽度 */
        margin: 10px auto;
    }
    .info-card {
        max-width: 90%; /* 修改为百分比宽度 */
        width: 90%; /* 修改为百分比宽度 */
        margin: 10px auto;
    }
}

/* 小屏幕设备进一步优化 */
@media (max-width: 480px) {
    .service-card, .info-card {
        max-width: 95%; /* 更大的百分比宽度 */
        width: 95%; /* 更大的百分比宽度 */
    }
}
.icon-container {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.info-icon {
    max-width: 100%;
}

.info-card h3 {
    margin-bottom: 1rem;
    text-align: center;
    color: #000000;
}

.info-list {
    list-style: none;
    width: 100%;
}

.info-list li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
}





.more-link {
    margin-top: 1rem;
    align-self: flex-end;
    color: #1a5d4e;
    text-decoration: none;
    font-weight: bold;
}

.more-link:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.main-content {
    padding: 2rem 1rem;
}
.main-content section {
    margin-bottom: 3rem;
}
.main-content h2 {
    margin-bottom: 1.5rem;
    color: #1a5d4e;
    font-size: 1.8rem;
}
.info-bar {
    background-color: #f4f4f4;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.footer {
    background-color: white; 
    color: #797979;
    text-align: center;
    margin-top: 2rem;
}

.footer .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer img {
    width: 30px; 
    height: auto;
}

.footer a {
    color: #797979;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FD6D2E;
    text-decoration: underline;
}

.service-section {
    padding: 3rem 0;
    background-color: white;
}
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 100%;
}
.service-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px; 
    display: flex;
    flex-direction: column;
}

.service-info {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-features {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    font-size: 16px; 
    color: #555;
}

.service-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FD6D2E;
    font-size: 16px;
}

.detail-btn {
    margin-top: 15px;
    align-self: center;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.service-card:hover .service-image img {
    transform: scale(1.05);
}
.service-info {
    padding: 1.5rem;
    text-align: center;
}
.service-info h3 {
    margin-bottom: 1rem;
    color: #000000; 
    font-size: 1.2rem;
}
.detail-btn,a.detail-btn:visited, 
a.detail-btn:link {
    display: inline-block;
    background-color: #FD6D2E;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.detail-btn:hover {
    background-color: #f74a00;
}
.info-card, .service-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease; 
}

.info-card:hover, .service-card:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08); 
}

.service-image img {
    transition: transform 0.2s ease; 
}

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

.detail-btn {
    transition: background-color 0.2s ease; 
}

/* 移动端进一步减弱动画 */
@media (max-width: 768px) {
    .service-card {
        transition: transform 0.1s ease, box-shadow 0.1s ease;
    }
    
    .service-image img {
        transition: transform 0.15s ease;
    }
    
    .info-card:hover, .service-card:hover {
        transform: translateY(-2px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
.service-card {
        max-width: 100%;
    }
.nav {
        flex-direction: column;
    }
.nav-links {
        margin-top: 1rem;
    }
.nav-links li {
        margin-left: 0;
        margin-right: 1rem;
    }
.hero h1 {
        font-size: 2rem;
    }
.hero p {
        font-size: 1rem;
        max-width: 100%;
    }
.info-cards {
        flex-direction: column;
        align-items: center;
    }
.info-card {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
}
@media (max-width: 1200px) {
    .header {
        padding: 1rem;
    }
    
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

a, a:visited, a:hover, a:active, a:link {
    color: inherit; 
}


.info-list a, 
.info-list a:visited {
    color: #000000;
}

.info-list a:hover {
    color: #FD6D2E; 
}

.nav-links a:hover {
    color: #FD6D2E;
}
