* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header */
.header {
    background: rgba(0, 60, 120, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 40, 80, 0.25);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 60, 120, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.logo:hover .logo-text {
    color: #e6f3ff;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 4px;
}

.nav a:hover {
    color: #e6f3ff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0.8rem;
    margin: 0 -0.8rem;
}

.nav a.active {
    color: #e6f3ff;
    font-weight: 600;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.5rem 0.8rem;
    margin: 0 -0.8rem;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0.8rem;
    right: 0.8rem;
    height: 2px;
    background-color: #e6f3ff;
    border-radius: 1px;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.main-content > section:not(.intro-section) {
    padding: 0 2rem;
}

/* Intro Section */
.intro-section {
    background: linear-gradient(rgba(0, 60, 120, 0.7), rgba(0, 40, 80, 0.8)), url('../images/backgrounds/VCG211439822621.jpg');
    background-size: cover;
    background-position: center 10%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 10rem 2rem 4rem 2rem;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #fff;
    text-align: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.intro-section strong {
    font-weight: 600;
    color: #e6f3ff;
}

.intro-section a {
    color: #e6f3ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 243, 255, 0.5);
    transition: all 0.3s ease;
}

.intro-section a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Section Headers */
.section-header {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #333;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 0.5rem;
}

/* Sub Section Headers */
.sub-section-header {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 2rem 0 1rem 0;
    color: #003c78;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 0.5rem;
}

/* News Section */
.news-section {
    margin-bottom: 4rem;
    margin-top: 3rem;
}

.news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.news-content {
    color: #555;
    line-height: 1.6;
}

.news-content a {
    color: #007acc;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-archive {
    text-align: right;
    margin-top: 2rem;
}

.news-archive a {
    color: #007acc;
    text-decoration: none;
    font-weight: 500;
}

/* People Section */
.people-section {
    margin-bottom: 4rem;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.person-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fafafa;
    align-items: center;
    min-height: 120px;
}

.person-photo {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.7rem;
    overflow: hidden;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.person-info {
    flex: 1;
}

.person-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.person-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.person-name a:hover {
    color: #007acc;
    text-decoration: underline;
}

.person-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.person-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Alumni Section */
.alumni-section {
    margin-top: 3rem;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.alumni-card {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.alumni-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.alumni-current {
    color: #007acc;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.alumni-former {
    color: #666;
    font-size: 0.85rem;
}

/* Publications Section */
.publications-section {
    margin-bottom: 4rem;
}

.publication-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.publication-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.publication-authors {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.publication-venue {
    color: #007acc;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.publication-abstract {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cite-button {
    background: #007acc;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.cite-button:hover {
    background: #005a9e;
}

/* Introduction Section */
.introduction-section {
    margin-bottom: 4rem;
}

.introduction-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.introduction-image {
    max-width: 1200px;
}

.introduction-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .introduction-image {
        max-width: 100%;
    }
}

/* Research Projects Section */
.research-projects-section {
    margin-bottom: 4rem;
}

/* Research Overview */
.research-overview {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    border: 1px solid #e1ecf4;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.overview-content {
    max-width: 100%;
}

.overview-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
    text-align: justify;
}

.highlight-research,
.current-status {
    background: white;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0066cc;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.highlight-research:last-child,
.current-status:last-child {
    margin-bottom: 0;
}

.highlight-research h3,
.current-status h3 {
    color: #0066cc;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlight-research p,
.current-status p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    text-align: justify;
}

.highlight-research strong,
.current-status strong {
    color: #0066cc;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    margin-bottom: 4rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border: 1px solid #ddd;
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.contact-email {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

.recruitment-section {
    margin-top: 3rem;
}

.recruitment-category {
    margin-bottom: 2.5rem;
}

.recruitment-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 0.5rem;
}

.research-directions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-directions li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 1rem;
    text-align: left;
}

.research-directions li:last-child {
    border-bottom: none;
}

.research-directions li:before {
    content: "• ";
    color: #0066cc;
    font-weight: bold;
    margin-right: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-item {
    border: 1px solid #e1e5e9;
    background: #fff;
    padding: 2rem;
    border-left: 4px solid #003c78;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.project-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.project-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.project-label {
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.project-value {
    color: #333;
}

.project-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid;
    margin-top: 1rem;
}

.project-status.ongoing {
    color: #0066cc;
    border-color: #0066cc;
    background-color: #f0f7ff;
}

.project-status.completed {
    color: #28a745;
    border-color: #28a745;
    background-color: #f0fff4;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-item {
        padding: 1.5rem;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .project-label {
        font-weight: 600;
        color: #333;
    }
}

/* Expand Button Styles */
.expand-button-container {
    text-align: center;
    margin: 2rem 0;
}

.expand-button {
    background: linear-gradient(135deg, #003c78, #0056b3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 60, 120, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.expand-button:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 60, 120, 0.3);
}

.expand-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.expand-button.expanded .expand-icon {
    transform: rotate(180deg);
}

.more-publications {
    transition: all 0.3s ease;
}

.more-project-item {
    transition: all 0.3s ease;
}

/* Footer */
.footer {
    background: rgba(0, 60, 120, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 40, 80, 0.25);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 -2px 20px rgba(0, 60, 120, 0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-text {
    color: #fff;
    font-size: 0.9rem;
}

.footer-text a {
    color: #e6f3ff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.footer-text a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-content {
        padding: 0;
    }

    .main-content > section:not(.intro-section) {
        padding: 0 1rem;
    }

    .intro-section {
        background-size: cover;
        background-position: center 10%;
        background-attachment: scroll;
        padding: 8rem 1rem 3rem 1rem;
        min-height: 70vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        font-size: 1.4rem;
    }

    .intro-content {
        text-align: left;
    }

    .research-overview {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .highlight-research,
    .current-status {
        padding: 1.2rem;
    }

    .highlight-research h3,
    .current-status h3 {
        font-size: 1.1rem;
    }

    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .alumni-grid {
        grid-template-columns: 1fr;
    }

    .person-card {
        padding: 1rem;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .research-overview {
        padding: 1rem;
    }

    .highlight-research,
    .current-status {
        padding: 1rem;
    }

    .highlight-research h3,
    .current-status h3 {
        font-size: 1rem;
    }

    .people-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .person-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        min-height: auto;
    }

    .person-photo {
        width: 60px;
        height: 60px;
    }
}