.navbar-nav {
    margin-left: auto !important;
  }
  
  .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    color: #0066cc !important;
  }
  
  .navbar-brand {
    padding: 0.5rem 0;
    margin-right: 2rem;
    flex-shrink: 0;
  }
  .navbar-brand-logo {
    height: auto !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    display: block !important;
  }
  
  /* 确保导航栏两端对齐 */
  .navbar-collapse.flex-grow-0 {
    flex-grow: 0 !important;
  }

.dropdown-menu {
    margin-top: 0;
    border: 1px solid rgba(0, 102, 204, 0.1);
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
    border-radius: 8px;
    overflow: hidden;
  }

.navbar .dropdown-menu:before {
  content: '';
  position: absolute;
  top: -5px;
  left: 20%;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
  z-index: -1;
}

.navbar .dropdown-menu .dropdown-item {
    padding: 12px 20px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    font-weight: 500;
  }

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    transform: translateX(5px);
  }

.navbar .dropdown-menu .dropdown-item.active {
  background-color: rgba(0, 102, 218, 0.1);
  color: #0066da;
  font-weight: 600;
}

.navbar .dropdown-menu .dropdown-item.active:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #0066da;
}

.navbar .dropdown-menu .dropdown-item:hover:not(.active):before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 102, 218, 0.5);
}

@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar .nav-item.dropdown .dropdown-toggle::after {
  margin-left: 0.4em;
  vertical-align: 0.15em;
  border-top: 0.3em solid white;
  transition: transform 0.2s ease;
}

.navbar .nav-item.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar .dropdown-menu .dropdown-item i {
  color: white !important;
}
/* ===== 下拉菜单样式与index.css保持一致 END ===== */

/* 页面背景优化 */
body {
    background: #f8fafc;
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* ===== 导航栏样式与index.css保持一致 START ===== */
#header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: fixed !important;
  top: 0;
  z-index: 1002;
}

#header .nav-link {
  color: #475569 !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.8rem 1rem !important;
  font-size: 1rem !important;
  position: relative;
}

#header .nav-link:hover {
  color: #0066da !important;
  transform: translateY(-1px);
}

#header .nav-link[href="../index.html"],
#header .nav-link[href="./About.html"],
#header .nav-link[href="./Research.html"],
#header .nav-link[href="./Product.html"],
#header .nav-link[href="./Cases.html"],
#header .nav-link[href="./News.html"],
#header .nav-link[href="./JoinUs.html"],
#header .nav-link[href="./Join.html"] {
  /* 只高亮当前页面链接，实际高亮由active类控制，可根据需要调整 */
}

#header .nav-link.active {
  color: #0066da !important;
  font-weight: 600;
}

#header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #0066da, #4a90e2);
  border-radius: 2px;
}

#header .navbar-brand-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

#header .navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.05);
}

.navbar-brand {
    padding: 0.5rem 0;
    margin-right: 2rem;
    flex-shrink: 0;
  }

  .navbar-brand-logo {
    height: auto !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    display: block !important;
  }

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  #header {
    padding: 0.5rem 0;
  }
  #header .navbar-brand-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
  }
  .navbar-brand-logo {
    max-height: 40px !important;
    max-width: 160px !important;
  }
}
/* ===== 导航栏样式与index.css保持一致 END ===== */

/* Hero区域现代化 */
.product-hero {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.3;
}

.product-hero .hero-title,
.product-hero .hero-text {
    color: white !important;
    position: relative;
    z-index: 1;
}

.hero-title {
    color: white;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 快速导航按钮现代化 */
.btn-outline-primary.btn-sm {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    position: relative;
}

/* 快速导航按钮中的图标设置为纯白色 */
.btn-outline-primary.btn-sm img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.btn-outline-primary.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 218, 0.3);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 活跃状态的导航按钮 */
.btn-outline-primary.btn-sm.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* 3D打印中心导航按钮特殊样式 */
.btn-outline-primary.btn-sm.printing-center {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-primary.btn-sm.printing-center:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-primary.btn-sm.printing-center.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}

/* 固定导航栏 */
.sticky-nav {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 8px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-nav.show {
    opacity: 1;
    visibility: visible;
}

.sticky-nav .nav-btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 15px;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sticky-nav .nav-btn:hover {
    background: rgba(0, 102, 218, 0.1);
    color: #0066da;
}

.sticky-nav .nav-btn.active {
    background: #0066da;
    color: white;
}

/* 阅读进度指示器 */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 102, 218, 0.1);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reading-progress.show {
    opacity: 1;
    visibility: visible;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0066da, #4a90e2);
    width: 0%;
    transition: width 0.3s ease;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    #header {
        padding: 0.5rem 0;
    }
    
    #header .navbar-brand-logo {
        height: 40px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }
    
    .navbar-brand-logo {
        max-height: 40px !important;
        max-width: 160px !important;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .sticky-nav {
        top: 70px;
        padding: 6px 8px;
        border-radius: 20px;
        max-width: 90%;
    }
    
    .sticky-nav .nav-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
        margin: 0 1px;
    }
    
    .hero-navigation .btn-outline-primary.btn-sm {
        padding: 8px 16px;
        font-size: 0.875rem;
        margin: 2px;
    }
    
    .hero-navigation .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 8px !important;
    }
    
    .product-hero {
        margin-top: -70px;
        padding-top: calc(2rem + 70px);
    }
    
    /* 案例容器移动端优化 */
    .case-section {
        padding: 4rem 0;
    }
    
    .case-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .case-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .case-icon {
        font-size: 1.8rem;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .case-subtitle {
        font-size: 1.1rem;
    }
    
    /* 医院信息卡片移动端 */
    .hospital-info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .hospital-details {
        padding-left: 0;
        margin-top: 1.5rem;
    }
    
    .hospital-name {
        font-size: 1.6rem;
    }
    
    .hospital-description {
        font-size: 1rem;
    }
    
    .hospital-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    /* 统计卡片移动端 */
    .stat-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-icon {
        width: 64px;
        height: 64px;
        padding: 14px;
    }
    
    .stat-icon i {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* 成就列表移动端 */
    .achievement-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .achievement-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .achievement-icon i {
        font-size: 1rem;
    }
    
    .achievement-content h5 {
        font-size: 1.1rem;
    }
    
    .achievement-content p {
        font-size: 0.95rem;
    }
    
    /* 研究成果移动端 */
    .paper-preview {
        margin-bottom: 1.5rem;
    }
    
    .paper-image {
        height: 160px;
    }
    
    .paper-info {
        padding: 1rem;
    }
    
    .paper-title {
        font-size: 1.1rem;
    }
    
    .paper-description {
        font-size: 0.9rem;
    }
    
    /* 科研统计移动端 */
    .research-stats {
        padding: 1.5rem;
    }
    
    .research-stat-item .stat-number {
        font-size: 2rem;
    }
    
    .research-stat-item .stat-label {
        font-size: 0.9rem;
    }
    
    /* 获奖展示移动端 */
    .award-details {
        padding-left: 0;
        margin-top: 1.5rem;
    }
    
    .award-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .highlight-item {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .highlight-item i {
        font-size: 1.3rem;
    }
    
    .highlight-item span {
        font-size: 1rem;
    }
    
    /* 合作成果移动端 */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .result-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .result-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .result-icon i {
        font-size: 1.3rem;
    }
    
    .result-content h5 {
        font-size: 1.2rem;
    }
    
    .result-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .case-container {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .case-title {
        font-size: 1.6rem;
    }
    
    .case-subtitle {
        font-size: 1rem;
    }
    
    .hospital-info-card {
        padding: 1rem;
    }
    
    .hospital-name {
        font-size: 1.4rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .achievement-item {
        padding: 0.75rem;
    }
    
    .details-title {
        font-size: 1.5rem;
        padding-left: 0.75rem;
    }
    
    .paper-image {
        height: 140px;
    }
    
    .award-title {
        font-size: 1.4rem;
    }
    
    .result-card {
        padding: 1rem;
    }
    
    .hospital-tags {
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .case-container {
        margin: 0 0.25rem;
        padding: 1rem 0.75rem;
    }
    
    .case-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .case-icon {
        font-size: 1.5rem;
    }
    
    .case-title {
        font-size: 1.4rem;
    }
    
    .hospital-name {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .achievement-content h5 {
        font-size: 1rem;
    }
    
    .achievement-content p {
        font-size: 0.9rem;
    }
}

/* 案例内容区域现代化 */
.case-section {
    margin-bottom: 0;
    padding: 4rem 0;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    animation-play-state: paused;
    background: #f8fafc;
    position: relative;
}

/* 为不同案例添加交替背景，创造层次感 */
.case-section:nth-of-type(even) {
    background: #f1f5f9;
}

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

/* Hero 内容样式 */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-navigation {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 调整Hero区域与第一个案例之间的间距 */
.product-hero + .case-section {
    margin-top: 0;
}

.case-section:last-of-type {
    margin-bottom: 3rem;
}

/* 新增：案例容器样式 */
.case-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
}

.case-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066da, #4a90e2);
}

/* 案例标题区域 */
.case-header {
    margin-bottom: 3rem;
}

.case-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066da, #4a90e2);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.case-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.case-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.case-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* 医院信息卡片 */
.hospital-info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.hospital-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hospital-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hospital-image-container:hover .hospital-image {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.hospital-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, #0066da, #4a90e2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 102, 218, 0.3);
}

.hospital-badge.research {
    background: linear-gradient(135deg, #10b981, #059669);
}

.hospital-badge.award {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-text {
    display: block;
}

.hospital-details {
    padding-right: 2rem;
}

.hospital-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.hospital-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hospital-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: #0066da;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 数据统计卡片 */
.stats-grid {
    margin: 2rem 0;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 102, 218, 0.15);
}

.stat-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0066da, #4a90e2);
    border-radius: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 18px;
    overflow: visible;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    border-radius: 0;
    opacity: 1;
}

.stat-content {
    flex-grow: 1;
    width: 100%;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* 案例详情标题 */
.details-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
}

.details-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #0066da, #4a90e2);
    border-radius: 2px;
}

/* 成就列表 */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    background: rgba(0, 102, 218, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid #0066da;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(0, 102, 218, 0.05);
    transform: translateX(8px);
}

.achievement-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0066da, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    padding: 16px;
    overflow: visible;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    border-radius: 0;
    opacity: 1;
}

.achievement-icon i {
    color: white !important;
    font-size: 1.2rem;
}

.achievement-content h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 研究成果展示 */
.research-results {
    margin: 3rem 0;
}

.papers-showcase {
    margin-top: 2rem;
}

.paper-preview {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.paper-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 218, 0.15);
}

.paper-image {
    overflow: hidden;
    height: 200px;
}

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

.paper-preview:hover .paper-image img {
    transform: scale(1.05);
}

.paper-info {
    padding: 1.5rem;
}

.paper-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.paper-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.paper-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metric {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.metric i {
    font-size: 0.75rem;
}

/* 科研统计 */
.research-stats {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.research-stat-item {
    text-align: center;
    padding: 1rem;
}

.research-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066da;
    display: block;
    margin-bottom: 0.5rem;
}

.research-stat-item .stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* 获奖证书展示 */
.award-showcase {
    margin: 3rem 0;
}

.award-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.award-certificate {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.award-image-container:hover .award-certificate {
    transform: scale(1.02);
}

.award-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.award-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.award-details {
    /* Padding will be handled by the zigzag layout rules */
}

.award-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.award-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(245, 158, 11, 0.15);
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #f59e0b !important;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* 合作成果 */
.collaboration-results {
    margin-top: 3rem;
}

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

.result-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 218, 0.15);
}

.result-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066da, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    font-size: 1.5rem;
    color: white !important;
}

.result-content h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.result-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移除分隔线，使用背景色创造层次感 */
.case-section:not(:last-of-type)::after {
    display: none;
}

/* 保留必要的过渡效果 */
.case-section img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0066da, #4a90e2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0052b3, #3182ce);
}

/* Footer 样式 */
.footer {
    background-color: #0066da;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-logo {
    max-width: 10rem;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-links h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-social {
    margin-top: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ------- Layout Width Tuning ------- */
.case-section > .container {
  max-width: 95% !important; /* take more horizontal space on large screens */
}

@media (min-width: 992px) {
  .nav-link.fs-5 {
    font-size: 0.95rem !important;
  }
}

@media (min-width: 1800px) {
  .case-section > .container {
    max-width: 1700px !important;
  }
}

.case-container {
  margin-left: auto;
  margin-right: auto;
}
/* ------- End Layout Width Tuning ------- */

/* ------- Award Certificate Responsive Sizing ------- */
@media (min-width: 992px) {
  .award-image-container {
    max-width: 420px; /* a bit bigger on large screens */
  }
}

@media (max-width: 576px) {
  .award-image-container {
    max-width: 260px; /* tighter for small mobile */
  }
}
/* ------- End Award Certificate Responsive Sizing ------- */

/* ------- Zigzag Layout Spacing ------- */
.row .col-lg-8 + .col-lg-4 .hospital-details,
.row .col-lg-8 + .col-lg-4 .award-details {
  padding-left: 0;
  padding-right: 2rem;
}

.row .col-lg-4 + .col-lg-8 .hospital-details,
.row .col-lg-4 + .col-lg-8 .award-details {
  padding-right: 0;
  padding-left: 2rem;
}
/* ------- End Zigzag Layout Spacing ------- */

/* 下拉菜单悬停弹出，和index.html一致 */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .case-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .case-icon {
        width: 35px;
        height: 35px;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 360px) {
    .case-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .case-icon {
        width: 30px;
        height: 30px;
        filter: brightness(0) invert(1);
    }
}

/* ===== Mobile Enhancement Upgrade (2025-07-14) ===== */
@media (max-width: 576px) {
  /* Fluid typography for hero */
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    line-height: 1.2;
  }

  .hero-text {
    font-size: clamp(1rem, 4.5vw, 1.1rem);
  }

  /* Smooth horizontal scroll for quick navigation pills */
  .hero-navigation {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; /* IE & Edge */
    scrollbar-width: none;    /* Firefox */
  }
  .hero-navigation::-webkit-scrollbar {
    display: none; /* Chrome & Safari */
  }

  .hero-navigation .d-flex {
    flex-wrap: nowrap !important;
  }
  .hero-navigation .btn-outline-primary.btn-sm {
    flex: 0 0 auto;
    margin: 0 0.35rem;
  }

  /* Softer shadows for smaller screens */
  .case-container,
  .stat-card,
  .result-card,
  .paper-preview {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  }

  /* Maintain aspect ratio for hospital images */
  .hospital-image {
    object-fit: cover;
    height: 180px;
  }

  /* Compact spacing */
  .case-container {
    padding: 1.75rem 1.25rem;
  }
  .hospital-info-card {
    padding: 1.5rem;
  }
}

/* ===== Hot-fix: Deformation Adjustments (2025-07-14) ===== */
@media (max-width: 576px) {
  /* 1. Prevent hospital images from vertical squeeze */
  .hospital-image {
    height: auto !important;   /* override fixed height */
    width: 100% !important;
    aspect-ratio: 3/2;         /* keep pleasant proportion where supported */
  }

  /* 2. Harmonise stat cards – center everything */
  .stat-card {
    align-items: center !important;
    text-align: center;
  }
  .stat-icon {
    margin: 0 auto 0.75rem;
  }
  .stat-content {
    width: 100%;
  }

  /* 3. Moderate paper preview image height to avoid distortion */
  .paper-image {
    height: 150px !important;
  }
}

@media (max-width: 360px) {
  /* Allow quick-nav pills to wrap on ultra-narrow devices */
  .hero-navigation .d-flex {
    flex-wrap: wrap !important;
  }
}

/* ===== Icon Shape Reinforcement ===== */
.achievement-icon {
  flex: 0 0 72px;          /* prevent shrinking */
  aspect-ratio: 1 / 1;      /* always perfect square */
  border-radius: 50% !important; /* ensure circle */
}

/* 确保所有SVG图标都显示为纯白色 */
.case-section svg,
.case-section img[src*=".svg"] {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* 确保所有图标在深色背景上显示为白色 */
.case-icon-wrapper img,
.stat-icon img,
.achievement-icon img,
.btn-outline-primary.btn-sm img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 确保所有SVG图标在深色背景上显示为纯白色 */
.case-section img[src*=".svg"],
.case-section svg {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 特别处理快速导航按钮中的图标 */
.hero-navigation img[src*=".svg"] {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 确保所有图标容器中的SVG图标都显示为白色 */
.case-icon-wrapper img,
.stat-icon img,
.achievement-icon img,
.result-icon img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 确保所有图标在深色背景上都有足够的对比度 */
.case-icon-wrapper,
.stat-icon,
.achievement-icon,
.result-icon {
  background: linear-gradient(135deg, #0066da, #4a90e2) !important;
}

/* 确保Bootstrap Icons在深色背景上显示为白色 */
.case-section .bi,
.case-section [class*="bi-"] {
  color: white !important;
}

/* 特别处理获奖展示区域的图标 */
.award-highlights .bi,
.award-highlights [class*="bi-"] {
  color: #f59e0b !important;
}

/* 确保论文指标中的星星图标显示为绿色 */
.paper-metrics .bi,
.paper-metrics [class*="bi-"] {
  color: white !important;
}

/* 确保所有图标在深色背景上都有良好的可见性 */
.case-section img[src*=".svg"]:not(.navbar-brand-logo),
.case-section svg:not(.navbar-brand-logo) {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 排除导航栏logo，保持其原始颜色 */
.navbar-brand-logo {
  filter: none !important;
  opacity: 1 !important;
}

/* 确保所有图标在深色背景上都有足够的对比度和可见性 */
.case-section .case-icon-wrapper img,
.case-section .stat-icon img,
.case-section .achievement-icon img,
.case-section .result-icon img,
.case-section .hero-navigation img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

/* 确保图标在悬停时保持白色 */
.case-section .case-icon-wrapper:hover img,
.case-section .stat-icon:hover img,
.case-section .achievement-icon:hover img,
.case-section .result-icon:hover img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 确保所有图标在深色背景上都有良好的可见性和对比度 */
.case-section img[src*=".svg"]:not(.navbar-brand-logo):not(.hospital-image):not(.paper-image img):not(.award-certificate) {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 确保图标在深色背景上形成鲜明对比 */
.case-icon-wrapper,
.stat-icon,
.achievement-icon,
.result-icon {
  background: linear-gradient(135deg, #0066da, #4a90e2) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 218, 0.3) !important;
}

/* 确保所有图标在深色背景上都有足够的对比度 */
.case-section .case-icon,
.case-section .stat-icon img,
.case-section .achievement-icon img,
.case-section .result-icon img,
.case-section .hero-navigation img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

/* 确保图标在深色背景上形成鲜明对比 */
.case-section .case-icon-wrapper,
.case-section .stat-icon,
.case-section .achievement-icon,
.case-section .result-icon {
  background: linear-gradient(135deg, #0066da, #4a90e2) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 218, 0.3) !important;
}

@media (max-width: 768px) {
  .achievement-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 12px;
  }
}

