/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for Theme Colors */
:root {
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #fafafa;
    --text-primary: #333;
    --text-secondary: #555;
    --text-tertiary: #666;
    --text-muted: #7f8c8d;
    --accent-primary: #3498db;
    --accent-secondary: #2980b9;
    --accent-tertiary: #e74c3c;
    --accent-quaternary: #27ae60;
    --accent-purple: #9b59b6;
    --accent-orange: #f39c12;
    --accent-teal: #1abc9c;
    --border-light: #e0e0e0;
    --border-medium: #f0f0f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Dark theme as default */
body {
    /* Dark theme colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #333333;
    --text-primary: #e0e0e0;
    --text-secondary: #cccccc;
    --text-tertiary: #b0b0b0;
    --text-muted: #888888;
    --accent-primary: #4a9eff;
    --accent-secondary: #3d8bdb;
    --accent-tertiary: #ff6b6b;
    --accent-quaternary: #2ecc71;
    --accent-purple: #bb7ae8;
    --accent-orange: #f5b041;
    --accent-teal: #48c9b0;
    --border-light: #404040;
    --border-medium: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* Light theme override */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #fafafa;
    --text-primary: #333;
    --text-secondary: #555;
    --text-tertiary: #666;
    --text-muted: #7f8c8d;
    --accent-primary: #3498db;
    --accent-secondary: #2980b9;
    --accent-tertiary: #e74c3c;
    --accent-quaternary: #27ae60;
    --accent-purple: #9b59b6;
    --accent-orange: #f39c12;
    --accent-teal: #1abc9c;
    --border-light: #e0e0e0;
    --border-medium: #f0f0f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Resume Container */
.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--bg-primary);
    box-shadow: 0 0 20px var(--shadow);
    min-height: 100vh;
}

/* Theme Toggle Button */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
    z-index: 10;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.theme-toggle:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Header Section */
.resume-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-medium);
    position: relative;
}

.resume-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.resume-header h2 {
    font-size: 1.4em;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95em;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Resume Sections */
.resume-section {
    margin-bottom: 35px;
}

.resume-section h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.resume-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: left;
}

/* Skills Section */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.skill-category {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
}

.skill-category h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.skill-category p {
    color: var(--text-tertiary);
    font-size: 0.95em;
    margin: 0;
}

/* Individual skill category colors */
.skill-core {
    border-left-color: var(--accent-primary);
}

.skill-cloud {
    border-left-color: var(--accent-orange);
}

.skill-architecture {
    border-left-color: var(--accent-purple);
}

.skill-devops {
    border-left-color: var(--accent-teal);
}

/* Education Section */
.education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--accent-quaternary);
}

.education-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 5px 15px;
    margin-bottom: 15px;
}

.education-header h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-primary);
    grid-column: 1;
    grid-row: 1;
}

.education-school {
    font-size: 1em;
    font-weight: 500;
    color: var(--accent-quaternary);
    grid-column: 1;
    grid-row: 2;
}

.education-date {
    font-size: 0.9em;
    color: var(--text-muted);
    font-weight: 500;
    grid-column: 2;
    grid-row: 1 / 3;
    text-align: right;
    align-self: center;
}

.education-description {
    color: var(--text-tertiary);
    font-size: 0.95em;
    margin: 0;
}

/* Interactive Horizontal Timeline Section */
.timeline-container {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin: 20px 0;
}

/* Timeline Navigation */
.timeline-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
    position: relative;
    min-height: 60px; /* Ensure consistent height */
}

/* Adjust spacing when expanded to prevent overlap */
@media (min-width: 769px) {
    .timeline-nav.expanded {
        gap: 0; /* Remove gap, let justify-content handle spacing */
        justify-content: space-between; /* Spread items across full width */
        padding: 0 20px; /* Reduce padding to use more width */
    }
}

.timeline-nav-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: none; /* Hide navigation arrows on all devices */
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
    position: relative;
    z-index: 2;
}

/* Expanded state - desktop only */
@media (min-width: 769px) {
    .timeline-nav.expanded .timeline-nav-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3em;
        border-radius: 27px;
        box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
        transform: scale(1.02);
    }

    .timeline-nav.expanded .timeline-nav-btn:hover {
        transform: scale(1.12);
    }

    /* Ensure progress bar gets more space when expanded */
    .timeline-nav.expanded .timeline-progress {
        margin: 0 10px;
    }
}

.timeline-nav-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.timeline-nav-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* Progress bar styling */
.timeline-progress {
    flex: 1;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded progress bar styling */
.timeline-nav.expanded .timeline-progress {
    margin: 0 20px; /* Add margin on both sides to prevent bleeding into buttons */
}


.timeline-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.timeline-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

/* Year Indicators */
.timeline-years {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.year-indicator {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none;
}

.year-indicator:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.year-indicator.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

/* Horizontal Timeline Track */
.timeline-track {
    position: relative;
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px;
    gap: 40px;
    min-height: 400px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--accent-primary) 0%,
        var(--accent-orange) 20%,
        var(--accent-purple) 40%,
        var(--accent-teal) 60%,
        var(--accent-tertiary) 80%,
        var(--accent-quaternary) 100%
    );
    border-radius: 3px;
    z-index: 1;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: timeline-shimmer 3s infinite;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: translateY(-50%);
    border-radius: 1px;
}

@keyframes timeline-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.timeline-item {
    position: relative;
    min-width: 350px;
    max-width: 400px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* .timeline-item:hover {
    transform: translateY(-10px);
} */

.timeline-dot {
    width: 20px;
    height: 20px;
    margin: auto;
    background: var(--accent-primary);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 0 0 2px var(--accent-primary);
    position: relative;
    pointer-events: all;
    flex-shrink: 0;
}

.timeline-dot:hover {
    background: var(--accent-secondary);
    transform: scale(1.4);
    box-shadow: 0 0 25px rgba(74, 158, 255, 0.6), 0 0 0 3px var(--accent-secondary);
}

.timeline-dot.active {
    background: var(--accent-secondary);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.5), 0 0 0 3px var(--accent-secondary);
}

.timeline-content {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    transform: translateY(0%);
}

/* .timeline-item:hover .timeline-content {
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
} */

.timeline-item.active .timeline-content {
    border-color: var(--accent-primary);
    box-shadow: 0 12px 35px var(--shadow);
}

/* Add a small connector from dot to content */
.timeline-content::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--border-light);
    transform: translateX(-50%);
    transition: border-top-color 0.3s ease;
}

.timeline-item:hover .timeline-content::after,
.timeline-item.active .timeline-content::after {
    border-top-color: var(--accent-primary);
}

.timeline-header {
    margin-bottom: 15px;
}

.timeline-header h4 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-role {
    font-size: 1em;
    font-weight: 500;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 5px;
}

.timeline-date {
    font-size: 0.9em;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.timeline-description {
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.timeline-details.expanded {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 15px;
}

.timeline-details ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-details li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

.timeline-details li::before {
    content: "▶";
    color: var(--accent-primary);
    font-size: 0.8em;
    position: absolute;
    left: 0;
    top: 2px;
}

.timeline-expand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none;
}

.timeline-expand:hover {
    color: var(--accent-secondary);
    transform: translateX(3px);
}

.expand-icon {
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.timeline-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.timeline-item.expanded .expand-text::after {
    content: " Less";
}

.timeline-item:not(.expanded) .expand-text::after {
    content: " Details";
}

/* Timeline dot specific colors */
.timeline-item:nth-child(2) .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.timeline-item:nth-child(3) .timeline-dot {
    background: var(--accent-orange);
    box-shadow: 0 0 0 2px var(--accent-orange);
}

.timeline-item:nth-child(4) .timeline-dot {
    background: var(--accent-purple);
    box-shadow: 0 0 0 2px var(--accent-purple);
}

.timeline-item:nth-child(5) .timeline-dot {
    background: var(--accent-teal);
    box-shadow: 0 0 0 2px var(--accent-teal);
}

.timeline-item:nth-child(6) .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.timeline-item:nth-child(7) .timeline-dot {
    background: var(--accent-orange);
    box-shadow: 0 0 0 2px var(--accent-orange);
}

.timeline-item:nth-child(8) .timeline-dot {
    background: var(--accent-purple);
    box-shadow: 0 0 0 2px var(--accent-purple);
}

/* Timeline item specific colors */
.timeline-item:nth-child(2) .timeline-content { border-color: var(--accent-primary); }
.timeline-item:nth-child(3) .timeline-content { border-color: var(--accent-orange); }
.timeline-item:nth-child(4) .timeline-content { border-color: var(--accent-purple); }
.timeline-item:nth-child(5) .timeline-content { border-color: var(--accent-teal); }
.timeline-item:nth-child(6) .timeline-content { border-color: var(--accent-primary); }
.timeline-item:nth-child(7) .timeline-content { border-color: var(--accent-orange); }
.timeline-item:nth-child(8) .timeline-content { border-color: var(--accent-purple); }

/* Typed.js color cycling animation */
#typed-title {
    transition: color 0.5s ease;
}

.typed-color-blue { color: var(--accent-primary); }
.typed-color-gold { color: var(--accent-orange); }
.typed-color-purple { color: var(--accent-purple); }
.typed-color-teal { color: var(--accent-teal); }

/* Typed.js cursor color cycling */
.typed-cursor {
    transition: color 0.5s ease;
}

.typed-color-blue .typed-cursor { color: var(--accent-primary); }
.typed-color-gold .typed-cursor { color: var(--accent-orange); }
.typed-color-purple .typed-cursor { color: var(--accent-purple); }
.typed-color-teal .typed-cursor { color: var(--accent-teal); }

/* Projects Section */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: translateY(-3px);
}

.project-link:hover .project-item {
    box-shadow: 0 8px 20px var(--shadow);
}

.project-item {
    margin-bottom: 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--accent-tertiary);
    transition: box-shadow 0.3s ease;
}

.project-item:not(.project-link .project-item) {
    margin-bottom: 25px;
}

/* Feastables project cards - red */
.project-feastables {
    border-left-color: var(--accent-tertiary) !important;
}

.project-feastables .project-company {
    color: var(--accent-tertiary) !important;
}

/* Open source project cards - green */
.project-opensource {
    border-left-color: var(--accent-quaternary) !important;
}

.project-opensource .project-company {
    color: var(--accent-quaternary) !important;
}

.project-item h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.project-company {
    font-size: 0.9em;
    color: var(--accent-tertiary);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.project-item p {
    color: var(--text-tertiary);
    font-size: 0.95em;
    margin: 0;
}

/* View Demo Badge */
.view-demo-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(74, 158, 255, 0.3);
}

.project-link:hover .view-demo-badge {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(74, 158, 255, 0.5);
}

.view-demo-badge span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Current Activities Section */
.current-activities {
    list-style: none;
    padding: 0;
}

.current-activities li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.95em;
    border-bottom: 1px solid var(--border-medium);
}

.current-activities li:last-child {
    border-bottom: none;
}

.current-activities strong {
    color: var(--text-primary);
}

/* Footer */
.resume-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--border-medium);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9em;
}

.resume-footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

.resume-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-container {
        padding: 20px 15px;
        margin: 0;
        box-shadow: none;
    }

    .resume-header h1 {
        font-size: 2.2em;
    }

    .resume-header h2 {
        font-size: 1.2em;
    }

    .contact-info {
        flex-direction: row; /* Keep horizontal layout */
        justify-content: center; /* Center the items */
        flex-wrap: wrap; /* Allow wrapping if needed */
        gap: 15px; /* Slightly larger gap for better spacing */
        align-items: center;
        text-align: center;
    }

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

    .education-header {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .education-date {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
    }

    .education-item {
        padding: 15px;
    }

    /* Horizontal Timeline mobile adjustments */
    .timeline-container {
        margin: 10px 0;
        padding: 20px 0;
    }

    .timeline-nav {
        flex-direction: row; /* Keep horizontal layout on mobile */
        justify-content: center; /* Center the year indicators */
        gap: 0; /* Remove gap since buttons are hidden */
        margin-bottom: 20px; /* Reduce bottom margin */
        min-height: auto; /* Remove fixed height */
    }

    .timeline-nav-btn {
        display: none; /* Hide navigation arrows on mobile */
    }

    .timeline-progress {
        display: none; /* Hide progress bar on mobile */
    }

    .timeline-years {
        gap: 8px;
    }

    .year-indicator {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .timeline-track {
        gap: 20px;
        padding: 15px;
        min-height: 350px;
    }

    .timeline-item {
        min-width: 280px;
        max-width: 320px;
    }

    /* .timeline-item:hover {
        transform: translateY(-5px);
    } */

    .timeline-dot {
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 20px;
        margin-top: 30px;
        transform: translateY(0%);
    }

    /* .timeline-item:hover .timeline-content {
        transform: translateY(-5px);
    } */

}

@media (max-width: 480px) {
    .resume-header h1 {
        font-size: 1.8em;
    }

    .contact-info {
        font-size: 0.9em;
    }

    .resume-section h3 {
        font-size: 1.3em;
    }

    /* Extra small screens timeline adjustments */
    .timeline-nav {
        margin-bottom: 15px; /* Further reduce margin on extra small screens */
    }

    .timeline-nav-btn {
        display: none; /* Hide navigation arrows on extra small screens */
    }

    .timeline-progress {
        display: none; /* Hide progress bar on extra small screens */
    }

    .timeline-item {
        min-width: 250px;
        max-width: 280px;
    }

    .timeline-content {
        padding: 15px;
        margin-top: 25px;
        transform: translateY(0%);
    }

    /* .timeline-item:hover .timeline-content {
        transform: translateY(-5px);
    } */

    .timeline-nav {
        padding: 0 10px;
    }

    .timeline-years {
        padding: 0 10px;
    }

    .year-indicator {
        padding: 4px 8px;
        font-size: 0.75em;
    }

    .timeline-track {
        padding: 10px;
        min-height: 320px;
    }
}

/* Print Styles */
@media print {
    body {
        font-size: 12px;
        line-height: 1.4;
    }

    .resume-container {
        max-width: none;
        padding: 0;
        box-shadow: none;
        margin: 0;
    }

    .resume-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .resume-section {
        margin-bottom: 20px;
        page-break-inside: avoid;
    }

    .timeline-item,
    .project-item,
    .education-item {
        page-break-inside: avoid;
        margin-bottom: 15px;
        padding: 15px;
    }

    .timeline-container {
        margin-left: 20px;
    }

    .timeline-details {
        max-height: none !important;
        opacity: 1 !important;
    }

    .timeline-expand {
        display: none !important;
    }

    .contact-info a {
        color: var(--text-primary) !important;
    }

    .theme-toggle {
        display: none !important;
    }

    .resume-header h1 {
        font-size: 24px;
    }

    .resume-header h2 {
        font-size: 16px;
    }
}