/* Modern UI Variables */
:root {
    --bg-dark: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --border-color: rgba(255, 255, 255, 0.08);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', sans-serif; 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    display: flex;
    justify-content: center;
    padding: 5vh 20px;
    background-image: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.05), transparent 40%);
    background-attachment: fixed;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 30px;
    align-items: flex-start;
}

/* Glassmorphism Sidebar */
.sidebar {
    width: 320px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: sticky;
    top: 5vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-green);
    padding: 4px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.profile-img:hover { 
    transform: scale(1.05); 
}

.sidebar h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 5px; }
.sidebar h2 { font-size: 1rem; color: var(--accent-green); font-weight: 600; margin-bottom: 30px; }

.contact-info { text-align: left; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 12px; font-size: 0.9rem; }
.contact-info p { margin-bottom: 12px; display: flex; flex-direction: column; }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info strong { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.contact-info a { color: var(--text-main); text-decoration: none; transition: color 0.2s; }
.contact-info a:hover { color: var(--accent-green); }

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.section-header {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--border-color) 0%, transparent 100%);
}

.resume-header { color: var(--accent-orange); }

/* Modern Timeline */
.timeline-block {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
    border-left: 2px solid var(--surface-hover);
}

.timeline-block:last-child { margin-bottom: 0; border-left-color: transparent; }

.timeline-block::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.timeline-block h3 { font-size: 1.2rem; font-weight: 600; color: var(--text-main); }
.timeline-block .company { font-size: 1rem; color: var(--text-muted); margin-bottom: 10px; }
.timeline-block .date { 
    display: inline-block; 
    background: rgba(245, 158, 11, 0.1); 
    color: var(--accent-orange);
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 600;
    margin-bottom: 15px; 
}

.timeline-block ul { list-style-type: none; }
.timeline-block li { 
    margin-bottom: 10px; 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    position: relative;
    padding-left: 20px;
}
.timeline-block li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--surface-hover);
}

/* Skills Progress Bars */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.skill-bar { margin-bottom: 15px; }
.skill-name { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; color: var(--text-muted); }
.progress-bg { background: var(--bg-dark); height: 6px; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-green), #34d399); }

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .container { flex-direction: column; }
    .sidebar { width: 100%; position: relative; top: 0; margin-bottom: 20px; }
    .skills-grid { grid-template-columns: 1fr; }
}