:root {
    --primary: #0d1117;
    --secondary: #161b22;
    --accent: #0d6efd;
    --accent-dark: #0b5ed7;
    --text-light: #f8f9fa;
    --text-muted: #8b949e;
    --border: #30363d;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    width: 0%;
    transition: width 0.1s ease;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 60px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6);
}

.container {
    position: relative;
    z-index: 1;
}

.paper-container {
    background: var(--secondary);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(255, 255, 255, 0.1) inset;
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.paper-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
    pointer-events: none;
}

.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: rgba(13, 17, 23, 0.5);
}

.section-title {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.professional-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0a0e14 100%);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.professional-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
}

.main-profile-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.avatar-container {
    flex-shrink: 0;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0);
    animation: avatarMorph 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
    position: relative;
    overflow: hidden;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transform: rotate(45deg);
    animation: avatarShine 3s ease-in-out infinite;
}

@keyframes avatarMorph {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
        border-radius: 30%;
    }
    70% {
        opacity: 1;
        transform: scale(1.1) rotate(10deg);
        border-radius: 45%;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
        border-radius: 50%;
    }
}

@keyframes avatarShine {
    0%, 100% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.title {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    font-weight: 300;
}

.badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.stat {
    text-align: center;
    padding: 1rem 0.5rem;
    transition: transform 0.2s ease;
}

.stat:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1.3;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(13, 110, 253, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-btn i {
    font-size: 1rem;
}

.card {
    background: var(--primary);
    border: 1px solid var(--border);
    color: var(--text-light);
}

.research-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
    border-color: var(--accent-dark);
}

.about-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
    border-color: var(--accent-dark);
}

.expertise-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
    border-color: var(--accent-dark);
}

.about-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent);
}

.profile-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.metrics-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(13, 110, 253, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
    border-color: var(--accent);
}

.metric-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.metric-content {
    flex: 1;
}

.metric-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-header {
    text-align: center;
    margin-bottom: 2rem;
}

.expertise-icon-main {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.expertise-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.expertise-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.expertise-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(13, 110, 253, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: rgba(13, 110, 253, 0.08);
    transform: translateX(5px);
}

.expertise-item-icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.expertise-item-content {
    flex: 1;
}

.expertise-item-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.expertise-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.contact-actions {
    text-align: center;
}

.contact-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.contact-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
    color: white;
}

.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-group {
    gap: 0.5rem;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--accent) !important;
}

.text-success {
    color: #198754 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #0dcaf0 !important;
}

.text-light {
    color: var(--text-light) !important;
}

.highlight-primary {
    color: var(--accent);
    font-weight: 600;
}

.highlight-accent {
    color: var(--text-light);
    font-weight: 500;
    background: linear-gradient(135deg, transparent 0%, rgba(13, 110, 253, 0.1) 100%);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.highlight-muted {
    color: var(--text-muted);
    font-style: italic;
    font-weight: 500;
}

.highlight-primary:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.paradigm-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.vertical-progress-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 70vh;
    min-height: 400px;
}

.progress-track {
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: visible;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
    border-radius: 2px;
    transition: height 0.15s ease;
    z-index: 1;
}

.progress-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--secondary);
    z-index: 2;
    box-sizing: border-box;
}

.progress-marker.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.progress-marker.filled {
    background: var(--accent);
    border-color: var(--accent);
}

.progress-marker:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.3);
}

.progress-marker::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    pointer-events: none;
    z-index: 1000;
}

.progress-marker:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay:nth-child(1) { transition-delay: 0.1s; }
.stagger-delay:nth-child(2) { transition-delay: 0.2s; }
.stagger-delay:nth-child(3) { transition-delay: 0.3s; }
.stagger-delay:nth-child(4) { transition-delay: 0.4s; }

@media (max-width: 1200px) {
    .vertical-progress-nav {
        height: 85vh;
        min-height: 550px;
    }
}

@media (max-width: 1024px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .stat-number {
        margin-bottom: 0;
        min-width: 120px;
    }

    .stat-label {
        text-align: right;
        flex: 1;
        margin-left: 1rem;
    }
}

@media (max-width: 992px) {
    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .professional-header {
        padding: 2rem 0;
    }

    .main-profile-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .stats-row {
        padding: 1.25rem;
        gap: 0.6rem;
    }

    .stat {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.2rem;
        min-width: 110px;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .navigation {
        gap: 0.25rem;
    }

    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 1;
    }

    .nav-btn span {
        display: none;
    }

    .nav-btn i {
        font-size: 1.1rem;
    }

    .vertical-progress-nav {
        right: 15px;
        height: 60vh;
        min-height: 300px;
        max-height: 500px;
    }

    .progress-track {
        width: 3px;
    }

    .progress-marker {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .progress-marker::after {
        right: 18px;
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .scroll-to-top {
        right: 30px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-buttons-container {
        gap: 0.6rem;
    }

    .contact-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    #contact .btn-group {
        gap: 0.5rem;
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    #contact .lead {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.8rem;
    }

    .title {
        font-size: 1rem;
    }

    .badges {
        justify-content: center;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .stats-row {
        padding: 1rem;
    }

    .stat {
        padding: 0.7rem;
    }

    .stat-number {
        font-size: 1.1rem;
        min-width: 100px;
    }

    .contact-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }

    #contact .section-title {
        font-size: 1.5rem;
    }
}

@media (max-height: 400px) {
    .vertical-progress-nav {
        display: none !important;
    }
}

.content-section, .professional-header {
    scroll-margin-top: 80px;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 1.5rem 0;
    opacity: 0.3;
}

hr:last-of-type {
    margin-bottom: 2rem;
}

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

.opportunity-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.25);
    border-color: var(--accent-dark);
}

.opportunity-card:hover::before {
    transform: scaleX(1);
}

.opportunity-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.opportunity-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.opportunity-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.opportunity-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.opportunity-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.opportunity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.opportunity-item:hover {
    background: rgba(13, 110, 253, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
}

.opportunity-item i {
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

.opportunity-item span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.opportunity-status {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.status-badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.15);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(13, 110, 253, 0);
    }
}

#skills {
    background: rgba(13, 17, 23, 0.5);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-category {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
    border-color: var(--accent-dark);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.skill-category-icon {
    font-size: 1.3rem;
    color: var(--accent);
    width: 35px;
    height: 35px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(13, 110, 253, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-item:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: var(--accent);
    transform: translateX(3px);
}

.skill-item-icon {
    font-size: 1rem;
    color: var(--accent);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.skill-item-content {
    flex: 1;
}

.skill-item-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.skill-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.text-accent {
    color: var(--accent) !important;
}

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .opportunity-card {
        padding: 1.5rem;
    }

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

    .skill-category {
        padding: 1.25rem;
    }

    .skill-category-header {
        gap: 0.7rem;
        margin-bottom: 1rem;
    }

    .skill-category-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .skill-category-title {
        font-size: 1rem;
    }

    .skill-item {
        padding: 0.7rem;
        gap: 0.7rem;
    }

    .skill-item-title {
        font-size: 0.85rem;
    }

    .skill-item-desc {
        font-size: 0.75rem;
    }
}

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

    .opportunity-item {
        padding: 0.6rem;
    }

    .opportunity-item span {
        font-size: 0.85rem;
    }

    .skill-category {
        padding: 1rem;
    }

    .skill-category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .skill-items {
        gap: 0.6rem;
    }

    .skill-item {
        padding: 0.6rem;
    }
}

.nav-tabs {
    border-bottom: 1px solid var(--border);
}

.nav-tabs .nav-link.active {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
    border-bottom-color: var(--accent);
    border-radius: 10px 10px 0 0;
}

.nav-tabs .nav-link {
    color: var(--text-muted);
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--text-light);
    border-color: var(--border);
}

.tab-content {
    background: transparent;
}

.nav-tabs .nav-link {
    color: #8b949e !important;
    background: transparent !important;
    border: none !important;
}

.nav-tabs .nav-link.active {
    color: #0d6efd !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #0d6efd !important;
}

.nav-tabs .nav-link:hover {
    color: white !important;
    background: rgba(13, 110, 253, 0.1) !important;
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

.repo-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
    border-color: var(--accent-dark);
}

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

.repo-title-section {
    flex: 1;
    min-width: 0;
}

.repo-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}

.repo-title:hover {
    color: var(--accent-dark);
}

.repo-owner {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.repo-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 1rem;
}

.repo-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.repo-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: var(--text-light);
}

.repo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.repo-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.repo-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.repo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.repo-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.repo-topic {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid var(--accent);
    border-radius: 12px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.repo-topic:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
}

.repo-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.repo-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.1) !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
}

.repo-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
}

.repo-action:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.repo-updated {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .repo-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin: 0 !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .repo-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
}

@media (max-width: 480px) {
    .repo-grid {
        padding: 0 10px !important;
    }

    .repo-card {
        padding: 0.8rem !important;
    }
}

.skeleton-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skeleton-line {
    background: linear-gradient(90deg, var(--border) 25%, rgba(255,255,255,0.1) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 20px;
    width: 70%;
}

.skeleton-text {
    height: 14px;
    width: 90%;
}

.skeleton-text-short {
    height: 14px;
    width: 60%;
}

.skeleton-meta {
    height: 12px;
    width: 40%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.citation-tabs-container {
    margin-top: 1rem;
}

.citation-text {
    color: white;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

.citation-format {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid var(--accent);
    color: white;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    border-radius: 8px;
}

@media (max-width: 1024px), (max-height: 600px) {
    .vertical-progress-nav {
        display: none;
    }
}

.stagger-delay:nth-child(1) { transition-delay: 0.1s; }
.stagger-delay:nth-child(2) { transition-delay: 0.2s; }
.stagger-delay:nth-child(3) { transition-delay: 0.3s; }
.stagger-delay:nth-child(4) { transition-delay: 0.4s; }
.stagger-delay:nth-child(5) { transition-delay: 0.5s; }
.stagger-delay:nth-child(6) { transition-delay: 0.6s; }