:root {
  /*Max Width*/
  --max-width: 1000px;
  
}

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

}

html
{
  font-size: 150%;
}

body {
  background-color: #eef1f5;
}

.pcb-bottom{
  padding: 5%;
}

.nav-wrap {
  background: #eef1f5;
  font-family: 'Rajdhani', sans-serif;
  color: #23304a;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(16, 26, 46, 0.2);
  position: relative;
  overflow: hidden;
}

.nav-silkscreen {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.nav-brand-name {
  font-size: 18px;
  font-weight: 600;
  color: #101a2e;
  letter-spacing: 0.03em;
}

.nav-brand-ref {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: #3c4d6e;
  letter-spacing: 0.1em;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2c3b58;
  border: 0.5px solid rgba(16, 26, 46, 0.25);
  background: rgba(16, 26, 46, 0.05);
  padding: 5px 12px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(16, 26, 46, 0.12);
  border-color: rgba(16, 26, 46, 0.5);
  color: #101a2e;
}

.nav-link .pin {
  width: 5px;
  height: 4px;
  border: 0.5px solid rgba(16, 26, 46, 0.5);
  background: rgba(16, 26, 46, 0.2);
  display: inline-block;
  flex-shrink: 0;
}

.nav-link:hover .pin {
  background: rgba(16, 26, 46, 0.5);
}

.logo {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #101a2e;
  line-height: 1.3;
}


@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600&family=Fira+Code:wght@300;400;500&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.pcb {
  background: #eef1f5;
  font-family: 'Rajdhani', sans-serif;
  color: #23304a;
  overflow: hidden;
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pcb-silk {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.z1 {
  position: relative;
  z-index: 1;
}

.mono {
  font-family: 'Fira Code', monospace;
}

.bright {
  color: #101a2e;
}

.dim {
  color: #3c4d6e;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 0.5px solid rgba(16, 26, 46, 0.15);
}

.nav-tab {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  padding: 4px 12px;
  border: 0.5px solid rgba(16, 26, 46, 0.2);
  color: #3c4d6e;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-tab.active {
  background: rgba(16, 26, 46, 0.12);
  color: #101a2e;
  border-color: rgba(16, 26, 46, 0.5);
}

.body {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 720px;
}

.sidebar {
  border-right: 1px solid rgba(16, 26, 46, 0.12);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.module {
  background: rgba(16, 26, 46, 0.03);
  border: 0.5px solid rgba(16, 26, 46, 0.18);
  padding: 0.75rem;
  
}

.mod-hdr {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: #3c4d6e;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0;
}

.skill-name {
  font-size: 13px;
  color: #23304a;
  flex: 1;
}

.skill-track {
  height: 2px;
  width: 60px;
  background: rgba(16, 26, 46, 0.1);
  flex-shrink: 0;
}

.skill-fill {
  height: 2px;
  background: rgba(16, 26, 46, 0.6);
}

.skill-fill.hot {
  background: #101a2e;
}

.pad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.pad {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(16, 26, 46, 0.08);
  border: 0.5px solid rgba(16, 26, 46, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pad.on {
  background: rgba(16, 26, 46, 0.35);
  border-color: rgba(16, 26, 46, 0.7);
}

.pad-txt {
  font-family: 'Fira Code', monospace;
  font-size: 7px;
  color: #2c3b58;
  text-align: center;
  line-height: 1.1;
}

.pad.on .pad-txt {
  color: #101a2e;
}

.cert-item {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 5px 0;
}

.cert-bullet {
  width: 5px;
  height: 5px;
  border: 0.5px solid rgba(16, 26, 46, 0.5);
  background: rgba(16, 26, 46, 0.2);
  margin-top: 4px;
  flex-shrink: 0;
}

.cert-txt {
  font-size: 13px;
  color: #23304a;
  line-height: 1.4;
}

.main {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sec-hdr {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: #3c4d6e;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 0.5px solid rgba(16, 26, 46, 0.12);
  display: flex;
  justify-content: space-between;
}

.exp-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  background: rgba(16, 26, 46, 0.03);
  border: 0.5px solid rgba(16, 26, 46, 0.15);
  margin-bottom: 6px;
  max-width: 500px;
}

.exp-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(16, 26, 46, 0.3);
}

.exp-item.current::before {
  background: #101a2e;
}

.exp-date-col {
  border-right: 0.5px solid rgba(16, 26, 46, 0.12);
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exp-years {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: #2c3b58;
  line-height: 1.6;
}

.exp-ref {
  font-family: 'Fira Code', monospace;
  font-size: 7px;
  color: #3c4d6e;
  margin-top: 4px;
}

.exp-body {
  padding: 0.75rem;
}

.exp-role {
  font-size: 14px;
  font-weight: 600;
  color: #101a2e;
  letter-spacing: 0.02em;
}

.exp-org {
  font-size: 12px;
  color: #2c3b58;
  font-family: 'Fira Code', monospace;
  margin: 2px 0 6px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 6px;
}

.exp-tag {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  padding: 2px 6px;
  border: 0.5px solid rgba(16, 26, 46, 0.25);
  color: #2c3b58;
}

.exp-tag.filled {
  background: rgba(16, 26, 46, 0.1);
  border-color: rgba(16, 26, 46, 0.4);
  color: #101a2e;
}

.exp-bullets {
  list-style: none;
}

.exp-bullets li {
  font-size: 12px;
  color: #23304a;
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}

.exp-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #3c4d6e;
  font-size: 10px;
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(16, 26, 46, 0.1);
  border: 0.5px solid rgba(16, 26, 46, 0.18);
}

.course-cell {
  background: #eef1f5;
  padding: 0.6rem 0.75rem;
}

.course-code {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: #3c4d6e;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.course-name {
  font-size: 12px;
  color: #23304a;
}

.course-grade {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: #101a2e;
  float: right;
  margin-top: -14px;
}

.tool-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(16, 26, 46, 0.1);
  border: 0.5px solid rgba(16, 26, 46, 0.18);
}

.tool-cell {
  background: #eef1f5;
  padding: 0.6rem 0.75rem;
}

.tool-cat {
  font-family: 'Fira Code', monospace;
  font-size: 7px;
  color: #3c4d6e;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.tool-list {
  font-size: 11px;
  color: #23304a;
  line-height: 1.7;
}

.footer {
  padding: 0.6rem 1.5rem;
  border-top: 0.5px solid rgba(16, 26, 46, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: #3c4d6e;
}

.cta-btn {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  border: 0.5px solid rgba(16, 26, 46, 0.35);
  background: rgba(16, 26, 46, 0.08);
  color: #2c3b58;
  padding: 5px 14px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}




.pcb-bottom {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 0.5px solid rgba(16, 26, 46, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pcb-bottom-meta {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: #3c4d6e;
  line-height: 1.7;
}

/* =========================================================
   MOBILE RESPONSIVE STYLES
   Everything below only applies at narrow widths.
   Desktop layout/behaviour above is untouched.
   ========================================================= */
@media (max-width: 720px) {

  /* --- Nav bar: stack brand above a wrapping row of links --- */
  .nav-wrap {
    padding: 0 0.75rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 0;
    gap: 0.6rem;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px;
  }

  .nav-link {
    padding: 6px 10px;
    flex: 1 1 auto;
    justify-content: center;
  }

  /* --- Sidebar + main content stack instead of sitting side by side --- */
  .body {
    grid-template-columns: 1fr;
    min-height: 0;
    
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(16, 26, 46, 0.12);
    padding: 1rem;
  }

  .main {
    padding: 1rem 1rem;
  }

  /* --- Skill rows: let the level label wrap onto its own line if needed,
         and shrink the bar track so the row never overflows --- */
  .skill-row {
    flex-wrap: wrap;
  }

  .skill-track {
    width: 100%;
    order: 3;
  }

  /* --- Experience items: stack the date column above the body
         instead of side-by-side, since 80px is too tight on phones --- */
  .exp-item {
    grid-template-columns: 1fr;
  }

  .exp-date-col {
    border-right: none;
    border-bottom: 0.5px solid rgba(16, 26, 46, 0.12);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* --- Course grid / tool matrix (currently commented out in HTML,
         but kept consistent in case they're re-enabled) --- */
  .course-grid {
    grid-template-columns: 1fr;
  }

  .tool-matrix {
    grid-template-columns: 1fr 1fr;
  }

  /* --- Pad grid: slightly fewer columns so circles don't shrink too much --- */
  .pad-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {

  /* --- Extra-narrow phones: tool matrix drops to one column --- */
  .tool-matrix {
    grid-template-columns: 1fr;
  }
}