:root {
	--grey: rgb(90, 90, 90);
	--blue1: rgb(2,33,105);
	--blue2: rgb(0,51,160);
	--blue3: rgb(0,114,206);
	--blue4: rgb(108,172,228);
	--pink1: #F9564F;
 }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #333;
}

p{
    margin: 0.2em;
}

ol, ul {
    list-style: none;
}

ul {
    list-style-position: inside;
    list-style-type: none;
}

a {
    text-decoration: none;
    color:  var(--blue3);
}

i {
    font-style: italic;
}

h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: #076bce;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #076bce;
}

/* Special styling for section titles */
.section h1, #research h1, #updates h1, #service h1, #Outreach h1 {
    font-size: 1.8em;
    font-weight: 700;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid currentColor;
}

h2 {
    font-weight: 200;
    color: var(--blue3);
    margin: 0.1em 0;
}
h3 {
    font-weight: 100;
    color: var(--blue4);
    margin: 0.1em 0;
}

b {
    font-weight: 500;
}

strong {
    color: #fda650;
    font-weight: 750;
}

/**************************************************/

#header {
    height: 2em;
    line-height: 2em;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 50% - 500px;
    z-index: 9999;
    width: 1000px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

#header a {
    text-decoration: none;
    color: var(--grey);
    transition: color 0.3s ease;
}

#header a:hover {
    color: var(--blue3);
}

/**************************************************/

#profile {
    padding: 90px 30px 10px 30px;
    border-bottom: 1px solid #ddd;
}

#profile-pic {
    float: left;
    margin-right: 40px;
    text-align: center;
}

#profile img {
    width: 400px;
    margin-bottom: 18px;
}

#profile-name {
    font-size: 2.5em;
    line-height: 1em;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--blue1);
    text-align: center;
}


#profile-email {
    margin-bottom: 20px;
    color: var(--blue1);
    text-align: center;
}

#profile p {
    margin-bottom: 20px;
}


.divider {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.research-paper {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.research-paper:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.research-thumb {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.research-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin: 15px 0;
    text-decoration: none;
}

.research-authors {
    font-size: 1em;
    color: #34495e;
    margin: 10px 0;
}

.research-venue {
    font-style: italic;
    color: #7f8c8d;
    margin: 8px 0;
}

.research-links {
    margin: 15px 0;
}

.research-links a {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 10px;
    border-radius: 4px;
    background: #f8f9fa;
    color: #0366d6;
    text-decoration: none;
    transition: background 0.2s ease;
}

.research-links a:hover {
    background: #e9ecef;
}

.research-abstract {
    color: #495057;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #dee2e6;
}

/* Misc page styles */
.interests-container {
    max-width: 900px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
}

.interest-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.interest-section:hover {
    transform: translateY(-5px);
}

.interest-section h2 {
    color: var(--blue3);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--blue4);
    padding-bottom: 8px;
}

.interest-section ul {
    list-style-type: none;
    padding: 0;
}

.interest-section li {
    margin: 12px 0;
    padding: 8px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.interest-section li:hover {
    background: var(--blue4);
    color: white;
    transition: all 0.3s ease;
}

/* Scrollable list styles */
.scrollable-list {
    max-height: 200px;  /* 显示约5个项目的高度 */
    overflow-y: auto;   /* 启用垂直滚动 */
    padding-right: 10px;
}

.scrollable-list::-webkit-scrollbar {
    width: 8px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Add or update these styles */
.bio-text {
    line-height: 1.8;
    font-size: 1.1em;
    margin: 20px 0;
    color: #333;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.social-links {
    display: block;
    margin-top: 15px;
}

.social-links a {
    text-decoration: none;
    color: #0066cc;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .interests-container {
        grid-template-columns: 1fr;
    }
}

.research-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    display: flex;
    gap: 20px;
}

.research-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.research-image {
    flex: 0 0 200px;
    height: 150px;
}

.research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.research-content {
    flex: 1;
}

.research-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-decoration: none;
}

.research-authors {
    font-size: 0.9em;
    color: #34495e;
    margin: 8px 0;
}

.research-venue {
    font-size: 0.9em;
    font-style: italic;
    color: #666;
    margin: 5px 0;
}

.research-links {
    margin: 8px 0;
}

.research-links a {
    display: inline-block;
    padding: 3px 8px;
    margin-right: 8px;
    font-size: 0.9em;
    color: #0366d6;
    text-decoration: none;
}

.research-abstract {
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

/* Fix header spacing issue */
#misc {
    margin-top: 20px;
}

#misc h1 {
    margin-bottom: 20px;
}

/* Ensure header doesn't overlap content */
#header {
    position: relative;
    z-index: 100;
}

.quote-container {
    margin: 30px 0;
    text-align: center;
}

.inspirational-quote {
    font-size: 1.3em;
    font-style: italic;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    margin: 0;
}

.inspirational-quote i {
    color: #076bce;
    font-size: 0.8em;
    margin: 0 10px;
}

.inspirational-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
    font-style: normal;
}

/* Alternative style for section titles if you prefer solid colors */
.section h1, #research h1, #updates h1, #service h1, #Outreach h1 {
    font-size: 1.8em;
    font-weight: 700;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid currentColor;
}

/* Add hover effect for section titles */
.section h1:hover, #research h1:hover, #updates h1:hover, #service h1:hover, #Outreach h1:hover {
    color: #0a8aff;
    transition: color 0.3s ease;
}

/* Special styling for Research Interests */
h1:first-of-type {
    font-size: 3em;
    background: linear-gradient(45deg, #076bce, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}