body { padding-top: 100px;font-family: 微软雅黑, 宋体, Arial;}
a{color:#333;text-decoration:none}
a:hover{color:#16a34a;text-decoration:none}.baizi{font-family: 微软雅黑, 宋体, Arial;color: #ffffff;}
.baizi{color: #fff;}
.baizi:link {color: #fff;}
.baizi:visited {color: #fff;}
.baizi:hover {color: #fff;}
.baizi:active {color: #fff;}
/*top*/
.b00{ margin-bottom: 15px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .05);
    -webkit-box-shadow: #d4d2d2 0px 0px 10px;
    -moz-box-shadow: #d4d2d2 0px 0px 10px;
    }
.logo{ width: 50%;float: left; margin-top: 8px;}
.b01{ padding:0px;height: 100px;}
.nav{ margin-top:10px;}
.bdh{ font-size: 16px;margin-top: 10px}
.navbar-default .navbar-nav>li>a:hover{color:#16a34a;background-color:#fff;}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover{background-color:#fff;}
.navbar-default .navbar-toggle{border-color: #fff;}
.navbar-toggle{margin-top:20xp;}

/* 响应式导航栏样式 */
@media (max-width: 1200px) {
    .navbar-header {
        width: 100% !important;
        text-align: center;
        float: none !important;
        margin-bottom: 10px;
    }
    
    .logo {
        width: auto !important;
        float: none !important;
        display: inline-block;
        margin-top: 15px;
    }
    
    .navbar-collapse {
        float: none !important;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
    
    .navbar-nav {
        float: none !important;
        display: inline-block;
        margin: 0;
    }
    
    .navbar-nav > li {
        display: inline-block;
        float: none !important;
    }
    
    .navbar-toggle {
        display: none !important;
    }
    
    .b01 {
        height: auto !important;
        min-height: 120px;
        padding: 10px 0;
    }
    
    body {
        padding-top: 140px;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 768px) {
    .navbar-nav > li {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav > li > a {
        padding: 10px 15px;
    }
    
    .b01 {
        min-height: 160px;
    }
    
    body {
        padding-top: 180px;
    }
    
    .logo img {
        max-width: 200px;
        height: auto;
    }
}

/*bnaner*/
.carousel-inner img{ margin:0 auto;}

/* 预约参观样式 */
.reserve-section {
    height: 100px;
    background: linear-gradient(to bottom, #16a34a, #059669);
    padding-top: 10px;
    display: flex;
    align-items: center;
}

.reserve-section .form-control {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    margin-right: 10px;
    height: 45px;
}

.reserve-section select.form-control {
    width: 200px;
    padding-right: 26px;
}

.reserve-section .btn-primary {
    background-color: #16a34a;
    border-color: #16a34a;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 16px;
}

.reserve-section .btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
}

/* 预约参观表单响应式样式 */
@media (max-width: 1200px) {
    .reserve-section .form-control {
        width: 140px;
        padding: 6px 12px;
        font-size: 14px;
        height: 38px;
        margin-right: 8px;
    }
    
    .reserve-section select.form-control {
        width: 140px;
        padding-right: 20px;
    }
    
    .reserve-section .btn-primary {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .reserve-section .form-control {
        width: 120px;
        padding: 5px 10px;
        font-size: 13px;
        height: 35px;
        margin-right: 6px;
    }
    
    .reserve-section select.form-control {
        width: 120px;
        padding-right: 18px;
    }
    
    .reserve-section .btn-primary {
        padding: 6px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .reserve-section {
        height: auto;
        padding: 20px 0;
    }
    
    .reserve-section .form-inline .form-group {
        display: block;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .reserve-section .form-control {
        width: 100%;
    }
}

/* 医院简介样式 */
.hospital-intro {
    padding: 60px 0;
    background-color: transparent;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.intro-content h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    background-color: #16a34a;
    margin: 15px auto 0;
}

.intro-content p {
    text-align: center;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.intro-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.intro-image img:hover {
    transform: translateY(-5px);
}

.intro-advantages {
    flex: 0 0 calc(50% - 40px);
    max-width: calc(50% - 40px);
}

.intro-advantages h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
}

.intro-advantages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-advantages li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.intro-advantages li .check-icon {
    position: absolute;
    left: 0;
    top: 5px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #16a34a;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
}

.intro-advantages li strong {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.intro-advantages li p {
    text-align: left;
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.view-details {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #16a34a;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-details:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
}

/* 医院简介响应式样式 */
@media (max-width: 1200px) {
    .intro-main {
        gap: 30px;
    }
    
    .intro-content h2 {
        font-size: 28px;
    }
    
    .intro-advantages h3 {
        font-size: 22px;
    }
    
    .intro-advantages li strong {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .hospital-intro {
        padding: 40px 0;
    }
    
    .intro-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .intro-image,
    .intro-advantages {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .intro-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .hospital-intro {
        padding: 30px 0;
    }
    
    .intro-content h2 {
        font-size: 24px;
    }
    
    .intro-content p {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .intro-advantages h3 {
        font-size: 20px;
    }
    
    .intro-advantages li {
        padding-left: 25px;
    }
    
}

/* 医院新闻和就医指南切换样式 */
.intro-content-tabs {
    flex: 0 0 calc(50% - 40px);
    max-width: calc(50% - 40px);
}

/* 切换标签样式 */
.content-tabs {
    width: 50%;
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.content-tabs .tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.content-tabs .tab-btn:hover {
    color: #16a34a;
}

.content-tabs .tab-btn.active {
    color: #16a34a;
    font-weight: 600;
}

.content-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #16a34a;
}

/* 标签内容样式 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-list {
    margin-bottom: 25px;
}

.news-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-date {
    display: inline-block;
    font-size: 14px;
    color: #16a34a;
    margin-bottom: 8px;
    font-weight: 500;
}

.news-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item h4 a:hover {
    color: #16a34a;
}

.news-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-more-news {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f0fdf4;
    color: #16a34a;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #16a34a;
}

.view-more-news:hover {
    background-color: #16a34a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
}

/* 就医指南列表样式 */
.guide-list {
    margin-bottom: 25px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

.guide-item:hover {
    transform: translateX(5px);
}

.guide-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.guide-icon {
    font-size: 24px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.guide-item h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.guide-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-item h4 a:hover {
    color: #16a34a;
}

.guide-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 切换功能响应式样式 */
@media (max-width: 1200px) {
    .intro-main {
        gap: 30px;
    }
    
    .intro-content-tabs {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    
    .content-tabs .tab-btn {
        padding: 10px 16px;
        font-size: 15px;
    }
    
    .news-item h4,
    .guide-item h4 {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .intro-content-tabs {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .content-tabs .tab-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .news-item,
    .guide-item {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .news-date {
        font-size: 13px;
    }
    
    .news-item h4,
    .guide-item h4 {
        font-size: 14px;
    }
    
    .news-item p,
    .guide-item p {
        font-size: 13px;
    }
    
    .guide-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .view-more-news {
        padding: 8px 16px;
        font-size: 14px;
    }
}

    .intro-advantages li .check-icon {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 12px;
    }
    
    .view-details {
        padding: 10px 20px;
        font-size: 15px;
    }

@media (max-width: 480px) {
    .intro-content h2 {
        font-size: 22px;
    }
    
    .intro-content p {
        font-size: 14px;
    }
    
    .intro-advantages h3 {
        font-size: 18px;
    }
    
    .intro-advantages li strong {
        font-size: 15px;
    }
    
    .intro-advantages li p {
          font-size: 14px;
      }
    
    .reserve-section select.form-control {
        width: 100%;
    }
    
    .reserve-section .btn-primary {
        width: 100%;
        margin-top: 10px;
    }
    
    .reserve-section .col-xs-12 {
        margin-bottom: 15px;
    }
}



.tab-h2{font-size: 38px;text-align: center;letter-spacing: 1px;font-weight: 600;}

/* 统一标题样式类 - 方便管理所有标题 */
.section-title {
    text-align: center;
}
.section-title h2 {
    font-size: 32px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 10px;
}
.section-title .title-line {
    height: 5px;
    width: 30px;
    background-color: #16a34a; 
    margin: 0 auto;
}
.tab-h4{font-size: 18px;text-align: center;letter-spacing: 1px;margin: 20px 0;}
.tab-p{font-size: 18px;line-height: 25px; text-align: center;letter-spacing: 1px;color: #777777; margin-bottom: 30px;}

/*tab1*/
#tab1{margin: 80px 0;}
.tab1-col-1{width: 20%; text-align: center;float: left; padding: 0 8px;}
.tab1-col-1 p{font-size: 12px;color: #888; line-height: 22px;padding: 10px;}

/*tab2*/
#tab2{padding: 0 0 70px 0;}
.tab2-col-1{width: 14%; text-align: center;float: left;}
.tab2-col-1 h3{font-size: 16px;color: #16a34a; line-height: 22px;padding: 0 10px;}
.tab2-col-1 p{font-size: 12px;color: #888; line-height: 22px;padding: 0 10px;}

/*tab3*/
#tab3{background-color:#fff;padding: 50px 0 0 0; }

/* tab3专用样式 - 避免影响其他地方 */
#tab3 .tab-h2{font-size: 38px;text-align: center;letter-spacing: 1px;font-weight: 600;}
#tab3 .tab-h2line{
    height: 5px;
    width: 80px;
    background-color: #16a34a; 
    margin: 0 auto; 
    }
#tab3 .tab-p{font-size: 18px;line-height: 25px; text-align: center;letter-spacing: 1px;color: #777777; margin-bottom: 30px;}


/*tab4*/
#tab4{background-color:#f6f6f6;padding: 120px 0;}
.tab4-col-1{width: 20%; text-align: center;float: left;}
.tab4-col-1 h3{font-size: 16px;line-height: 22px;padding: 0 10px;}
.tab4-col-1 img{border: 5px solid #16a34a;}

/*tab5*/
#tab5{margin: 50px 0; height: 700px; background: linear-gradient(to bottom, #ffffff, #86efac);}

/*tab6*/
#tab6{margin: 50px 0;}
#tab6 .carousel-caption{margin:0px;background-color: #000;background: rgba(0, 0, 0, 0.5);padding-bottom:0px;right:0;left:0;bottom:0; padding: 10px;}
#tab6 .carousel-indicators{bottom:45px;}
#tab6 .left{background-image:linear-gradient(to right,rgba(0,0,0,.0) 0,rgba(0,0,0,0) 100%)}
#tab6 .right{background-image:linear-gradient(to right,rgba(0,0,0,.0) 0,rgba(0,0,0,0) 100%)}
#tab6 li{font-size: 16px; line-height: 33px;}

/*tab7*/
#tab7{margin: 50px 0;}
#tab7 p{line-height: 30px; color:#666;}


/*pdtop*/
.jumbotron{
    height: 200px;
}
.jumbotron h1{font-size: 24px;color: #fff;}
.jumbotron h4{font-size: 14px;color: #E3E3E3;}
.jumbotron hgroup{padding-left: 60px;}

/*zhengwennr*/
#zhengwennr{ font-size: 18px;line-height: 33px;color: #666;}
#zhengwennr .container{padding: 0 20px 50px 30px;}
#zhengwennr img{ width: 800px; margin: 6px;}

/* aboutnr */
#aboutnr{ font-size: 18px;line-height: 33px;color: #666;}
#aboutnr .container{padding: 0 20px 50px 30px;}


#video {width: 100%;}
/*liebiao*/
#liebiao{padding: 0 0 50px 0}
#liebiao .row{margin: 0;}
#liebiao .col-md-2{text-align: left;padding-left: 0;}

#liebiao .info-content{ padding: 20px 0; border-bottom: 1px solid #e9e9e9;}
#liebiao p{color: #999; line-height: 22px;}

/*cpliebiao*/
#cpliebiao{padding: 0 0 50px 0;text-align: center;}
#cpliebiao h4{color: #666; font-size: 14px; line-height:25px; height:35px;}
#cpliebiao .thumbnail{border: 0;}
#cpliebiao img { height:200px;}

/*liuyan*/
#liuyan{padding: 50px 0;text-align: center;}



/* 首页新闻列表滚动样式 */
.box1List {
            position: relative;
            overflow: hidden;
            padding: 20px 0;
        }
        
        .swiper-container {
            width: 100%;
            padding: 0 40px; /* 为按钮留出空间 */
        }
        
        .swiper-wrapper {
            transition-timing-function: ease-in-out;
        }
        
        .swiper-slide {
            width: 380px;
            margin-right: 32px;
        }
        
        .box1Img {
            position: relative;
            overflow: hidden;
            border-radius: 8px 8px 0 0;

        }
        
        .box1Img img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .box1Img:hover img {
            transform: scale(1.05);
        }
        
        .box1Meta {
            display: flex;
            align-items: center;
            font-size: 14px;
            background-color: #f3f3f3;
            padding: 30px 30px 0 30px;
        }
        .box1Text {
           background-color: #f3f3f3;
            padding: 10px 30px 30px 30px;
            border-radius: 0 0 8px 8px;
        }
        
        .box1Date {
            color: #999;
            margin-right: 5px;
            font-size: 16px;
        }
        
        .box1Dot {
            color: #ccc;
            margin-right: 5px;
            font-size: 16px;
        }
        
        .box1Price {
            color: #666; /* 灰色字体 */
            font-size: 16px;
        }
        
        .box1H3 {
            font-size: 24px;
            font-weight: bold;
            margin: 0;
            line-height: 1.6;
            height: 80px;
            overflow: hidden;
        }
        
        .ellipsis {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        /* 左右圆形按钮 */
        .box1Btn {
            position: absolute;
            top: 50%;
            width: 60px;
            height: 60px;
            background-color: #16a34a;
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 50px;
            font-size: 24px;
            cursor: pointer;
            transform: translateY(-50%);
            z-index: 10;
            transition: background-color 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .box1Btn i {
            font-size: 14px;
            line-height: 1;
            top:0;
        }
        
        .box1Btn:hover {
            background-color: #059669;
        }
        
        .box1Prev {
            left: 0;
        }
        
        .box1Next {
            right: 0;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .swiper-slide {
                width: 280px !important;
            }
            
            .box1Btn {
                width: 40px;
                height: 40px;
                line-height: 40px;
                font-size: 18px;
            }
        }
/* 核心板块样式 */
.row {
      margin-left: -15px;
      margin-right: -15px;
    }

    .col-md-6 {
      padding-left: 15px;
      padding-right: 15px;
    }

    /* 图片容器基础样式 */
    .img-container {
      position: relative;
      overflow: hidden;
      /* 上下间距，左右间距通过 col 控制 */
      cursor: pointer;
      transition: all 0.4s ease;
      /* 固定高度 */
    }

    .img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* 调整图片间距为 30px，通过父级 padding 控制 */
    .col-md-6 {
      padding: 10px;
    }

    /* 圆点样式 - 不同位置 */
    .dot {
      width: 40px;
      height: 40px;
      background-color: #16a34a;
      position: absolute;
      transition: all 0.4s ease;
 
    }

    /* 第一张图圆点在右下角 */
    .img-1 .dot {
      bottom: -10px;
      right: -10px;
      border-radius: 100% 0 0 0;
      /* 左上角圆角，实现右下角四分之一圆 */
    }

    /* 第二张图圆点在左下角 */
    .img-2 .dot {
      bottom: -10px;
      left: -10px;
      border-radius: 0 100% 0 0;
      /* 右上角圆角，实现左下角四分之一圆 */
    }

    /* 第三张图圆点在右上角 */
    .img-3 .dot {
      top: -10px;
      right: -10px;
      border-radius: 0 0 0 100%;
      /* 左下角圆角，实现右上角四分之一圆 */
    }

    /* 第四张图圆点在左上角 */
    .img-4 .dot {
      top: -10px;
      left: -10px;
      border-radius: 0 0 100% 0;
      /* 右下角圆角，实现左上角四分之一圆 */
    }

    /* 圆角样式 - 不同位置 */
    .img-1 {
      border-radius: 11px 0 0 0;
      /* 只有左上角是圆角 */
    }

    .img-2 {
      border-radius: 0 11px 0 0;
      /* 只有右上角是圆角 */
    }

    .img-3 {
      border-radius: 0 0 0 11px;
      /* 只有左下角是圆角 */
    }

    .img-4 {
      border-radius: 0 0 11px 0;
      /* 只有右下角是圆角 */
    }

    /* 默认标题样式 - 不同位置，加大字体 */
    .default-title {
      position: absolute;
      color: #fff;
      padding: 10px;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
      transition: opacity 0.4s ease;
      margin: 0;
      font-size: 28px;
      /* 加大字体 */
    }

    /* 第一张图默认标题在右下角 */
    .img-1 .default-title {
      bottom: 20px;
      right: 20px;
    }

    /* 第二张图默认标题在左下角 */
    .img-2 .default-title {
      bottom: 20px;
      left: 20px;
    }

    /* 第三张图默认标题在右上角 */
    .img-3 .default-title {
      top: 20px;
      right: 20px;
    }

    /* 第四张图默认标题在左上角 */
    .img-4 .default-title {
      top: 20px;
      left: 20px;
    }

    /* 悬停后透明背景层，调整透明度，让底部图片更清晰 */
    .hover-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(22, 163, 74, 0.6);
      /* 降低透明度 */
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      /* 居中显示 */
      align-items: center;
      /* 居中显示 */
      padding: 20px;
      color: #fff;
      text-align: center;
    }

    /* 标题和摘要 */
    .hover-layer h3 {
      font-size: 28px;
      margin: 0 0 15px 0;
    }

    .hover-layer p {
      font-size: 18px;
      margin: 0 50px 25px 50px;
      line-height: 1.6;
    }

    /* 按钮样式 */
    .hover-layer .btn {
      background-color: #fff;
      color: #16a34a;
      border: none;
      padding: 8px 20px;
      border-radius: 4px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .hover-layer .btn:hover {
      background-color: #f8f9fa;
    }

    /* 悬停触发动画 */
    .img-container:hover .dot {
      transform: scale(100);
      /* 圆点扩散成背景 */
      opacity: 0.8;
    }

    .img-container:hover .hover-layer {
      opacity: 1;
      visibility: visible;
    }

    .img-container:hover .default-title {
      opacity: 0;
      /* 隐藏默认标题 */
    }
/* 特色服务样式 - 仅在tab3内有效 */
/* 背景图容器 */
    #tab3 .bg-section {
      width: 100%;
      height: 580px;
      background: url("../images/tab3bj.webp") no-repeat center center;
      background-size: cover; /* 背景图自适应 */
      padding-top: 230px;
      overflow: hidden;
    }

    /* 内容容器 */
    #tab3 .service-container {
      position: relative;
      z-index: 2; /* 确保内容在遮罩上层 */
      color: #fff;
    }
    #tab3 .service-item {
      text-align: center;
      padding: 0 30px;
      margin-bottom: 30px;
    }
    /* 图标样式 */
    #tab3 .service-icon {
      width: 90px;
      height: 90px;
      line-height: 90px;
      border-radius: 50%;
      font-size: 24px;
      margin: 0 auto 20px auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    #tab3 .service-icon i {
      vertical-align: middle;
    }
    /* 标题样式 */
    #tab3 .service-item h3 {
      font-size: 26px;
      margin: 22px;
    }
    /* 摘要样式 */
    #tab3 .service-item p {
      font-size: 16px;
      margin: 0;
    }

    /* 响应式调整 */
    @media (min-width: 768px) {
      #tab3 .service-container .row {
        display: flex;
        flex-wrap: nowrap;
      }
      #tab3 .service-item {
        margin-bottom: 0;
        flex: 1;
      }
    }
 /* 保障配套样式 */
 /* 容器布局 */
    .service-row {
      display: flex;
      flex-wrap: wrap;
      margin: 0 -15px; /* 抵消 col 的 padding */
    }
    .service-col {
      width: 33.333%;
      padding: 0 15px;
      margin-bottom: 30px;
    }




    

/*footer*/
/* 底部区域整体样式 */
    footer {
      background-color: #111827;
      color: #ccc;
      padding: 50px 0 30px 0;
    }

    footer a {
      color: #ccc;
      text-decoration: none;
    }

    footer a:hover {
      color: #fff;
    }

    /* 底部内容容器 */
    .footer-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: flex-start;
    }

    /* 左侧品牌信息 */
    .footer-brand {
      flex: 0 0 18%;
      max-width: 18%;
      padding: 0 15px;
    }

    .footer-brand img {
      max-width: 160px;
      margin-bottom: 10px;
    }

    .footer-brand p {
      margin: 0;
      line-height: 1.6;
      font-size: 14px;
    }

    /* 中间链接区域（快速链接、服务项目等） */
    .footer-links {
      flex: 0 0 52%;
      max-width: 52%;
      display: flex;
      flex-wrap: nowrap;
      padding: 0 15px;
    }

    .footer-column {
      flex: 0 0 33.333%;
      max-width: 33.333%;
      padding: 0 10px;
      margin-bottom: 20px;
    }

    .footer-column  h4 {
      color: #fff;
      margin-top: 0;
      margin-bottom: 15px;
      font-size: 16px;
      font-weight: bold;

    }
    .footer-contact h4 {
      color: #fff;
      margin-top: 0;
      margin-bottom: 15px;
      font-size: 16px;
      font-weight: bold;
    }

    

    .footer-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-column ul li {
      margin-bottom: 6px;
      font-size: 14px;
    }

    /* 右侧联系我们 */
    .footer-contact {
      flex: 0 0 25%;
      max-width: 25%;
      padding: 0 15px;
    }
    
    .footer-contact p {
      margin: 0 0 8px 0;
      line-height: 1.6;
      font-size: 14px;
    }

    /* 底部版权及其他信息 */
    .footer-bottom {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 30px 15px 0;
      border-top: 1px solid #333;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
    }

    .footer-bottom p {
      margin: 0;
      font-size: 12px;
      color: #999;
    }

    .footer-bottom .bottom-links {
      display: flex;
      gap: 15px;
    }

    .footer-bottom .bottom-links a {
      font-size: 12px;
      color: #999;
    }

    /* 响应式适配 */
    @media (max-width: 992px) {
      .footer-brand,
      .footer-contact {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
      }

      .footer-links {
        flex: 0 0 100%;
        max-width: 100%;
      }
    }

    @media (max-width: 768px) {
      .footer-column {
        flex: 0 0 100%;
        max-width: 100%;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .footer-bottom .bottom-links {
        margin-top: 10px;
        justify-content: center;
      }
    }
/* aos*/
* {
  box-sizing: border-box;
}

/* 主站关于我们横向导航样式 */
.pc-about-nav {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: fit-content;
}

.pc-about-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-about-nav li {
    width: 130px;
    border-right: 1px solid #ccc;
    text-align: center;
}

.pc-about-nav li:last-child {
    border-right: none;
}

.pc-about-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
}

.pc-about-nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.pc-about-nav .active a {
    background-color: #16a34a;
    color: #fff;
}

.pc-about-nav .active a:hover {
    background-color: #059669;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pc-about-nav {
        margin: 20px 10px;
    }
    
    .pc-about-nav ul {
        flex-wrap: wrap;
    }
    
    .pc-about-nav li {
        flex: 1 1 50%;
        border-bottom: 1px solid #ccc;
    }
    
    .pc-about-nav li:nth-child(odd) {
        border-right: 1px solid #ccc;
    }
    
    .pc-about-nav li:nth-child(even) {
        border-right: none;
    }
    
    .pc-about-nav li:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* 主站特色服务横向导航样式 - 复用关于我们导航样式 */
.pc-service-nav {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: fit-content;
}

.pc-service-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-service-nav li {
    width: 150px;
    border-right: 1px solid #ccc;
    text-align: center;
}

.pc-service-nav li:last-child {
    border-right: none;
}

.pc-service-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
}

.pc-service-nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.pc-service-nav .active a {
    background-color: #16a34a;
    color: #fff;
}

.pc-service-nav .active a:hover {
    background-color: #059669;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pc-service-nav {
        margin: 20px 10px;
    }
    
    .pc-service-nav ul {
        flex-wrap: wrap;
    }
    
    .pc-service-nav li {
        flex: 1 1 33.333%;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    
    .pc-service-nav li:nth-child(3n) {
        border-right: none;
    }
    
    .pc-service-nav li:nth-last-child(-n+3) {
        border-bottom: none;
    }
}

/* 乐享天地横向导航样式 */
.pc-enjoy-nav {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: fit-content;
}

.pc-enjoy-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-enjoy-nav li {
    width: 150px;
    border-right: 1px solid #ccc;
    text-align: center;
}

.pc-enjoy-nav li:last-child {
    border-right: none;
}

.pc-enjoy-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
}

.pc-enjoy-nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.pc-enjoy-nav .active a {
    background-color: #16a34a;
    color: #fff;
}

.pc-enjoy-nav .active a:hover {
    background-color: #059669;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pc-enjoy-nav {
        margin: 20px 10px;
    }
    
    .pc-enjoy-nav ul {
        flex-wrap: wrap;
    }
    
    .pc-enjoy-nav li {
        flex: 1 1 50%;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    
    .pc-enjoy-nav li:nth-child(2n) {
        border-right: none;
    }
    
    .pc-enjoy-nav li:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .pc-enjoy-nav li:last-child {
        flex: 1 1 100%;
        border-right: none;
    }
}

/* 智慧养老横向导航样式 */
.pc-smartcare-nav {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: fit-content;
}

.pc-smartcare-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-smartcare-nav li {
    width: 200px;
    border-right: 1px solid #ccc;
    text-align: center;
}

.pc-smartcare-nav li:last-child {
    border-right: none;
}

.pc-smartcare-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
}

.pc-smartcare-nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.pc-smartcare-nav .active a {
    background-color: #16a34a;
    color: #fff;
}

.pc-smartcare-nav .active a:hover {
    background-color: #059669;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pc-smartcare-nav {
        margin: 20px 10px;
    }
    
    .pc-smartcare-nav ul {
        flex-wrap: wrap;
    }
    
    .pc-smartcare-nav li {
        flex: 1 1 50%;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    
    .pc-smartcare-nav li:nth-child(2n) {
        border-right: none;
    }
    
    .pc-smartcare-nav li:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* 服务支持横向导航样式 */
.pc-support-nav {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: fit-content;
}

.pc-support-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-support-nav li {
    width: 150px;
    border-right: 1px solid #ccc;
    text-align: center;
}

.pc-support-nav li:last-child {
    border-right: none;
}

.pc-support-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
}

.pc-support-nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.pc-support-nav .active a {
    background-color: #16a34a;
    color: #fff;
}

.pc-support-nav .active a:hover {
    background-color: #059669;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pc-support-nav {
        margin: 20px 10px;
    }
    
    .pc-support-nav ul {
        flex-wrap: wrap;
    }
    
    .pc-support-nav li {
        flex: 1 1 50%;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    
    .pc-support-nav li:nth-child(2n) {
        border-right: none;
    }
    
    .pc-support-nav li:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* 主站新闻动态横向导航样式 - 复用关于我们导航样式 */
.pc-news-nav {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: fit-content;
}

.pc-news-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-news-nav li {
    width: 150px;
    border-right: 1px solid #ccc;
    text-align: center;
}

.pc-news-nav li:last-child {
    border-right: none;
}

.pc-news-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
}

.pc-news-nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.pc-news-nav .active a {
    background-color: #16a34a;
    color: #fff;
}

.pc-news-nav .active a:hover {
    background-color: #059669;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pc-news-nav {
        margin: 20px 10px;
    }
    
    .pc-news-nav ul {
        flex-wrap: wrap;
    }
    
    .pc-news-nav li {
        flex: 1 1 25%;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    
    .pc-news-nav li:nth-child(4n) {
        border-right: none;
    }
    
    .pc-news-nav li:nth-last-child(-n+4) {
        border-bottom: none;
    }
}

/* Banner样式 */
.banner-caption-custom {
    text-align: left;
    right: auto;
    left: 20%;
    top: 53%;
    transform: translateY(-50%);
}

.banner-caption-custom h1 {
    font-size: 66px;
    font-weight: bold;
    margin-bottom: 15px;
}

.banner-caption-custom p {
    font-size: 26px;
    margin-bottom: 30px;
}

.banner-buttons .btn-appointment {
    background-color: #16a34a;
    color: white;
    font-size: 18px;
    border-radius: 30px;
    padding: 10px 30px;
    border: none;
    text-shadow: none;
}

.banner-buttons .btn-learn-more {
    background-color: white;
    color: #16a34a;
    margin-left: 15px;
    font-size: 18px;
    border-radius: 30px;
    padding: 10px 30px;
    border: none;
    text-shadow: none;
}

/* 响应式设计 - Bootstrap 3 断点 */
/* 大屏幕 (≥1200px) - 默认样式已适用 */

/* 中等屏幕 (992px ≤ 屏幕宽度 < 1200px) */
@media (max-width: 1199px) {
    .banner-caption-custom h1 {
        font-size: 56px;
    }
    
    .banner-caption-custom p {
        font-size: 22px;
    }
    
    .banner-buttons .btn-appointment,
    .banner-buttons .btn-learn-more {
        font-size: 16px;
        padding: 8px 25px;
    }
}

/* 小屏幕 (768px ≤ 屏幕宽度 < 992px) */
@media (max-width: 991px) {
    .banner-caption-custom {
        left: 15%;
    }
    
    .banner-caption-custom h1 {
        font-size: 46px;
    }
    
    .banner-caption-custom p {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .banner-buttons .btn-appointment,
    .banner-buttons .btn-learn-more {
        font-size: 14px;
        padding: 7px 20px;
        margin-left: 10px;
    }
}

/* 超小屏幕 (<768px) */
@media (max-width: 767px) {
    .banner-caption-custom {
        left: 10%;
        top: 50%;
    }
    
    .banner-caption-custom h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .banner-caption-custom p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .banner-buttons .btn-appointment,
    .banner-buttons .btn-learn-more {
        font-size: 12px;
        padding: 5px 15px;
        margin-left: 8px;
        border-radius: 20px;
    }
}

/* 更小屏幕适配 */
@media (max-width: 480px) {
    .banner-caption-custom h1 {
        font-size: 24px;
    }
    
    .banner-caption-custom p {
        font-size: 12px;
    }
    
    .banner-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-buttons .btn-appointment,
    .banner-buttons .btn-learn-more {
        margin-left: 0;
        width: auto;
        text-align: center;
    }
}

/* 科室设置样式 */
.departments {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.departments-content {
    text-align: center;
}

.departments-content h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    background-color: #16a34a;
    margin: 15px auto 0;
}

.departments-content p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 科室分类标签 */
.department-tabs {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.tab-btn {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    background-color: #ffffff;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #16a34a;
    color: #16a34a;
}

.tab-btn.active {
    border-color: #16a34a;
    color: #ffffff;
}

/* 科室网格布局 */
.department-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* 科室项目样式 */
.department-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0fdf4;
}

.department-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #16a34a;
}

.department-icon {
    width: 48px;
    height: 48px;
    background-color: #f0fdf4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #16a34a;
    transition: all 0.3s ease;
}

.department-icon svg {
    width: 24px;
    height: 24px;
}

.department-item:hover .department-icon {
    background-color: #16a34a;
    color: #ffffff;
}

.department-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* 查看全部按钮 */
.view-all-container {
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #ffffff;
    color: #16a34a;
    border: 2px solid #16a34a;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #16a34a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .department-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .department-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .departments-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .departments {
        padding: 40px 0;
    }
    
    .department-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .department-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
    
    .departments-content h2 {
        font-size: 24px;
    }
    
    .departments-content p {
        font-size: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .departments-content h2 {
        font-size: 22px;
    }
    
    .department-item {
        padding: 25px 15px;
    }
    
    .department-icon {
        width: 70px;
        height: 70px;
    }
    
    .view-all-btn {
        padding: 10px 25px;
        font-size: 15px;
    }
}

/* 医院环境 */
.hospital-environment {
    background-color: #ffffff;
    padding: 60px 0;
}

.environment-content {
    text-align: center;
}

.environment-content h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    background-color: #16a34a;
    margin: 15px auto 0;
}

.environment-content p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 环境图片网格 */
.environment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.environment-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.environment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.environment-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.environment-image img {
    width: 100%;

    object-fit: cover;
    transition: transform 0.5s ease;
}

.environment-item:hover .environment-image img {
    transform: scale(1.05);
}

.environment-item h3 {
    font-size: 16px;
    color: #1e293b;
    margin: 15px 0;
}

.environment-item p {
    font-size: 14px;
    color: #64748b;
    padding: 0 15px 20px;
    margin: 0;
    line-height: 1.5;
}

/* 响应式设计 - 医院环境 */
@media (max-width: 992px) {
    .environment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .environment-content h2 {
        font-size: 28px;
    }
    
    .environment-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hospital-environment {
        padding: 40px 0;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .environment-content h2 {
        font-size: 24px;
    }
    
    .environment-content p {
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .environment-item {
        max-width: 350px;
        margin: 0 auto 20px;
    }
    
    .environment-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hospital-environment {
        padding: 30px 0;
    }
    
    .environment-content h2 {
        font-size: 22px;
    }
    
    .environment-image {
        height: 180px;
    }
    
    .environment-item h3 {
        font-size: 16px;
    }
    
    .environment-item p {
        font-size: 13px;
    }
}

/* 预约挂号遮罩层样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #000;
}

.modal-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 5px;
}

.modal-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
        margin: 20px;
    }
    
    .modal-close {
        font-size: 25px;
        top: 8px;
        right: 10px;
    }
}
