﻿@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;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.22);
    --accent-blue: #dbe7f3;
    --accent-blue-dark: #aeb8c3;
    --accent-gold: #2a7bc7;
    --accent-gold-soft: #8dc4ff;
    --accent-glow: rgba(219, 231, 243, 0.35);
    --accent-gold-glow: rgba(42, 123, 199, 0.35);
    --text-primary: #f5f7fb;
    --text-secondary: rgba(245, 247, 251, 0.82);
    --text-tertiary: rgba(245, 247, 251, 0.6);
    --steel-sheen: linear-gradient(135deg, #f9fbfd 0%, #dee6ee 30%, #eef2f6 55%, #c2ccd7 100%);
    --steel-brush: repeating-linear-gradient(120deg, rgba(255,255,255,0.26) 0 2px, rgba(0,0,0,0.05) 2px 4px);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #151520 25%, #1a1a2e 50%, #16213e 75%, #0f3460 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

p a {
	color: #FFF;
}

/* 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(15, 25, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(15, 25, 35, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.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 !important;
    }
    
    .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: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-glow);
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    border: 2px solid transparent;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    background: rgba(118, 169, 250, 0.1);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: var(--accent-blue);
    background: rgba(118, 169, 250, 0.15);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    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: 80px;
    left: 0;
    width: 100%;
    background: rgba(15, 25, 35, 0.95);
    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.1);
    opacity: 0;
    pointer-events: none;
}

.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: 1rem;
}

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    display: block;
    position: relative;
    border: 2px solid transparent;
}

.mobile-nav a:hover {
    color: var(--accent-blue);
    background: rgba(118, 169, 250, 0.1);
    border-color: var(--accent-blue);
}

.mobile-nav a.active {
    color: var(--accent-blue);
    background: rgba(118, 169, 250, 0.15);
    border-color: var(--accent-blue);
}

/* 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.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.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(118, 169, 250, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 131, 247, 0.3) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 169, 250, 0.35) 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, var(--accent-blue) 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, var(--accent-blue-dark) 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: 4px;
    height: 4px;
    background: var(--accent-blue);
    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%, var(--accent-glow) 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: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -2px;
    animation: slideInUp 1s ease-out;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
    animation: slideInUp 1s ease-out 0.3s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    line-height: 1;
    min-height: 52px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    box-shadow: 0 8px 25px var(--accent-glow);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--accent-glow);
}

.cta-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: white;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

@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(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    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 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--glass-border);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(118, 169, 250, 0.2) 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(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2.5rem;
    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(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
}

/* Skills section */
.skills-container {
    position: relative;
    margin-top: 3rem;
}

.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;
}

.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(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    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.2) rotate(0deg);
    background: rgba(118, 169, 250, 0.2);
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px var(--accent-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: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 50px var(--accent-glow);
    z-index: 10;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-blue);
}

.skill-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(118, 169, 250, 0.1);
}

.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: 1rem;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-dark));
    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: 4px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--accent-blue) 10%,
        var(--accent-blue) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
    z-index: -1;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-blue-dark), var(--accent-blue));
    transform: translateX(-50%);
    transition: height 0.3s ease;
    z-index: 0;
    box-shadow: 0 0 20px var(--accent-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: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: 4px 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.5rem;
    color: white;
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-node:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 40px var(--accent-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(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(118, 169, 250, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    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.5rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skill {
    padding: 0.3rem 0.8rem;
    background: rgba(118, 169, 250, 0.2);
    border: 1px solid rgba(118, 169, 250, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.timeline-skill:hover {
    background: rgba(118, 169, 250, 0.3);
    transform: translateY(-2px);
}

.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: 1rem;
}

/* Timeline controls */
.timeline-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.timeline-filter {
    padding: 0.8rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.timeline-filter:hover,
.timeline-filter.active {
    background: rgba(118, 169, 250, 0.2);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* 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(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
    border-radius: 24px;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.portfolio-image {
    aspect-ratio: 1 / 1;
    height: auto;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.16), rgba(18, 21, 26, 0.96) 72%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.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-card:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-card:nth-child(3n + 1):hover .portfolio-image img {
    transform: scale(1.1) rotate(-1.4deg);
}

.portfolio-card:nth-child(3n + 2):hover .portfolio-image img {
    transform: scale(1.12) translateY(-6px);
}

.portfolio-card:nth-child(3n):hover .portfolio-image img {
    transform: scale(1.08) translateX(6px);
}

.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.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    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.3rem 0.8rem;
    background: rgba(118, 169, 250, 0.2);
    border: 1px solid rgba(118, 169, 250, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent-blue);
}

/* Contact section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
}

.contact-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    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-blue);
    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: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-size: 1rem;
    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-blue);
    box-shadow: 0 0 20px var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: linear-gradient(135deg, 
        rgba(15, 25, 35, 0.95) 0%,
        rgba(10, 15, 25, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

.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.6rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-credit-link:hover {
    transform: translateY(-2px);
    background: rgba(118, 169, 250, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 6px 25px var(--accent-glow);
}

.footer-credit-link.tooplate {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px var(--accent-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: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px var(--accent-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: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    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;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-btn {
        order: 2;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .hero {
        padding-top: 200px;
    }

    .hero {
        padding-top: 150px;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-logo {
        width: clamp(120px, 34vw, 180px);
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: 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;
    }

    .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;
    }

    .portfolio-image {
        height: 220px;
    }

    .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: 600px) {
    .chat-panel {
        width: min(340px, 92vw);
        bottom: 64px;
    }

    .chat-messages {
        max-height: 320px;
    }

    .chat-input input {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .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);
}

.image-motion {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
    filter: saturate(0.82) blur(2px);
}

.image-motion.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1) blur(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-primary:focus,
.cta-secondary:focus,
.form-input:focus,
.form-textarea:focus,
.submit-btn:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Royal Glass overrides */
body {
    font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: linear-gradient(140deg, #161a20 0%, #1b2027 35%, #20262e 65%, #252c35 100%);
}

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

.logo-text,
.section-title,
.hero h1 {
    font-family: "Playfair Display", "Times New Roman", serif;
    letter-spacing: 0.4px;
}

.hero h1 {
    font-size: clamp(3.2rem, 10.4vw, 6.5rem);
}

.hero-logo {
    width: clamp(180px, 26vw, 280px);
    height: auto;
    margin-bottom: 1.4rem;
    mix-blend-mode: normal;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4)) saturate(1.05) brightness(1.05);
    animation: heroFloat 6s ease-in-out infinite;
}

.logo-mark {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    padding: 0;
    mix-blend-mode: normal;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)) saturate(1.05) brightness(1.05);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.logo:hover .logo-mark {
    transform: rotate(-4deg) scale(1.07);
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4)) saturate(1.12) brightness(1.08);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.hero-content {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--steel-sheen), var(--steel-brush);
    background-blend-mode: overlay;
    opacity: 0.25;
    pointer-events: none;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(42, 123, 199, 0.18);
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.nav-links a::after {
    background: var(--accent-gold);
}

.cta-primary {
    background-image: var(--steel-sheen), var(--steel-brush);
    background-blend-mode: overlay;
    background-color: var(--accent-blue);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.cta-secondary {
    border: 1px solid rgba(42, 123, 199, 0.6);
    color: var(--accent-gold-soft);
}

.stat-number {
    color: var(--accent-gold-soft);
}

.stat-card,
.about-card,
.contact-info,
.contact-form-container {
    position: relative;
    overflow: hidden;
}

.stat-card::after,
.about-card::after,
.contact-info::after,
.contact-form-container::after,
.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--steel-sheen), var(--steel-brush);
    background-blend-mode: overlay;
    opacity: 0.12;
    pointer-events: none;
}

.shape-1 {
    background: radial-gradient(circle, rgba(154, 165, 177, 0.35) 0%, transparent 70%);
}

.shape-2 {
    background: radial-gradient(circle, rgba(42, 123, 199, 0.2) 0%, transparent 70%);
}

.shape-3 {
    background: radial-gradient(circle, rgba(154, 165, 177, 0.25) 0%, transparent 70%);
}

.geo-1 {
    background: linear-gradient(45deg, var(--accent-blue) 0%, transparent 100%);
}

.geo-2 {
    background: linear-gradient(135deg, var(--accent-gold) 0%, transparent 100%);
}

.about-image {
    width: min(100%, 320px);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(42, 123, 199, 0.4);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), rgba(18, 21, 26, 0.94) 70%);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s ease, border-color 0.5s ease;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.01);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.about-image:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 34px 62px rgba(0, 0, 0, 0.34);
    border-color: rgba(141, 196, 255, 0.72);
}

.about-image:hover img {
    transform: scale(1.09);
}

.about-image img.is-transitioning {
    opacity: 0.2;
    transform: scale(1.07);
}

.about-image img.is-showcase-changing {
    opacity: 0.14;
    transform: scale(1.14);
    filter: saturate(1.1) blur(8px);
}

.about-image::after {
    display: none;
}

.skills-center {
    background: #ffffff;
    color: #1f2a36;
    box-shadow: 0 0 55px rgba(255, 255, 255, 0.35);
    font-size: 2rem;
    letter-spacing: 2px;
}

.skills-center-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.skills-center:hover .skills-center-logo {
    transform: scale(1.07) rotate(3deg);
    filter: drop-shadow(0 12px 24px rgba(42, 123, 199, 0.2));
}

.skill-node:hover {
    background: rgba(156, 172, 188, 0.35);
    border-color: #cfd6dd;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.skills-circle {
    background: radial-gradient(circle, rgba(207, 214, 221, 0.18) 0%, rgba(0,0,0,0) 65%);
    border-radius: 50%;
}

.skill-node {
    background: rgba(26, 32, 40, 0.5);
    border-color: rgba(200, 208, 216, 0.45);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.timeline-year {
    background-image: var(--steel-sheen), var(--steel-brush);
    background-blend-mode: overlay;
    background-color: var(--accent-blue);
    color: #1b1b1b;
}

.timeline-company {
    color: var(--accent-gold);
}

.timeline-achievement::before {
    content: "\2022";
}

.timeline-skill {
    background: rgba(26, 143, 227, 0.18);
    border: 1px solid rgba(26, 143, 227, 0.3);
    color: var(--accent-blue);
}

.tag {
    background: rgba(42, 123, 199, 0.2);
    border: 1px solid rgba(42, 123, 199, 0.35);
    color: var(--accent-gold-soft);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #0a0f18;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
    filter: saturate(0.96) contrast(1.02);
}

.portfolio-image img.is-rotating {
    opacity: 0.18;
    transform: scale(1.12);
    filter: saturate(1.2) contrast(1.08) blur(7px);
}

.portfolio-card:hover .portfolio-image img {
    filter: saturate(1.12) contrast(1.08);
}

.contact-details h4 {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(42, 123, 199, 0.2);
    padding-top: 1.5rem;
}

.footer-credit-link.tooplate {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    box-shadow: 0 6px 20px var(--accent-gold-glow);
}

/* Premium refinements */
section {
    padding: 6rem 0;
}

.section-title {
    letter-spacing: 0.3px;
}

.section-subtitle {
    font-size: 1.05rem;
}

.nav-links a {
    font-weight: 600;
}

.cta-primary,
.cta-secondary,
.submit-btn {
    letter-spacing: 0.4px;
}

.cta-primary,
.cta-secondary,
.submit-btn,
.nav-links a,
.footer-credit-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-primary:hover,
.cta-secondary:hover,
.submit-btn:hover,
.footer-credit-link:hover {
    transform: translateY(-3px);
}

.section-header {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: rgba(245, 247, 251, 0.78);
}

.nav-links a {
    letter-spacing: 0.3px;
}

.skill-node,
.timeline-node,
.stat-card,
.about-card,
.portfolio-card {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.timeline-content {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.contact-info,
.contact-form-container {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.hero p {
    max-width: 720px;
}

.portfolio-title {
    letter-spacing: 0.3px;
}

.portfolio-description {
    line-height: 1.7;
}

.timeline-description {
    line-height: 1.7;
}

.contact-details ul {
    margin-top: 0.75rem;
}

.stat-card,
.about-card,
.portfolio-card,
.contact-info,
.contact-form-container {
    background: linear-gradient(160deg, rgba(235, 240, 246, 0.14) 0%, rgba(200, 208, 218, 0.08) 55%, rgba(255, 255, 255, 0.16) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.portfolio-image img {
    background: #12151a;
}

.contact-info,
.contact-form-container {
    border-color: rgba(255, 255, 255, 0.22);
}

.timeline-content {
    border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1024px) {
    section {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4.5rem 0;
    }
}

/* Chat widget */
.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2500;
    font-family: inherit;
}

.chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(215, 221, 227, 0.9);
    color: #1f2328;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4);
}

.chat-toggle-icon {
    font-size: 1.2rem;
    color: #1f2328;
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: min(360px, 90vw);
    background: rgba(24, 26, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    display: none;
    overflow: hidden;
}

.chat-panel.active {
    display: block;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(210, 216, 222, 0.9);
    color: #1f2328;
}

.chat-title {
    font-weight: 700;
}

.chat-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.chat-close {
    background: transparent;
    border: none;
    color: #1f2328;
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-messages {
    max-height: 360px;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.chat-quick button {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #f6f7f9;
    font-size: 0.85rem;
    cursor: pointer;
}

.chat-quick button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.chat-message {
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message a {
    color: #ffffff;
    text-decoration: underline;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f6f7f9;
    align-self: flex-start;
}

.chat-message.user {
    background: rgba(210, 215, 220, 0.35);
    border: 1px solid rgba(210, 215, 220, 0.55);
    color: #f5f6f8;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 14, 18, 0.9);
}

.chat-input input {
    flex: 1;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.chat-input button {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #cfd4da, #9aa2ab);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 600px) {
    .chat-widget {
        right: 16px;
        bottom: 16px;
    }
}

/* Gallery lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: min(1100px, 92vw);
    max-height: 85vh;
    width: 100%;
    background: rgba(12, 20, 30, 0.9);
    border: 1px solid rgba(42, 123, 199, 0.35);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-image {
    width: 100%;
    height: clamp(320px, 60vh, 680px);
    display: block;
    object-fit: contain;
    background: #0a0f18;
    transition: opacity 0.35s ease, transform 0.45s ease, filter 0.45s ease;
}

.lightbox-image.is-changing {
    opacity: 0.25;
    transform: scale(0.97);
    filter: blur(6px);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(42, 123, 199, 0.5);
    background: rgba(12, 20, 30, 0.8);
    color: var(--accent-gold-soft);
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-gold-glow);
}

.lightbox-close {
    right: 16px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-counter {
    position: absolute;
    bottom: 16px;
    right: 20px;
    padding: 0.4rem 0.9rem;
    background: rgba(12, 20, 30, 0.75);
    border: 1px solid rgba(42, 123, 199, 0.35);
    color: var(--accent-gold-soft);
    border-radius: 20px;
    font-size: 0.85rem;
}

.lightbox-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
    background: rgba(8, 12, 18, 0.9);
    border-top: 1px solid rgba(42, 123, 199, 0.2);
    max-height: 200px;
    overflow-y: auto;
}

.lightbox-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(42, 123, 199, 0.2);
    cursor: pointer;
    background: #0a0f18;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.lightbox-thumb:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 24px rgba(42, 123, 199, 0.18);
}

.lightbox-thumb:hover img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.lightbox-thumb.active {
    border-color: var(--accent-gold);
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(42, 123, 199, 0.25);
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background-attachment: scroll;
    }

    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 0.75rem 0;
    }

    .nav-container {
        width: 100%;
        padding: 0 1rem;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .logo {
        min-width: 0;
        gap: 0.65rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-mark {
        width: 48px;
        height: 48px;
    }

    .mobile-nav {
        top: 72px;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .mobile-nav ul {
        padding: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 4rem;
    }

    .hero-content {
        width: 100%;
        padding: 0 0.25rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
        line-height: 0.96;
    }

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

    .hero p {
        font-size: 0.98rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-section {
        gap: 0.9rem;
    }

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

    .about-content,
    .about-intro,
    .contact-content,
    .skills-wrapper {
        gap: 1.5rem;
    }

    .about-intro {
        text-align: center;
    }

    .about-image {
        width: min(100%, 280px);
        margin: 0 auto;
    }

    .about-cards,
    .portfolio-grid,
    .contact-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .skills-visual {
        width: 100%;
        height: 340px;
    }

    .skills-circle {
        width: min(88vw, 300px);
        height: min(88vw, 300px);
    }

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

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

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

    .skills-center {
        width: 104px;
        height: 104px;
    }

    .timeline-content,
    .contact-info,
    .contact-form-container,
    .portfolio-content {
        padding: 1.25rem;
    }

    .timeline-year,
    .timeline-company,
    .timeline-description,
    .timeline-achievement,
    .portfolio-description,
    .contact-details,
    .contact-info p {
        word-break: break-word;
    }

    .chat-widget {
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .chat-toggle {
        width: 100%;
        justify-content: center;
    }

    .chat-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 78px;
        width: auto;
        max-height: calc(100vh - 100px);
    }

    .chat-messages {
        max-height: min(46vh, 340px);
    }

    .chat-input {
        flex-wrap: wrap;
    }

    .chat-input input,
    .chat-input button {
        width: 100%;
    }

    .lightbox {
        padding: 0.75rem;
    }

    .lightbox-content {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 18px;
    }

    .lightbox-image {
        height: min(52vh, 420px);
    }

    .lightbox-prev,
    .lightbox-next,
    .lightbox-close {
        width: 38px;
        height: 38px;
    }

    .lightbox-thumbs {
        grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
        padding: 0.65rem 0.75rem 0.85rem;
    }

    footer {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 0;
    }

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

    .logo-text {
        font-size: 1.08rem;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 3.5rem;
    }

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

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

    .section-subtitle {
        font-size: 0.96rem;
    }

    .about-image {
        width: min(100%, 240px);
    }

    .portfolio-card,
    .contact-info,
    .contact-form-container,
    .timeline-content {
        border-radius: 20px;
    }

    .portfolio-image {
        aspect-ratio: 1 / 1;
    }

    .footer-credit-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
