/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary-color: #006BA3;
    --primary-dark: #1414A0;
    --secondary-color: #1414A0;
    --accent-color: #FF6A00;
    --text-primary: #231F20;
    --text-secondary: #A7A9AC;
    --bg-primary: #ffffff;
    --bg-secondary: #F5F7FA;
    --bg-dark: #231F20;
    --gradient-1: linear-gradient(135deg, #006BA3 0%, #1414A0 100%);
    --gradient-2: linear-gradient(135deg, #006BA3 0%, #0088CC 100%);
    --gradient-3: linear-gradient(135deg, #1414A0 0%, #006BA3 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-background--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.main-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.sidebar-sticky {
    flex-shrink: 0;
    width: 320px;
    padding: 2rem 2rem 2rem 3rem;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.main-scroll {
    flex: 1;
    min-width: 0;
}

.hero-intro {
    padding: 2rem 2rem 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
}

.hero-main {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    font-size: 1.25rem;
    color: #000;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-role-company {
    font-weight: 700;
    background: linear-gradient(90deg, #006BA3, #1414A0, #0088CC, #006BA3);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    animation: nec-shimmer 4s ease-in-out infinite;
}

.hero-department {
    font-size: 1.25rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.hero-department a {
    background: linear-gradient(90deg, #006BA3, #1414A0, #0088CC, #006BA3);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.3s ease;
    animation: nec-shimmer 4s ease-in-out infinite;
    font-weight: 600;
}

.hero-department a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@keyframes nec-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-bio {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeInRight 1s ease-out;
}

.image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-1);
    border-radius: 30px;
    opacity: 0.3;
    filter: blur(20px);
    z-index: 1;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Links under photo (location, email, linkedin, google scholar) */
.hero-image .profile-links {
    list-style: none;
    margin-top: 3.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.hero-image .profile-links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.hero-image .profile-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.hero-image .profile-links a:hover {
    color: var(--primary-color);
}

.hero-image .profile-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-primary);
}

.hero-image .profile-links a:hover .profile-icon {
    color: var(--primary-color);
}

.hero-image .profile-icon svg {
    width: 100%;
    height: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Inner page content (Publications, Talks, etc.)
   ============================================ */
.page-content {
    padding: 6rem 0 4rem;
    min-height: 60vh;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.page-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Publications page - stylish */
.page-title--pub {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
}

.container--publications {
    max-width: 920px;
}

/* Awards page */
.page-title-rule {
    border: none;
    border-top: 2px solid var(--primary-color);
    margin: 0 0 2rem;
    max-width: 120px;
}

.container--awards {
    max-width: 880px;
}

.page-title--awards {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.award-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.award-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.award-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.award-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.award-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Professional Appointments page */
.container--appointments {
    max-width: 880px;
}

.container--appointments .page-title-rule {
    margin-bottom: 1.25rem;
}

.page-title--appointments {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container--appointments .appointments-section {
    padding: 2rem 0;
}

.appointments-section {
    margin-bottom: 0;
}

.appointments-section:last-child {
    margin-bottom: 0;
}

.appointments-section-head {
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-color);
    margin: 0 0 1rem;
    padding-left: 0.75rem;
    padding-bottom: 0.35rem;
    border-left: 3px solid var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.appointment-item {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.appointment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.appointment-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.appointment-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.appointment-meta {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.appointment-meta em {
    font-style: italic;
}

.appointment-desc {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.65;
}

.appointment-desc ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.appointment-desc li {
    margin-bottom: 0.35rem;
}

.appointment-desc li:last-child {
    margin-bottom: 0;
}

.appointment-desc p {
    margin: 0.5rem 0 0;
}

.appointment-desc p:first-child {
    margin-top: 0;
}

.appointment-subhead {
    font-weight: 600;
    margin: 0.75rem 0 0.35rem;
}

/* Leadership & Collaboration page */
.page-content--leadership {
    padding-top: 4rem;
}

.container--leadership {
    max-width: 880px;
}

.container--leadership .page-title {
    margin-bottom: 0.5rem;
}

.container--leadership .page-title-rule {
    margin-bottom: 0.6rem;
}

.page-title--leadership {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container--leadership .leadership-section {
    padding: 2rem 0;
}

.leadership-section {
    margin-top: 0;
    margin-bottom: 0.15rem;
}

.leadership-subhead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.25rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--primary-color);
}

.leadership-item {
    margin-bottom: 0.6rem;
}

.leadership-item:last-child {
    margin-bottom: 0;
}

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

.leadership-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.leadership-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.leadership-venue {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.leadership-link {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.leadership-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.leadership-link a:hover {
    text-decoration: underline;
}

.leadership-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.65;
}

.kaggle-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kaggle-item {
    margin-bottom: 0.85rem;
    padding-left: 0;
}

.kaggle-item:last-child {
    margin-bottom: 0;
}

.kaggle-item .leadership-desc {
    display: block;
    margin-top: 0.35rem;
}

.service-block {
    margin-bottom: 0.75rem;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-subhead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.service-list {
    margin: 0 0 0 1.25rem;
    padding: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.service-list li {
    margin-bottom: 0.25rem;
}

.pub-section {
    margin-bottom: 3.5rem;
}

.pub-section-heading {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.pub-section-label {
    letter-spacing: 0.02em;
}

.pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pub-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(0, 107, 163, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    line-height: 1.7;
    font-size: 0.95rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.pub-item:hover {
    box-shadow: 0 8px 24px rgba(0, 107, 163, 0.12);
    border-color: rgba(0, 107, 163, 0.2);
}

.pub-year {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(0, 107, 163, 0.1);
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
}

.pub-content {
    min-width: 0;
}

.pub-status {
    display: inline-block;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-left: 0.25rem;
}

.pub-status--accepted {
    background: rgba(0, 107, 163, 0.15);
    color: var(--primary-color);
}

.pub-status--published {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
}

.pub-status--review {
    background: rgba(180, 83, 9, 0.15);
    color: #b45309;
}

.pub-status--prep {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 640px) {
    .pub-item {
        grid-template-columns: 1fr;
    }

    .pub-year {
        width: fit-content;
    }
}

/* ============================================
   Research Interests & News (main page)
   ============================================ */
.interests-news {
    padding: 1rem 0 0rem;
    background: transparent;
}

.block-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Research interests - one explanation per topic, no bullets */
.research-interests-simple {
    margin-bottom: 3rem;
}

.research-item {
    margin-bottom: 1.25rem;
}

.research-item:last-child {
    margin-bottom: 0;
}

.research-topic {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.35rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--primary-color);
}

.research-desc {
    margin: 0;
    padding-left: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* News section heading */
.block-heading--news {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    color: #000;
    line-height: 1.65;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 107, 163, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-item:hover {
    box-shadow: 0 6px 20px rgba(0, 107, 163, 0.12);
    border-color: rgba(0, 107, 163, 0.2);
}

.news-date {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    background: rgba(0, 107, 163, 0.1);
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
}

.news-item--highlight .news-date {
    background: var(--primary-color);
    color: #fff;
}

.news-text {
    margin: 0;
    font-size: 0.95rem;
}

.news-item--highlight {
    background: linear-gradient(135deg, rgba(0, 107, 163, 0.08) 0%, rgba(20, 20, 160, 0.06) 100%);
    border-color: rgba(0, 107, 163, 0.25);
}

.news-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.news-item a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

/* ============================================
   Skills Section
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

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

/* ============================================
   Projects Section
   ============================================ */
.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

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

.project-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

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

.project-link {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.project-authors {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-email {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: var(--bg-secondary);
    transition: var(--transition);
    margin-bottom: 3rem;
}

.contact-email:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    margin-top: 2rem;
}

.info-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: transparent;
    color: var(--text-primary);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--text-primary);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .main-layout {
        flex-direction: column;
        padding-top: 70px;
    }

    .sidebar-sticky {
        position: relative;
        top: auto;
        width: 100%;
        padding: 2rem 1rem;
        display: flex;
        justify-content: center;
    }

    .sidebar-sticky .hero-image {
        align-items: center;
    }

    .sidebar-sticky .hero-image .profile-links {
        align-items: center;
    }

    .sidebar-sticky .hero-image .profile-links li {
        justify-content: center;
    }

    .hero-intro {
        padding: 2rem 1rem 3rem;
        min-height: auto;
    }

    .news-item {
        grid-template-columns: 1fr;
        padding: 1rem 1.25rem;
    }

    .hero-main {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .image-wrapper {
        width: 220px;
        height: 220px;
    }

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

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

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

    .project-header {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

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

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
