:root {
    --primary-blue: #1b5cac;
    --secondary-blue: #487cbc;
    --light-blue: #d1deee;
    --accent-blue: #60a5fa;
    --dark-text: #1f2937;
    --gray-text: #6b7280;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* Enhanced Design Variables */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glow-primary: rgba(27, 92, 172, 0.15);
    --glow-secondary: rgba(72, 124, 188, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(27, 92, 172, 0.03) 0%, transparent 100%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(27, 92, 172, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-logo a:hover {
    color: var(--secondary-blue);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a6fb8 50%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow:
        0 4px 14px rgba(27, 92, 172, 0.25),
        0 2px 6px rgba(27, 92, 172, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(27, 92, 172, 0.35),
        0 4px 10px rgba(27, 92, 172, 0.2);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: rgba(27, 92, 172, 0.3);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(27, 92, 172, 0.2),
        0 4px 10px rgba(27, 92, 172, 0.1);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 320px;
    height: 320px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 25px 50px -12px rgba(27, 92, 172, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    animation: float 5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 92, 172, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-placeholder::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}

.hero-placeholder i,
.hero-placeholder svg {
    font-size: 6rem;
    color: var(--white);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
}

.hero-placeholder svg {
    width: 96px;
    height: 96px;
    fill: currentColor;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title:hover::after {
    width: 100px;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.highlight-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow:
        0 4px 20px rgba(27, 92, 172, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(27, 92, 172, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(27, 92, 172, 0.12),
        0 8px 16px rgba(27, 92, 172, 0.08);
    border-color: rgba(27, 92, 172, 0.1);
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.highlight-item:hover i {
    transform: scale(1.1);
}

.highlight-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.highlight-item p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.research-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 20px rgba(27, 92, 172, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(27, 92, 172, 0.06);
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(27, 92, 172, 0.12),
        0 8px 16px rgba(27, 92, 172, 0.08);
    border-color: rgba(27, 92, 172, 0.1);
}

.research-card:hover::before {
    opacity: 1;
}

.research-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(27, 92, 172, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.research-card:hover .research-icon {
    transform: scale(1.08) rotate(-3deg);
}

.research-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.research-card p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.tool-features {
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.tool-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-text);
    line-height: 1.5;
}

.tool-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Publications Section */
.publications {
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(27, 92, 172, 0.03) 0%, transparent 50%),
        var(--light-gray);
}

.publication-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 20px rgba(27, 92, 172, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(27, 92, 172, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.publication-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.publication-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(27, 92, 172, 0.1),
        0 8px 16px rgba(27, 92, 172, 0.06);
    border-color: rgba(27, 92, 172, 0.08);
}

.publication-item:hover::before {
    opacity: 1;
}

.publication-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.publication-authors {
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.publication-venue {
    color: var(--gray-text);
    font-style: italic;
    margin-bottom: 1rem;
}

.publication-abstract {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publication-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.publication-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.publication-link:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.project-status {
    padding: 4px 8px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
}

.project-description {
    padding: 0 1.5rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    margin: 0 0.5rem 0.5rem 0;
}

.project-links {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary-blue);
}

/* Contact Section */
.contact {
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(27, 92, 172, 0.04) 0%, transparent 50%),
        var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-text);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    width: 20px;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-blue);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 20px rgba(27, 92, 172, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(27, 92, 172, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-text);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(27, 92, 172, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

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

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
        text-align: center;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        padding: 2rem 0;
        z-index: 999;
        transform: translateX(-100%);
        opacity: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1.5rem;
    }

    .nav-list .nav-item {
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-link {
        display: block;
        padding: 0.875rem 0;
        font-size: 1.05rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        padding: 4px;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-placeholder i,
    .hero-placeholder svg {
        font-size: 3.5rem;
    }

    .hero-placeholder svg {
        width: 56px;
        height: 56px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .highlight-item {
        padding: 2rem 1.5rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .research-card {
        padding: 1.75rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .publication-links {
        justify-content: center;
    }

    .project-links {
        justify-content: center;
    }

    .hero {
        padding: 120px 0 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    section {
        padding: 48px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
        max-width: 280px;
        padding: 12px 24px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Hero Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(27, 92, 172, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(72, 124, 188, 0.05) 0%, transparent 50%),
        #f0f7ff;
}

/* Card Hover Effects - consolidated */

/* Button Shine Animation */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Section title animation consolidated */

/* Icon Hover Effects - consolidated in main definitions */

.hero-image:hover .hero-placeholder {
    transform: scale(1.05);
    box-shadow:
        0 30px 60px rgba(27, 92, 172, 0.25),
        0 15px 30px rgba(27, 92, 172, 0.15);
}

/* News Card Animation */
.canhaohui-posts-widget .post-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.canhaohui-posts-widget .post-item:hover {
    transform: translateX(8px);
    border-left: 4px solid var(--secondary-blue);
}

/* Stagger Animation Support */
[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"],
[data-aos="zoom-in"],
[data-aos="zoom-out"] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced Shadow Effects - consolidated in main card definitions */

/* Button glow consolidated in main .btn-primary definition */

/* Hero title styling consolidated */

/* Subtle Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
    .hero-container {
        transform: translateZ(0);
    }
}

/* Glass morphism consolidated in main .header */

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(27, 92, 172, 0.08);
}

/* Nav link underline consolidated */

/* Skeleton animation consolidated below */

/* Pulse Animation for Icons */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.hero-placeholder i,
.hero-placeholder svg {
    animation: iconPulse 3s ease-in-out infinite;
}

/* Fade In for Content */
@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-widget-container {
    animation: contentFadeIn 0.8s ease-out;
}

/* Decorative Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27, 92, 172, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(72, 124, 188, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Enhanced Focus States */
*:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(72, 124, 188, 0.2);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Page Hero Styles */
.page-hero {
    padding: 140px 0 70px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(27, 92, 172, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 90%, rgba(72, 124, 188, 0.06) 0%, transparent 50%),
        #f0f7ff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(27, 92, 172, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(72, 124, 188, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a6fb8 50%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.page-description {
    position: relative;
    z-index: 1;
}

/* Research Page Styles */
.research-overview {
    background-color: var(--light-gray);
}

.research-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.research-intro p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.research-areas-detailed {
    padding: 80px 0;
}

.research-areas-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.research-area-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.research-area-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.research-area-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.research-area-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.research-area-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.research-area-content {
    padding: 2rem;
}

.research-area-content > p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.research-topics h4,
.research-collaborations h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.research-topics ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.research-topics li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-text);
    position: relative;
    padding-left: 1.5rem;
}

.research-topics li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

.research-collaborations p {
    color: var(--gray-text);
    font-style: italic;
}

/* Timeline Styles */
.current-projects {
    background-color: var(--light-gray);
}

.projects-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--secondary-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 21px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--secondary-blue);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--light-blue);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-period {
    color: var(--secondary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-funding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.funding-label {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.methodology-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.methodology-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.methodology-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.methodology-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.methodology-item p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Resources Grid */
.research-resources {
    background-color: var(--light-gray);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    padding: 0.5rem 0;
    color: var(--gray-text);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.resource-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

/* Publications Page Styles */
.publication-stats {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.publication-filters {
    padding: 2rem 0;
    background-color: var(--light-gray);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.search-controls {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.search-btn {
    padding: 12px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.search-btn:hover {
    background: var(--secondary-blue);
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.publication-type,
.publication-year {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.publication-type {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.publication-year {
    background: var(--gray-text);
    color: var(--white);
}

.publication-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.metric i {
    color: var(--secondary-blue);
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.academic-profiles {
    background-color: var(--light-gray);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.profile-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.profile-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.profile-card p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.profile-link {
    color: var(--secondary-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Projects Page Styles */
.project-categories {
    padding: 2rem 0;
    background-color: var(--light-gray);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.featured-projects {
    padding: 80px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.featured-project {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.featured-project:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--white);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-buttons {
    display: flex;
    gap: 1rem;
}

.project-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.project-btn:hover {
    background: var(--secondary-blue);
    color: var(--white);
}

.project-content {
    padding: 2rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-category {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-blue);
}

.project-status {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--white);
}

.project-status.active {
    background: #10b981;
}

.project-status.completed {
    background: var(--secondary-blue);
}

.project-status.planning {
    background: #f59e0b;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.stat i {
    color: var(--secondary-blue);
}

/* Contributions Grid */
.project-contributions {
    background-color: var(--light-gray);
}

.contributions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contribution-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contribution-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contrib-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.contrib-header h3 {
    color: var(--primary-blue);
    font-weight: 600;
}

.contrib-type {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 8px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 4px;
}

.contrib-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* Collaboration Opportunities */
.collaboration-opportunities {
    padding: 80px 0;
}

.collaboration-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.collaboration-text h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.collaboration-text p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.collaboration-areas h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.collaboration-areas ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.collaboration-areas li {
    padding: 0.5rem 0;
    color: var(--gray-text);
    position: relative;
    padding-left: 1.5rem;
}

.collaboration-areas li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

.collaboration-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.collab-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 12px;
}

.collab-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.collab-stat .stat-label {
    color: var(--gray-text);
    font-weight: 500;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .research-area-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .projects-timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 11px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collaboration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .collaboration-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-controls,
    .category-filters {
        justify-content: flex-start;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .collaboration-stats {
        grid-template-columns: 1fr;
    }
    
    .research-area-header {
        padding: 1.5rem;
    }
    
    .research-area-content {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .filter-controls,
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .search-controls {
        flex-direction: column;
        max-width: 100%;
    }
}

/* Additional styles for new pages */
.main-content {
    padding-top: 70px;
}

.page-description {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Research page specific styles */
.research-card.expandable {
    cursor: pointer;
}

.research-details {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.research-details.expanded {
    display: block;
    animation: slideDown 0.3s ease;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

.expand-btn {
    background: none;
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    font-weight: 500;
}

.expand-btn:hover {
    background: var(--secondary-blue);
    color: var(--white);
}

.timeline-date {
    color: var(--secondary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-status.active {
    background: #10b981;
    color: white;
}

.project-status.completed {
    background: var(--secondary-blue);
    color: white;
}

.project-status.planning {
    background: #f59e0b;
    color: white;
}

/* Method card styles */
.method-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-card i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.method-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.method-card p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Collaboration styles */
.collaboration-text {
    max-width: none;
}

.collaboration-types {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.collaboration-types li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--gray-text);
    border-bottom: 1px solid var(--border-color);
}

.collaboration-types i {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    width: 20px;
}

/* Publications page filters */
.publications-filter {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.publication-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-text);
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.metric i {
    color: var(--secondary-blue);
}

/* Projects page styles */
.projects-filter {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.featured-projects {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.featured-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.featured-project {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.featured-project:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.project-content {
    padding: 2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: var(--primary-blue);
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
}

.project-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.stat i {
    color: var(--secondary-blue);
}

.projects-grid-section {
    padding: 80px 0;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-card .project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.project-meta {
    flex: 1;
}

.project-meta h3 {
    margin: 0 0 0.25rem 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--light-gray);
}

.project-stats-mini {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.project-stats-mini span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-stats-mini i {
    color: var(--secondary-blue);
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* GitHub stats section */
.github-stats {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.stat-description {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Collaboration opportunities */
.collaboration-opportunities {
    padding: 80px 0;
}

.opportunities-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.opportunity-text h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.opportunity-text p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.opportunity-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: left;
}

.opportunity-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    color: var(--gray-text);
}

.opportunity-list i {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    width: 20px;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Active navigation link */
.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--gradient-primary);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-blue);
    border-top: 2px solid var(--secondary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .featured-project {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 200px;
    }
    
    .opportunity-list {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
    }
    
    .collaboration-types {
        text-align: left;
    }
}

/* Print styles for academic CV/resume */
@media print {
    .header,
    .nav-toggle,
    .hero-buttons,
    .contact-form,
    .footer,
    .filter-buttons,
    .filter-controls,
    .cta-buttons,
    .project-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .hero {
        padding: 0;
        min-height: auto;
        background: white;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .page-hero {
        padding: 20px 0;
        background: white;
    }
    
    .publication-item,
    .project-card,
    .research-card {
        border: 1px solid #ddd;
        margin-bottom: 15px;
        box-shadow: none;
    }
    
    .section-title {
        color: black;
        border-bottom: 2px solid black;
        padding-bottom: 5px;
    }
    
    .publication-title,
    .research-card h3,
    .project-header h3 {
        color: black;
        font-weight: bold;
    }
    
    .publication-abstract,
    .research-card p,
    .project-description {
        color: #333;
    }
    
    .tech-tag,
    .tag,
    .project-status {
        border: 1px solid #666;
        background: white;
        color: black;
    }
    
    .timeline-item {
        border-left: 2px solid black;
        padding-left: 20px;
        margin-left: 10px;
    }
    
    .timeline-marker {
        background: black;
        border: 2px solid white;
    }
}
/* Account Apply Section */
.account-apply {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.account-apply-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.apply-info {
    text-align: center;
    max-width: 600px;
}

.apply-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.apply-info p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.apply-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefit-item i {
    color: #10b981;
    font-size: 1.2rem;
}

.benefit-item span {
    font-weight: 500;
    color: var(--dark-text);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: #000;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(27, 92, 172, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* btn overrides consolidated - using original definitions above */

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Modal */
.success-content {
    text-align: center;
    max-width: 400px;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-content h2 {
    color: #10b981;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .apply-benefits {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .apply-info h3 {
        font-size: 1.5rem;
    }
    
    .apply-info p {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 0.5rem;
    }
    
    .benefit-item span {
        font-size: 0.9rem;
    }
}

/* News Section */
.news {
    padding: 4rem 0;
    background: #f8fafc;
}

.news-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.news-intro p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.7;
}

.news-widget-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Custom styles for the posts widget on homepage */
.canhaohui-posts-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.canhaohui-posts-widget .post-item {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    transition: all 0.3s ease;
}

.canhaohui-posts-widget .post-item:hover {
    box-shadow: 0 4px 15px rgba(27, 92, 172, 0.1);
    transform: translateY(-2px);
}

.canhaohui-posts-widget .post-header {
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.canhaohui-posts-widget .post-title {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.canhaohui-posts-widget .post-author {
    color: var(--primary-blue);
    font-weight: 500;
}

.canhaohui-posts-widget .post-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f4;
}

.canhaohui-posts-widget .no-posts {
    text-align: center;
    padding: 2rem;
    color: var(--gray-text);
    font-size: 1rem;
}

.canhaohui-posts-widget .loading-container {
    text-align: center;
    padding: 2rem;
    color: var(--gray-text);
}

.canhaohui-posts-widget .loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.canhaohui-posts-widget .error-container {
    text-align: center;
    padding: 2rem;
    color: var(--gray-text);
}

.canhaohui-posts-widget .error-message {
    color: #dc3545;
    margin-bottom: 1rem;
}

.canhaohui-posts-widget .retry-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.canhaohui-posts-widget .retry-button:hover {
    background: #155a99;
}

/* Mobile responsive for news section */
@media (max-width: 768px) {
    .news-widget-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .canhaohui-posts-widget .post-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .news-intro p {
        font-size: 1rem;
    }

    .news-widget-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .canhaohui-posts-widget .post-title {
        font-size: 1rem;
    }
}

/* ============================================
   Enhanced UI Polish - Refined Design System
   ============================================ */

/* Refined typography scale */
h1, h2, h3 {
    font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h4, h5, h6 {
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p, li, span, a {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Enhanced selection color */
::selection {
    background: rgba(27, 92, 172, 0.15);
    color: var(--primary-blue);
}

::-moz-selection {
    background: rgba(27, 92, 172, 0.15);
    color: var(--primary-blue);
}

/* Refined scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Refined focus ring */
*:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(27, 92, 172, 0.1);
}

/* Enhanced card interactions */
.research-card,
.highlight-item,
.project-card,
.publication-item,
.contact-form {
    position: relative;
}

.research-card::after,
.highlight-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.research-card:hover::after,
.highlight-item:hover::after {
    opacity: 1;
}

/* Nav active state consolidated */

/* Enhanced button press effect */
.btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

/* Refined page transitions */
.hero-content,
.about-text,
.highlight-item,
.research-card,
.publication-item,
.project-card {
    will-change: transform, opacity;
}

/* background-clip: text fallback */
@supports not (background-clip: text) {
    .hero-title,
    .page-title {
        color: var(--primary-blue);
        background: none;
        -webkit-text-fill-color: var(--primary-blue);
    }
}

/* Refined responsive typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Enhanced news section */
.news {
    background:
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(27, 92, 172, 0.03) 0%, transparent 50%),
        #f8fafc;
}

.news-widget-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(27, 92, 172, 0.06);
}

/* Refined loading states */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(27, 92, 172, 0.05) 25%,
        rgba(27, 92, 172, 0.1) 50%,
        rgba(27, 92, 172, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ==========================================
   Interaction & Cursor Enhancements
   ========================================== */

.research-card,
.highlight-item,
.project-card,
.publication-item,
.method-card,
.stat-card,
.resource-card,
.profile-card,
.contribution-item,
.featured-project,
.benefit-item,
.research-area-item,
.timeline-content {
    cursor: pointer;
}

.btn,
.filter-btn,
.category-btn,
.expand-btn,
.project-btn,
.project-link,
.publication-link,
.nav-link,
.nav-toggle {
    cursor: pointer;
}

/* Smooth hover transitions for all interactive cards */
.research-card,
.highlight-item,
.publication-item,
.project-card,
.method-card,
.stat-card,
.resource-card,
.profile-card,
.contribution-item,
.featured-project,
.research-area-item {
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.research-area-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(27, 92, 172, 0.1),
        0 6px 12px rgba(27, 92, 172, 0.06);
}

/* Enhanced timeline interaction */
.timeline-content:hover {
    transform: translateX(4px);
    box-shadow:
        0 8px 24px rgba(27, 92, 172, 0.1),
        0 4px 8px rgba(27, 92, 172, 0.05);
}

/* Section dividers for visual rhythm */
section + section {
    border-top: 1px solid rgba(27, 92, 172, 0.04);
}

/* Enhanced research-area-header */
.research-area-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.research-area-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

/* Enhanced footer visual hierarchy */
.footer-section h3 {
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.footer-section h4 {
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Benefit item hover */
.benefit-item {
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Contact form enhancements */
.contact-form {
    transition: box-shadow 0.3s ease;
}

.contact-form:hover {
    box-shadow:
        0 8px 30px rgba(27, 92, 172, 0.08),
        0 4px 12px rgba(27, 92, 172, 0.04);
}

/* Select input styling */
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(27, 92, 172, 0.1);
}

/* Submit button full width in forms */
.contact-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* Page hero responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 110px 0 50px;
    }

    .page-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 40px;
    }

    .page-title {
        font-size: 1.85rem;
    }
}

/* Print optimization */
@media print {
    .hero-title,
    .page-title {
        -webkit-text-fill-color: var(--primary-blue);
        background: none;
    }

    .btn-primary {
        background: var(--primary-blue);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ==========================================
   Mobile UI Comprehensive Fixes
   ========================================== */

/* Body scroll lock when nav is open */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
}

/* Mobile nav overlay backdrop */
.nav-menu::before {
    content: none;
}

@media (max-width: 768px) {
    /* Footer centered alignment fix - underlines should be centered too */
    .footer-section h3 {
        display: block;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section h4 {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Improve tap target sizes */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        min-height: 48px;
    }

    /* Fix hero section reduced min-height for mobile */
    .hero {
        min-height: auto;
        padding: 110px 0 70px;
    }

    /* CTA section spacing fix */
    .about-description p {
        font-size: 1rem;
    }

    /* News section mobile spacing */
    .news {
        padding: 3rem 0;
    }

    .news-intro {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    /* Card icon size consistent */
    .highlight-item i {
        font-size: 2.5rem;
    }

    .research-icon {
        width: 48px;
        height: 48px;
    }

    .research-icon i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    /* Floating buttons repositioned for mobile */
    .scroll-to-top,
    button.scroll-to-top {
        bottom: 20px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }

    .theme-toggle,
    button.theme-toggle {
        bottom: 72px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }

    /* Hero placeholder smaller on very small screens */
    .hero-placeholder {
        width: 160px;
        height: 160px;
    }

    .hero-placeholder i,
    .hero-placeholder svg {
        font-size: 2.5rem;
    }

    .hero-placeholder svg {
        width: 40px;
        height: 40px;
    }

    /* Section title tighter */
    .section-title::after {
        bottom: -8px;
        width: 40px;
        height: 2px;
    }

    /* Footer bottom text smaller */
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    /* News widget fits better */
    .news-widget-container {
        border-radius: 8px;
    }

    /* Form in modal */
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Tablet-specific adjustments (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-placeholder {
        width: 260px;
        height: 260px;
    }

    .nav-list {
        gap: 1.25rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}
