/* ==========================================================================
   Muhammed Ali Portfolio Design System & Core Stylesheet
   ========================================================================== */

/* 1. Custom CSS Variables */
:root {
  --bg-dark: #F7F9FC;
  --bg-panel: rgba(255, 255, 255, 0.92);
  --bg-panel-solid: #FFFFFF;
  --bg-nav: rgba(255, 255, 255, 0.9);
  --bg-soft: #F1F5F9;

  --accent-cyan: #0369A1;
  --accent-cyan-rgb: 3, 105, 161;
  --accent-blue: #2563EB;
  --accent-orange: #B45309;
  --accent-green: #15803D;
  --accent-red: #DC2626;

  --text-main: #1E293B;
  --text-heading: #0F172A;
  --text-muted: #64748B;
  --border-glow: rgba(37, 99, 235, 0.16);
  --border-glow-heavy: rgba(37, 99, 235, 0.35);
  --shadow-glow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-glow-heavy: 0 10px 30px rgba(15, 23, 42, 0.1);

  --font-mono: 'Share Tech Mono', monospace;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
  --section-px: clamp(16px, 5vw, 8%);
  --section-py: clamp(52px, 8vw, 100px);
}

/* 2. Global Resets & Layout Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 3. Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.5);
}

/* 4. Subtle Dashboard Grid Overlay (faint, decorative only) */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 45%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 45%);
}

/* 5. Typography Utility Classes */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.text-glow-cyan {
  color: var(--accent-cyan);
}

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

.text-glow-orange {
  color: var(--accent-orange);
}

.text-accent {
  color: var(--accent-cyan);
}

.text-warning {
  color: var(--accent-orange);
}

.text-cert-accent {
  color: var(--accent-red);
}

h3.text-cert-accent,
strong.text-cert-accent {
  color: var(--accent-red);
}

.text-muted {
  color: var(--text-muted);
}

/* Shared card accent bar (top edge glow) */
.card-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
}

.card-top-glow-orange {
  background: linear-gradient(90deg, var(--accent-orange) 0%, #F59E0B 100%);
}

/* 6. Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

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

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

.nav-link {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-btn-contact {
  padding: 8px 16px;
  border: 1px solid var(--accent-cyan);
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.05);
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.nav-btn-contact:hover {
  background: var(--accent-cyan);
  color: #fff !important;
  box-shadow: var(--shadow-glow-heavy);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.02);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.nav-social-icon svg {
  width: 17px;
  height: 17px;
}

.nav-social-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.mobile-nav-social {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Dropdown */
.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  background: var(--bg-panel-solid);
  border-bottom: 1px solid var(--border-glow);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 15px;
}

.mobile-link {
  font-family: var(--font-mono);
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.1rem;
}

/* 7. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-icon {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.btn-icon-right {
  margin-left: 8px;
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #fff;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.25);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(15, 23, 42, 0.15);
}

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

.btn-cv {
  background: #0F172A;
  color: #fff;
  border: 1px solid #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  position: relative;
  overflow: hidden;
}

.btn-cv::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.btn-cv:hover::before {
  left: 100%;
}

.btn-cv:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.28);
  transform: translateY(-2px);
}

.btn-cv-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cv:hover .btn-cv-icon {
  transform: translateY(3px);
}

/* 8. Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 130px var(--section-px) 60px;
  z-index: 2;
  overflow: hidden;
}

.network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  max-width: 1180px;
  width: 100%;
}

.hero-content {
  max-width: 620px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent-cyan);
  opacity: 0.85;
  z-index: 2;
}

.hero-photo-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hero-photo-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.hero-photo-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.hero-photo-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.hero-title {
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-heading);
}

.hero-subtitle-container {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.glitch-text {
  color: var(--accent-cyan);
  font-weight: 600;
}

.separator {
  color: rgba(15, 23, 42, 0.2);
}

.aspiring-text {
  color: var(--text-muted);
}

.hero-desc {
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 5px;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: stretch;
}

.resume-btn-group {
  display: flex;
  gap: 2px;
}

.resume-btn-group .btn-cv {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-resume-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  background: #0F172A;
  color: #fff;
  border: 1px solid #0F172A;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-resume-preview:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.btn-resume-preview i {
  width: 18px;
  height: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1180px;
}

.stat-card {
  text-align: left;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--bg-panel-solid);
  box-shadow: var(--shadow-glow);
}

.stat-card-blue {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.015) 100%);
  border-color: rgba(37, 99, 235, 0.16);
  border-left: 3px solid var(--accent-cyan);
}

.stat-card-amber {
  background: linear-gradient(180deg, rgba(180, 83, 9, 0.06) 0%, rgba(180, 83, 9, 0.015) 100%);
  border-color: rgba(180, 83, 9, 0.16);
  border-left: 3px solid var(--accent-orange);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 9. Section Headings */
section {
  padding: var(--section-py) var(--section-px) calc(var(--section-py) * 0.8);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-eyebrow {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0.03));
  border: 1px solid rgba(37, 99, 235, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.eyebrow-icon i {
  width: 16px;
  height: 16px;
}

.section-header:hover .eyebrow-icon {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}

.eyebrow-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  position: relative;
  display: inline-block;
  max-width: 700px;
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #0F172A;
}

.title-accent {
  color: var(--accent-cyan);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transform: translateX(-50%);
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-header.in-view .section-title::after,
.section-header:hover .section-title::after {
  width: 70px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 10. About Section & Cyber Badge */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  align-items: start;
}

.about-card-wrapper {
  perspective: 1000px;
}

.about-badge-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.about-badge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(15, 23, 42, 0.05), 
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.about-badge-card:hover {
  border-color: var(--border-glow-heavy);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
  transform: translateY(-5px);
}

.about-badge-card:hover::before {
  left: 150%;
}

.badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.badge-logo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.badge-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  border-radius: 4px;
  border: 1px solid #7c5d09;
}

.badge-body {
  display: flex;
  gap: 20px;
}

.badge-photo-area {
  width: 110px;
  height: 140px;
  border: 1px solid var(--border-glow);
  background: rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.avatar-fallback-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.5;
}

.badge-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.info-val {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.badge-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.barcode {
  width: 120px;
  height: 30px;
  background: repeating-linear-gradient(
    90deg,
    var(--text-muted),
    var(--text-muted) 2px,
    transparent 2px,
    transparent 6px,
    var(--text-muted) 6px,
    var(--text-muted) 10px
  );
  opacity: 0.4;
}

.fingerprint-btn {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.fingerprint-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details-heading {
  font-size: 1.8rem;
  color: #0F172A;
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 8px;
  width: fit-content;
}

.details-p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.focus-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 10px 0;
}

.focus-card {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 8px;
  padding: 20px;
  transition: var(--transition-smooth);
}

.focus-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.02);
  transform: translateY(-2px);
}

.focus-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.focus-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.focus-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.target-objective {
  background: rgba(217, 119, 6, 0.04);
  border-left: 4px solid var(--accent-orange);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
}

.objective-tag {
  font-family: var(--font-mono);
  color: var(--accent-orange);
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.key-achievements {
  background: rgba(21, 128, 61, 0.04);
  border-left: 4px solid var(--accent-green);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px 20px;
  margin-top: 20px;
}

.achievements-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.achievements-heading i {
  width: 17px;
  height: 17px;
  color: var(--accent-green);
}

.achievements-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.achievements-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.achievements-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .achievements-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10b. Projects Section
   ========================================================================== */
.projects-grid,
.skills-grid,
.certs-grid,
.languages-grid,
.comms-channels-grid {
  min-width: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card-wide {
  grid-column: 1 / -1;
}

.project-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-card:hover {
  border-color: var(--border-glow-heavy);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
  transform: translateY(-5px);
}

.project-header {
  margin-bottom: 20px;
}

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

.project-type {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-type i {
  width: 14px;
  height: 14px;
}

.project-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: bold;
  background: rgba(22, 163, 74, 0.05);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

.project-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F172A;
}

.project-body {
  flex: 1;
  margin-bottom: 25px;
}

.project-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.project-bullet-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: bold;
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 20px;
}

.tool-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.project-card:hover .tool-tag {
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.02);
}

/* ==========================================================================
   10d. Case Studies Section
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.case-study-card {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.case-study-card:hover {
  border-color: var(--border-glow-heavy);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.16);
  transform: translateY(-5px);
}

.case-study-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.case-study-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-study-excerpt {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.case-study-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.case-study-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-study-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.case-study-readmore i {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.case-study-card:hover .case-study-readmore i {
  transform: translateX(4px);
}

/* ==========================================================================
   11. Security Console (Terminal)
   ========================================================================== */
.terminal-section-bg {
  background: radial-gradient(circle at center, #EEF2F7 0%, var(--bg-dark) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.terminal-container {
  /* Scoped overrides: this console panel is intentionally dark, like a real
     log/SIEM console embedded in an otherwise light dashboard. */
  --accent-cyan: #38BDF8;
  --accent-orange: #FBBF24;
  --accent-green: #4ADE80;
  --accent-red: #F87171;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;

  border: 1px solid rgba(148, 163, 184, 0.15);
  background: #0B1220;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #090e1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.close { background-color: var(--accent-red); }
.dot.minimize { background-color: var(--accent-orange); }
.dot.maximize { background-color: var(--accent-green); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 99, 235, 0.05);
  padding: 2px 8px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 4px;
}

.terminal-workspace {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 480px;
}

.terminal-sidebar {
  background: rgba(4, 6, 16, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  overflow-y: auto;
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cmd-shortcut {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  text-align: left;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.cmd-shortcut:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--accent-cyan);
}

.terminal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: #03050c;
  overflow: hidden;
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

.terminal-line {
  line-height: 1.5;
  white-space: pre-wrap;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

.terminal-prompt {
  color: var(--accent-cyan);
  margin-right: 10px;
  white-space: nowrap;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* ==========================================================================
   12. Experience Section
   ========================================================================== */
.experience-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--accent-cyan) 15%,
    var(--accent-blue) 85%,
    transparent 100%
  );
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 80px;
}

.timeline-dot {
  position: absolute;
  left: 21px;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--bg-dark);
  border: 4px solid var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  z-index: 2;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.timeline-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--border-glow-heavy);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.role-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.location i {
  width: 14px;
  height: 14px;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.role-overview {
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

.responsibility-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resp-item {
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid rgba(15, 23, 42, 0.03);
  padding: 16px;
  border-radius: 6px;
}

.resp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.resp-header i {
  width: 18px;
  height: 18px;
}

.resp-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0F172A;
}

.resp-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 28px;
}

/* ==========================================================================
   13. Technical Skills Section
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skill-category-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
  min-width: 0;
}

.skill-category-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 12px;
}

.category-header i {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
}

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F172A;
}

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

.skill-badge-item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.skill-category-card:hover .skill-badge-item {
  border-color: rgba(37, 99, 235, 0.15);
  background: rgba(37, 99, 235, 0.01);
}

.skill-category-card:hover .skill-badge-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.05);
  color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   13b. Education Section
   ========================================================================== */
.education-container {
  max-width: 900px;
  margin: 0 auto;
}

.education-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.education-card:hover {
  border-color: var(--border-glow-heavy);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2);
}

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

.edu-degree {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.edu-university {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.edu-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.edu-location i {
  width: 14px;
  height: 14px;
}

.edu-timeline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 4px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edu-timeline i {
  width: 14px;
  height: 14px;
}

.education-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Native hidden attribute used by the case-study filters */
[hidden] {
  display: none !important;
}

/* ==========================================================================
   14. Certifications & Badges
   ========================================================================== */
.certs-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-bottom: 40px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.certs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.certs-stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.certs-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.certs-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(148, 163, 184, 0.2);
}

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

.cert-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: var(--transition-smooth);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow-heavy);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
}

.cert-card.active-target {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.12);
  animation: cert-pulse-border 3s ease-in-out infinite;
}

.cert-card.active-target:hover {
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.28);
}

@keyframes cert-pulse-border {
  0%, 100% { border-color: rgba(251, 191, 36, 0.35); }
  50% { border-color: rgba(251, 191, 36, 0.65); }
}

.cert-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.cert-badge-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.cert-badge-icon i {
  width: 22px;
  height: 22px;
}

.cert-card:hover .cert-badge-icon {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.cert-card.active-target .cert-badge-icon {
  color: var(--accent-orange);
}

.cert-card.active-target:hover .cert-badge-icon {
  background: rgba(251, 191, 36, 0.08);
  border-color: var(--accent-orange);
}

.cert-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cert-pill-verified {
  color: var(--accent-green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.cert-pill-progress {
  color: var(--accent-orange);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.pulsing-icon {
  animation: pulse-glow 2s infinite;
}

.cert-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cert-org {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.cert-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.cert-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 14px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.cert-meta strong {
  color: inherit;
  font-weight: 700;
}

.cert-note {
  display: block;
  width: 100%;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cert-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  margin-left: auto;
}

.cert-verify-link i {
  width: 13px;
  height: 13px;
}

.cert-verify-link:hover {
  text-decoration: underline;
}

.cert-progress {
  margin-bottom: 14px;
}

.cert-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.cert-progress-fill {
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, var(--accent-orange), #F59E0B);
  border-radius: 2px;
  animation: cert-progress-shimmer 2.5s ease-in-out infinite;
}

@keyframes cert-progress-shimmer {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.cert-progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
}

.cert-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  margin-top: auto;
}

.cert-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.cert-card:hover .cert-tag {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.06);
}

/* ==========================================================================
   14a. Certifications Section — Dark Variant
   ========================================================================== */
#certifications {
  --bg-panel: rgba(255, 255, 255, 0.04);
  --text-muted: #94A3B8;
  --accent-cyan: #38BDF8;
  --accent-blue: #60A5FA;
  --accent-green: #4ADE80;
  --accent-orange: #FBBF24;
  --accent-red: #F87171;
  --border-glow: rgba(148, 163, 184, 0.16);
  --border-glow-heavy: rgba(56, 189, 248, 0.4);
  --shadow-glow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#certifications::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(circle at top, #16213A 0%, #0B1220 65%);
  z-index: -1;
}

.cert-decor-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.cert-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

.cert-radar {
  position: absolute;
  top: 50%;
  right: -160px;
  width: 480px;
  height: 480px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.07);
  z-index: 0;
  pointer-events: none;
}

.cert-radar::before,
.cert-radar::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.06);
}

.cert-radar::after {
  inset: 130px;
}

.cert-radar > .radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.22), transparent 28%);
  animation: radar-spin 7s linear infinite;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

.cert-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.cert-glow-orb-1 {
  width: 340px;
  height: 340px;
  top: -110px;
  left: -60px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 70%);
  animation: glow-drift-a 18s ease-in-out infinite;
}

.cert-glow-orb-2 {
  width: 280px;
  height: 280px;
  bottom: -90px;
  left: 38%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0) 70%);
  animation: glow-drift-b 22s ease-in-out infinite;
}

#certifications .section-header,
#certifications .certs-summary,
#certifications .certs-grid {
  position: relative;
  z-index: 1;
}

#certifications .section-subtitle {
  color: #94A3B8;
}

#certifications .section-title {
  color: #F8FAFC;
}

#certifications .cert-name {
  color: #F8FAFC;
}

#certifications .cert-badge-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

#certifications .eyebrow-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0.04));
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   14b. Languages Section
   ========================================================================== */
.languages-section {
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: 8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 70%);
  animation: glow-drift-a 16s ease-in-out infinite;
}

.ambient-glow-2 {
  width: 320px;
  height: 320px;
  bottom: -100px;
  right: 10%;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.09) 0%, rgba(3, 105, 161, 0) 70%);
  animation: glow-drift-b 20s ease-in-out infinite;
}

@keyframes glow-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes glow-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, -25px) scale(1.1); }
}

.languages-section .section-header,
.languages-section .languages-grid {
  position: relative;
  z-index: 1;
}

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

.language-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.language-card:hover {
  border-color: var(--border-glow-heavy);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
}

.lang-header {
  margin-bottom: 12px;
}

.language-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F172A;
}

.lang-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.lang-bar {
  width: 100%;
  height: 4px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.lang-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  border-radius: 2px;
}

/* ==========================================================================
   15. Secure Contact Section (Restructured Comms Portal)
   ========================================================================== */
.contact-section {
  max-width: 1300px;
  background: radial-gradient(circle at bottom, #EEF2F7 0%, var(--bg-dark) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.03);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--border-glow);
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.10), var(--shadow-glow);
}

.contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #F1F5F9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.console-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
}

.signal-pinging {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-glow 1.5s infinite;
}

.encryption-key {
  color: var(--text-muted);
}

.secure-comms-dashboard {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.comms-header-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(226, 232, 240, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 6px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

.status-indicator {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ip-readout {
  color: var(--text-muted);
}

.comms-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.comms-channel-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 26px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
  min-height: 168px;
  transition: var(--transition-smooth);
}

.comms-channel-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.03);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.14);
  transform: translateY(-4px);
}

.comms-channel-card:active {
  transform: translateY(-1px);
}

.comms-card-glow {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent-cyan);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.comms-channel-card:hover .comms-card-glow {
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.comms-icon-box {
  width: 46px;
  height: 46px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.comms-channel-card:hover .comms-icon-box {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.2);
  transform: scale(1.06);
}

.comms-icon-box i {
  width: 20px;
  height: 20px;
}

.comms-details {
  width: 100%;
  min-width: 0;
}

.comms-details h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #0F172A;
  letter-spacing: 0.5px;
}

.comms-addr {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 6px;
  overflow-wrap: break-word;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.comms-action-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.comms-channel-card:hover .comms-action-tag {
  color: #0F172A;
  transform: translateX(3px);
}
/* ==========================================================================
   15b. Cybersecurity Facts Ticker
   ========================================================================== */
.facts-ticker {
  display: flex;
  align-items: center;
  background: #0B1220;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.facts-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 22px;
  background: rgba(37, 99, 235, 0.12);
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  color: #38BDF8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.facts-ticker-label i {
  width: 15px;
  height: 15px;
}

.facts-ticker-track {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.facts-ticker-content {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
}

.facts-ticker:hover .facts-ticker-content {
  animation-play-state: paused;
}

.fact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #CBD5E1;
  white-space: nowrap;
}

.fact-item i {
  width: 15px;
  height: 15px;
  color: #38BDF8;
  flex-shrink: 0;
}

.fact-divider {
  color: rgba(148, 163, 184, 0.35);
  padding: 0 28px;
  font-family: var(--font-mono);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .facts-ticker-label span { display: none; }
  .fact-item { font-size: 0.8rem; }
  .fact-divider { padding: 0 18px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   16. Footer Section
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #F8FAFC;
  padding: 48px var(--section-px) 0;
  z-index: 10;
  position: relative;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-link i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-link-static {
  cursor: default;
}

.footer-link-static:hover {
  color: var(--text-muted);
  transform: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom .system-time {
  color: var(--accent-cyan);
}

/* ==========================================================================
   17. Keyframe Animations
   ========================================================================== */
@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 10px var(--accent-cyan); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 20px var(--accent-cyan); }
  100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 10px var(--accent-cyan); }
}

@keyframes pulse-glow-green {
  0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 8px var(--accent-green); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 16px var(--accent-green); }
  100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 8px var(--accent-green); }
}


/* ==========================================================================
   18. Responsive Breakdown Layout (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { max-width: 100%; align-items: center; text-align: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-frame { max-width: 280px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card-wrapper { max-width: 420px; margin: 0 auto; width: 100%; }
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-studies-grid { grid-template-columns: 1fr; gap: 20px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .languages-grid { grid-template-columns: repeat(2, 1fr); }
  .comms-channels-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-badge-item { white-space: normal; }
  .section-header { margin-bottom: 44px; }
  .section-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .nav-container { padding: 14px 16px; }
  .nav-links, .nav-social { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-nav { padding: 16px; }
  .mobile-nav.active { display: flex; }

  .hero-section { padding: 100px 16px 44px; gap: 32px; }
  .hero-title { font-size: 2.6rem; letter-spacing: -0.01em; }
  .hero-subtitle-container { font-size: 0.9rem; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
  .hero-subtitle-container .separator { display: none; }
  .hero-desc { font-size: 0.98rem; line-height: 1.6; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 16px 18px; }

  .section-header { margin-bottom: 32px; }
  .section-title { font-size: 2.1rem; }
  .section-subtitle { font-size: 0.92rem; margin-top: 12px; }
  .eyebrow-text { font-size: 0.75rem; letter-spacing: 1.5px; }

  .about-badge-card { padding: 20px 16px; }
  .badge-body { flex-direction: column; align-items: center; text-align: center; }
  .badge-info { width: 100%; }
  .focus-areas-grid { grid-template-columns: 1fr; }

  .project-card { padding: 20px 18px; }
  .project-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .project-type { font-size: 0.72rem; }

  .case-study-card { padding: 22px 18px; }
  .case-study-title { font-size: 1.35rem; }

  .terminal-workspace { grid-template-columns: 1fr; height: auto; min-height: 480px; }
  .terminal-sidebar { border-right: none; border-bottom: 1px solid rgba(148, 163, 184, 0.15); height: auto; padding: 12px 14px; }
  .sidebar-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .cmd-shortcut { white-space: nowrap; width: auto; }

  .skills-grid { grid-template-columns: 1fr; }
  .skill-category-card { padding: 20px 18px; }

  .timeline-item { padding-left: 36px; }
  .timeline-line { left: 12px; }
  .timeline-dot { left: 3px; }
  .timeline-card { padding: 20px 16px; }
  .role-title { font-size: 1.25rem; }
  .resp-item p { padding-left: 0; }

  .education-card { padding: 20px 18px; }
  .edu-degree { font-size: 1.25rem; }

  .cert-radar { display: none; }
  .cert-glow-orb { opacity: 0.5; }
  .certs-summary { gap: 16px; padding: 14px 16px; margin-bottom: 28px; }
  .certs-stat-divider { display: none; }
  .certs-stat { min-width: 80px; }
  .certs-stat-num { font-size: 1.4rem; }
  .cert-card { padding: 18px 16px; }

  .contact-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.72rem;
  }
  .console-signal span { line-height: 1.4; }
  .secure-comms-dashboard { padding: 20px 16px; }
  .comms-channels-grid { grid-template-columns: 1fr; gap: 12px; }
  .comms-channel-card { padding: 20px 16px; min-height: auto; }
  .comms-addr { font-size: 0.88rem; word-break: break-all; }
}

@media (max-width: 480px) {
  .hero-section { padding: 95px 12px 36px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle-container { font-size: 0.78rem; flex-wrap: wrap; white-space: normal; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 10px; }
  .btn { width: 100%; justify-content: center; }
  .resume-btn-group { width: 100%; }
  .resume-btn-group .btn-cv { flex: 1; }
  .btn-resume-preview { flex-shrink: 0; }

  .section-title { font-size: 1.75rem; }
  .certs-grid { grid-template-columns: 1fr; gap: 14px; }
  .certs-summary { flex-direction: row; justify-content: space-around; width: 100%; }
  .cert-pill { font-size: 0.6rem; padding: 3px 6px; }
  .cert-card-top { margin-bottom: 12px; }
  .languages-grid { grid-template-columns: 1fr; }
  .language-card { padding: 18px 16px; }

  .nav-logo .logo-text { font-size: 1.05rem; }
  .footer { padding-top: 36px; }
  .footer-main { gap: 28px; }
}

/* ==========================================================================
   19. Accessibility, Focus States & Back-to-Top
   ========================================================================== */

/* Visible keyboard focus ring across all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #0F172A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-smooth);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(3, 105, 161, 0.3);
}

.back-to-top i {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }

  /* Keep interactive tap targets comfortably sized on touch devices */
  .nav-social-icon,
  .footer-social .nav-social-icon { width: 40px; height: 40px; }
  .mobile-menu-btn { padding: 8px; }
  .mobile-link { padding: 12px 4px; display: block; }
  .cmd-shortcut { min-height: 40px; }
}

/* Respect OS-level reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   20. Enhanced Cybernetic Case Study Page Styling
   ========================================================================== */
.case-study-page {
  background-color: var(--bg-dark);
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows & Grid Pattern */
.cs-bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(3, 105, 161, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 55%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(21, 128, 61, 0.04) 0%, transparent 45%);
}

.cs-header {
  position: relative;
  z-index: 2;
  padding: 130px 5% 40px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.cs-header-container {
  max-width: 1240px;
  margin: 0 auto;
}

.cs-switcher-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}

.cs-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.cs-tab-btn:hover {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.8);
}

.cs-tab-btn.active {
  background: var(--bg-panel-solid);
  color: var(--accent-cyan);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-glow);
}

.cs-header-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
}

.cs-badge-cyan {
  background: rgba(3, 105, 161, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.cs-badge-amber {
  background: rgba(180, 83, 9, 0.08);
  color: var(--accent-orange);
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.cs-badge-green {
  background: rgba(21, 128, 61, 0.08);
  color: var(--accent-green);
  border: 1px solid rgba(21, 128, 61, 0.2);
}

.cs-badge-red {
  background: rgba(220, 38, 38, 0.08);
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.cs-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.cs-main-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  line-height: 1.4;
}

.cs-category-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.cs-category-strip i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

/* 2-Column Main Layout Grid */
.cs-layout-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 5% 80px;
}

.cs-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.cs-content-col {
  min-width: 0;
}

.cs-sidebar-col {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sidebar Cards */
.cs-sidebar-card {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cs-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-sidebar-title i {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

.cs-quick-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-quick-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.cs-quick-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cs-quick-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.cs-quick-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
}

/* TOC nav in sidebar */
.cs-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.cs-toc-link:hover {
  background: rgba(3, 105, 161, 0.06);
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.cs-toc-link i {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

/* Section Cards inside content column */
.cs-card-section {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 30px 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cs-section-h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(15, 23, 42, 0.06);
}

.cs-section-h2 i {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan);
}

.cs-p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.cs-p:last-child {
  margin-bottom: 0;
}

.cs-quote-box {
  background: rgba(3, 105, 161, 0.04);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Findings Table */
.cs-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  margin-top: 10px;
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.cs-table th {
  background: rgba(15, 23, 42, 0.04);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-heading);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.cs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--text-main);
  line-height: 1.5;
}

.cs-table tr:last-child td {
  border-bottom: none;
}

.cs-table tr:nth-child(even) td {
  background: rgba(241, 245, 249, 0.4);
}

.cs-table tr:hover td {
  background: rgba(3, 105, 161, 0.03);
}

.cs-table-highlight {
  font-weight: 700;
  color: var(--text-heading);
}

/* Callout boxes */
.cs-callout-box {
  background: rgba(3, 105, 161, 0.04);
  border: 1px solid rgba(3, 105, 161, 0.2);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 16px;
}

.cs-callout-box-amber {
  background: rgba(180, 83, 9, 0.04);
  border-color: rgba(180, 83, 9, 0.2);
  border-left-color: var(--accent-orange);
}

.cs-callout-box-red {
  background: rgba(220, 38, 38, 0.04);
  border-color: rgba(220, 38, 38, 0.2);
  border-left-color: var(--accent-red);
}

.cs-callout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-callout-title i {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

.cs-callout-box-amber .cs-callout-title i { color: var(--accent-orange); }
.cs-callout-box-red .cs-callout-title i { color: var(--accent-red); }

/* Investigation Steps with vertical connecting line */
.cs-steps-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 8px;
  margin-top: 10px;
}

.cs-steps-wrapper::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 25px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(37, 99, 235, 0.2) 100%);
  z-index: 1;
}

.cs-step-card {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
}

.cs-step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-panel-solid);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 12px rgba(3, 105, 161, 0.15);
}

.cs-step-body {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 18px 20px;
}

.cs-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-step-title i {
  width: 17px;
  height: 17px;
  color: var(--accent-cyan);
}

.cs-step-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cs-step-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.cs-step-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.cs-step-bullets li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--accent-cyan);
  font-weight: bold;
}

.cs-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cs-step-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(3, 105, 161, 0.06);
  color: var(--accent-cyan);
  border: 1px solid rgba(3, 105, 161, 0.15);
}

/* Key Takeaways Cards */
.cs-takeaway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.cs-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(241, 245, 249, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 16px;
}

.cs-takeaway-item i {
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-takeaway-item p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Outcome Box */
.cs-outcome-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(21, 128, 61, 0.04);
  border: 1px solid rgba(21, 128, 61, 0.25);
  border-left: 4px solid var(--accent-green);
  border-radius: 12px;
  padding: 22px 24px;
}

.cs-outcome-box i {
  width: 26px;
  height: 26px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-outcome-box p {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Checklists */
.cs-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.cs-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* Next / Prev Navigation Bar */
.cs-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.cs-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.cs-nav-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-heavy);
  transform: translateY(-2px);
}

.cs-nav-card i {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

@media (max-width: 1024px) {
  .cs-layout-grid {
    grid-template-columns: 1fr;
  }
  .cs-sidebar-col {
    position: static;
    order: -1;
  }
  .cs-takeaway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cs-header {
    padding: 110px 4% 30px;
  }
  .cs-layout-container {
    padding: 24px 4% 50px;
  }
  .cs-card-section {
    padding: 20px;
  }
  .cs-switcher-bar {
    width: 100%;
    flex-direction: column;
    border-radius: 14px;
  }
  .cs-tab-btn {
    justify-content: center;
    width: 100%;
  }
  .cs-nav-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   21. God Mode UI Enhancements: Toast Notifications, Lightbox & Filters
   ========================================================================== */

/* Floating Cyber Toast Notifications */
.cyber-toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.cyber-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel-solid);
  color: var(--text-heading);
  border: 1px solid var(--accent-cyan);
  border-left: 4px solid var(--accent-cyan);
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cyber-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.cyber-toast i {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* SOC Live Status Pill in Hero */
.soc-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid rgba(21, 128, 61, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

/* Case Study Category Filter Pills */
.cs-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.cs-filter-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cs-filter-pill:hover {
  color: var(--accent-cyan);
  background: rgba(3, 105, 161, 0.06);
  border-color: rgba(3, 105, 161, 0.2);
}

.cs-filter-pill.active {
  background: var(--accent-cyan);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.25);
}

/* Cyber Lightbox Modal */
.cyber-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cyber-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.cyber-lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cyber-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cyber-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--accent-cyan);
  object-fit: contain;
}

.cyber-lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  text-align: center;
}

.cyber-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cyber-lightbox-close:hover {
  color: var(--accent-cyan);
}








/* ==========================================================================
   22. Recruiter-Focused Visual Polish (Content Sections Only)
   ========================================================================== */
/* The hero intentionally keeps the original design. These restrained
   enhancements apply only below the hero section. */
section:not(#certifications)::before {
  content: '';
  position: absolute;
  width: 56%;
  height: 62%;
  left: 22%;
  top: 18%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(37,99,235,0.035), transparent 68%);
  filter: blur(24px);
}

.project-card,
.case-study-card,
.skill-category-card,
.timeline-card,
.education-card,
.language-card,
.about-badge-card,
.contact-container {
  box-shadow:
    0 12px 34px rgba(15, 23, 42, 0.065),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.project-card:hover,
.case-study-card:hover,
.skill-category-card:hover,
.timeline-card:hover,
.education-card:hover,
.language-card:hover,
.about-badge-card:hover {
  box-shadow:
    0 22px 52px rgba(15, 23, 42, 0.11),
    0 0 0 1px rgba(37,99,235,0.05),
    inset 0 1px 0 rgba(255,255,255,0.92);
}

