* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    /*background-color: #fff5f8;*/
}

.max-width {
    max-width: 1920px !important;
    margin: 0 auto !important;
}

.content-width {
    max-width: 1320px !important;
    margin: 0 auto !important;
}

.tel_index_top {
    float: right;
    /* width: 264px; */
    /* height: 65px; */
    color: #6c6c6c;
    margin-top: 12px;
    font-size: 14px;
    background: url(../img/00145200_06.jpg) no-repeat left center;
    padding-left: 27px;
    margin-top: 29px;
}

/* 顶部导航栏 */
.top-nav {
    background-color: #ffffff;
    color: #ff6b9d;
    padding: 15px 0;
    display: flex;
    align-items: center;
    height: 147px;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.1);
}

.top-nav-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.logo-img {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hospital-name {
    font-size: 24px;
    font-weight: 600;
    color: #FF79A1;
    margin: 0;
    line-height: 1.2;
}

.hospital-subname {
    font-size: 18px;
    font-weight: bold;
    color: #FF79A1;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hospital-subname span {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b9d;
    margin: 0;
    line-height: 1.2;
}

.hospital-subname::before {
    content: '';
}

.hospital-subname::after {
    content: '';
}

.logo-container {
    display: flex;
    align-items: flex-start;
    padding: 5px 0;
}

.contact-section {
    display: flex;
    align-items: center;
}

.phone {
    font-size: 24px;
    font-weight: bold;
    color: #64C2DD;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone img {
    width: 30px;
}

.phone-icon {
    font-size: 20px;
}

/* 导航菜单 */
.nav-menu {
    background-color: #FF79A1;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
    height: 71px;
}

.nav-menu ul {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    list-style: none;
    gap: 20px;
    width: 100%;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    padding: 22px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 71px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.nav-menu a:hover {
    background-color: #EE4E7E;
}

/* 下级菜单 */
.nav_sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 110px;
    background-color: #FF79A1;
    /*padding: 10px 0;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 4px 4px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nav-menu li:hover .nav_sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav_sub a {
    display: block;
    padding: 10px;
    font-size: 16px;
    color: white;
    text-decoration: none;
    border-radius: 0;
    margin: 0;
    white-space: nowrap;
    border: none;
    line-height: 30px;
    text-align: center;
    border-bottom: 1px solid #EE4E7E;
}

.nav_sub a:hover {
    background-color: #EE4E7E;
    text-decoration: none;
}

/* 主图区域 */
.main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容容器 */
.container {
    margin: 0 auto;
    /*padding: 20px 297px;*/
}

/* 新闻区域 */
.news-section {
    background-color: #fff;
    border: none;
    border-radius: 0;
    /*padding: 25px;*/
    padding-top: 10px;
    margin: 25px 0;
    display: flex;
    gap: 30px;
    box-shadow: none;
}

.news-imgs {
    width: 660px;
    height: 386px;
    display: none;
}

.news-imgs.active {
    display: block;
}

.news-image {
    width: 660px;
    height: 386px;
    border-radius: 8px;
}

.news-content {
    flex: 1;
}

.news-tabs {
    display: flex;
    border-bottom: none;
    padding-bottom: 0;
    position: relative;
}

.news-tab {
    padding: 8px 16px;
    background-color: #fff;
    border: none;
    margin-right: 0;
    border-radius: 0;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    /*transition: all 0.3s ease;*/
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.news-tab:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}

.news-tab.active {
    background-color: #fff;
    color: #ff6b9d;
    box-shadow: none;
    border-bottom: 2px solid #ff6b9d;
}

.news-tab:not(.active):hover {
    color: #ff6b9d;
}

.news-list {
    list-style: none;
    padding-left: 0;
    display: none;
}

.news-list.active {
    display: block;
}

.news-list li {
    padding: 15px 0;
    border-bottom: none;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list li:first-child {
    /*border-top: none;*/
}

.news-dot {
    color: #ff6b9d;
    font-size: 18px;
    margin-right: 10px;
    line-height: 1;
}

.news-list a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    flex: 1;
    margin-right: 20px;
}

.news-list a:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

.news-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* 快捷服务按钮 */
.quick-services {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    justify-content: center;
    max-width: 1320px;
    padding: 0 20px;
}

.service-btn {
    width: 300px;
    height: 170px;
    padding: 25px 20px;
    background-color: #ff6b9d;
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.service-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* 确保图标在粉色背景上显示为白色 */
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.3);
}

/* 专家团队 */
.expert-section {
    margin: 50px 0;
    text-align: center;
}

.section-title {
    text-align: center;
    color: #FF79A1;
    font-size: 28px;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    /* background-color: #ff6b9d; */
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title span {
    display: block;
    font-size: 16px;
    color: #999;
    font-weight: normal;
    margin-top: 5px;
    text-transform: uppercase;
}

/*.experts-slider {*/
/*    position: relative;*/
/*    max-width: 1320px;*/
/*    margin: 0 auto;*/
/*}*/

/*.slider-container {*/
/*    overflow: hidden;*/
/*    width: 100%;*/
/*    position: relative;*/
/*}*/

/*.slider-wrapper {*/
/*    display: flex;*/
/*    transition: transform 0.5s ease;*/
/*    will-change: transform;*/
/*}*/

.card-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 320px;
    margin: 0 auto;
    overflow: visible;
}

.expert-card {
    position: relative;
    width: 100%;
    max-width: 558px;
    /*width: 1000px;*/
    /*height: 800px;*/
    background-color: #F77A9E;
    opacity: 1;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.5s ease;
    z-index: 1;
    margin: 0 -80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expert-card.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
    margin: 0;
}

.expert-card.prev {
    opacity: 1;
    transform: translateX(-50px) scale(0.95);
    z-index: 5;
}

.expert-card.next {
    opacity: 1;
    transform: translateX(50px) scale(0.95);
    z-index: 5;
}

.expert-card:hover {
    z-index: 15;
    transform: scale(1.02);
}

.expert-img {
    width: 198px;
    height: 257px;
    border-radius: 10px;
    margin: 0 20px 0 0;
    display: block;
    object-fit: cover;
    background-color: #fff;
}

.expert-info {
    flex: 1;
    text-align: left;
    margin-top: 0;
}

.expert-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

.expert-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: bold;
}

.expert-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    height: auto;
    overflow: visible;
    display: block;
    color: #fff;
    text-align: justify;
}

.expert-more {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.expert-more:hover {
    color: #FF3366;
    border-bottom-color: #FF3366;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    pointer-events: none;
}

.slider-controls .slider-arrow {
    background-color: white;
    color: #FF79A1;
    border: 2px solid #FF79A1;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    outline: none;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(255, 121, 161, 0.3);
}

.slider-controls .slider-arrow:hover {
    background-color: #FF79A1;
    transform: scale(1.1);
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 121, 161, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-pagination .dot.active {
    background-color: #FF79A1;
    transform: scale(1.2);
}

/* 服务介绍 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    background-color: #fff;
    border: 2px solid #ffd6e0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.1);
}

.service-item .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: auto;
    padding: 20px 0;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.2);
}

.service-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
}

.service-title {
    color: #333333;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

.service-list {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 8px 20px;
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #D8D8D8;
}


.service-date {
    color: #999;
    font-size: 16px;
}

.service-more {
    display: inline-block;
    color: #FF79A1;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #FF79A1;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-top: 10px;
    align-self: center;
}

.service-more:hover {
    background-color: #FF79A1;
    color: white;
}

/* 服务介绍 */
.service-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.intro-card {
    background-color: #fff;
    border: 2px solid #ffd6e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.1);
}

.intro-card:hover {
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.2);
}

.intro-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.intro-title {
    color: #ff6b9d;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
}

.intro-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.intro-features {
    list-style: none;
    text-align: left;
    padding-left: 10px;
}

.intro-features li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    position: relative;
}

.intro-features li::before {
    content: '•';
    color: #ff6b9d;
    font-weight: bold;
    margin-right: 8px;
}

/* 环境展示 */
.environment {
    max-width: 1320px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0 auto;
}

.env {
    width: 312px;
    height: 255px;
    object-fit: cover;
    border: 1px solid #ffd6e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.1);
    position: relative;
    overflow: hidden;
}

.env-img {
    width: 100%;
    height: 100%;
}

.env-title {
    width: 100%;
    height: 54px;
    line-height: 54px;
    background: rgba(247, 122, 158, 0.3);
    position: absolute;
    left: -.5px;
    bottom: 0;
    color: #fff;
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    /*opacity: 0.1;*/
}

.env:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.2);
}

.ksjs-btn {
    /*width: 314px;*/
    height: 189px;
    padding: 25px 20px;
    background-color: #F77A9E;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
    position: relative;
}

.ksjs-btn .ksjs-title {
    font-size: 24px;
}

.ksjs-btn .ksjs-link {
    width: 180px;
    font-size: 18px;
}

.ksjs-btn .ksjs-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 105px;
    height: 105px;
    opacity: 0.1;
}

/* 页脚 */
/*.footer {*/
/*    color: white;*/
/*    padding: 40px 0 20px;*/
/*    margin-top: 60px;*/
/*}*/

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: white;
    margin: 8px 0 0;
    border-radius: 1px;
}

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

.footer-column li {
    margin: 12px 0;
    font-size: 14px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff5f8;
}

.qrcode {
    text-align: center;
    margin-left: 40px;
}

.qrcode-img {
    width: 140px;
    height: 140px;
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #ff5287;
    color: white;
    font-size: 14px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 右侧悬浮按钮 */
.floating-buttons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.floating-btn {
    width: 65px;
    height: 65px;
    background-color: #ff6b9d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
    background-color: #ff5287;
}

/* 医院概括 */
.hospital-intro {
    background-color: #fff;
    padding: 40px 0;
    margin: 30px 0;
}

.hospital-intro-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.hospital-intro-title {
    text-align: center;
    color: #FF79A1;
    font-size: 28px;
    font-weight: bold;
    position: relative;
}

.hospital-intro-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    /* background-color: #ff6b9d; */
    margin: 10px auto 0;
    border-radius: 2px;
}

.hospital-intro-title span {
    display: block;
    font-size: 16px;
    color: #999;
    font-weight: normal;
    margin-top: 5px;
    text-transform: uppercase;
}

.hospital-intro-left {
    flex: 1;
    max-width: 660px;
}

.hospital-intro-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.hospital-intro-right {
    flex: 1;
    max-width: 620px;
}

.hospital-intro-text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.hospital-intro-more {
    display: block;
    width: 120px;
    height: 40px;
    background-color: transparent;
    color: #3D3D3D;
    border: 1px solid #666666;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    margin: 30px auto 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hospital-intro-more:hover {
    background-color: #ff6b9d;
    color: white;
    border: 1px solid #ff6b9d;
}

/* 轮播箭头 */
.slider-arrow {
    font-size: 36px;
    color: #ff6b9d;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
}

.slider-arrow:hover {
    color: #ff5287;
    transform: scale(1.1);
}

#certify .swiper-slide {
    height: auto !important;
}

#certify .swiper-container {
    padding-bottom: 0 !important;
}

#certify .swiper-pagination {
    bottom: -20px !important;
}


.text-overflow {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-benan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #999;
    font-size: 18px;
}
.footer-benan a{
    color: #999;
}
