/**
 * Shane C. Williams, CISSP, CCSP - High-Impact Dynamic Cybersecurity Theme
 * Aesthetic: Dark-mode-first, deep slate, electric cyan, emerald green & high-tech cyber HUD
 */

:root {
  --bg-base: #050811;
  --bg-surface: #0a0f1d;
  --bg-card: #0f172a;
  --bg-card-hover: #17233f;
  --bg-elevated: #1e293b;
  
  --border-subtle: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(56, 189, 248, 0.45);
  --border-green: rgba(16, 185, 129, 0.4);
  --border-gold: rgba(245, 158, 11, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: #00f0ff;
  --accent-green: #10b981;
  --accent-green-glow: #00ff88;
  --accent-gold: #fbbf24;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  
  --glow-cyan: 0 0 30px rgba(56, 189, 248, 0.3);
  --glow-green: 0 0 30px rgba(16, 185, 129, 0.3);
  --glow-gold: 0 0 30px rgba(245, 158, 11, 0.3);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 65%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Radar & Pulse Animations */
@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(1000%); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green-glow);
  animation: pulse 2s infinite;
  display: inline-block;
}

/* Top Security Notification Banner */
.security-banner {
  background: linear-gradient(90deg, #090e1a 0%, #111a33 50%, #090e1a 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 110;
  backdrop-filter: blur(16px);
}

.security-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Navigation Header */
header.site-header {
  position: sticky;
  top: 38px;
  z-index: 100;
  background: rgba(5, 8, 17, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-crest {
  width: 44px;
  height: 44px;
  position: relative;
}

.brand-meta h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-meta p {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

nav.main-nav a:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.hero-content h2.hero-name {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-role {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-title-role .dept {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.hero-badges-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.hero-badge-tag.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.35);
}

.hero-badge-tag.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.35);
}

.hero-badge-tag.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.35);
}

.hero-badge-tag.purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.35);
}

.hero-statement {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Metric Counter Bar */
.metrics-counter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.metric-item {
  border-right: 1px solid var(--border-subtle);
  padding-right: 0.75rem;
}

.metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-value .accent-cyan { color: var(--accent-cyan); }
.metric-value .accent-green { color: var(--accent-green); }

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* Hero Visual: High-Tech Cyber HUD Dossier Card */
.hero-visual-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-green), var(--accent-gold), transparent);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.visual-card-title {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Radar & Cyber Shield HUD Display */
.cyber-hud-display {
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.12) 0%, rgba(5, 8, 17, 0.8) 75%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hud-radar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
}

.hud-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
}

.hud-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(14, 165, 233, 0.35) 360deg);
  animation: radarSweep 4s linear infinite;
}

.hud-center-shield {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Verified Credential Rows */
.credential-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 8, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.credential-row-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.08);
}

.credential-row-item .label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.credential-row-item .val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
}

/* Sections Common Styling */
section.site-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.45rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* CISSP 8 Domains Grid */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.85rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.domain-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}

.domain-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.domain-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.domain-badge-score {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.domain-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.domain-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.domain-chip {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: rgba(5, 8, 17, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
}

/* ISC2 Ethics Box */
.ethics-box {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(9, 14, 28, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 18px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--glow-green);
}

.ethics-box h3 {
  color: var(--accent-green);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ethics-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin-top: 1.5rem;
}

.ethics-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(5, 8, 17, 0.5);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ethics-list li svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Competencies & Frameworks Matrix */
.matrix-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.matrix-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.matrix-tab-btn.active, .matrix-tab-btn:hover {
  background: rgba(14, 165, 233, 0.18);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.matrix-category-group {
  margin-bottom: 2.75rem;
}

.matrix-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.matrix-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

.matrix-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.35rem;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.matrix-badge-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.badge-brand-logo-wrap {
  width: 44px;
  height: 44px;
  background: rgba(5, 8, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.badge-card-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.badge-card-text p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Featured Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), var(--glow-cyan);
  transform: translateY(-3px);
}

.project-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.project-classification-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid var(--border-green);
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.project-narrative {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.narrative-block {
  background: rgba(5, 8, 17, 0.5);
  border-left: 3px solid var(--accent-cyan);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
}

.narrative-block.action {
  border-left-color: var(--accent-blue);
}

.narrative-block.impact {
  border-left-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.08);
}

.narrative-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.narrative-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

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

.project-link-btn {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.project-link-btn:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Certifications & Military Section */
.credentials-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

.cert-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.cert-badge-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-badge-box:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.cert-badge-box.featured-cert {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
  box-shadow: var(--glow-cyan);
}

.cert-crest-wrap {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.cert-org {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.cert-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.cert-badge-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cert-badge-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Military Service Box with B-52G Blueprint */
.military-service-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

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

.b52-blueprint-visual {
  background: rgba(5, 8, 17, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.b52-blueprint-visual svg {
  width: 100%;
  max-height: 120px;
}

.military-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.military-medals-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.medal-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(5, 8, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  color: var(--text-muted);
}

/* Contact & Secure Inquiry Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-col h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.contact-info-col p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.contact-card-item:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateX(5px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-card-text h5 {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 0.2rem;
}

.contact-card-text span {
  font-size: 1rem;
  font-weight: 700;
}

/* Secure Form Box */
.secure-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-control {
  width: 100%;
  background: rgba(5, 8, 17, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.security-assurance-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Form status feedback */
.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.88rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-green);
  color: var(--accent-green);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 3.5rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 1.25rem;
}

.footer-social-link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  color: var(--accent-cyan);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .credentials-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-content h2.hero-name { font-size: 2.5rem; }
  .metrics-counter-bar { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .domains-grid { grid-template-columns: 1fr; }
  .ethics-list { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cert-card-grid { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; }
  
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
  }
  nav.main-nav.active { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .mobile-nav-toggle { display: block; }
}

@media print {
  body { background: #fff !important; color: #000 !important; }
  header.site-header, footer.site-footer, .security-banner, .mobile-nav-toggle, .btn { display: none !important; }
  .domain-card, .project-card, .cert-badge-box, .military-service-box {
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
}
