:root {
  --primary-color: #2158E8;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --secondary-color: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--secondary-color);
  line-height: 1.6;
}

/* Layout - two-column similar to reference */
.resume-page { max-width: 1100px; margin: 6rem auto 2rem; padding: 0 1rem; display: grid; grid-template-columns: 320px 1fr; gap: 2rem; }

.sidebar { position: sticky; top: 100px; align-self: start; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); }
.identity h1 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 0.25rem; color: var(--text-primary); }
.subtitle { color: var(--text-secondary); font-weight: 500; margin-bottom: 0.75rem; }
.contact { 
  display: block; 
  margin: 0; 
  padding: 0;
}
.contact a { 
  display: block; 
  color: var(--primary-color); 
  text-decoration: none; 
  word-break: break-word; 
  font-size: 1rem; 
  transition: color 0.3s ease; 
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.contact a:last-child {
  margin-bottom: 0;
}
.contact a:hover { color: var(--text-primary); }
.skills { margin-top: 1.25rem; }
.skills h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 0.5rem; }
.skill-group { margin: 0.75rem 0; }
.skill-group h3 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.25rem; font-weight: 600; }
.skill-group p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }

/* Download PDF Button */
.download-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  background: #1a4bc7;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.content { display: grid; gap: 2rem; }
.section { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow); }
.section > h2 { font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 1rem; }

.item { padding: 1rem; border-radius: 12px; }
.item + .item { border-top: 1px dashed var(--border); }
.item-header { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: start; }
.item-titles h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.125rem; color: var(--text-primary); }
.role { color: var(--text-secondary); }
.meta { display: grid; gap: 0.125rem; text-align: right; }
.location, .date { color: var(--text-secondary); font-size: 0.95rem; }

.bullets { margin-top: 0.5rem; margin-left: 1.1rem; display: grid; gap: 0.35rem; }
.bullets li { color: var(--text-primary); line-height: 1.5; }
.bullets a { color: var(--primary-color); text-decoration: none; }
.bullets a:hover { text-decoration: underline; }
.subsection { margin-top: 0.75rem; }
.subsection h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 0.25rem; font-weight: 600; }
.subsection .bullets { margin-left: 1.1rem; }
.em { font-style: italic; }

.footer { text-align: center; color: var(--text-secondary); padding: 2rem 1rem; }

/* Navigation - ensure consistency with main site */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 960px) {
  .resume-page { 
    grid-template-columns: 1fr; 
    margin-top: 5rem;
    gap: 1.5rem;
  }
  .sidebar { 
    position: static; 
    margin-bottom: 2rem;
    padding: 1.25rem;
  }
  .meta { text-align: left; }
  .item-header { grid-template-columns: 1fr; }
  .download-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .resume-page {
    margin-top: 4rem;
    padding: 0 0.75rem;
  }
  .sidebar {
    padding: 1rem;
  }
  .section {
    padding: 1rem;
  }
  .item {
    padding: 0.75rem;
  }
}


