:root {
    --primary: #0366d6;
    --text: #24292e;
    --bg: #ffffff;
    --secondary-bg: #f6f8fa;
    --border: #e1e4e8;
    --nav-text: #586069;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
}
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Navigation */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-nav .container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.main-nav a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 0;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Header */
header {
    background: var(--secondary-bg);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
h1 { margin: 0; font-size: 2.5rem; }
.subtitle { font-size: 1.25rem; color: #586069; margin-top: 0.5rem; }
.social-links { margin-top: 1.5rem; }
.social-links a {
    color: #586069;
    margin: 0 10px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s;
}
.social-links a:hover { color: var(--primary); }

/* Header Banner */
.home-header {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/cisco_fulton.jpg');
    background-size: cover;
    background-position: center;
}

/* Profile Image */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

/* Sections */
section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--text); }
h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
h4 { margin-bottom: 0.5rem; font-size: 1.1rem; color: #586069; }

/* Cards */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* Project Cards */
.project-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.project-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    background: #fff;
    padding: 5px;
    border: 1px solid var(--border);
}
@media (max-width: 600px) {
    .project-card { flex-direction: column; }
    .project-img { width: 100%; height: auto; max-width: 200px; margin: 0 auto; }
}

/* Publication Items */
.publication-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.pub-year-badge {
    background: var(--secondary-bg);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    min-width: 60px;
    height: fit-content;
    border: 1px solid var(--border);
}
.pub-details h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.pub-authors {
    color: #586069;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.pub-venue {
    font-style: italic;
    color: #24292e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.pub-links a {
    margin-right: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--primary);
    display: inline-block;
}
.pub-links a:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    background: #e1ecf4;
    color: #0366d6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.9rem;
}
.btn:hover { background: #0255b3; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
}
.btn-outline:hover { background: var(--secondary-bg); }

/* Footer */
footer { padding: 2rem 0; text-align: center; color: #586069; font-size: 0.9rem; }

/* Lists */
ul.plain-list { list-style: none; padding: 0; }
ul.plain-list li { margin-bottom: 0.5rem; }

/* About Me Expandable */
.about-more {
    display: none;
    margin-top: 1rem;
}
.about-more.visible {
    display: block;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.read-more-btn:hover {
    text-decoration: underline;
}