.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

header {
  padding: 30px 0;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-primary);
  z-index: 100;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5em;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.1em;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2.5em;
  color: var(--primary);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
}

.section-title::before {
  content: "//";
  font-size: 0.8em;
  color: var(--accent);
  font-family: "Courier New", monospace;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--border), transparent);
}

.intro {
  font-size: 1.2em;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 900px;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.work-rights {
  background: var(--bg-card);
  padding: 20px 25px;
  border-left: 4px solid var(--accent);
  margin-top: 30px;
  color: var(--text-secondary);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
}

.work-rights strong {
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-item {
  background: var(--bg-card);
  padding: 25px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.contact-item span {
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1em;
}

.contact-item a:hover {
  color: var(--primary);
}

.timeline-item {
  background: var(--bg-card);
  padding: 30px;
  margin-bottom: 25px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 16px var(--shadow-hover);
}

.timeline-item::before {
  content: "▶";
  position: absolute;
  left: -14px;
  top: 30px;
  color: var(--accent);
  font-size: 0.8em;
  background: var(--bg-primary);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.job-title {
  font-size: 1.4em;
  color: var(--primary);
  font-weight: 700;
}

.job-company {
  color: var(--text-dim);
  font-style: italic;
  margin-top: 5px;
}

.job-date {
  color: var(--accent);
  font-size: 0.95em;
  font-weight: 600;
}

.timeline-item ul {
  list-style: none;
  margin-top: 15px;
}

.timeline-item li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.timeline-item li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.skill-category {
  background: var(--bg-card);
  padding: 25px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--shadow);
}

.skill-category h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 700;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px 16px;
  font-size: 0.95em;
  border: 2px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px var(--shadow);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  padding: 30px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--primary));
}

.project-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 12px 24px var(--shadow-hover);
}

.project-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 700;
}

.project-card p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.7;
}

.project-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.project-link::after {
  content: " →";
}

.education-item {
  background: var(--bg-card);
  padding: 30px;
  margin-bottom: 25px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.education-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.degree {
  font-size: 1.4em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.university {
  color: var(--text-secondary);
  font-size: 1.1em;
  margin-top: 5px;
}

.grade {
  color: var(--accent);
  margin-top: 8px;
  font-weight: 600;
}

footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
  background: var(--bg-secondary);
}

footer p {
  font-size: 0.95em;
}
