/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-width: 1024px;
}

.container {
    width: 1024px;
    margin: 0 auto;
    position: relative;
}

/* 顶部栏 */
.top-bar {
    height: 126px;
    background-color: #fff;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

.logo {
    position: absolute;
    left: 7px;
    top: 17px;
}

.logo img {
    width: 267px;
    height: 98px;
    display: block;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.datetime {
    font-size: 12px;
    color: #5a5a5a;
    font-family: SimSun;
    line-height: 15px;
}

.language-selector {
    position: absolute;
    top: 25px;
    right: 0;
}

.language-selector select {
    width: 100px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    background-color: #fff;
    cursor: pointer;
}

/* 导航栏 */
.main-nav {
    background: linear-gradient(to bottom, #6b8b6e 0%, #5a7a5d 100%);
    height: 54px;
    line-height: 54px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-menu {
    list-style: none;
    display: flex;
    padding-left: 10px;
}

.nav-menu li {
    width: 150px;
    text-align: center;
    position: relative;
}

.nav-menu li a {
    display: block;
    color: #8a9893;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.nav-menu li:hover,
.nav-menu li.active {
    background: linear-gradient(to bottom, rgba(148, 200, 74, 0.3) 0%, rgba(148, 200, 74, 0.5) 100%);
}

.nav-menu li:hover a,
.nav-menu li.active a {
    color: #94c84a;
}

/* 轮播图 */
.slider-container {
    width: 1024px;
    height: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-controls .prev {
    left: 20px;
}

.slider-controls .next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dots .dot.active {
    background-color: #94c84a;
}

/* 特色服务区域 */
.features-section {
    padding: 30px 0;
    background-color: #fff;
}

.features-section .container {
    display: flex;
    gap: 14px;
}

.features-left {
    flex: 1;
    max-width: 653px;
}

.features-right {
    width: 353px;
    background-color: #91c846;
    border: 1px solid #69b646;
    padding: 4px;
    height: 322px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-top: 1px solid #e3e3e3;
    background: url('../梦想网页资源下载器-www.baifujk.com-20260207134249.requests/GET-dme7328474d.pic34.websiteonline.cn/upload/templatefiles/bottom_Ge20.jpg') center top no-repeat;
    background-color: #fff;
    min-height: 105px;
}

.feature-item:first-child {
    border-top: none;
}

.feature-icon {
    flex-shrink: 0;
    padding-left: 7px;
    padding-top: 8px;
}

.feature-icon img {
    width: 69px;
    height: auto;
    display: block;
}

.feature-content {
    flex: 1;
    padding-top: 10px;
    padding-right: 10px;
}

.feature-content h3 {
    color: #3fa43a;
    font-size: 16px;
    font-family: 'Microsoft YaHei';
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: normal;
}

.feature-content p {
    font-size: 12px;
    line-height: 1.8;
    color: #333;
}

.side-slider {
    width: 100%;
    height: 314px;
    overflow: hidden;
}

.side-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 公司简介区域 */
.about-section {
    padding: 50px 0;
    background-color: #fafafa;
    background-image: url('../梦想网页资源下载器-www.baifujk.com-20260207134249.requests/GET-dme7328474d.pic34.websiteonline.cn/upload/templatefiles/022_AWhx.jpg');
    background-repeat: repeat-x;
    background-position: top;
}

.about-section .container {
    display: flex;
    gap: 20px;
}

.about-left {
    width: 400px;
    flex-shrink: 0;
}

.about-left h2 {
    font-size: 20px;
    font-family: 'Microsoft YaHei';
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
    font-weight: normal;
}

.video-container {
    width: 380px;
    height: 365px;
    background-color: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.about-right {
    flex: 1;
    padding-top: 32px;
}

.about-content {
    font-size: 10px;
    line-height: 1.8;
    color: #5a5a5a;
}

.about-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.about-content strong {
    font-weight: bold;
}

/* 合作伙伴滚动区域 */
.partners-section {
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #e3e3e3;
}

.partners-scroll {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 25px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-track img {
    width: 240px;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0 12px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-track:hover {
    animation-play-state: paused;
}

/* 地理位置区域 */
.location-section {
    padding: 50px 0;
    background-color: #fff;
}

.location-section h2 {
    font-size: 20px;
    font-family: 'Microsoft YaHei';
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #333;
}

.location-content {
    display: flex;
    gap: 30px;
}

.map-container {
    width: 612px;
    height: 332px;
    border: 1px solid #e3e3e3;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    flex: 1;
}

.location-info h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

.transport-info p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.transport-info .highlight {
    color: #6aa84f;
    text-decoration: underline;
}

.bus-routes {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

.bus-routes h4 {
    font-size: 13px;
    margin-bottom: 10px;
    color: #333;
}

.bus-routes p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}
.partners-hospital-section {
    padding: 50px 0;
    background-color: #fff;
    border-top: 1px solid #e3e3e3;
}

.partners-hospital-section h2 {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.partners-hospital-section h2::before,
.partners-hospital-section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #e3e3e3;
}

.partners-hospital-section h2::before {
    left: 0;
}

.partners-hospital-section h2::after {
    right: 0;
}

.hospital-image {
    text-align: center;
}

.hospital-image img {
    max-width: 759px;
    width: 100%;
    height: auto;
}

/* 底部联系信息区域 */
.bottom-contact-section {
    padding: 50px 0;
    background-color: #fff;
    border-top: 1px solid #e3e3e3;
}

.bottom-contact-section .container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-left {
    flex-shrink: 0;
}

.qr-codes {
    display: flex;
    gap: 15px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 117px;
    height: 117px;
    display: block;
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 12px;
    color: #333;
}

.contact-right {
    flex: 1;
}

.contact-right p {
    font-size: 12px;
    line-height: 2;
    color: #5a5a5a;
    margin-bottom: 5px;
}

.contact-right a {
    color: #5a5a5a;
    text-decoration: none;
}

.contact-right a:hover {
    text-decoration: underline;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background-color: rgba(148, 200, 74, 0.8);
    color: #fff;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    border-radius: 5px;
    display: none;
    z-index: 9999;
    font-size: 12px;
    transition: all 0.3s;
}

.back-to-top:hover {
    background-color: rgba(106, 168, 79, 1);
}

.back-to-top.show {
    display: block;
}

.location-section h2 {
    font-size: 20px;
    font-family: 'Microsoft YaHei';
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #333;
}

.location-content {
    display: flex;
    gap: 30px;
}

.map-container {
    width: 612px;
    height: 332px;
    border: 1px solid #e3e3e3;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    flex: 1;
}

.location-info h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

.transport-info p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.transport-info .highlight {
    color: #6aa84f;
    text-decoration: underline;
}

.bus-routes {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

.bus-routes h4 {
    font-size: 13px;
    margin-bottom: 10px;
    color: #333;
}

.bus-routes p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

/* 页脚 line-height: 45px;*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    height: 45px;
    
}

.footer .container {
    text-align: center;
}

.footer p {
    font-size: 14px;
    font-family: 'Microsoft YaHei';
    margin: 0;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-family: 'Microsoft YaHei';
    font-size: 14px;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 1024px) {
    body {
        min-width: auto;
    }
    
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .slider-container {
        width: 100%;
    }
    
    .features-section .container,
    .about-section .container,
    .location-content,
    .bottom-contact-section .container {
        flex-direction: column;
    }
    
    .features-right,
    .about-left,
    .map-container,
    .features-left {
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        position: static;
    }
    
    .top-right {
        position: static;
    }
}

/* 分隔线样式 */
.horizontal-line {
    width: 100%;
    height: 1px;
    background-color: #e3e3e3;
    margin: 20px 0;
}

/* 虚线分隔 */
.dashed-line {
    width: 100%;
    height: 1px;
    border-top: 1px dashed #ccc;
    margin: 15px 0;
}


/* 内页通用样式 */
.page-content {
    padding: 50px 0;
    min-height: 500px;
    background-color: #fff;
}

.page-content h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #94c84a;
}

.page-content h2 {
    font-size: 20px;
    color: #3fa43a;
    margin: 30px 0 20px;
}

.page-content h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px;
}

.page-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px dotted #ccc;
    transition: background-color 0.3s;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-image {
    flex-shrink: 0;
    width: 238px;
    height: 158px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-title {
    font-size: 18px;
    color: #6aa84f;
    margin: 0 0 15px 0;
    font-weight: normal;
    line-height: 1.4;
}

.news-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    text-align: justify;
}

/* 产品列表 */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.product-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #e3e3e3;
}

.product-item:last-child {
    border-bottom: none;
}

.product-image {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    color: #6aa84f;
    margin: 0 0 20px 0;
    font-weight: normal;
}

.product-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 10px 0;
    text-align: justify;
    text-indent: 2em;
    letter-spacing: 0;
}

.product-price {
    font-size: 14px;
    color: #333;
    margin: 10px 0 0 0;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.product-rental {
    margin-top: 10px;
}

.rental-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.rental-item {
    font-size: 14px;
    color: #666;
    margin: 3px 0;
    padding-left: 2em;
    letter-spacing: 0.5px;
}

/* 商城内容 */
.shop-content {
    text-align: center;
    padding: 100px 0;
    font-size: 18px;
    color: #999;
}

/* 关于我们详情 */
.about-detail {
    line-height: 1.8;
}

.about-detail h2 {
    color: #3fa43a;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* 医院图片拼贴 */
.hospital-collage {
    width: 100%;
    text-align: center;
    margin: 30px 0 40px;
}

.hospital-collage img {
    max-width: 100%;
    height: auto;
}

/* 关于我们文字内容 */
.about-text {
    margin: 30px 0;
}

.about-text p {
    font-size: 14px;
    line-height: 2;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

/* 医院Logo展示 */
.hospital-logos {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #e3e3e3;
    text-align: center;
}

.hospital-logos img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 联系页面特殊样式 */
.contact.html .location-section {
    padding: 0;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #94c84a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6aa84f;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 打印样式 */
@media print {
    .top-bar,
    .main-nav,
    .footer,
    .slider-controls,
    .slider-dots {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
}
