:root {
  --bg: #05080F;
  --bg2: #03050A;
  --surface: rgba(13, 20, 32, 0.78);
  --surface2: rgba(17, 24, 39, 0.84);
  --border: #1a2640;
  --border2: #243350;
  --accent: #D4A420;
  --accent-dim: rgba(212, 164, 32, 0.12);
  --accent-glow: rgba(212, 164, 32, 0.35);
  --blue: #00C4B8;
  --blue-dim: rgba(0, 196, 184, 0.12);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --purple: #c084fc;
  --text: #cdd6e8;
  --text-muted: #556478;
  --text-dim: #3d4f63;
  --white: #eef2f8;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 2px;
  --nav-h: 64px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-mono);
  background:
    radial-gradient(ellipse 110% 55% at 50% -5%, rgba(212, 164, 32, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 5% 60%, rgba(0, 196, 184, 0.05) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

strong {
  color: var(--white);
}

/* ── NOISE ── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  opacity: 0.4;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}

/* COULD BE ADDED LATER */
/* .cursor-trail {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(212,164,32,0.3);
  border-radius: 50%; pointer-events: none;
  z-index: 9999; transform: translate(-50%, -50%);
  transition: all 0.12s ease;
} */

body:hover .cursor {
  opacity: 1;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

#nav.scrolled {
  background: rgba(159, 165, 179, 0.88);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: var(--accent);
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  color: var(--accent) !important;
  border-radius: var(--radius);
  margin-left: 8px;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: rgba(212, 164, 32, 0.2);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(6, 9, 16, 0.97);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.nav-mobile.open {
  display: flex;
}

.mobile-link {
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}

.mobile-link:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── SECTION BASE ── */
section {
  padding: 100px 0;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 50px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#gridCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  padding: 0 24px;
}

.hero-photo {
  margin-bottom: 28px;
}

.hero-photo img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  border: 2px solid rgba(212, 164, 32, 0.5);
  box-shadow: 0 0 0 6px rgba(212, 164, 32, 0.08), 0 0 40px rgba(212, 164, 32, 0.18);
  display: block;
  margin: 0 auto;
  transition: box-shadow 0.3s;
}

.hero-photo img:hover {
  box-shadow: 0 0 0 6px rgba(212, 164, 32, 0.14), 0 0 56px rgba(212, 164, 32, 0.28);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* font-family: var(--font-display); */
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 164, 32, 0.25);
  padding: 6px 16px;
  margin-bottom: 28px;
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {

  0%,
  100% {
    border-color: rgba(212, 164, 32, 0.25)
  }

  50% {
    border-color: rgba(212, 164, 32, 0.5)
  }
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.2
  }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--white);
  margin-bottom: 24px;
  display: block;
}

.name-line {
  display: block;
}

.accent-line {
  color: var(--accent);
}

.hero-titles {
  height: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.title-item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  transition: transform 0.5s ease, opacity 0.5s;
  opacity: 0;
}

.title-item.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.hero-summary {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Buttons */
.btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid;
  cursor: none;
  transition: all 0.25s;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 500;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border2);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--white);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 0 32px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-6px)
  }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ── ABOUT ── */
#about {
  background: var(--bg2);
}

#about::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-certs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border2);
  background: var(--surface);
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}

.cert-badge:hover {
  border-color: var(--border);
  background: var(--surface2);
}

.cert-badge.active-cert {
  border-color: rgba(212, 164, 32, 0.3);
  background: var(--accent-dim);
}

.cert-badge.in-progress {
  border-color: rgba(0, 196, 184, 0.3);
  background: var(--blue-dim);
}

.cert-badge.upcoming {
  border-color: var(--border);
}

.cert-icon {
  font-size: 20px;
}

.cert-badge div {
  display: flex;
  flex-direction: column;
}

.cert-badge strong {
  color: var(--white);
  font-size: 13px;
}

.cert-badge span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Terminal */
.terminal {
  border: 1px solid var(--border2);
  background: #010a14;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212, 164, 32, 0.06);
}

.terminal-bar {
  background: #0c1724;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tb-dot.red {
  background: #ff5f57;
}

.tb-dot.yellow {
  background: #ffbd2e;
}

.tb-dot.green {
  background: #28c840;
}

.tb-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 20px 24px;
}

.t-line {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
}

.t-prompt {
  color: var(--accent);
  margin-right: 8px;
}

.t-cmd {
  color: var(--white);
}

.t-out {
  color: var(--text-muted);
  padding-left: 20px;
}

.t-files {
  color: var(--blue);
  word-break: break-all;
}

.t-green {
  color: var(--accent);
}

.t-cursor {
  display: inline-block;
  color: var(--accent);
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* ── SKILLS ── */
#skills {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.skill-category {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  transition: border-color 0.3s;
}

.skill-category:hover {
  border-color: var(--border2);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.skill-cat-icon {
  font-size: 18px;
}

.skill-cat-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.skill-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border2);
  padding: 5px 10px;
  background: var(--surface2);
  transition: all 0.2s;
}

.stag:hover {
  color: var(--accent);
  border-color: var(--accent-glow);
  background: var(--accent-dim);
}

/* ── EXPERIENCE ── */
#experience {
  background: var(--bg2);
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.timeline-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.timeline-card:hover {
  border-color: var(--border2);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

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

.tlc-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.tlc-company {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.tlc-type {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

.tlc-type.security {
  color: var(--accent);
  border-color: rgba(212, 164, 32, 0.3);
  background: var(--accent-dim);
}

.tlc-type.dev {
  color: var(--blue);
  border-color: rgba(0, 196, 184, 0.3);
  background: var(--blue-dim);
}

.tlc-type.integration {
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.3);
  background: var(--amber-dim);
}

.tlc-type.education {
  color: var(--purple);
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.08);
}

.tlc-bullets {
  margin-bottom: 16px;
}

.tlc-bullets li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 4px 0 4px 20px;
  position: relative;
}

.tlc-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 6px;
}

.tlc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tlc-tags span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
  background: var(--bg2);
}

/* ── PROJECTS ── */
#projects {
  border-top: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.project-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.project-card.featured {
  border-color: rgba(212, 164, 32, 0.25);
}

.project-card.featured:hover {
  border-color: rgba(212, 164, 32, 0.5);
}

.project-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

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

.project-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}

.project-links {
  display: flex;
  gap: 8px;
}

.proj-link {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg2);
  transition: all 0.2s;
}

.proj-link:hover {
  color: var(--white);
  border-color: var(--text-muted);
}

.proj-link svg {
  width: 14px;
  height: 14px;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.project-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.project-stack span {
  /* font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; */
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--blue);
  border: 1px solid rgba(0, 196, 184, 0.25);
  /* background: rgba(0,196,184,0.05); padding: 3px 8px; */
  background: rgba(0, 196, 184, 0.05);
  padding: 3px 10px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-badge {
  /* font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  padding: 4px 10px; border: 1px solid; */
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 4px 12px;
  border: 1px solid;
}

.pm-badge.in-progress {
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.3);
  background: var(--amber-dim);
}

.pm-badge.planned {
  color: var(--text-dim);
  border-color: var(--border);
  background: var(--surface2);
}

.pm-badge.completed {
  color: var(--accent);
  border-color: rgba(212, 164, 32, 0.3);
  background: var(--accent-dim);
}

/* ── ROADMAP ── */
#roadmap {
  background: var(--bg2);
}

.roadmap-certs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 56px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.rc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 24px;
}

.rc-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.rc-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.rc-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-top: 4px;
}

.rc-item.done .rc-label {
  color: var(--accent);
}

.rc-item.done .rc-status {
  color: var(--accent);
}

.rc-item.active .rc-label {
  color: var(--blue);
}

.rc-item.active .rc-status {
  color: var(--blue);
}

.rc-arrow {
  color: var(--text-dim);
  font-size: 18px;
  padding: 0 4px;
  margin-bottom: 12px;
}

.roadmap-phases {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rp-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}

.rp-item:hover {
  border-color: var(--border2);
  background: var(--surface2);
}

.rp-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rp-num.p1 {
  color: var(--accent);
  border: 1px solid rgba(212, 164, 32, 0.4);
  background: var(--accent-dim);
}

.rp-num.p2 {
  color: var(--blue);
  border: 1px solid rgba(0, 196, 184, 0.4);
  background: var(--blue-dim);
}

.rp-num.p3 {
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: var(--amber-dim);
}

.rp-num.p4 {
  color: var(--purple);
  border: 1px solid rgba(192, 132, 252, 0.4);
  background: rgba(192, 132, 252, 0.08);
}

.rp-num.p5 {
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
}

.rp-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.rp-content p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.rp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rp-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
}

/* ── CONTACT ── */
#contact {
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--white);
  border-color: var(--accent-glow);
  background: var(--accent-dim);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
  border-radius: var(--radius);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
}

/* ── FOOTER ── */
footer {
  /* background: var(--bg2); */
  background: rgba(159, 165, 179, 0.88);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ── CERTIFICATIONS SECTION ── */
#certifications {
  border-top: 1px solid var(--border);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.cred-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}

.cred-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cred-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cred-icon {
  font-size: 28px;
}

.cred-status-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
}

.cred-status-badge.active {
  color: var(--accent);
  border-color: rgba(0, 232, 122, 0.3);
  background: var(--accent-dim);
}

.cred-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.cred-issuer {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cred-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.cred-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.cred-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 52px;
}

.cred-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}

.cred-id-val {
  font-size: 10px;
  color: var(--text-muted);
  word-break: break-all;
  background: var(--bg2);
  padding: 3px 6px;
  border: 1px solid var(--border);
}

.cred-domain {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  display: inline-block;
}

.security-domain {
  color: var(--accent);
  border-color: rgba(0, 232, 122, 0.25);
  background: var(--accent-dim);
}

.cloud-domain {
  color: var(--blue);
  border-color: rgba(56, 189, 248, 0.25);
  background: var(--blue-dim);
}

.logistics-domain {
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.25);
  background: var(--amber-dim);
}

/* Logistics cert badge variant */
.cert-badge.logistics-cert {
  border-color: rgba(251, 191, 36, 0.3);
  background: var(--amber-dim);
}

/* Live demo project link */
.proj-link-demo {
  color: var(--accent) !important;
  border-color: rgba(0, 232, 122, 0.3) !important;
}

.proj-link-demo:hover {
  background: var(--accent-dim) !important;
}

.logistics-accent {
  background: linear-gradient(90deg, var(--amber), transparent) !important;
}

/* Live site badge in project meta */
.pm-live-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--accent);
  border: 1px solid rgba(0, 232, 122, 0.3);
  background: var(--accent-dim);
  padding: 4px 10px;
  transition: all 0.2s;
}

.pm-live-link:hover {
  background: rgba(0, 232, 122, 0.2);
}

/* Contact form extras */
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23556478' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select:focus {
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 3px rgba(0, 232, 122, 0.08);
}

.form-group select option {
  background: var(--surface2);
  color: var(--white);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 4px;
}

.form-note strong {
  color: var(--text-muted);
  font-weight: normal;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 8, 15, 0.93);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(212, 164, 32, 0.2);
  box-shadow: 0 0 60px rgba(212, 164, 32, 0.1), 0 24px 64px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: 1px solid rgba(212, 164, 32, 0.35);
  color: var(--accent);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-close:hover {
  background: rgba(212, 164, 32, 0.15);
  border-color: var(--accent);
}

.carousel-slide img {
  cursor: zoom-in;
}

/* ── PROJECT CAROUSEL ── */
.project-carousel {
  position: relative;
  overflow: hidden;
  margin: -28px -28px 20px;
  height: 200px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 200px;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(6, 9, 16, 0.75);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--accent);
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: var(--accent);
}

.project-carousel[data-count="1"] .carousel-btn,
.project-carousel[data-count="1"] .carousel-dots {
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats .stat {
    padding: 0 16px;
  }

  .stat-num {
    font-size: 28px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .roadmap-certs {
    flex-direction: column;
    align-items: flex-start;
  }

  .rc-arrow {
    transform: rotate(90deg);
    align-self: flex-start;
    margin-left: 32px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 72px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .hero-name {
    letter-spacing: -2px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }
}
