* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}
body {
    background-color: #f5f5f5;
    line-height: 1.6;
}
/* 顶栏样式 */
.header {
    background-color: #fff;
    color: #333;
    padding: 1rem 2rem;  
    position: fixed;      
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;  
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 1.5rem;
}
.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.header.scrolled {
    background-color: rgba(253, 109, 46, 0.95);
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header.scrolled .logo,
.header.scrolled .nav-links a {
    color: white;
}

.header.scrolled .nav-links a:hover {
    color: #eee; 
}

body {
    padding-top: 60px;  
    background-color: #f5f5f5;
    line-height: 1.6;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 1.5rem;
}
.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
/* 顶栏样式 - 修改颜色 */
.nav-links a:hover {
    color: #FD6D2E;
}

.header.scrolled {
    background-color: rgba(253, 109, 46, 0.95);
    padding: 0.8rem 2rem;
}

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

.book-button {
    display: inline-block;
    background-color: #FD6D2E;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    align-self: flex-start;
}

.book-button:hover {
    background-color: #e55a1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

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

/* 页面标题 */
.page-title {
    text-align: center;
    padding: 50px 0;
    font-size: 24px;
    font-weight: bold;
}
/* 服务卡片容器 */
.service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
/* 服务卡片 */
.service-card {
    display: flex;
    margin-bottom: 40px;
    padding: 35px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
}
.service-image {
    flex: 0 0 50%;
    align-self: stretch;
    position: relative;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
}
.service-content {
    flex: 0 0 60%;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: auto 0;
    min-height: 10px;
}
.service-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0px;
}
.service-price {
    color: #FD6D2E;
    font-size: 32px;
    font-weight: bold;
    display: block;
    margin-bottom: 0px;
}
.service-description {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
}
.service-features {
    list-style: none;
    margin-bottom:20px auto
}
.service-features li {
    margin-bottom: 20px;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.book-button {
    display: inline-block;
    background-color:#FD6D2E;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    align-self: flex-start;
}
.book-button:hover {
    background-color: #FD6D2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 1rem;
    }
    .nav-links li {
        margin-left: 0;
        margin-right: 1rem;
    }
    .service-card {
        flex-direction: column;
    }
    .service-image {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .service-content {
        flex: 0 0 100%;
        padding-left: 0;
    }
    .service-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .service-price {
        margin-left: 0;
        margin-top: 5px;
    }
}

.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;
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .header {
        padding: 1rem;
    }
    
    .service-container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .service-card {
        padding: 20px;
    }
    
    .service-content {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem;
    }
    
    .service-image {
        height: 300px;
        position: static;
    }
    
    .service-image img {
        position: static;
        height: 100%;
    }
    
    .service-content {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 15px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-price {
        font-size: 24px;
    }
    
    .book-button {
        width: 100%;
        text-align: center;
    }
}

/* 电话咨询服务卡片样式 */
.phone-consultation {
    background-color: #f9f9f9;
    padding: 25px 35px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    position: relative; /* 添加相对定位 */
}

.phone-consultation .service-content {
    width: 100%;
    display: flex;
    align-items: normal;
    padding: 0;
}

.phone-consultation .service-title {
    margin-bottom: 0;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.phone-consultation .service-price {
    font-size: 24px;
    margin-top: 5px;
}

.phone-consultation .book-button {
    position: absolute; 
    right: 35px; 
    top: 50%; 
    transform: translateY(-50%); 
    margin: 0; 
    white-space: nowrap;
    writing-mode: horizontal-tb; 
}

/* 响应式调整 */
@media (max-width: 768px) {
    .phone-consultation {
        position: relative;
    }
    
    .phone-consultation .service-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .phone-consultation .book-button {
        position: static; 
        transform: none;
        margin-top: 15px;
        width: 100%;
    }
}

.highlight-text {
    color: #FD6D2E; 
    font-weight: bold;
}
.middle{
    font-size:25px;
}
