/* ===================================================================
   HASHIR YAHYA - PORTFOLIO (NODX PREMIUM STUDIO AESTHETIC)
   Persona: Full-Stack Software Developer & Senior Network Systems Engineer
   Theme: NodX Cinematic Slate-Navy Studio Theme
   Rule: STRICTLY ZERO GLASSMORHPISM (No backdrop-filter / No frosted glass)
   Solid opaque surfaces, floating pill navigation, bold typographic punch
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* NodX Inspired Deep Slate-Navy Palette */
  --bg-primary: #131722;
  --bg-secondary: #181e2c;
  --bg-card: #1d2436;
  --bg-card-hover: #232c40;
  --bg-pill: #1e2637;
  --bg-pill-hover: #263044;
  --bg-input: #121722;
  --bg-terminal: #0c1018;

  /* Borders (Razor-Sharp 1px Outlines) */
  --border-subtle: #242d40;
  --border-medium: #2e3a52;
  --border-bright: #3f4e6d;
  --border-accent: #38bdf8;

  /* Accents */
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  /* NodX Vignetted Studio Spotlight Background (Smooth solid gradient, NO blur) */
  background-image: radial-gradient(circle at 50% 120px, #242e42 0%, #171d2b 45%, #10141e 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #10141e;
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------------------
   1. FLOATING PILL NAVIGATION BAR (EXACT NODX STYLE)
   ------------------------------------------------------------------- */
.nav-wrapper {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  width: 100%;
  padding: 0 1rem;
}

.floating-nav {
  max-width: 1240px;
  margin: 0 auto;
  background-color: #1a2130; /* Solid opaque, NO glass/blur */
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  height: 60px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.brand-monogram {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 1.75rem;
}

.monogram-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.monogram-badge span {
  color: var(--accent-cyan);
}

.brand-dot-matrix {
  display: inline-flex;
  gap: 2px;
  margin-left: 2px;
}
.brand-dot-matrix span {
  width: 4px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
  white-space: nowrap;
}

.nav-link-item a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link-item a:hover, .nav-link-item.active a {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

section[id], .section, #about, #cv {
  scroll-margin-top: 90px;
}

/* NodX Solid White Contact Pill Button */
.btn-pill-white {
  background-color: #ffffff;
  color: #0f172a;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-pill-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-pill-dark {
  background-color: #242e42;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-pill-dark:hover {
  background-color: #2c3850;
  border-color: #475569;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* -------------------------------------------------------------------
   2. HERO SECTION (NODX TYPOGRAPHIC PUNCH)
   ------------------------------------------------------------------- */
.hero-nodx {
  padding: 6.5rem 0 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7e8c9f;
  margin-bottom: 2rem;
}

.brand-name-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px #10b981;
  vertical-align: middle;
}

.hero-headline {
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 1040px;
  line-height: 1.05;
  margin-bottom: 1.75rem;
}

.headline-silver {
  color: #8f9db1; /* NodX metallic secondary line */
  display: block;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta-pill {
  background-color: #242d40;
  color: #ffffff;
  border: 1px solid #35425c;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4rem;
}

.hero-cta-pill:hover {
  background-color: #2d3850;
  border-color: #4b5c7e;
  transform: translateY(-2px);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748b;
}

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

/* -------------------------------------------------------------------
   2.5 ABOUT ME SECTION (HASHIR YAHYA PROFILE)
   ------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: stretch;
}

.about-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.about-avatar-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.about-avatar-badge {
  width: 62px;
  height: 62px;
  background-color: #222d42;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}



/* -------------------------------------------------------------------
   3. SECTION HEADINGS (CLEAN NODX STYLE)
   ------------------------------------------------------------------- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7e8c9f;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}

/* -------------------------------------------------------------------
   4. FEATURED WORKS GRID (FILTERABLE & CLEAN)
   ------------------------------------------------------------------- */
.works-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.work-filter-btn {
  background-color: #1a2233;
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.work-filter-btn:hover {
  color: #ffffff;
  border-color: var(--border-medium);
}

.work-filter-btn.active {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  font-weight: 700;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.work-card {
  background-color: #182030; /* Solid opaque dark card */
  border: 1px solid #27334a;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.work-card:hover {
  background-color: #1d263a;
  border-color: #3b4b6b;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.work-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.work-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.badge-dev {
  background-color: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.badge-net {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-auto {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.work-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.work-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.work-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background-color: #121722;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1.5rem;
}

.work-metric {
  text-align: center;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-title {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #cbd5e1;
  background-color: #222c3f;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.work-open-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.work-open-btn:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* -------------------------------------------------------------------
   5. SERVICES & COMPETENCIES (NODX STYLE)
   ------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background-color: #171f2e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all 0.25s ease;
}

.service-card:hover {
  background-color: #1c2638;
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background-color: #212c40;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
  background-color: #111622;
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------------
   6. INTERACTIVE TOPOLOGY & TERMINAL (NODX SECTIONS)
   ------------------------------------------------------------------- */
.studio-box {
  background-color: #171f2e;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.studio-box-header {
  background-color: #121824;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}
.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background-color: #ef4444; }
.window-dot.yellow { background-color: #f59e0b; }
.window-dot.green { background-color: #10b981; }

/* ===================================================================
   ANIMATED CLI TYPING TERMINAL (INSPIRED BY PORTFOLIO.AKTHAM.NET)
   STRICTLY ZERO GLASSMORPHISM - 100% SOLID CRISP ENTERPRISE CONSOLE
   =================================================================== */

.cli-window {
  background-color: #0c1017;
  border: 1px solid #222c3d;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

.cli-topbar {
  background-color: #141b27;
  border-bottom: 1px solid #1f2838;
  padding: 0.6rem 1rem 0 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cli-left-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cli-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.cli-tab {
  background-color: #101622;
  border: 1px solid #1e2637;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
}

.cli-tab:hover {
  background-color: #1a2233;
  color: #f8fafc;
}

.cli-tab.active {
  background-color: #0c1017;
  color: #ffffff;
  border-color: #334155;
  border-top: 2px solid #f43f5e;
  font-weight: 600;
}

.cli-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.cli-host-label {
  color: #94a3b8;
}

.cli-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #34d399;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cli-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.cli-toolbar {
  background-color: #0f1420;
  border-bottom: 1px solid #1c2434;
  padding: 0.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cli-quick-commands {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cli-quick-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  margin-right: 0.25rem;
}

.cli-body {
  height: 440px;
  overflow-y: auto;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #e2e8f0;
  background-color: #090c12;
  scroll-behavior: smooth;
}

.cli-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  word-break: break-all;
}

.cli-prompt {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #f43f5e; /* Authentic Cisco prompt red/coral like portfolio.aktham.net */
  margin-right: 0.5rem;
  user-select: none;
}

.cli-prompt.dev {
  color: #34d399; /* NetDevOps prompt green */
}

.cli-typing-text {
  color: #f8fafc;
  font-weight: 600;
}

.cli-cursor {
  display: inline-block;
  color: #f43f5e;
  margin-left: 2px;
  animation: cliCursorBlink 0.75s steps(2, start) infinite;
  font-size: 0.95em;
  line-height: 1;
}

@keyframes cliCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.cli-output-block {
  margin: 0.35rem 0 0.85rem 0;
  padding: 0.5rem 0.85rem;
  background: #111724;
  border-left: 2px solid #334155;
  border-radius: 0 4px 4px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
}


.cli-footer {
  background-color: #121824;
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cli-footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cli-separator {
  color: #475569;
}

.term-btn {
  background-color: #1a2233;
  border: 1px solid var(--border-medium);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.term-btn:hover {
  background-color: #242e42;
  color: #ffffff;
  border-color: #475569;
}

/* Subnet Calculator Tool in Studio Theme */
.tools-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.tool-card {
  background-color: #171f2e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.calc-input {
  background-color: #101521;
  border: 1px solid var(--border-medium);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
  outline: none;
}

.calc-input:focus {
  border-color: var(--accent-cyan);
}

.cidr-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.subnet-result-card {
  background-color: #101521;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.res-key { color: var(--text-muted); }
.res-val { color: #38bdf8; font-weight: 700; }
.res-val.highlight { color: #34d399; font-weight: 700; }

/* -------------------------------------------------------------------
   7. FOOTER (EXACT NODX FOOTER IN SCREENSHOT 2)
   ------------------------------------------------------------------- */
.nodx-footer {
  background-color: #111622;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
  margin-top: 4rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 340px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col-links a:hover {
  color: #ffffff;
}

.footer-isometric-box {
  background-color: #182030;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.isometric-badge {
  width: 60px;
  height: 60px;
  background-color: #242d40;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transform: rotate(-8deg);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* -------------------------------------------------------------------
   8. MODAL DIALOGS (SOLID NODX THEME - ZERO GLASS)
   ------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 14, 22, 0.85); /* Solid dark mask, NO blur */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #171f2e; /* 100% solid opaque */
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0);
}

.modal-header {
  background-color: #121824;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.75rem;
}

/* Responsive */
@media (max-width: 1150px) {
  .nav-pill-extra {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cv-document-frame {
    padding: 1.5rem !important;
  }
  .cv-metrics-banner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 540px) {
  .cv-metrics-banner {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------------------------------------------------------
   9. AUTHENTIC CURRICULUM VITAE DOCUMENT SHEET (VERBATIM ATS CV)
   ------------------------------------------------------------------- */
.cv-document-frame {
  background-color: #0e1420; /* 100% solid slate navy */
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  margin-top: 1.5rem;
  position: relative;
}

.cv-top-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cv-badge-ats {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0d2818;
  color: #34d399;
  border: 1px solid #10b981;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cv-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-medium);
  margin-bottom: 2rem;
}

.cv-candidate-name {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.cv-candidate-title {
  font-size: 1.1rem;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cv-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.cv-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
}

.cv-meta-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cv-meta-item a:hover {
  color: #38bdf8;
}

/* 4 Authentic Real CV Metric Cards (Replacing the fake 5+ yrs / 99.999% SLA) */
.cv-metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cv-metric-card {
  background-color: #141b28;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cv-metric-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.cv-metric-number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.cv-metric-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.cv-metric-subtitle {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* CV Sections */
.cv-section-block {
  margin-bottom: 2.25rem;
}

.cv-section-heading {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cv-section-heading span.badge-num {
  background-color: #1e293b;
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.cv-body-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.cv-competency-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cv-competency-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background-color: #121824;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
}

.cv-competency-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
}

.cv-competency-skills {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cv-entry-card {
  background-color: #121824;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  margin-bottom: 0.85rem;
}

.cv-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.cv-entry-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.cv-entry-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 700;
  background-color: #064e3b;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.cv-entry-issuer {
  font-size: 0.85rem;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.cv-entry-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.cv-declaration-box {
  background-color: #141b27;
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 2rem;
}

.cv-declaration-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cv-declaration-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

/* Print Optimization (Clean ATS Friendly for Ctrl+P / window.print) */
@media print {
  body {
    background-color: #ffffff !important;
    color: #0f172a !important;
  }
  .nav-wrapper,
  .hero-nodx,
  #works,
  #sandbox,
  #contact,
  .nodx-footer,
  .modal-backdrop,
  .cv-top-action-bar,
  .btn-pill-white,
  .btn-pill-dark {
    display: none !important;
  }
  #about,
  .cv-document-frame {
    display: block !important;
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #000000 !important;
  }
  .cv-candidate-name {
    color: #000000 !important;
  }
  .cv-candidate-title {
    color: #0284c7 !important;
  }
  .cv-meta-strip,
  .cv-meta-item,
  .cv-body-text,
  .cv-competency-skills,
  .cv-entry-desc {
    color: #334155 !important;
  }
  .cv-competency-row,
  .cv-entry-card,
  .cv-metric-card,
  .cv-declaration-box {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #000000 !important;
  }
  .cv-competency-title,
  .cv-entry-role {
    color: #000000 !important;
  }
  .cv-entry-year {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
  }
}

