:root {
  --primary: #2f488c;
  --secondary: #2c5282;
  --accent: #ed8936;
  --text: #2d3748;
  --light: #f7fafc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; line-height: 1.6; color: var(--text); }
.container {margin: 0 auto; padding: 0 5%; }
nav { background: #2f488c; padding: 16px 0; position: fixed; width: 100%; top: 0; height: 8%;z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav ul { list-style: none; display: flex; justify-content: center; gap: 2rem; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: opacity 0.3s; }
nav a:hover { opacity: 0.8; }
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; padding: 140px 0 100px; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero .subtitle { font-size: 1.3rem; opacity: 0.9; margin-bottom: 40px; }
.cta-button { background: var(--accent); color: white; padding: 14px 36px; border-radius: 30px; text-decoration: none; font-weight: 600; display: inline-block; }


.containerbp {
  display: flex; /* 开启弹性布局 */
  align-items: center; /* 垂直居中对齐 */
  justify-items: center;
  gap: 30px; /* 图片和文本之间的间距 */
}


.team-desc{
    text-align: left;
}
.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中，可选 */
}

.vertical-text {
  writing-mode: vertical-rl; /* 核心属性：文本竖排，从右向左 */
  text-orientation: mixed; /* 保持中文字符直立，英文和数字会旋转（可选） */
  /* 其他样式，如字体、行高等 */
  line-height: 1.8; /* 竖排时，可调整行高控制字符间距 */
  height: fit-content; /* 让容器高度适应文本 */
  margin: 0; /* 根据需要调整 */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 7000px;
    padding: 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.hero .subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero .institution {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Hero区域样式 */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 90px 0px 80px;
    overflow: hidden;
    padding-bottom:0px !important;
    padding-top:10px !important;
    background:#FFFFFF !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(44, 82, 130, 0.9) 50%, rgba(26, 54, 93, 0.95) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"20\" cy=\"20\" r=\"1.5\" fill=\"rgba(255,255,255,0.08)\"/></svg>');
    background-size: 200px 200px;
    z-index: 2;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top:10px !important;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero .institution {
    font-size: 1.1rem;
    opacity: 0.9;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 0px;
}

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

.homecontainer {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: white;
    margin-bottom: 10px;
}

.description {
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* 导航栏样式 */
.navbar {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}



/* 下拉菜单样式 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background-color: white;
    min-width: 190px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* 悬停时显示下拉菜单 */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单中的按钮 */
.dropdown-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: none;
    border: none;
    color: #2c3e50;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-btn:last-child {
    border-bottom: none;
}

.dropdown-btn:hover {
    background-color: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
}

/* 指示器 */
.dropdown-indicator {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

/* 内容区域 */
.content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.instructions {
    margin-bottom: 30px;
}

.instructions h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.code-block {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    overflow-x: auto;
}

.highlight {
    background-color: #fffacd;
    padding: 2px 6px;
    border-radius: 4px;
}

footer {
    text-align: left;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 14px;
}

@media (max-width: 768px) {
.nav-list {
    flex-direction: column;
}

.dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0;
}

.nav-item:hover .dropdown {
    max-height: 100px;
}



/* publication区域左右并排布局 */
#publication .container {
    display: flex !important;
    gap: 20px;
}
#publication .container .left {
    width: 20%;
    flex-shrink: 0;

}
#publication .container .right {
    width: 80%;
    flex-shrink: 0;
}

.left{
    background-color: var(--primary);
}


/* Publication section layout */
#publication .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
}

#publication .container .left,
#publication .container .right {
    flex: 1 !important;
    max-width: 48% !important;
}



.divbp {
    display: flex !important;          /* 关键：启用弹性布局 */
    gap: 10px;               /* 设置元素之间的间距 */
  }
.box {
    width: 100px;           /* 固定宽度 */
    height: 100px;
    background: #f0f0f0;
}

html {
  scroll-padding-top: 100px !important; /* 页面级设置 */
}

.navbar {
  display: flex;
  overflow-x: auto;     /* 水平滚动（溢出时显示滚动条） */
  white-space: nowrap;  /* 强制导航项单行 */
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  align-items: flex-start;
}

/* 隐藏滚动条（美化用，可选） */
.navbar::-webkit-scrollbar {
  display: none;
}



.footer-links {
    /* 【关键】使用 Flexbox 布局，让链接横向排列且自动间距 */
    display: flex;
    justify-content: center; /* 主轴居中 */
    align-items: left;     /* 垂直居中 */
    flex-wrap: wrap;         /* 允许在小屏幕上换行 */
    gap: 10px;             /* 链接之间的间距 */
}

.footer-links a {color: #666;             /* 【关键】灰色字体 */
    text-decoration: none;   /* 去掉下划线 */
    font-size: 12px;         /* 【关键】小字号 */
    white-space: nowrap;     /* 防止英文或长链接被折行 */
}









