:root {
      --bg:        #080808;
      --surface:   #484848;
      --border:    #1e1e1e;
      --accent:    #16f516;
      --accent2:   #62ff00;
      --text:      #E0DDD8;
      --muted:     #eae5e5;
      --dim:       #b9b8b8;
      --display:   'Space Grotesk', sans-serif;
      --body-font: 'Inter', sans-serif;
      --mono:      'JetBrains Mono', monospace;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--body-font);
      font-size: 15px;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ─── SCROLLBAR ─────────────────────────────────────── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--dim); border-radius: 2px; }

    /* ─── NAVBAR ─────────────────────────────────────────── */
    nav.site-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      padding: 18px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid transparent;
      transition: background .3s, border-color .3s;
    }
    nav.site-nav.scrolled {
      background: rgba(8,8,8,.92);
      backdrop-filter: blur(12px);
      border-color: var(--border);
    }
    .nav-logo {
      font-family: var(--mono);
      font-size: 45px;
      letter-spacing: .12em;
      color: var(--accent);
      text-transform: uppercase;
      text-decoration: none;
    }
    .nav-links { display: flex; gap: 36px; list-style: none; }
    .nav-links a {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--text); }

    /* ─── HERO ───────────────────────────────────────────── */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    /* Blueprint grid background */
    .grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 60px 60px;
      opacity: .5;
    }
    .grid-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 70% 60% at 60% 50%, transparent 30%, var(--bg) 100%);
    }

    /* Accent line */
    .hero-accent-line {
      position: absolute;
      top: 0; bottom: 0;
      left: 52%;
      width: 1px;
      background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
      opacity: .08;
    }

    .hero-content {
         position: relative;
    z-index: 2;
    padding: 0 48px;
    width: 100% !important;
     
    }

    .hero-eyebrow {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--accent);
    }

    h1.hero-title {
      font-family: var(--display);
      font-size: clamp(52px, 7vw, 96px);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -.03em;
      color: var(--text);
      margin-bottom: 12px;
    }
   h1.hero-title span {
    color: #009688;
    -webkit-text-stroke: 1px var(--dim);
}

    .hero-sub {
      font-family: var(--display);
      font-size: clamp(14px, 2vw, 18px);
      font-weight: 300;
      color: var(--muted);
      margin-bottom: 48px;
      max-width: 520px;
      line-height: 1.6;
    }

    .hero-stats {
      display: flex;
      gap: 48px;
      margin-bottom: 48px;
      padding-top: 40px;
      border-top: 1px solid var(--border);
    }
    .stat-num {
      font-family: var(--display);
      font-size: 36px;
      font-weight: 700;
      color: var(--text);
      line-height: 1;
      margin-bottom: 4px;
    }
    .stat-num em {
      color: var(--accent);
      font-style: normal;
    }
    .stat-label {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .btn-primary-custom {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--bg);
      background: var(--accent);
      border: none;
      padding: 14px 28px;
      text-decoration: none;
      transition: background .2s, gap .2s;
    }
    .btn-primary-custom:hover {
      background: #33DEFF;
      gap: 16px;
      color: var(--bg);
    }
    .btn-ghost-custom {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--text);
      background: transparent;
      border: 1px solid var(--dim);
      padding: 14px 28px;
      text-decoration: none;
      margin-left: 16px;
      transition: border-color .2s;
    }
    .btn-ghost-custom:hover { border-color: var(--text); color: var(--text); }

    /* Corner markers */
    .corner-marker {
      position: absolute;
      width: 20px; height: 20px;
      border-color: var(--dim);
      border-style: solid;
      opacity: .6;
    }
    .corner-marker.tl { top: 100px; left: 20px; border-width: 1px 0 0 1px; }
    .corner-marker.tr { top: 100px; right: 20px; border-width: 1px 1px 0 0; }
    .corner-marker.bl { bottom: 40px; left: 20px; border-width: 0 0 1px 1px; }
    .corner-marker.br { bottom: 40px; right: 20px; border-width: 0 1px 1px 0; }

    /* Coord label */
    .coord-label {
      position: absolute;
      bottom: 40px;
      right: 48px;
      font-family: var(--mono);
      font-size: 10px;
      color: var(--dim);
      letter-spacing: .1em;
    }

    /* ─── SECTION SHARED ─────────────────────────────────── */
    section { padding: 120px 48px; }
    .section-eyebrow {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-eyebrow::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
      max-width: 60px;
    }
    h2.section-title {
      font-family: var(--display);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      letter-spacing: -.02em;
      line-height: 1.1;
      margin-bottom: 64px;
      color: var(--text);
    }

    /* ─── WORKFLOW STRIP ─────────────────────────────────── */
    #workflow {
     
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow-x: auto;
    }
    .workflow-inner {
      display: flex;
      align-items: stretch;
      min-width: max-content;
    }
    .workflow-step {
      padding: 24px 32px;
      border-right: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .workflow-step:last-child { border-right: none; }
    .wf-num {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--accent);
      letter-spacing: .1em;
    }
    .wf-label {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .wf-arrow {
      color: var(--dim);
      font-size: 10px;
      margin-left: 12px;
    }

    /* ─── PROJECTS ───────────────────────────────────────── */
    #projects { background: var(--bg); }

    .projects-grid {
      /* layout now handled by Bootstrap's .row/.col-* grid system */
    }

    .project-card {
      background: var(--bg);
      padding: 40px 36px;
      position: relative;
      overflow: hidden;
      cursor: default;
      transition: background .3s;
      border: 1px solid var(--border);
      height: 100%;
    }
    .project-card:hover { background: var(--surface); }

    .project-tag {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .project-num {
      position: absolute;
      top: 40px; right: 36px;
      font-family: var(--mono);
      font-size: 11px;
      color: var(--dim);
    }
    h3.project-name {
      font-family: var(--display);
      font-size: clamp(22px, 2.2vw, 28px);
      font-weight: 600;
      letter-spacing: -.01em;
      color: var(--text);
      margin-bottom: 12px;
      line-height: 1.2;
    }
    .project-desc {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 28px;
    }
    .project-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 28px;
    }
    .pill {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 5px 10px;
    }
    .deliverables {
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    .deliverables-label {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--dim);
      margin-bottom: 10px;
    }
    .deliverables ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 6px 20px;
    }
    .deliverables ul li {
      font-size: 12px;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .deliverables ul li::before {
      content: '—';
      color: var(--accent);
      font-size: 10px;
    }

    /* Hover accent bar */
    .project-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .3s;
    }
    .project-card:hover::before { transform: scaleX(1); }

    /* ─── SKILLS ─────────────────────────────────────────── */
    #skills { background: var(--surface); }

    .skills-layout {
      /* layout now handled by Bootstrap's .row/.col-* grid system */
    }

    .skill-col {
      background: var(--surface);
      padding: 40px 36px;
      border: 1px solid var(--border);
      height: 100%;
    }
    .skill-col-title {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 28px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }
    .skill-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
    }
    .skill-item:last-child { border-bottom: none; }
    .skill-name {
      font-size: 13px;
      color: var(--text);
    }
    .skill-level {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
    .skill-level.adv { color: var(--accent); }
    .skill-level.int { color: #888; }

    /* Software proficiency table */
    .proficiency-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 24px;
    }
    .proficiency-table th {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--dim);
      text-align: left;
      padding: 10px 16px;
      background: var(--bg);
      border: 1px solid var(--border);
    }
    .proficiency-table td {
      font-size: 13px;
      color: var(--text);
      padding: 12px 16px;
      border: 1px solid var(--border);
    }
    .proficiency-table tr:hover td { background: rgba(0,212,255,.03); }
    .badge-adv {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .1em;
      text-transform: uppercase;
      background: rgba(0,212,255,.08);
      color: var(--accent);
      padding: 3px 8px;
      border: 1px solid rgba(0,212,255,.2);
    }
    .badge-int {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .1em;
      text-transform: uppercase;
      background: rgba(255,255,255,.04);
      color: var(--muted);
      padding: 3px 8px;
      border: 1px solid var(--border);
    }

    /* ─── COMPETENCIES ───────────────────────────────────── */
    #competencies { background: var(--bg); }

    .competency-grid {
      /* layout now handled by Bootstrap's .row/.col-* grid system */
    }
    .competency-item {
background: #373333;
    padding: 13px 24px;
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background .2s, color .2s;
    border: 1px solid var(--border);
    height: 100%;
    }
    .competency-item:hover { background: var(--surface); color: var(--text); }
    .competency-item::before {
      content: '';
      width: 4px; height: 4px;
      background: var(--accent);
      border-radius: 50%;
      flex-shrink: 0;
      opacity: .5;
    }
    .competency-item:hover::before { opacity: 1; }

    /* ─── ABOUT / HIGHLIGHTS ─────────────────────────────── */
    #about { background: var(--surface); }

    .about-layout {
      /* layout now handled by Bootstrap's .row/.col-* grid system */
    }

    .about-body {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.8;
    }
    .about-body p { margin-bottom: 20px; }
    .about-body p:last-child { margin-bottom: 0; }

    .highlights-list { list-style: none; }
    .highlight-item {
      padding: 18px 0;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .highlight-item:first-child { padding-top: 0; }
    .hi-bullet {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--accent);
      letter-spacing: .1em;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .hi-text {
      font-size: 14px;
      color: var(--muted);
    }

    /* ─── FOOTER ─────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    @media (max-width: 600px) {
      footer { flex-direction: column; gap: 24px; text-align: center; }
    }
    .footer-logo {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--accent);
    }
    .footer-copy {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--dim);
      letter-spacing: .1em;
    }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--dim);
      text-decoration: none;
      transition: color .2s;
    }
    .footer-links a:hover { color: var(--text); }

    /* ─── SECTION DIVIDER ────────────────────────────────── */
    .divider-line {
      height: 1px;
      background: var(--border);
      margin: 0 48px;
    }

    /* ─── RESPONSIVE NAV ─────────────────────────────────── */
    @media (max-width: 640px) {
      nav.site-nav { padding: 16px 24px; }
      .nav-links { display: none; }
      section { padding: 80px 24px; }
      .hero-content {         padding: 0 24px;
        background: #353535;
        margin-top: 10px; }
      .hero-stats { gap: 24px; flex-wrap: wrap; }
      footer { padding: 40px 24px; }
      .divider-line { margin: 0 24px; }
    }

    /* ─── FADE IN ─────────────────────────────────────────── */
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s ease, transform .6s ease;
    }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    /* stagger */
    .fade-up:nth-child(2) { transition-delay: .1s; }
    .fade-up:nth-child(3) { transition-delay: .2s; }
    .fade-up:nth-child(4) { transition-delay: .3s; }

    /* ─── CURSOR DOT ─────────────────────────────────────── */
    .cursor-dot {
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      transition: transform .15s;
      mix-blend-mode: difference;
    }

.project-image{
    width: 100%;
    height: 350px;              /* Adjust as needed */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ── Hero code panel (used on the game-dev page in place of a screenshot) ── */
.hero-code-panel {
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-code-line { white-space: pre; }
.hcp-kw { color: var(--accent); }
.hcp-fn { color: var(--accent2); }

.project_image1{
     background-image: url("../assets/img/openworld.png");
}

.project_image2{
     background-image: url("../assets/img/softwareParametric.webp");
}

.project_image3{
     background-image: url("../assets/img/ResidentialBIMModel.jpg");
}
.project_image4{
     background-image: url("../assets/img/cnc.webp");
}

.project_image5{
     background-image: url("../assets/img/OpenSCADSource.webp");
}

.project_image6{
       background-image: url("../assets/img/MechanicalLinkageSimulation.jpg");

}
.project_image7{
       background-image: url("../assets/img/ManufacturingDrawings.jpg");

}
.project_image8{
       background-image: url("../assets/img/FloorPlans.jpg");

}


.skills{
       background-image: url("../assets/img/FloorPlans.jpg");

}

/* ── Workflow section ── */
.wf-steps {
  display: flex;
  flex-direction: column;
}

.wf-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 16px;
  position: relative;
}

.wf-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: -1px;
  width: 1px;
  background: var(--border-strong, rgba(255,255,255,0.12));
  z-index: 0;
}

.wf-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.wf-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.15);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.wf-step:hover .wf-num {
  background: rgba(55, 138, 221, 0.1);
  border-color: rgba(55, 138, 221, 0.4);
  color: #378add;
}

.wf-body {
  padding: 10px 0 28px;
}

.wf-step:last-child .wf-body {
  padding-bottom: 4px;
}

.wf-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.3;
}

.wf-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.wf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.wf-pill {
  font-size: 11px;
  color: var(--muted);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2px 9px;
}

  @media (max-width: 767px) {
    .nav-logo {
    font-size: 25px;
  
}
.project-image {
       height: 274px;
}

  }

  









 