:root {
  --bg: #fafafa;
  --fg: #1e3a8a;
  --muted: #475569;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --card: #ffffff;
  --border: #e5e5e5;
  --shadow: rgba(0, 0, 0, 0.04);
  --shadow-hover: rgba(37, 99, 235, 0.15);
}
* { box-sizing:border-box; }
html,body { margin:0; padding:0; background:var(--bg); color:var(--fg); font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif; }
a { color:var(--accent); text-decoration:none; }
a:hover { text-decoration:underline; }
.container { max-width:980px; margin:0 auto; padding:24px; }
header { border-bottom:1px solid var(--border); position:sticky; top:0; backdrop-filter:blur(8px); background: rgba(250, 250, 250, 0.95); z-index: 100; }
.nav { display:flex; align-items:center; gap:16px; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; }
.brand img { width:24px; height:24px; }
nav ul { display:flex; list-style:none; gap:16px; padding:0; margin:0; }
nav a.current { font-weight:700; }
.lang { display:flex; gap:8px; align-items:center; }
.lang a { 
  padding:6px 12px; 
  border-radius:4px; 
  border:1px solid transparent; 
  font-size:13px;
  font-weight:500;
  transition:all 0.2s ease;
}
.lang a:hover {
  background:#fbbf24;
  border-color:#fbbf24;
  color:#fff;
}
.lang a.active { 
  background:#f97316; 
  color:#fff;
  border-color:#f97316;
}
.hero { 
  padding: 40px 0; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 48px;
}
.hero-content {
  flex: 1;
  text-align: left;
}

.hero-icon { 
  flex-shrink: 0;
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.hero-icon dotlottie-wc { 
  /* Animation removed - keeping Lottie's own animation only */
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.hero h1 { font-size:2.5rem; margin:0 0 16px; font-weight:700; letter-spacing:-0.02em; }
.hero p { color:var(--muted); margin:0 0 32px; font-size:1.125rem; }
.grid { display:grid; grid-template-columns: repeat(12,1fr); gap:20px; }
.card { grid-column: span 6; background:var(--card); padding:24px; border-radius:12px; border:1px solid var(--border); box-shadow:0 1px 3px var(--shadow); transition: all 0.2s ease; }
.card:hover { box-shadow: 0 4px 16px var(--shadow-hover); transform: translateY(-2px); }
.card h3, .card h4 { margin-top:0; }

/* Card icons */
.card-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.card-icon img { 
  width: 40px; 
  height: 40px; 
  transition: all 0.2s ease;
}
.card:hover .card-icon img { 
  transform: scale(1.05); 
}
.cta { display:flex; gap:16px; margin-top:24px; flex-wrap:wrap; }
.btn { 
  display:inline-flex; 
  align-items:center;
  justify-content:center;
  background:var(--accent); 
  color:#fff; 
  padding:12px 24px; 
  border-radius:6px; 
  font-weight:500; 
  font-size:14px;
  border:none; 
  transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor:pointer; 
  text-decoration:none;
  min-height:44px;
}
.btn:hover { 
  background:var(--accent-hover); 
  transform:translateY(-1px); 
  box-shadow:0 4px 16px var(--shadow-hover); 
  text-decoration:none;
}
.btn.secondary { 
  background:transparent; 
  color:var(--accent); 
  border:1px solid var(--border); 
}
.btn.secondary:hover { 
  background:var(--accent); 
  color:#fff; 
  border-color:var(--accent);
}
section { margin:32px 0; }
h3 { margin:24px 0 16px; color:var(--fg); font-size:1.25rem; }
h4 { margin:0 0 8px; font-size:1rem; font-weight:600; }
footer { border-top:1px solid var(--border); }
footer .links { display:flex; flex-wrap:wrap; gap:12px; }
.small { font-size:.9rem; color:var(--muted); }
@media (max-width:720px) { 
  .card { grid-column: span 12; } 
  .nav { flex-wrap:wrap; gap:8px; } 
  .cta { flex-direction:column; align-items:stretch; }
  .btn { justify-content:center; }
  .hero { flex-direction: column; gap: 24px; padding: 24px 0; }
  .hero-content { text-align: center; }
  .hero h1 { font-size:2rem; }
  .hero-icon dotlottie-wc { width: 280px !important; height: 280px !important; }
  .card-icon img { width: 32px; height: 32px; }
  
  /* About page mobile styles */
  .about-hero h1 { font-size: 2rem; }
  .about-hero .lead { font-size: 1.1rem; }
  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 48px; }
  .timeline-item::before { left: -52px; width: 10px; height: 10px; }
  .experience, .education, .skills { margin: 48px 0; }
  .experience h2, .education h2, .skills h2 { font-size: 1.75rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 24px; }
  .skill-category, .education-item { padding: 24px; }
}

/* About page styles */
.about-hero { 
  text-align: center; 
  padding: 64px 0 48px; 
}
.about-hero h1 { 
  font-size: 2.5rem; 
  margin: 0 0 24px; 
  font-weight: 700; 
  letter-spacing: -0.02em; 
}
.about-hero .lead { 
  font-size: 1.25rem; 
  color: var(--muted); 
  margin: 0 auto; 
  max-width: 800px; 
  line-height: 1.6; 
}

.experience, .education, .skills { 
  margin: 64px 0; 
}
.experience h2, .education h2, .skills h2 { 
  font-size: 2rem; 
  margin-bottom: 40px; 
  text-align: center; 
  font-weight: 700; 
}

.timeline { 
  max-width: 900px; 
  margin: 0 auto; 
  position: relative; 
}
.timeline::before { 
  content: ''; 
  position: absolute; 
  left: 20px; 
  top: 0; 
  bottom: 0; 
  width: 2px; 
  background: var(--border); 
}
.timeline-item { 
  position: relative; 
  padding: 0 0 40px 60px; 
  margin-bottom: 32px; 
}
.timeline-item::before { 
  content: ''; 
  position: absolute; 
  left: -60px; 
  top: 8px; 
  width: 12px; 
  height: 12px; 
  background: var(--accent); 
  border-radius: 50%; 
  border: 3px solid var(--bg); 
  box-shadow: 0 0 0 3px var(--border); 
}
.timeline-date { 
  font-size: 0.875rem; 
  color: var(--accent); 
  font-weight: 600; 
  margin-bottom: 8px; 
}
.timeline-content h3 { 
  font-size: 1.25rem; 
  color: var(--accent); 
  margin: 0 0 4px; 
  font-weight: 700; 
}
.timeline-content h4 { 
  font-size: 1rem; 
  font-weight: 600; 
  margin: 0 0 12px; 
  color: var(--fg); 
}
.timeline-content p { 
  color: var(--muted); 
  line-height: 1.6; 
  margin: 0; 
}

.education-item { 
  text-align: center; 
  max-width: 600px; 
  margin: 0 auto; 
  background: var(--card); 
  padding: 32px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  box-shadow: 0 2px 8px var(--shadow); 
}
.education-item h3 { 
  font-size: 1.25rem; 
  color: var(--accent); 
  margin: 0 0 8px; 
  font-weight: 700; 
}
.education-item p { 
  margin: 0 0 4px; 
  color: var(--muted); 
}

.skills-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 32px; 
  margin-top: 40px; 
}
.skill-category { 
  background: var(--card); 
  padding: 32px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  box-shadow: 0 2px 8px var(--shadow); 
  transition: box-shadow 0.2s ease; 
}
.skill-category:hover { 
  box-shadow: 0 4px 16px var(--shadow-hover); 
}
.skill-category h3 { 
  font-size: 1.1rem; 
  color: var(--accent); 
  margin: 0 0 16px; 
  font-weight: 700; 
}
.skill-category ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}
.skill-category li { 
  padding: 8px 0; 
  color: var(--muted); 
  border-bottom: 1px solid var(--border); 
}
.skill-category li:last-child { 
  border-bottom: none; 
}

form { display:grid; gap:12px; max-width:520px; }
input,textarea { 
  width:100%; 
  padding:12px 16px; 
  border-radius:6px; 
  border:1px solid var(--border); 
  background:var(--card); 
  color:var(--fg); 
  transition:all 0.2s ease;
  font-size:14px;
}
input:focus,textarea:focus { 
  outline:none; 
  border-color:var(--accent); 
  box-shadow:0 0 0 3px rgba(45, 55, 72, 0.1);
}
button.btn { 
  font-family:inherit; 
}
label { font-weight:600; }
