:root {
    /* 主色 */
    --mainColor: #0784BA;
    /* 主色的浅色 */
    --mainColorLight: #1F92CE;
    /* 主色的深色 */
    --mainColorDark: #0E6D96;
    /* 主色的背景色 */
    --mainColorBackground: #FFFFFF;
    /* 主色的边框色 */
    --mainColorBorder: #32aadd48;
    /* 线条颜色 */
    --lineColor: #DFDFDF;
    /* 主色的文字颜色 */
    --mainColorText: #333333;
    /* 最大宽度 */
    --width: 1200px;
}

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

a{
    color: #333333;
    text-decoration: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header样式 */
header {
    background-color: var(--mainColorBackground);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 130px;
    align-content: center;
}

.navbar {
    padding: 0;
    flex-direction: column;
    width: 100%;
    min-width: var(--width);
    background-color: var(--mainColor);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部区域样式 */
.navbar-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.hospital-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hospital-info .line {
    border-left: 1px solid var(--mainColorBorder);
    height: 50px;
}

.hospital-name {
    font-size: 18px;
    color: var(--mainColor);
    margin: 0;
    font-weight: bold;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--mainColor);
}

.search-input {
    padding: 8px 15px;
    border: 0;
    width: 300px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-button {
    padding: 9px 20px;
    background-color: var(--mainColor);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.search-button:hover {
    background-color: var(--mainColorDark);
}

/* 导航栏样式 */
.navbar-bottom {
    width: 100%;
    background-color: var(--mainColor)
}

.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: white !important;
    padding: 15px 15px !important;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--mainColorLight)
}


footer {
    background-color: var(--mainColor);
    color: white;
    margin-top: 30px;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.footer-links {
    background-color: var(--mainColorDark);
    padding: 15px 0;
}

.link-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.link-list a {
    color: white;
    text-decoration: none;
}

.link-list a:hover {
    text-decoration: underline;
    color: #FFFFFF;
    font-weight: bold;
}

.footer-main {
    padding: 30px 0;
    height: 200px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-info {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-logo {
    height: 100px;
    margin: 5px 0;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-map {
    margin-left: 40px;
}

.footer-map,
.footer-qrcode {
    text-align: center;
}

.footer-map img,
.footer-qrcode img {
    height: 100px;
}

.footer-map .map-item,
.footer-qrcode .qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-map .map-item p,
.footer-qrcode .qrcode-item p {
    margin: 0;
    font-size: 14px;
}


.qrcode-item p {
    margin: 0;
    font-size: 14px;
}

/* 左侧隐藏按钮 */
.float-nav-toggle {
    width: 35px;
    height: 60px;
    position: fixed;
    right: 88px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    border-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 2px 4px rgba(7, 132, 186, 0.15);
}

.float-nav-toggle.hidden {
    right: 0;
}

.float-nav-wrapper.hidden .float-nav-toggle {
    right: 0;
}

.float-nav-toggle img {
    width: 8.5px;
    height: 20px;
}


.float-nav {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(7, 132, 186, 0.2);
    transition: all 0.3s ease;
}

.float-nav.hidden {
    right: -100px;
    opacity: 0;
}

.float-nav-toggle img {
    width: 8.5px;
    height: 20px;
    transition: transform 0.3s ease;
}

.float-nav-toggle.active img {
    transform: rotate(180deg);
}

.float-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-nav-item:last-child {
    border-bottom: none;
}

.float-nav-item:hover {
    color: var(--mainColor);
    font-weight: bold;
}

.float-nav-item img {
    width: 45px;
    height: 40px;
    margin-bottom: 5px;
}

.float-nav-item span {
    font-size: 12px;
    white-space: nowrap;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    min-width: 120px;
    padding: 8px 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    z-index: 1000;
}

.navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

.navbar-nav .dropdown-item:hover {
    color: #f8f9fa;
    background-color: var(--mainColor);
}

/* 添加小箭头指示器 */
.navbar-nav .nav-item.dropdown>.nav-link::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    vertical-align: middle;
}
.gwa{
    text-align: center;
    margin-top:10px;

}
.gwa a{
    color: #ffffff;
    text-decoration: solid;
}