/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #008ea3;
    font-size: 1.8rem;
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #008ea3;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 菜单切换按钮（移动端） */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner样式 */
.banner {
    background: url('../images/banner1.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    transition: background-image 1s ease-in-out;
}

/* 矮版Banner样式 */
.banner.short {
    height: 20vh;
    min-height: 150px;
}

.banner-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 主要内容样式 */
.main-content {
    padding: 0rem 0;
}

section {
    margin-bottom: 4rem;
}

section h3 {
    font-size: 2rem;
    color: #008ea3;
    text-align: left;
    margin: 0;
}

/* 板块头部（标题+查看更多按钮） */
.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header h3 {
    text-align: center;
    width: 100%;
}

/* 垂直排列的标题和描述 */
.section-header-vertical {
    flex-direction: column;
    gap: 0.5rem;
}

.section-header-vertical h3 {
    margin: 0;
}

.section-header-vertical .section-description {
    margin: 0;
    text-align: center;
}

/* 查看更多按钮 */
.view-more {
    color: #008ea3;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #008ea3;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    position: absolute;
    right: 0;
}

.view-more:hover {
    background-color: #008ea3;
    color: white;
}

/* 医院概况 */
.overview {
    margin-bottom: 3rem;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* 左侧图片区域 */
.overview-images {
    position: relative;
    height: 400px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.overview-image {
    position: absolute;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 上下交错的图片 */
.overview-image.img1 {
    top: 0;
    left: 0;
    border-bottom-right-radius: 0;
    z-index: 2;
}

.overview-image.img2 {
    bottom: 0;
    right: 0;
    border-top-left-radius: 0;
    z-index: 1;
    opacity: 1;
}

/* 激活状态的图片 - 明显更大 */
.overview-image.active {
    opacity: 1;
    z-index: 2;
    width: 90%;
    height: 300px;
}

/* 非激活状态的图片 - 较小 */
.overview-image:not(.active) {
    opacity: 1;
    z-index: 1;
    width: 70%;
    height: 200px;
}

/* 右侧简介区域 */
.overview-text {
    padding: 1rem;
}

.overview-text h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #008ea3;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #555;
}

.overview-text .view-more {
    position: static;
    display: inline-block;
    margin-top: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .overview-images {
        height: 350px;
    }
    
    /* 移动端的图片尺寸 */
    .overview-image.active {
        width: 90%;
        height: 250px;
    }
    
    .overview-image:not(.active) {
        width: 70%;
        height: 180px;
    }
}

/* 科室特色 */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.department-item {
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    padding: 1.5rem;
}

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

.department-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.department-item h4 {
    font-size: 1.3rem;
    margin: 1rem 0;
    color: #008ea3;
}

.department-item p {
    margin-bottom: 1rem;
}

/* 新闻动态 */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    border-bottom: none;
}

.news-tab {
    padding: 1rem 2.5rem;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab:hover {
    background-color: #e8f4f6;
    border-color: #008ea3;
    color: #008ea3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 142, 163, 0.1);
}

.news-tab.active {
    background-color: #008ea3;
    border-color: #008ea3;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 142, 163, 0.2);
}

.news-tab-content {
    display: none;
    margin-top: 2rem;
}

.news-tab-content.active {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-item {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.news-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.news-item h4 {
    font-size: 1.2rem;
    margin: 1rem;
    color: #008ea3;
}

.news-item p {
    margin: 0 1rem 1rem;
    color: #666;
    font-size: 0.9rem;
}

.more-btn {
    display: block;
    margin: 2rem auto;
    padding: 0.8rem 2rem;
    background-color: #008ea3;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.more-btn:hover {
    background-color: #007a8e;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #008ea3;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #008ea3;
}

.qrcode img {
    width: 100px;
    height: 100px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* 联系信息卡片 */
.contact-cards {
    margin: 3rem 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h4 {
    color: #008ea3;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    margin: 0.5rem 0;
}

/* 医院位置 */
.contact-map-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 3rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-map-container {
        padding: 1.5rem;
    }
}

/* 专家卡片基础样式 - 两个页面共享的基本样式 */
.expert-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.expert-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    background-color: #e9ecef;
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info h4 {
    color: #008ea3;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.expert-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.expert-department {
    color: #008ea3;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.expert-specialty {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: left;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    flex-grow: 1;
}

/* 专家简介滚动板块 */
.experts-scroll {
    margin: 3rem 0;
}

.experts-scroll-container {
    position: relative;
    margin: 2rem 0;
    width: 100%;
}

.scroll-wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
}

.scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background: #008ea3;
    border-radius: 4px;
}

.scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #007a8e;
}

.experts-scroll-track {
    display: flex;
    gap: 1.2rem;
    transition: none;
    will-change: transform;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}

/* 专家介绍区域（experts.html） */
.experts-intro {
    text-align: center;
    margin: 5rem auto 4rem;
    max-width: 1000px;
    padding: 4rem 3rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 142, 163, 0.08);
    position: relative;
    border: 1px solid rgba(0, 142, 163, 0.1);
}

.experts-intro h3 {
    font-size: 3rem;
    color: #008ea3;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.experts-intro h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #008ea3;
    border-radius: 5px;
}

.experts-intro p {
    font-size: 1.25rem;
    line-height: 2;
    color: #555;
    text-indent: 0;
}

/* 专家团队网格布局（experts.html） */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0 6rem;
}

/* 专家内容区域（experts.html） */
.experts-content {
    position: relative;
}

/* index.html中专家卡片的样式 - 5列布局 */
.experts-scroll-track .expert-card {
    min-width: calc(20% - 1.2rem);
    max-width: calc(20% - 1.2rem);
    width: calc(20% - 1.2rem);
    flex: none;
    padding: 1.5rem;
}

/* experts.html中专家卡片的样式 - 3列网格布局 */
.experts-grid .expert-card {
    min-width: 280px;
    width: 100%;
    max-width: 100%;
    padding: 2rem;
}

/* experts.html中的专家照片尺寸 */
.experts-grid .expert-photo {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
}

/* index.html中的专家照片样式 - 垂直矩形 */
.experts-scroll-track .expert-photo {
    width: 100%;
    height: 300px;
    border-radius: 4px;
}

/* experts.html中的专家信息样式 */
.experts-grid .expert-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.experts-grid .expert-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.experts-grid .expert-department {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.experts-grid .expert-specialty {
    font-size: 1rem;
    line-height: 1.8;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* index.html专家卡片的响应式设计 */
@media (max-width: 1200px) {
    /* 在大屏幕下保持5列布局 */
    .experts-scroll-track .expert-card {
        min-width: calc(20% - 1rem);
        max-width: calc(20% - 1rem);
        width: calc(20% - 1rem);
    }
}

@media (max-width: 992px) {
    /* 在中等屏幕下显示3列 */
    .experts-scroll-track .expert-card {
        min-width: calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
        width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    /* 在小屏幕下显示2列 */
    .experts-scroll-track .expert-card {
        min-width: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    /* 在超小屏幕下显示1列 */
    .experts-scroll-track {
        display: block;
    }
    
    .experts-scroll-track .expert-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .experts-scroll-track .expert-card:last-child {
        margin-bottom: 0;
    }
}

/* experts.html响应式设计 */
@media (max-width: 992px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .experts-intro {
        margin: 3rem auto 2rem;
        padding: 3rem 2rem;
    }
    
    .experts-intro h3 {
        font-size: 2.2rem;
    }
    
    .experts-intro p {
        font-size: 1.1rem;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .experts-intro {
        padding: 2rem 1.5rem;
    }
    
    .experts-intro h3 {
        font-size: 1.8rem;
    }
}

/* 旧的滚动项样式，保留以兼容旧代码 */
.expert-scroll-item {
    flex: 0 0 250px;
    margin: 0 10px;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #fff;
}

.expert-scroll-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.expert-scroll-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #008ea3;
}

.expert-scroll-item p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #666;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #008ea3;
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
}

.scroll-btn:hover {
    background-color: #008ea3;
    color: #fff;
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 10px;
}

/* 关于我们 - 发展历程 */
.about-history {
    margin: 4rem 0;
}

.history-content {
    position: relative;
    padding-left: 3rem;
}

/* 时间线垂直线 */
.history-content::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #008ea3;
    border-radius: 2px;
}

.history-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

/* 年份圆圈 */
.history-year {
    position: absolute;
    left: -4rem;
    top: 0;
    width: 80px;
    height: 80px;
    background-color: #008ea3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

.history-text {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.history-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.history-text h4 {
    color: #008ea3;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.history-text p {
    color: #666;
    margin: 0;
}

/* 关于我们 - 荣誉资质 */
.about-honors {
    margin: 4rem 0;
}

.honors-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.honor-item {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.honor-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.honor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.honor-text h4 {
    color: #008ea3;
    font-size: 1.2rem;
    margin: 0;
}

/* 新的医院概况布局 */
.new-overview {
    margin-bottom: 3rem;
}

.image-gallery {
    margin-bottom: 2rem;
}

/* 大图样式 */
.main-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
    aspect-ratio: 2 / 1;
    max-height: 600px;
}

/* 缩略图容器 */
.thumbnail-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

/* 缩略图样式 */
.thumbnail {
    width: 120px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.thumbnail.active {
    opacity: 1;
    border-color: #008ea3;
}

/* 院长致辞样式 */
.president-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 2rem 0;
}

.president-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.president-photo {
    width: 250px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 5px solid #fff;
}

.president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-details {
    margin-left: 2rem;
    flex: 1;
}

.president-details h3 {
    margin: 0;
    color: #008ea3;
    font-size: 2rem;
    font-weight: bold;
}

.president-details p {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 1.1rem;
}

.president-bio {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.president-bio h4 {
    color: #008ea3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.president-bio p {
    margin: 0 0 1rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.president-speech {
    position: relative;
    padding: 3rem;
    padding-bottom: 6rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.president-speech h4 {
    color: #008ea3;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.president-signature {
    position: absolute;
    bottom: 1rem;
    right: 3rem;
    margin-top: 2rem;
}

.president-signature img {
    width: 180px;
    height: auto;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .president-info {
        flex-direction: column;
        text-align: center;
    }
    
    .president-photo {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .president-speech {
        padding: 1.5rem;
    }
    
    .president-signature {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        text-align: right;
    }
    
    .president-signature img {
        width: 120px;
    }
}

/* 领导团队样式 */
.leaders-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.leaders-content h3 {
    color: #008ea3;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
}

.leaders-content h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #008ea3;
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.leader-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
}

.leader-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #008ea3;
}

.leader-photo {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #e9ecef;
    position: relative;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.leader-item:hover .leader-photo img {
    transform: scale(1.08);
}

.leader-info {
    padding: 2rem 1.5rem;
}

.leader-info h4 {
    color: #008ea3;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.leader-info p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.leader-info p:first-of-type {
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

/* 领导团队响应式设计 */
@media (max-width: 992px) {
    .leaders-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .leader-photo {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .leaders-content {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .leaders-content h3 {
        font-size: 1.8rem;
    }
    
    .leaders-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.8rem;
    }
    
    .leader-photo {
        height: 250px;
    }
    
    .leader-info {
        padding: 1.5rem 1.2rem;
    }
    
    .leader-info h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .leaders-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-photo {
        height: 220px;
    }
    
    .leader-info {
        padding: 1.2rem 1rem;
    }
}

@media (max-width: 480px) {
    .leaders-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-photo {
        height: 200px;
    }
}

/* 医院文化样式 */
.culture-header {
    margin: 4rem 0 2rem;
    text-align: center;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

.culture-content {
    margin: 3rem 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

.culture-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.culture-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    background-color: #f0f9ff;
    color: #008ea3;
}

.culture-icon.mission {
    background-color: #fef3c7;
    color: #f59e0b;
}

.culture-icon.vision {
    background-color: #dbeafe;
    color: #2563eb;
}

.culture-icon.values {
    background-color: #fef2f2;
    color: #ef4444;
}

.culture-icon.service {
    background-color: #f0fdf4;
    color: #10b981;
}

.culture-icon.spirit {
    background-color: #fdf2fe;
    color: #c026d3;
}

.culture-icon.motto {
    background-color: #e0e7ff;
    color: #6366f1;
}

.culture-item h4 {
    color: #008ea3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.culture-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* 文化解读样式 */
.culture-interpretation {
    margin: 4rem 0;
    background-color: #f8fafc;
    padding: 3rem;
    border-radius: 8px;
}

.interpretation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.interpretation-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* 文字介绍 */
.text-intro {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.text-intro p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
    text-indent: 2em;
}

/* 就诊须知样式 */
.notice-content {
    margin: 2rem 0;
    padding: 0;
}

.notice-content h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #008ea3;
    position: relative;
}

.notice-content h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #008ea3;
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.notice-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.notice-card:nth-child(1) { animation-delay: 0.1s; }

/* 出诊时间表样式 */
.schedule-content {
    margin: 2rem 0;
    padding: 0;
}

.schedule-content h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: #008ea3;
    position: relative;
}

.schedule-content h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #008ea3;
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

.schedule-content p {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    font-size: 1.05rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.schedule-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.schedule-card:nth-child(1) { animation-delay: 0.1s; }
.schedule-card:nth-child(2) { animation-delay: 0.2s; }
.schedule-card:nth-child(3) { animation-delay: 0.3s; }

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #008ea3;
}

.card-header {
    background: linear-gradient(135deg, #008ea3 0%, #006a8d 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
    overflow-x: auto;
}

.doctor-schedule {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.doctor-schedule thead {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.doctor-schedule th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #e2e8f0;
}

.doctor-schedule th:last-child {
    border-right: none;
}

.doctor-schedule td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #555;
    border-right: 1px solid #e2e8f0;
}

.doctor-schedule td:last-child {
    border-right: none;
}

.doctor-schedule tbody tr {
    transition: background-color 0.2s ease;
}

.doctor-schedule tbody tr:hover {
    background-color: #f8fafc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-header {
        padding: 1.2rem 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .doctor-schedule {
        font-size: 0.85rem;
    }
    
    .doctor-schedule th,
    .doctor-schedule td {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .schedule-content h3 {
        font-size: 1.8rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .card-header h4 {
        font-size: 1.2rem;
    }
    
    .doctor-schedule {
        font-size: 0.8rem;
    }
    
    .doctor-schedule th,
    .doctor-schedule td {
        padding: 0.6rem;
    }
}
.notice-card:nth-child(2) { animation-delay: 0.2s; }
.notice-card:nth-child(3) { animation-delay: 0.3s; }
.notice-card:nth-child(4) { animation-delay: 0.4s; }

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #008ea3;
}

.notice-card-header {
    background: linear-gradient(135deg, #008ea3 0%, #006b7b 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.notice-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.notice-card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.notice-card-body {
    padding: 1.5rem;
}

.notice-card-body ul,
.notice-card-body ol {
    margin: 0;
    padding-left: 1.2rem;
}

.notice-card-body li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

.notice-card-body li:last-child {
    margin-bottom: 0;
}

.notice-card-body li::before {
    content: '';
    position: absolute;
    left: -1.2rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background-color: #008ea3;
    border-radius: 50%;
}

.notice-card-body ol {
    counter-reset: item;
    list-style-type: none;
}

.notice-card-body ol li::before {
    content: counter(item);
    counter-increment: item;
    background-color: #008ea3;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    left: -1.4rem;
    top: 0.5rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .notice-content h3 {
        font-size: 1.8rem;
    }
    
    .notice-card-header {
        padding: 1.2rem;
    }
    
    .notice-card-body {
        padding: 1.2rem;
    }
}

/* 二维码弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.qrcode-large img {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        width: 100%;
        top: 70px;
        left: -100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    /* 下拉菜单 */
    .dropdown-content {
        position: static;
        background-color: #f9f9f9;
        box-shadow: none;
    }
    
    /* Banner */
    .banner-content h2 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    /* 内容区域 */
    section h3 {
        font-size: 1.5rem;
    }
    
    /* 板块头部（标题+查看更多按钮） */
    .section-header {
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .section-header h3 {
        text-align: center;
    }
    
    .view-more {
        position: static;
        margin-top: 0.5rem;
    }
    
    .departments-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* 医院文化响应式设计 */
    .culture-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .culture-item {
        padding: 1.5rem;
    }
    
    .culture-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .culture-interpretation {
        padding: 2rem 1rem;
        margin: 3rem 0;
    }
    
    /* 联系我们 */
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* 医疗设备页面样式 */
.equipment-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.equipment-content h3 {
    color: #008ea3;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
}

.equipment-content h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #008ea3;
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.equipment-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.equipment-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #008ea3;
}

.equipment-image {
    flex: 0 0 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-item:hover .equipment-image img {
    transform: scale(1.08);
}

.equipment-info {
    flex: 1;
}

.equipment-info h4 {
    color: #008ea3;
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.equipment-info p {
    color: #555;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

/* 医疗设备响应式设计 */
@media (max-width: 992px) {
    .equipment-item {
        gap: 1.2rem;
        padding: 1.2rem;
    }
    
    .equipment-image {
        flex: 0 0 180px;
        height: 130px;
    }
    
    .equipment-info h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .equipment-content {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .equipment-content h3 {
        font-size: 1.8rem;
    }
    
    .equipment-grid {
        gap: 1.5rem;
    }
    
    .equipment-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .equipment-image {
        flex: none;
        width: 100%;
        height: 220px;
    }
    
    .equipment-info h4 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .equipment-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .equipment-image {
        height: 180px;
    }
    
    .equipment-item {
        padding: 1.2rem;
    }
    
    .equipment-info h4 {
        font-size: 1.2rem;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .container {
        width: 95%;
    }
}

/* 员工风采页面样式 */
.employee-content {
    padding: 2rem 0;
}

.employee-content h3 {
    color: #008ea3;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
}

.employee-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #008ea3;
    border-radius: 2px;
}

.employee-waterfall {
    column-count: 3;
    column-gap: 1.5rem;
    margin-bottom: 2rem;
}

.employee-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* 翻折效果样式 */
.flip-container {
    perspective: 1000px;
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.flip-container.flipped .flipper {
    transform: rotateY(180deg);
}

.front, .back {
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

.back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.employee-img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.employee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.employee-item:hover .employee-img {
    transform: scale(1.05);
}

.employee-item p {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: #555;
    margin: 0;
}

/* 响应式瀑布流布局 */
@media (max-width: 992px) {
    .employee-waterfall {
        column-count: 2;
        column-gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .employee-waterfall {
        column-count: 2;
        column-gap: 1rem;
    }
    
    .employee-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .employee-waterfall {
        column-count: 1;
    }
    
    .employee-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* 图片弹窗样式 */
#imageModal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

#imageModal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3100;
}

#imageModal .close:hover,
#imageModal .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#imageModal .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

#imageModal .modal-img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    border-radius: 0;
}

/* 响应式弹窗 */
@media (max-width: 768px) {
    #imageModal .close {
        font-size: 30px;
        top: 15px;
        right: 25px;
    }
    
    #imageModal .modal-content {
        padding: 10px;
    }
}
