* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; font-weight: 300; letter-spacing: 0.02em; padding-top: 60px; }
nav { position: fixed; top: 0; left: 0; right: 0; background: #fff; color: black; padding: 1rem 0; border-bottom: 1px solid #ddd; z-index: 1000; }
nav .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
nav a { color: black; text-decoration: none; margin: 0 1rem; transition: color 0.3s ease; }
nav a:hover { color: #666; }
nav .nav-right { display: flex; align-items: center; gap: 1rem; }
nav button { padding: 0.5rem 1.25rem; border: 2px solid #333; background: #333; color: #fff; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; border-radius: 6px; }
nav button:hover { background: #000; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.container { max-width: 1200px; margin: 3rem auto; padding: 0 2rem; }
.profile { display: flex; align-items: center; justify-content: center; gap: 3rem; }
.profile img { max-width: 300px; border-radius: 8px; }
h1 { margin-bottom: 1rem; font-weight: 300; letter-spacing: 0.03em; font-size: 3.5rem; }
p { margin-bottom: 0.5rem; line-height: 1.8; font-weight: 300; }
.profile-buttons { display: flex; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.profile-buttons button { padding: 0.75rem 1.5rem; border: 2px solid #333; background: transparent; color: #333; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 1rem; text-decoration: none; transition: all 0.3s ease; border-radius: 6px; position: relative; overflow: hidden; }
.profile-buttons button:hover { background: #333; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.profile-buttons button:active { transform: translateY(0); }
.profile-buttons button.primary { background: #333; color: #fff; }
.profile-buttons button.primary:hover { background: #000; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.skills-section { margin-top: 5rem; padding-bottom: 3rem; }
.skills-section h2 { font-weight: 400; font-size: 2.5rem; margin-bottom: 2rem; text-align: left; }
.skills-section > p { text-align: left; margin-bottom: 2rem; color: #666; }
.skills-container { display: flex; gap: 3rem; align-items: flex-start; }
#skillsGraph { border: 1px solid #ddd; border-radius: 8px; background: #fafafa; flex: 1; }
.skills-list { flex: 0 0 250px; }
.skills-list h3 { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.4rem; margin-top: 1rem; color: #333; }
.skills-list h3:first-child { margin-top: 0; }
.skills-list p { color: #555; font-size: 0.85rem; line-height: 1.6; margin-bottom: 0; }
.work-history-section { margin-top: 5rem; padding-bottom: 3rem; }
.work-history-section h2 { font-weight: 400; font-size: 2.5rem; margin-bottom: 3rem; text-align: center; }
.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #ddd; }
.timeline-item { position: relative; margin-bottom: 3rem; padding-left: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: 0.3rem; width: 12px; height: 12px; border-radius: 50%; background: #333; border: 2px solid #fff; box-shadow: 0 0 0 2px #ddd; }
.timeline-item h3 { font-weight: 500; font-size: 1.5rem; margin-bottom: 0.5rem; }
.timeline-item .company { color: #666; font-size: 1.1rem; margin-bottom: 0.3rem; }
.timeline-item .duration { color: #999; font-size: 0.95rem; margin-bottom: 1rem; }
.timeline-item .description { line-height: 1.8; color: #444; }
.contact-section { margin-top: 5rem; padding: 3rem 0; border-top: 1px solid #ddd; }
.contact-section h2 { font-weight: 400; font-size: 2.5rem; margin-bottom: 2rem; }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item strong { min-width: 100px; color: #333; }
.contact-item a { color: #333; text-decoration: underline; transition: color 0.3s ease; }
.contact-item a:hover { color: #666; }
.contact-form { max-width: 100%; margin-top: 0; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 400; color: #333; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #333; }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { background: #333; color: #fff; padding: 0.75rem 2rem; border: none; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; }
.submit-btn:hover { background: #555; }
.form-message { margin-top: 1rem; padding: 0.75rem; border-radius: 4px; display: none; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.projects-section { margin-top: 5rem; padding-bottom: 3rem; }
.projects-section h2 { font-weight: 400; font-size: 2.5rem; margin-bottom: 3rem; text-align: center; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.project-card { border: 1px solid #ddd; border-radius: 8px; padding: 2rem; background: #fafafa; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.project-card h3 { font-weight: 500; font-size: 1.5rem; margin-bottom: 1rem; }
.project-card .tech-stack { color: #666; font-size: 0.95rem; margin-bottom: 1rem; font-style: italic; }
.project-card .description { line-height: 1.8; color: #444; margin-bottom: 1.5rem; }
.project-card .links { display: flex; gap: 1rem; }
.project-card .links a { color: #333; text-decoration: underline; font-size: 0.95rem; transition: color 0.3s ease; }
.project-card .links a:hover { color: #666; }
.github-section { margin-top: 5rem; padding-bottom: 3rem; }
.github-section h2 { font-weight: 400; font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
.github-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.github-heatmap { border-radius: 8px; width: 100%; max-width: 1000px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.github-btn { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 2rem; background: #24292e; color: #fff; border: none; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.github-btn:hover { background: #1a1e22; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.github-btn svg { transition: transform 0.3s ease; }
.github-btn:hover svg { transform: rotate(360deg); }
@media (max-width: 768px) {
    .profile { flex-direction: column; text-align: center; }
    .profile-buttons { justify-content: center; }
    .skills-container { flex-direction: column; }
    .skills-list { flex: 1; width: 100%; }
    #skillsGraph { width: 100% !important; height: 400px !important; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 2rem; }
    .contact-item { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
    .contact-item strong { min-width: auto; }
    .github-heatmap { width: 100%; }
}
