@charset "utf-8";
/* CSS Document 

Tooplate 2147 Titan Folio

https://www.tooplate.com/view/2147-titan-folio

*/

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

html {
    overflow-x: hidden;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-blue: #8ab4f8;
    --accent-blue-dark: #6c9ef8;
    --accent-glow: rgba(138, 180, 248, 0.25);
    --accent-emerald: #5cb8a5;
    --accent-emerald-glow: rgba(92, 184, 165, 0.2);
    --text-primary: #f0f2f5;
    --text-secondary: rgba(240, 242, 245, 0.75);
    --text-tertiary: rgba(240, 242, 245, 0.5);
    --surface-dark: #0d1117;
    --surface-card: rgba(22, 27, 34, 0.6);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0d1117;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(138, 180, 248, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(92, 184, 165, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

p a {
	color: var(--accent-emerald);
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(13, 17, 23, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav.scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

@media (max-width: 1000px) {
    .nav-container {
        justify-content: center;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 2rem;
    }
    
    .logo {
        order: 1;
    }
    
    .nav-links {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero {
        padding-top: 240px;
    }
}

@media (max-width: 880px) {
    .hero {
        padding-top: 160px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-emerald);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--accent-emerald-glow);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: white;
    letter-spacing: -1px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    position: relative;
    border: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent-emerald);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--text-primary);
    border-color: transparent;
    transform: none;
    background: rgba(255, 255, 255, 0.06);
}

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

.nav-links a.active {
    color: var(--accent-emerald);
    background: rgba(92, 184, 165, 0.1);
    border-color: transparent;
    box-shadow: none;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
}

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    position: relative;
    border: none;
}

.mobile-nav a:hover {
    color: var(--accent-emerald);
    background: rgba(92, 184, 165, 0.08);
    border-color: transparent;
}

.mobile-nav a.active {
    color: var(--accent-emerald);
    background: rgba(92, 184, 165, 0.12);
    border-color: transparent;
}

/* Section styling */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 25s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 180, 248, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92, 184, 165, 0.1) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 180, 248, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: 20%;
    animation-delay: 14s;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    animation: rotate-float 30s infinite linear;
}

.geo-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    background: linear-gradient(45deg, rgba(92, 184, 165, 0.3) 0%, transparent 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.geo-2 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 5%;
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.2) 0%, transparent 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(100px, -80px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(-60px, 60px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(80px, 100px) scale(1.05) rotate(270deg);
    }
}

@keyframes rotate-float {
    0% {
        transform: rotate(0deg) translateY(0);
    }
    50% {
        transform: rotate(180deg) translateY(-50px);
    }
    100% {
        transform: rotate(360deg) translateY(0);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(92, 184, 165, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: particle-rise 10s infinite ease-out;
}

@keyframes particle-rise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* Generate multiple particles */
.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(92, 184, 165, 0.06) 0%, transparent 50%);
    animation: hero-glow 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes hero-glow {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1) rotate(2deg);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -1.5px;
    animation: slideInUp 1s ease-out;
}

.hero .subtitle {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--text-tertiary);
    font-weight: 400;
    letter-spacing: 0.2px;
    max-width: 500px;
    animation: slideInUp 1s ease-out 0.5s both;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    letter-spacing: 0.2px;
}

.cta-social:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.cta-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cta-cv:hover, .cta-github:hover, .cta-linkedin:hover, .cta-email:hover {
    border-color: rgba(92, 184, 165, 0.5);
    background: rgba(92, 184, 165, 0.12);
    color: var(--accent-emerald);
    box-shadow: 0 4px 16px var(--accent-emerald-glow);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--surface-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-emerald);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* About section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.about-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url('images/about-profile.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 184, 165, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent 0deg,
        rgba(255,255,255,0.1) 90deg,
        transparent 180deg,
        rgba(255,255,255,0.05) 270deg,
        transparent 360deg);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.about-card {
    background: var(--surface-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.08) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

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

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.about-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
}

/* Skills section */
.skills-container {
    position: relative;
    margin-top: 3rem;
    overflow: visible;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.skills-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.skills-circle {
    position: relative;
    width: 400px;
    height: 400px;
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.skill-node {
    position: absolute;
    width: 124px;
    height: 124px;
    background: var(--surface-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: counter-rotate 30s linear infinite;
}

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.skill-node:hover {
    transform: scale(1.15) rotate(0deg);
    background: rgba(92, 184, 165, 0.15);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 24px var(--accent-emerald-glow);
    animation-play-state: paused;
}

.skill-node.active {
    transform: scale(1.15) rotate(0deg);
    background: rgba(92, 184, 165, 0.2);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 30px var(--accent-emerald-glow);
    animation-play-state: paused;
}

.skill-node .skill-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.skill-node .skill-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

/* Position skill nodes in a circle with counter-rotation */
.skill-node:nth-child(1) { 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%) translateY(-50%);
    animation: counter-rotate-1 30s linear infinite;
}
.skill-node:nth-child(2) { 
    top: 25%; 
    right: 0; 
    transform: translateX(50%) translateY(-50%);
    animation: counter-rotate-2 30s linear infinite;
}
.skill-node:nth-child(3) { 
    top: 75%; 
    right: 0; 
    transform: translateX(50%) translateY(-50%);
    animation: counter-rotate-3 30s linear infinite;
}
.skill-node:nth-child(4) { 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%) translateY(50%);
    animation: counter-rotate-4 30s linear infinite;
}
.skill-node:nth-child(5) { 
    top: 75%; 
    left: 0; 
    transform: translateX(-50%) translateY(-50%);
    animation: counter-rotate-5 30s linear infinite;
}
.skill-node:nth-child(6) { 
    top: 25%; 
    left: 0; 
    transform: translateX(-50%) translateY(-50%);
    animation: counter-rotate-6 30s linear infinite;
}

/* Individual counter-rotation animations to maintain position */
@keyframes counter-rotate-1 {
    from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    to { transform: translateX(-50%) translateY(-50%) rotate(-360deg); }
}
@keyframes counter-rotate-2 {
    from { transform: translateX(50%) translateY(-50%) rotate(0deg); }
    to { transform: translateX(50%) translateY(-50%) rotate(-360deg); }
}
@keyframes counter-rotate-3 {
    from { transform: translateX(50%) translateY(-50%) rotate(0deg); }
    to { transform: translateX(50%) translateY(-50%) rotate(-360deg); }
}
@keyframes counter-rotate-4 {
    from { transform: translateX(-50%) translateY(50%) rotate(0deg); }
    to { transform: translateX(-50%) translateY(50%) rotate(-360deg); }
}
@keyframes counter-rotate-5 {
    from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    to { transform: translateX(-50%) translateY(-50%) rotate(-360deg); }
}
@keyframes counter-rotate-6 {
    from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    to { transform: translateX(-50%) translateY(-50%) rotate(-360deg); }
}

.skills-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 40px var(--accent-emerald-glow);
    z-index: 10;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    background: var(--surface-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
    border-left: 3px solid var(--accent-emerald);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: rgba(92, 184, 165, 0.05);
}

.skill-item.active {
    transform: translateX(8px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    background: rgba(92, 184, 165, 0.1);
    border-left: 4px solid var(--accent-emerald);
}

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

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.skill-progress {
    margin-top: 0.75rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
    border-radius: 3px;
    transition: width 1s ease;
}

/* Timeline section */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-50%);
    z-index: -1;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: var(--accent-emerald);
    transform: translateX(-50%);
    transition: height 0.3s ease;
    z-index: 0;
    box-shadow: 0 0 12px var(--accent-emerald-glow);
}

.timeline-item {
    position: relative;
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: calc(50% + 3rem);
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: calc(50% + 3rem);
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    background: var(--surface-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.timeline-node:hover {
    transform: translate(-50%, -50%) scale(1.15);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 20px var(--accent-emerald-glow);
}

.timeline-node.active {
    transform: translate(-50%, -50%) scale(1.3);
    animation: pulse-node 2s infinite;
}

@keyframes pulse-node {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow);
    }
}

.timeline-content {
    background: var(--surface-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: rgba(92, 184, 165, 0.05);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: rotate(45deg) translateY(-50%);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -3px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -18px;
}

.timeline-year {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(92, 184, 165, 0.15);
    color: var(--accent-emerald);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.timeline-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent-emerald);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-company a {
    color: var(--accent-emerald);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.timeline-company a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.timeline-skill {
    padding: 0.25rem 0.6rem;
    background: rgba(92, 184, 165, 0.12);
    border: 1px solid rgba(92, 184, 165, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--accent-emerald);
    transition: all 0.3s ease;
}

.timeline-skill:hover {
    background: rgba(92, 184, 165, 0.2);
    transform: none;
}

.timeline-achievements {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-achievement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline-achievement::before {
    content: '→';
    font-size: 0.9rem;
    color: var(--accent-emerald);
}

/* Timeline controls */
.timeline-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.timeline-filter {
    padding: 0.6rem 1.25rem;
    background: var(--surface-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
}

.timeline-filter:hover,
.timeline-filter.active {
    background: rgba(92, 184, 165, 0.12);
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    transform: none;
}

/* Mobile timeline adjustments */
@media (max-width: 768px) {
    .timeline-line,
    .timeline-progress {
        left: 2rem;
    }

    .timeline-item {
        padding-left: 5rem !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }

    .timeline-node {
        left: 2rem !important;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .timeline-content::before {
        left: -18px !important;
        right: auto !important;
    }

    .timeline-controls {
        flex-direction: column;
        align-items: center;
    }

    .timeline-filter {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .timeline-container {
        padding: 2rem 0;
        min-height: 200px;
    }

    .timeline-item {
        margin: 2rem 0;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: var(--surface-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255,255,255,0.3) 50%, 
        transparent 70%);
    transition: left 0.6s ease;
    z-index: 1;
}

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

/* Specific portfolio images */
.portfolio-image.ecommerce {
    background-image: url('images/portfolio-ecommerce.jpg');
}

.portfolio-image.analytics {
    background-image: url('images/portfolio-analytics.jpg');
}

.portfolio-image.music {
    background-image: url('images/portfolio-music.jpg');
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.portfolio-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.tag {
    padding: 0.25rem 0.6rem;
    background: rgba(92, 184, 165, 0.12);
    border: 1px solid rgba(92, 184, 165, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--accent-emerald);
}

.portfolio-github {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-github:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Contact section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--surface-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-form-container {
    background: var(--surface-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.contact-details h4 {
    color: var(--accent-emerald);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-details ul {
    list-style: none;
    padding-left: 1rem;
}

.contact-details li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    padding-left: 1rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 3px var(--accent-emerald-glow);
    background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--accent-emerald), #4a9e8e);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-emerald-glow);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-tertiary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-credit-link:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    box-shadow: none;
}

.footer-credit-link.tooplate {
    background: linear-gradient(135deg, var(--accent-emerald), #4a9e8e);
    border-color: transparent;
    color: white;
    box-shadow: 0 2px 8px var(--accent-emerald-glow);
}

.footer-credit-link.tooplate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.footer-credit-link.tooplate:hover::before {
    left: 100%;
}

.footer-credit-link.tooplate:hover {
    transform: none;
    box-shadow: 0 4px 16px var(--accent-emerald-glow);
}

.footer-credit-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-credit-link:hover .footer-credit-icon {
    transform: scale(1.2) rotate(5deg);
}

.footer-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-credits {
        justify-content: center;
    }

    .about-intro {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 0.75rem 1.5rem;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-btn {
        order: 2;
        display: flex;
    }
    
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 200px;
    }

    .hero {
        padding-top: 150px;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }

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

    .cta-buttons {
        width: 100%;
    }

    .cta-social {
        flex: 1;
        min-width: calc(50% - 0.375rem);
        justify-content: center;
    }

    .stats-section {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .stat-card {
        width: 100%;
        max-width: 300px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

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

    .skills-visual {
        height: 400px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .skills-circle {
        width: 300px;
        height: 300px;
    }

    .skill-node {
        width: 104px;
        height: 104px;
    }

    .skill-node .skill-icon {
        font-size: 1.5rem;
    }

    .skill-node .skill-name {
        font-size: 0.7rem;
    }

    .skills-center {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

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

    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-credits {
        flex-direction: column;
        align-items: center;
    }

    .footer-divider {
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-container {
        padding: 0 1rem;
    }

    .skills-circle {
        width: 250px;
        height: 250px;
    }

    .skill-node {
        width: 90px;
        height: 90px;
    }

    .skill-node .skill-icon {
        font-size: 1.2rem;
    }

    .skill-node .skill-name {
        font-size: 0.6rem;
    }

    .skills-center {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-card {
        border-radius: 20px;
    }

    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.nav-links a:focus,
.cta-social:focus,
.form-input:focus,
.form-textarea:focus,
.submit-btn:focus {
    outline: 2px solid var(--accent-emerald);
    outline-offset: 2px;
}