:root {
    --primary-color: #5D99FF;
    --secondary-color: #173E02;
    --white-color: #FFFFFF;
    --title-color: #000000;
    --para-color: #0C1B2B;
    --frame-color: #F3FAFF;
    --health-color: #4B6262;
    --seventeen-color: #171717;
    --warning: #FFE09F;
    --success: #CDEDBC;
    /* 默认文字色（深灰） */
    --hover-color: #2563eb;
    /*  hover文字色（蓝色） */
    --plus-icon-filter: invert(30%) sepia(70%) saturate(300%) hue-rotate(200deg) brightness(90%) contrast(85%);
    /*  hover时图标同步变色 */
    --transition-speed: 0.3s;
    /* 统一过渡速度，提升交互流畅度 */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--para-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: white !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--title-color);
}

/* 主横幅区域 */
.outer-fullwidth-container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/indeximg/indexa.jpg');
            background-size: cover;
            background-position: center;
            padding: 150px 0;
            position: relative;
        }

/* 内部主要内容容器，保持max-width: 1200px并居中 */
.containers {
    max-width: 1200px;
    margin: 0 auto;
    /* 水平居中 */
    padding: 0 20px;
    border-radius: 8px;
    /* 可选：添加圆角，增强视觉层次 */
}

header {
    padding: 60px 0 40px;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.title-section {
    flex: 1;
    min-width: 300px;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    color: white;
}

.medical-highlight {
    background-color: #a7f3d0;
    /* 浅绿色背景 */
    color: #000000;
    /* 文字颜色与背景一致，形成特殊效果 */
    padding: 0 12px;
    border-radius: 25px;
    margin: 0 8px;
}

.divider {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
    width: 60%;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.explore-btn {
    background-color: #3b82f6;
    /* 蓝色按钮 */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background-color: #2563eb;
}

.asap-link {
    color: #facc15;
    /* 黄色文字 */
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    /* 给链接添加与按钮一致的内边距和边框，使其更像按钮 */
    padding: 10px 20px;
    border: 2px solid #facc15;
    border-radius: 5px;
    box-sizing: border-box;
}

.asap-link:hover {
    color: #eab308;
    border-color: #eab308;
}

.right-section {
    text-align: right;
    min-width: 250px;
}

.people-loved {
    color: white;
    margin-bottom: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
}

.avatar-group {
    display: flex;
    justify-content: flex-end;
    gap: -10px;
    /* 让头像部分重叠 */
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0f172a;
    /* 与背景同色的边框，制造分离效果 */
    object-fit: cover;
}

.heart-icon {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .right-section {
        text-align: left;
        margin-top: 30px;
    }

    .avatar-group {
        justify-content: left;
    }

    .divider {
        width: 100%;
        margin: 15px 0;
    }

    .buttons {
        /* 移动端下一行显示，且元素不换行 */
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .explore-btn,
    .asap-link {
        font-size: 0.85rem;
        padding: 8px 16px;
        /* 保持移动端下的最小宽度，确保一行显示 */
        min-width: 100px;
    }

    .people-loved {
        font-size: 0.75rem;
    }

    .heart-icon {
        font-size: 1.2rem;
    }

    .avatar {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 0 30px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .medical-highlight {
        padding: 0 10px;
        border-radius: 20px;
        margin: 0 6px;
    }

    .divider {
        margin: 12px 0;
    }

    .buttons {
        /* 移动端小屏幕下，若宽度不够，允许适度收缩 */
        flex-wrap: nowrap;
        gap: 8px;
    }

    .explore-btn,
    .asap-link {
        font-size: 0.8rem;
        padding: 6px 12px;
        min-width: 80px;
    }

    .right-section {
        margin-top: 25px;
    }

    .people-loved {
        font-size: 0.7rem;
    }

    /* 移动端外层红色容器减少内边距，避免空间浪费 */
    .outer-fullwidth-container {
        padding: 10px 0;
    }
}

/* 服务滚动展示  */
.advice-area {
    padding: 40px 0;
    background-color: #FAF8F2;
    overflow: hidden;
    /* 隐藏滚动溢出内容 */
    position: relative;
    /* 添加上下渐变遮罩，弱化边缘滚动效果，更自然 */
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

/* 内容容器 - 控制滚动区域 */
.advice-content {
    width: 100%;
    overflow: hidden;
    /* 确保内部ul滚动不溢出 */
}

/* 滚动列表 - 核心滚动元素 */
.advice-content ul {
    display: flex;
    align-items: center;
    /* 文字与图标垂直居中对齐 */
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scroll 30s linear infinite;
    /* 初始滚动动画 */
}

/* 鼠标悬停容器时，暂停滚动 */
.advice-content:hover ul {
    animation-play-state: paused;
}

/* 列表项样式 - 控制间距和换行 */
.advice-content ul li {
    white-space: nowrap;
    /* 禁止文字换行 */
    margin-right: 40px;
    /* 增加项间距，避免拥挤 */
    display: flex;
    align-items: center;
    gap: 8px;
    /* 文字与图标间距，提升美观度 */
    transition: transform var(--transition-speed);
    /* 轻微缩放反馈 */
}

/* 列表项hover时轻微上浮，增强交互感 */
.advice-content ul li:hover {
    transform: translateY(-2px);
}

/* 链接默认样式 */
.advice-content ul li a {
    color: #999999;
    text-decoration: none;
    font-weight: 600;
    font-size: 2.6rem;
    transition: color var(--transition-speed);
    /* 文字颜色过渡 */
    padding: 4px 0;
    /* 增加点击区域高度 */
}

/* 链接hover时变色 */
.advice-content ul li:hover a {
    color: var(--hover-color);
}

/* 图标默认样式 - 保持与文字颜色协调 */
.advice-content ul li img {
    width: 150px;
    /* 统一图标大小 */
    height: 66px;
    transition: filter var(--transition-speed);
    /* 图标颜色过渡（通过filter实现） */
}

/* 列表项hover时，图标同步变色 */
.advice-content ul li:hover img {
    filter: var(--plus-icon-filter);
}

/* 滚动动画关键帧 */
@keyframes scroll {
    0% {
        transform: translateX(0);
        /* 初始位置（最左侧） */
    }

    100% {
        transform: translateX(-100%);
        /* 结束位置（向左滚动100%宽度） */
    }
}

/* 响应式适配 - 小屏幕优化 */
@media (max-width: 768px) {
    .advice-area {
        padding: 30px 0;
        /* 减少上下内边距，适配小屏幕 */
    }

    .advice-content ul li {
        margin-right: 25px;
        /* 减小项间距，避免内容过少 */
    }

    .advice-content ul li a {
        font-size: 1rem;
        /* 缩小字体，避免换行 */
    }

    /* 调整渐变遮罩范围，适配小屏幕 */
    .advice-area {
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }
}

/* 关于我们区域 */
.health-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.health-content-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.health-content-left,
.health-content-right {
    flex: 1;
    min-width: 300px;
}

.health-content-left {
    margin-right: 100px;
}

.health-main-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    color:black;
}

.health-img-doctor {
    width: 100%;
    border-radius: 12px;
}

.health-content-right .health-img-top {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.health-section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color:black;
}

.health-section-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: black;
}

.health-divider {
    height: 1px;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.health-features-wrap {
    display: flex;
    flex-wrap: wrap;
    color: black;
}

.health-features-col {
    flex: 1;
    min-width: 150px;
}

.health-features-col ul {
    list-style: none;
}

.health-features-col ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.health-features-col ul li::before {
    content: "✓";
    color: #3b82f6;
    margin-right: 8px;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .health-content-wrap {
        flex-direction: column;
    }

    .health-content-left {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .health-main-title {
        font-size: 2rem;
    }

    .health-features-col {
        min-width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .health-main-title {
        font-size: 1.8rem;
    }

    .health-section-title {
        font-size: 1.2rem;
    }
}

/* 服务展示区域 */
/* 容器样式 */
.container-serve {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    /* 为绝对定位的内容提供参考 */
}

/* 服务网格容器 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

/* 服务项样式 */
.service-item {
    position: relative;
    /* 为内部绝对定位元素提供参考 */
    height: 460px;
    /* 统一服务项高度 */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    /* 鼠标悬停时显示手型 */
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例并铺满容器 */
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.05);
    /*  hover 时图片轻微放大 */
}

.service-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    /* 渐变背景，使文字更清晰 */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* 使图标、内容、链接分布在顶部、中间、底部 */
}

.service-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    /* 图标翻转过渡 */
}

.service-item:hover .service-icon {
    transform: rotateY(180deg);
    /* 鼠标悬停时图标Y轴翻转 */
}

.service-icon svg {
    width: 20px;
    height: 20px;
    fill: #0f172a;
}

.service-tag {
    background-color: #fff;
    color: #0f172a;
    padding: 3px 8px;
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 5px;
    width: 30%;
    /* 保持默认显示，不添加隐藏样式 */
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    /* 保持默认显示，不添加隐藏样式 */
}

.service-desc {
    font-size: 0.9rem;
    flex-grow: 1;
    /* 让内容区域占据中间空间 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 内容垂直居中 */
}

/* 仅隐藏 .service-desc 内的 p 标签，span 和 h3 保持显示 */
.service-desc p {
    opacity: 0;
    /* 初始隐藏 p 标签内容 */
    transition: opacity 0.3s ease;
    margin-top: 5px;
    /* 给 p 标签添加顶部间距，与标题区分开 */
}

.service-item:hover .service-desc p {
    opacity: 1;
    /* hover 时显示 p 标签内容 */
}

.explore-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.explore-link svg {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    fill: #fff;
}

/* 各服务项特殊样式 */
.orthopedics .service-icon {
    background-color: #ffe4a6;
}

.dental {
    background-color: #ffe09f;
    /* 牙科服务背景色 */
}

.dental .service-icon {
    background-color: #fff;
}

.radiation .service-icon {
    background-color: #06b6d4;
}

.radiation .service-tag {
    background-color: #fff;
    color: #06b6d4;
}

.neurology {
    background-color: #a4dbfa;
    /* 神经科学服务背景色 */
}

.neurology .service-icon {
    background-color: #fff;
}

/* 查看所有服务按钮 */
.view-all-btn {
    display: block;
    width: 160px;
    margin: 0 auto;
    background-color: #3b82f6;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-all-btn svg {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    fill: #fff;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* 客户关怀区域 */
.customer-care-section {
    width: 100%;
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.emergency-title {
    color: #ff0000;
    /* 红色紧急标题 */
    font-size: 2rem;
    margin-bottom: 20px;
}

.customer-care-title {
    color: #8de1b6;
    /* 浅绿标题色 */
    font-size: 3rem;
    margin-bottom: 20px;
    padding: 15px 30px;
    border: 2px solid #d1fae5;
    border-radius: 50px;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* 响应式换行 */
}

.phone,
.email {
    display: flex;
    align-items: center;
    color: #000000;
}

.phone svg,
.email svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    fill: #fff;
}

.emergency-btn {
    background-color: #ff0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emergency-btn svg {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    fill: #fff;
}

/* 头像容器，通过绝对定位模拟分布 */
.avatars {
    position: relative;
    width: 100%;
    height: 100px;
    /* 控制头像垂直范围 */
    margin-top: -20px;
    /* 与中间内容重叠调整 */
}

.avatar-client {
    position: absolute;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.avatar-1 {
    top: -20px;
    left: 20%;
}

.avatar-2 {
    bottom: -20px;
    left: 15%;
}

.avatar-3 {
    top: -204px;
    right: 24%;
}

.avatar-4 {
    bottom: -10px;
    right: 15%;
}

.headset-icon {
    position: absolute;
    top: -88px;
    right: 12%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headset-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .customer-care-title {
        font-size: 2rem;
    }

    .emergency-title {
        font-size: 1.5rem;
    }

    .avatar-client {
        width: 50px;
        height: 50px;
    }

    .avatar-1 {
        left: 92%;
    }

    .avatar-3 {
        right: 15%;
    }

    .avatars {
        display: none;
    }
}

@media (max-width: 480px) {
    .customer-care-title {
        font-size: 1.5rem;
        padding: 10px 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .avatar-client {
        width: 40px;
        height: 40px;
    }

    .avatar-1 {
        left: 10%;
    }

    .avatar-2 {
        left: 5%;
    }

    .avatar-3 {
        right: 10%;
    }

    .avatar-4 {
        right: 5%;
    }
}

/* 预约表单区域 */
.container-reserve {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    /* 为表单绝对定位提供参考 */
}

/* 图片区域 - 单独占一行 */
.image-section {
    width: 100%;
    margin-bottom: 20px;
    /* 与下方内容保留间距 */
}

.image-section img {
    width: 100%;
    border-radius: 8px;
    display: block;
    height: auto;
    /* 保持图片比例 */
}

/* 文字与表单容器 - 在下一行，表单相对于容器绝对定位 */
.text-form-container {
    display: flex;
    flex-wrap: wrap;
    /* 响应式换行 */
    gap: 40px;
    position: relative;
    /* 为表单定位提供参考 */
    align-items: flex-start;
    /* 文字顶部对齐，避免表单影响文字位置 */
}

/* 文字区域 - 占据左侧空间 */
.text-section {
    flex: 1 1 260px;
    /* 最小宽度300px，自适应剩余空间 */
    padding: 10px 0;
}

.text-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: black;
}

.text-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #080808;
    /* 浅灰色文字，提升可读性 */
}

/* 表单区域 - 叠加在图片底部下方，固定右侧位置 */
.appointment-form {
    background-color: #fff;
    color: #333;
    padding: 30px;
    margin-top: -160px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* 增强阴影，突出表单 */
    width: 100%;
    max-width: 350px;
    /* 表单最大宽度，避免过宽 */
    flex: 0 0 auto;
    /* 表单不伸缩，保持固定宽度 */
    /* 关键定位：基于容器，确保在图片底部下方 */
    position: relative;
    z-index: 10;
    /* 确保表单在最上层，不被其他元素遮挡 */
}

.appointment-form h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #0f172a;
    /* 深色标题，与背景对比 */
    font-weight: 600;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    /* 输入框聚焦效果 */
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    /* 聚焦时蓝色边框 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    /* 聚焦阴影 */
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 150px;
    /* 限制文本域最大高度 */
}

.form-group button {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    padding: 11px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: background-color 0.3s ease;
    /* 按钮 hover 效果 */
}

.form-group button:hover {
    background-color: #2563eb;
    /* 按钮 hover 加深色 */
}

.form-group button svg {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    fill: #fff;
}

/* 响应式调整：小屏幕下文字和表单垂直排列，表单宽度100% */
@media (max-width: 992px) {
    .text-form-container {
        flex-direction: column;
        gap: 20px;
        /* 垂直排列时减小间距 */
    }

    .appointment-form {
        max-width: 100%;
        /* 小屏幕下表单占满宽度 */
        margin-top: 10px;
    }

    .text-section h2 {
        font-size: 1.7rem;
        /* 小屏幕减小标题字体 */
    }
}

@media (max-width: 576px) {
    .container-reserve {
        padding: 15px;
        /* 小屏幕减小容器内边距 */
    }

    .text-section h2 {
        font-size: 1.5rem;
    }

    .appointment-form {
        padding: 25px 20px;
        /* 小屏幕减小表单内边距 */
    }

    .form-group select,
    .form-group input,
    .form-group textarea {
        padding: 9px 10px;
        /* 小屏幕减小输入框内边距 */
    }
}


/* 项目展示区域 */
.medical-showcase {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
}

.showcase-heading {
    font-size: 2.6rem;
    margin-bottom: 30px;
    line-height: 1.3;
    color: black;
}

.scroll-wrapper {
    width: 100%;

    margin: auto;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
}

.img-scroll-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    left: 0;
    animation: scrollAnimation 20s linear infinite;
}

.scroll-wrapper:hover .img-scroll-container {
    animation-play-state: paused;
}

@keyframes scrollAnimation {
    0% {
        left: 0;
    }

    100% {
        left: -100%;
    }
}

.img-card {
    flex: 0 0 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.img-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.img-card:hover .img-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.img-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.img-card:hover img {
    transform: scale(1.02);
}

.img-card:nth-child(odd) {
    height: 340px;
}

.img-card:nth-child(odd) .img-wrap img {
    height: 100%;
}

.img-card:nth-child(even) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-card:nth-child(even) .img-wrap img {
    height: 300px;
    max-height: 100%;
}

.img-card .img-label,
.img-card .img-desc,
.img-card .img-arrow {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 23px;
    z-index: 2;
}

.img-card:hover .img-label,
.img-card:hover .img-desc,
.img-card:hover .img-arrow {
    opacity: 1;
    visibility: visible;
}

.img-label {
    left: 15px;
    background-color: #fff;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.img-desc {
    left: 70px;
    color: #fff;
    font-size: 0.95rem;
    white-space: nowrap;
}

.img-arrow {
    right: 15px;
    width: 26px;
    height: 26px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.9rem;
}

.scroll-prompt {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    animation: blinkPrompt 2s infinite alternate;
}

@keyframes blinkPrompt {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.view-all-button {
    background-color: #d1fae5;
    color: #0f172a;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.view-all-button:hover {
    background-color: #a7f3d0;
}

.view-all-button svg {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    fill: #0f172a;
}

@media (max-width: 768px) {
    .showcase-heading {
        font-size: 1.5rem;
    }

    .img-card {
        flex: 0 0 220px;
    }

    .img-card:nth-child(odd) {
        height: 260px;
    }

    .img-card:nth-child(even) {
        height: 220px;
    }

    .img-card:nth-child(even) .img-wrap img {
        height: 220px;
    }

    .img-label {
        padding: 3px 8px;
        font-size: 0.7rem;
        bottom: 12px;
        left: 12px;
    }

    .img-desc {
        font-size: 0.85rem;
        left: 60px;
        bottom: 12px;
    }

    .img-arrow {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        bottom: 12px;
        right: 12px;
    }

    .img-scroll-container {
        animation-duration: 15s;
    }
}

@media (max-width: 480px) {
    .showcase-heading {
        font-size: 1.2rem;
    }

    .img-card {
        flex: 0 0 180px;
    }

    .img-card:nth-child(odd) {
        height: 220px;
    }

    .img-card:nth-child(even) {
        height: 180px;
    }

    .img-card:nth-child(even) .img-wrap img {
        height: 180px;
    }

    .img-label {
        padding: 2px 6px;
        font-size: 0.65rem;
        bottom: 10px;
        left: 10px;
    }

    .img-desc {
        font-size: 0.75rem;
        left: 50px;
        bottom: 10px;
    }

    .img-arrow {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        bottom: 10px;
        right: 10px;
    }

    .img-scroll-container {
        animation-duration: 12s;
    }

    .scroll-prompt {
        display: none;
    }
}

/* 为什么选择我们区域 */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.treatment-card {
    display: flex;
    flex-direction: column;
    background-color: #BCD0E2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.visual-part {
    position: relative;
    width: 100%;
    flex: 1;
}

.physician-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-icon {
    position: absolute;
    bottom: 50%;
    right: -30px;
    width: 80px;
    height: 80px;
    background-color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    z-index: 2;
}

.brand-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background-color: white;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.text-content {
    padding: 50px 30px 30px;
    flex: 1;
}

.text-content h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #1E1E1D;
    line-height: 1.2;
}

.text-content p {
    color: #898989;
    margin-bottom: 30px;
    font-size: 1rem;
    max-width: 600px;
}

.separator {
    height: 1px;
    background-color: #334155;
    margin: 25px 0;
}

.benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 35px;
}

.benefits-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6289A3;
}

.benefit-item i {
    color: #3b82f6;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.primary-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: #f59e0b;
    border: 2px solid #f59e0b;
}

.secondary-btn:hover {
    background-color: #f59e0b;
    color: white;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .treatment-card {
        flex-direction: row;
    }

    .visual-part {
        width: 50%;
    }

    .text-content {
        width: 50%;
        padding: 60px 50px;
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .action-buttons {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .text-content h1 {
        font-size: 2.8rem;
    }

    .text-content p {
        font-size: 1.1rem;
    }

    .action-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

/* 评论动态区域 */
.testimonial-container {
    width: 100%;
    height: 66vh;
    background: url('../image/indeximg/indexg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.testimonial-card {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .testimonial-container {
        height: 90vh;
    }
}

.quote-section {
    background-color: #3b82f6;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    position: relative;
    z-index: 2;
    /* 添加过渡效果 */
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 隐藏状态样式 */
.quote-section.hidden {
    opacity: 0;
    transform: translateX(-20px);
}

.quote-icon {
    width: 40px;
    height: 40px;
    background-color: #a7f3d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.quote-icon i {
    color: #10b981;
    font-size: 1.2rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: right;
}

.quote-text {
    margin-bottom: 20px;
    line-height: 1.6;
}

.author-info {
    font-size: 0.9rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-org {
    font-size: 0.8rem;
    color: #e0f2fe;
}

.stats-section {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    /* 添加过渡效果 */
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

/* 隐藏状态样式 */
.stats-section.hidden {
    opacity: 0;
    transform: translateX(20px);
}

@media (max-width: 768px) {
    .stats-section {
        margin-top: 20px;
    }
}

@media (min-width: 1024px) {
    .stats-section {
        position: absolute;
        right: 260px;
        bottom: 36px;
    }

    .quote-section {
        position: absolute;
        bottom: 36px;
        left: 260px;
    }
}

.stat-card {
    background-color: #e0e7ff;
    color: #1e293b;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
}

.stat-card:nth-child(2) {
    background-color: #d1fae5;
}

.navigation-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.nav-btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-btn:hover {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn i {
    color: #1e293b;
}

/* 医生介绍区域 */
.container-introduce {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-content {
    display: flex;
    gap: 30px;
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
}

.left-sidebar {
    flex: 0 0 360px;
}

@media (max-width: 992px) {
    .left-sidebar {
        flex: 1;
        margin-bottom: 20px;
    }
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: black;
}

.dept-list {
    list-style: none;
}

.dept-item {
    padding: 12px 15px;
    margin-bottom: 5px;
    background-color: #fff;
    border-radius: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dept-item:hover {
    background-color: #334155;
    transform: translateX(3px);
}

.dept-item.active {
    background-color: #3b82f6;
}

.dept-item a {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
}

.dept-item.active a {
    color: #fff;
}

.view-all-btn {
    display: block;
    width: 36%;
    padding: 10px 15px;
    background-color: #FAFBFB;
    color: #363636;
    border: none;
    border-radius: 60px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.view-all-btn:hover {
    background-color: #2563eb;
}

.right-content {
    flex: 1;
}

.section-desc {
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 30px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

.doctor-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.doctor-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.doctor-info {
    padding: 15px;
}

.doctor-specialty {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.doctor-name {
    font-size: 1rem;
    font-weight: 600;
    color: black;
}

.specialty-green {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.specialty-blue {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.specialty-purple {
    background-color: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.specialty-lightblue {
    background-color: rgba(14, 165, 233, 0.2);
    color: #0ea5e9;
}

.specialty-yellow {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #000000;
}

/* 合作伙伴区域 */
        .partners-showcase {
            max-width: 2000px;
            width: 100%;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 20px;
            padding: 1px 1px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }
        
        .showcase-header {
            text-align: center;
            margin-bottom: 1px;
        }
        
        .showcase-title {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .showcase-subtitle {
            font-size: 1rem;
            color: #7f8c8d;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .logo-carousel-container {
            position: relative;
            overflow: hidden;
            padding: 20px 0;
        }
        
        .logo-carousel {
            display: flex;
            animation: slide 30s linear infinite;
            padding: 20px 0;
        }
        
        .logo-carousel:hover {
            animation-play-state: paused;
        }
        
        .logo-item {
            flex: 0 0 auto;
            width: 200px;
            height: 120px;
            margin: 0 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .logo-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .logo-img {
            max-width: 100%;
            max-height: 80%;
            object-fit: contain;
        }
        
        .carousel-controls {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 15px;
        }
        
        .control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .control-btn:hover {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(37, 117, 252, 0.3);
        }
        
        .carousel-indicators {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 10px;
        }
        
        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .indicator.active {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            transform: scale(1.2);
        }
        
        @keyframes slide {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .partners-showcase {
                padding: 40px 30px;
            }
            
            .showcase-title {
                font-size: 2.2rem;
            }
            
            .logo-item {
                width: 180px;
                height: 110px;
                margin: 0 20px;
            }
        }
        
        @media (max-width: 768px) {
            .partners-showcase {
                padding: 30px 20px;
            }
            
            .showcase-title {
                font-size: 2rem;
            }
            
            .logo-item {
                width: 160px;
                height: 100px;
                margin: 0 15px;
            }
            
            .control-btn {
                width: 45px;
                height: 45px;
            }
        }
        
        @media (max-width: 576px) {
            .showcase-title {
                font-size: 1.8rem;
            }
            
            .showcase-subtitle {
                font-size: 1rem;
            }
            
            .logo-item {
                width: 140px;
                height: 90px;
                margin: 0 12px;
            }
            
            .control-btn {
                width: 40px;
                height: 40px;
            }
            
            .indicator {
                width: 10px;
                height: 10px;
            }
        }
        
/* 主容器：原container-Partners */
/*.logo-showcase-container {*/
/*    background-color: #e8e8e8;*/
/*    margin: 0 auto;*/
/*    padding: 100px 100px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 60px;*/
/*}*/

/*@media (max-width: 992px) {*/
/*    .logo-showcase-container {*/
/*        flex-direction: column;*/
/*        align-items: flex-start;*/
/*        gap: 40px;*/
/*    }*/
/*}*/

/* 左侧区域：原left-section */
/*.showcase-sidebar {*/
/*    flex: 0 0 250px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*}*/

/*@media (max-width: 992px) {*/
/*    .showcase-sidebar {*/
/*        flex: 1;*/
/*        align-items: center;*/
/*    }*/
/*}*/

/* 圆形装饰：原circle */
/*.decor-circle {*/
/*    width: 220px;*/
/*    height: 220px;*/
/*    border: 2px solid #000000;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 20px;*/
/*    margin-bottom: 20px;*/
/*}*/

/* 箭头图标容器：原arrow-icon */
/*.icon-arrow-box {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    border: 2px solid #fff;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    margin-bottom: 15px;*/
/*}*/

/*.icon-arrow-box i {*/
/*    color: #000000;*/
/*    font-size: 1.2rem;*/
/*}*/

/* 标语：原tagline */
/*.showcase-slogan {*/
/*    color: #000000;*/
/*    text-align: center;*/
/*    line-height: 1.5;*/
/*}*/

/* 右侧logo区域：原right-section */
/*.logo-grid-area {*/
/*    flex: 1;*/
/*    display: grid;*/
/*    grid-template-columns: repeat(5, 1fr);*/
/*    gap: 30px;*/
/*}*/

/*@media (max-width: 992px) {*/
/*    .logo-grid-area {*/
/*        grid-template-columns: repeat(3, 1fr);*/
/*    }*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .logo-grid-area {*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*    }*/
/*}*/

/*@media (max-width: 576px) {*/
/*    .logo-grid-area {*/
/*        grid-template-columns: 1fr;*/
/*    }*/
/*}*/

/* 单个logo容器：原logo-item */
/*.single-logo-wrapper {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/* logo图片：原logo-img */
/*.medical-logo {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    filter: invert(1);*/
/*     使图片变为白色，适配蓝色背景 */
/*}*/

 /* 紧急服务区域 */
 .generative-area {
    padding: 50px 0;
    background-color: var(--para-color);
    max-width: 1400px;
    margin: auto;
}

.generative-image {
    position: relative;
}

.generative-image img {
    width: 100%;
    border-radius: 15px;
}

.emergency {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 350px;
}

.call {
    padding: 20px;
    border-radius: 10px;
}

.call span {
    font-weight: 600;
    color: var(--seventeen-color);
}

.call h5 {
    margin: 5px 0;
    color: var(--seventeen-color);
}

.call .phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--seventeen-color);
    text-decoration: none;
}

/* 其他 */
/* .navbar {
    top: 0;
} */

.bg-color {
    background-color: var(--primary-color);
}

.bg-color-0c1b2b {
    background-color: #f9f9f9;
}

.bg-color-ffe09f {
    background-color: var(--warning);
}

.bg-color-cdedbc {
    background-color: var(--success);
}

.bg-color-d2d7fd {
    background-color: #D2D7FD;
}

.bg-color-a4dbfa {
    background-color: #A4DBFA;
}

.text-white {
    color: var(--white-color) !important;
}

/* 通用样式 */
.wn-padding {
    padding-left: 50px;
    padding-right: 50px;
}

.ws-padding {
    padding-left: 30px;
    padding-right: 30px;
}

.rounded-5 {
    border-radius: 25px;
}


/* 服务滚动展示 */



/* 响应式设计 */
@media (max-width: 992px) {

    .wn-padding,
    .ws-padding {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-banner-content h2 {
        font-size: 2.5rem;
    }

    .emergency {
        position: static;
        width: auto;
        margin-top: 30px;
    }

    .customer-shape {
        display: none;
    }

    .phone-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-banner-content h2 {
        font-size: 2rem;
    }

    .services-card,
    .doctor-card {
        margin-bottom: 30px;
    }

    .people-question ul li img {
        width: 40px;
        height: 40px;
    }

}
