:root {
    --color-1: #292526;
    --color-2: #cd004b;
    --color-3: #f37023;
    --color-4: #fcb711;
    --color-5: #0eb24e;
    --color-6: #0087d2;
    --color-7: #6561ac;
    --color-8: #002164;
    --color-9: #035dd7;
    --color-10: #01071d;
    --color-11: #3f4448;
    --color-12: #a9a9a9;
    --color-13: #e5e5e5;
    --color-14: #f6f6f6;
    
    --bg-primary: var(--color-10);
    --bg-secondary: rgba(255, 255, 255, 0.05);
    --bg-tertiary: rgba(255, 255, 255, 0.08);
    --text-primary: var(--color-14);
    --text-secondary: var(--color-12);
    --accent-primary: var(--color-9);
    --accent-secondary: var(--color-6);
    --border-color: rgba(255, 255, 255, 0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0a1628 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}

/* Language Toggle */
.lang-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.lang-toggle:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: calc(95vw - 100px);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main */
main {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

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

.resume-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(3, 93, 215, 0.2);
}

.card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(3, 93, 215, 0.1), transparent);
    transition: left 0.5s ease;
}

.card-link:hover::before {
    left: 100%;
}

.card-arrow {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 1rem;
}

.card-arrow svg {
    width: 2rem;
    height: 2rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.card-link:hover .card-arrow svg {
    transform: translateX(0.5rem);
}

.card-large {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
}

.card-full {
    grid-column: 1 / -1;
}

.card-full-minus-1 {
    grid-column: 2/-1;
}

.card-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.profile-photo {
    width: 100%;
    max-width: 250px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-info {
    width: 100%;
}

.profile-info h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 0.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: var(--bg-tertiary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-primary);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 3rem;
    height: 3rem;
    background: var(--bg-tertiary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.social-links svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Skills Section */
.skills-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.skills-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.skills-section h3 {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.skills-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Experience & Education Items */
.experience-item,
.education-item,
.project-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child,
.education-item:last-child,
.project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-item h3,
.education-item h3,
.project-item h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.experience-item li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateX(5px);
}

.contact-links svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .resume-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar .container > div {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-menu {
        gap: 1rem;
        margin: 0;
    }
    
    .lang-toggle {
        margin-left: 0;
    }
    
    .card-large {
        grid-column: span 1;
    }
    
    .card-full {
        grid-column: 1 / -1;
    }
    
    .card-full-minus-1 {
        grid-column: 1 / -1;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-links a {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .social-links svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .lang-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .profile-photo {
        max-width: 200px;
    }
    
    .profile-info h3 {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
}


/* Projects Page */
.projects-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

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

.projects-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.projects-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
    text-align: center;
}

.error-state svg {
    width: 4rem;
    height: 4rem;
    color: #ef4444;
}

.error-state h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.error-state p {
    color: var(--text-secondary);
    margin: 0;
}

.retry-button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

/* GitHub Stats */
.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(3, 93, 215, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

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

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

/* Project Card */
.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(3, 93, 215, 0.2);
}

.project-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(3, 93, 215, 0.05) 100%);
}



.project-image {
    position: relative;
    width: 50%;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-project:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-project:hover .project-overlay {
    opacity: 1;
}

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

.btn-demo,
.btn-code {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-demo {
    background: var(--accent-primary);
    color: white;
}

.btn-demo:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.btn-code {
    background: white;
    color: var(--accent-primary);
}

.btn-code:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

.project-content {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.project-meta-inline {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item svg {
    width: 1rem;
    height: 1rem;
}

.project-features {
    margin: 0.5rem 0;
}

.project-features h4 {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tech-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.tech-badge {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Simple Project Image */
.project-simple-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
    background: var(--bg-tertiary);
}

.project-simple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-simple-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(3, 93, 215, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-primary);
}

.project-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-name a:hover {
    color: var(--accent-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.project-description em {
    opacity: 0.6;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

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

.project-stat svg {
    width: 1rem;
    height: 1rem;
}

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

.project-updated {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--accent-secondary);
    gap: 0.5rem;
}

.project-link svg {
    width: 1rem;
    height: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-project {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .project-image,
    .project-content {
        width: 100%;
    }
    
    .project-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .projects-header h1 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .github-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .github-stats {
        grid-template-columns: 1fr;
    }
    
    .project-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}


/* Static Projects Page */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--accent-primary);
    background: var(--bg-tertiary);
}

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

.static-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.static-project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease, opacity 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 1;
}

.static-project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(3, 93, 215, 0.2);
}

.static-project-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(3, 93, 215, 0.05) 100%);
}

.project-icon-large {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.project-icon-large svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.static-project-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.static-project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.9rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Language specific colors */
.tech-tag.python {
    background: rgba(53, 114, 165, 0.1);
    border-color: #3572A5;
    color: #3572A5;
}

.tech-tag.java {
    background: rgba(176, 114, 25, 0.1);
    border-color: #b07219;
    color: #b07219;
}

.tech-tag.php {
    background: rgba(79, 93, 149, 0.1);
    border-color: #4F5D95;
    color: #4F5D95;
}

.tech-tag.html {
    background: rgba(227, 76, 38, 0.1);
    border-color: #e34c26;
    color: #e34c26;
}

.tech-tag.css {
    background: rgba(86, 61, 124, 0.1);
    border-color: #563d7c;
    color: #563d7c;
}

.tech-tag.js {
    background: rgba(241, 224, 90, 0.1);
    border-color: #f1e05a;
    color: #d4b942;
}

.project-year {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

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

.project-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.project-link-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.project-link-btn.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.project-link-btn svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* Skills Summary */
.skills-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-top: 3rem;
}

.skills-summary h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
    text-align: center;
}

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

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0 0 1rem 0;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Responsive for static projects */
@media (max-width: 768px) {
    .static-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link-btn {
        justify-content: center;
    }
    
    .project-tabs {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}


/* Online Links List */
.online-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.online-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.online-link-item:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateX(5px);
}

.online-link-item svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.online-link-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .online-link-item {
        padding: 0.6rem 0.8rem;
    }
    
    .online-link-item svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .online-link-item span {
        font-size: 0.85rem;
    }
}


/* Featured Projects List on Homepage */
.featured-projects-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.featured-project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-project-item:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.project-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.project-info {
    flex: 1;
}

.project-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-tags-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags-mini span {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.view-all-projects {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-projects:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.profile-bio {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .project-emoji {
        font-size: 1.5rem;
    }
    
    .project-info h4 {
        font-size: 0.9rem;
    }
    
    .project-tags-mini span {
        font-size: 0.7rem;
    }
}


/* Skills Overview on Homepage */
.skills-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-align: center;
}

.skill-badge:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .skills-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-overview {
        grid-template-columns: 1fr;
    }
    
    .skill-badge {
        padding: 1rem;
    }
    
    .skill-icon {
        font-size: 1.75rem;
    }
    
    .skill-name {
        font-size: 0.85rem;
    }
}

/* Print CV Button */
.print-button-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.print-cv-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 93, 215, 0.3);
}

.print-cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 93, 215, 0.4);
}

.print-cv-btn:active {
    transform: translateY(0);
}

.print-cv-btn svg {
    width: 20px;
    height: 20px;
}

/* Print Styles */
@media print {
    @page {
        margin: 1.5cm;
        size: A4;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 11pt;
        line-height: 1.4;
    }
    
    .navbar,
    .print-button-container,
    footer,
    .lang-toggle {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .resume-grid {
        display: block;
    }
    
    .card {
        background: white !important;
        border: none;
        box-shadow: none;
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .card-header {
        margin-bottom: 0.5rem;
    }
    
    .card-header h2 {
        color: #035dd7 !important;
        border-bottom: 2px solid #035dd7;
        padding-bottom: 0.3rem;
        font-size: 14pt;
        margin-bottom: 0.5rem;
    }
    
    /* Profile section - keep together */
    .profile-card {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        align-items: flex-start;
        margin-bottom: 1.2rem;
        padding: 1rem !important;
    }
    
    .profile-photo {
        flex-shrink: 0;
    }
    
    .profile-photo img {
        width: 200px;
        height: 200px;
        border: 2px solid #035dd7;
        border-radius: 8px;
        object-fit: cover;
    }
    
    .profile-info {
        flex: 1;
    }
    
    .profile-info .nav-brand {
        font-size: 20pt;
        color: #035dd7 !important;
        margin-bottom: 0.3rem;
    }
    
    .profile-info h3 {
        font-size: 10pt;
        color: #666 !important;
        margin: 0.3rem 0;
        font-weight: normal;
    }
    
    .profile-bio {
        font-size: 10pt;
        color: #333 !important;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    /* Skills section - compact layout */
    .skills-section {
        margin-bottom: 0.6rem;
    }
    
    .skills-section h3 {
        font-size: 11pt;
        color: #333 !important;
        margin-bottom: 0.2rem;
    }
    
    .skills-section p {
        font-size: 10pt;
        color: #555 !important;
        margin-left: 1.5rem;
    }
    
    /* Experience, Education, Projects */
    .experience-item,
    .education-item,
    .project-item {
        margin-bottom: 0.8rem;
    }
    
    .experience-item h3,
    .education-item h3,
    .project-item h3 {
        font-size: 11pt;
        color: #333 !important;
        margin-bottom: 0.2rem;
    }
    
    .company,
    .period {
        font-size: 10pt;
        color: #666 !important;
        margin: 0.1rem 0;
    }
    
    .experience-item ul,
    .education-item ul,
    .project-item ul {
        margin-left: 1.2rem;
        margin-top: 0.3rem;
    }
    
    .experience-item li,
    .education-item li,
    .project-item li {
        font-size: 10pt;
        color: #444 !important;
        margin-bottom: 0.2rem;
    }
    
    /* Contact links */
    .contact-links {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .contact-links a {
        color: #035dd7 !important;
        text-decoration: none;
        font-size: 10pt;
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    
    .contact-links svg {
        width: 14px;
        height: 14px;
    }
    
    /* Remove href display for cleaner look */
    a[href]:after {
        content: none !important;
    }
    
    /* Optimize space usage */
    .card-full,
    .card-full-minus-1 {
        width: 100%;
    }
    
    /* Better spacing between sections */
    .card + .card {
        margin-top: 0.5rem;
    }
}

/* Featured Projects List */
.featured-projects-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex: 1;
}

.featured-project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.featured-project-item:hover {
    background: rgba(3, 93, 215, 0.1);
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.project-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.project-info {
    flex: 1;
}

.project-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.project-tags-mini {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags-mini span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
}

/* Skills Overview */
.skills-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    flex: 1;
}

.skill-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: rgba(3, 93, 215, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.skill-icon {
    font-size: 2rem;
}

.skill-name {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* View All Projects/Details Link */
.view-all-projects {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.view-all-projects:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 93, 215, 0.3);
}

/* Featured Project Highlight */
.featured-project h3 {
    color: var(--accent-primary);
    font-weight: 700;
}

.featured-project {
    border-left: 3px solid var(--accent-primary);
    padding-left: 1rem;
    background: rgba(3, 93, 215, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
}
