/* 服务中心页面样式 */

.services-header {
    background: linear-gradient(135deg, #2c8a5c 0%, #4caf7d 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.services-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-content {
    padding: 50px 0;
}

.services-tabs {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #2c8a5c;
    color: white;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    color: #2c8a5c;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

/* 就诊指南样式 */
.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    background-color: #f0f7f4;
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.guide-item:hover {
    transform: translateY(-5px);
}

.guide-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    min-width: 60px;
}

.guide-text h3 {
    color: #2c8a5c;
    margin-bottom: 10px;
}

.guide-text p {
    color: #666;
    line-height: 1.7;
}

/* 服务流程样式 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background-color: #f0f7f4;
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #2c8a5c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

.step h3 {
    color: #2c8a5c;
    margin-bottom: 15px;
}

.step p {
    color: #666;
}

/* 门诊时间样式 */
.hours-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.hours-table {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.hours-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-cell {
    padding: 15px;
    text-align: center;
}

.hours-row.header {
    background-color: #2c8a5c;
    color: white;
    font-weight: bold;
}

.hours-row:nth-child(even) {
    background-color: #f8f9fa;
}

.hours-note {
    background-color: #f0f7f4;
    padding: 25px;
    border-radius: 10px;
}

.hours-note h3 {
    color: #2c8a5c;
    margin-bottom: 15px;
}

.hours-note ul {
    padding-left: 20px;
}

.hours-note li {
    margin-bottom: 10px;
    color: #666;
}

/* 在线服务样式 */
.online-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f0f7f4;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c8a5c;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-btn {
    background-color: #2c8a5c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.service-btn:hover {
    background-color: #246e4a;
}

@media (max-width: 768px) {
    .services-header h1 {
        font-size: 2rem;
    }

    .services-header p {
        font-size: 1rem;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .hours-content {
        grid-template-columns: 1fr;
    }

    .hours-row {
        grid-template-columns: 1fr 1fr;
    }

    .hours-row.header .hours-cell:nth-child(3),
    .hours-row.header .hours-cell:nth-child(4),
    .hours-row .hours-cell:nth-child(3),
    .hours-row .hours-cell:nth-child(4) {
        display: none;
    }
}