/* ════════════════════════════════════════════
   CSS DESIGN TOKENS  –  SIEM Dashboard Theme
════════════════════════════════════════════ */
:root {
  --bg-primary:      #0A0E1A; /* Deep Navy */
  --bg-secondary:    #111726; /* Darker Blue/Gray Dashboard container */
  --bg-card:         rgba(17, 23, 38, 0.75);
  --bg-card-hover:   rgba(0, 212, 255, 0.04);

  --accent:          #00D4FF; /* Electric Cyan */
  --accent-rgb:      0, 212, 255;
  --accent-glow:     rgba(0, 212, 255, 0.25);
  --accent-glow-lg:  rgba(0, 212, 255, 0.12);

  --highlight:       #00FF41; /* Matrix/Terminal Highlight Green */
  --highlight-rgb:   0, 255, 65;
  --highlight-glow:  rgba(0, 255, 65, 0.20);

  --text-primary:    #FFFFFF; /* White */
  --text-secondary:  rgba(255, 255, 255, 0.70);
  --text-muted:      rgba(255, 255, 255, 0.45);

  --border:          rgba(0, 212, 255, 0.15);
  --border-hover:    rgba(0, 212, 255, 0.45);
  --border-hl:       rgba(0, 255, 65, 0.30);

  --glass-blur:      blur(12px);
  --radius-sm:       4px;  /* Blockier, industrial look for SIEM dashboards */
  --radius-md:       6px;
  --radius-lg:       8px;
  --shadow-card:     0 4px 24px rgba(0,0,0,0.65);
  --shadow-glow:     0 0 20px var(--accent-glow);
  --shadow-hl:       0 0 20px var(--highlight-glow);

  --nav-h:           64px;
  --transition:      0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Light mode fallback matches dark dashboard matrix format for accessibility */
/* 🌓 Soft, Eye-Friendly Light Mode Theme (High Readability & Low Glare) */
[data-theme="light"] {

  /* Background - Shifted to a calm, matte Nordic Gray to stop eye fatigue */
  --bg-primary: #E9EDF2;
  --bg-secondary: #DEE4EC;

  /* Cards - Blends clean white containers softly over the gray layout */
  --bg-card: rgba(255, 255, 255, 0.70);
  --bg-card-hover: rgba(0, 92, 230, 0.04);

  /* Blue / Accent - Deepened to a rich Cobalt Blue so text links/buttons are highly visible */
  --accent: #005CE6;
  --accent-rgb: 0, 92, 230;
  --accent-glow: rgba(0, 92, 230, 0.15);
  --accent-glow-lg: rgba(0, 92, 230, 0.05);

  /* Green / Highlight - Darker Forest Green for crisp security/success states */
  --highlight: #008051;
  --highlight-rgb: 0, 128, 81;
  --highlight-glow: rgba(0, 128, 81, 0.15);

  /* CRITICAL FIX: Deepened text colors so thin monospace fonts stand out crisply */
  --text-primary: #0F172A;    /* Dark slate for titles */
  --text-secondary: #1E293B;  /* Deep charcoal for descriptions and subtitles (Prevents washing out) */
  --text-muted: #475569;      /* Stronger gray for labels and inline separators */

  /* Borders - Structured blue tones instead of bright neon */
  --border: rgba(0, 92, 230, 0.14);
  --border-hover: rgba(0, 92, 230, 0.35);
  --border-hl: rgba(0, 128, 81, 0.25);

  /* Shadows */
  --shadow-card: 0 6px 20px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 4px 12px rgba(0, 92, 230, 0.08);
  --shadow-hl: 0 4px 12px rgba(0, 128, 81, 0.08);

}

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

html{font-size:19px;}

body {
  font-family: 'Space Grotesk', sans-serif; /* Prioritize monospace look for SOC analysts */
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color var(--transition), color var(--transition);
}

img { max-width:100%; display:block; }
a   { text-decoration:none; color:inherit; }
ul  { list-style:none; }

/* ════════════════════════════════════════════
   ANIMATED BACKGROUND
════════════════════════════════════════════ */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  animation: blobDrift 20s ease-in-out infinite alternate;
}
.blob-1 {
  width: 500px; height: 500px;
  top: -150px; left: -150px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
}
.blob-2 {
  width: 450px; height: 450px;
  top: 45%; right: -100px;
  background: radial-gradient(circle, rgba(0,255,65,0.05) 0%, transparent 70%);
  animation-delay: -5s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

@keyframes blobDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.05); }
}

/* ════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ════════════════════════════════════════════
   BUTTONS (Industrial / Terminal styling)
════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Fira Code', monospace;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 2px 14px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
}

.btn-lg { padding: 0.8rem 1.75rem; font-size: 0.95rem; }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  border-color: var(--highlight);
  color: var(--highlight);
  box-shadow: 0 0 12px var(--highlight-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
  box-shadow: 0 0 10px var(--accent-glow);
}

.btn-sm { padding:0.35rem 0.85rem; font-size:0.78rem; }

.btn-cert {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all var(--transition);
  margin-top: auto;
}
.btn-cert:hover {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-cert-na {
  border-color: var(--border);
  color: var(--text-muted);
  cursor: default;
}

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.navbar.scrolled {
  background: #0A0E1A;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.5px;
}
.brand-lt  { color: var(--text-muted); }
.brand-accent { color: var(--highlight); }

.nav-links { display: flex; gap: 0.5rem; }

.nav-link {
  position: relative;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

.theme-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn svg { width:16px; height:16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px; height: 14px;
  background: transparent; border: none; cursor: pointer;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text-primary); }

/* ════════════════════════════════════════════
   SECTION COMMON (Dashboard Metric Boxes)
════════════════════════════════════════════ */
.section { padding: 5rem 0; position: relative; z-index: 2; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--highlight);
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.section-title{

   font-size:3.5rem;

   font-weight:800;
}

.section-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 2rem;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hl);
  background: rgba(var(--highlight-rgb), 0.04);
  font-size: 0.75rem; color: var(--highlight);
  margin-bottom: 1.25rem;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 8px var(--highlight);
  animation: pulseGlow 1.5s infinite;
}

.hero-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.sep { color: var(--text-muted); padding: 0 0.4rem; }

.hero-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}

.hero-btns { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2rem; }

.hero-socials { display:flex; gap:0.5rem; }
.social-pill {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-pill img { width:16px; height:16px; filter: invert(1); }
.social-pill:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* SIEM Radar Frame */
.avatar-frame {

  position: relative;

  width: 430px;

  height: 430px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: center;
}

.scanner-ring {
  position: absolute;
  border: 1px dashed;
  pointer-events: none;
}
.ring-outer { inset: -10px; border-color: rgba(0, 212, 255, 0.2); animation: rotateCW 30s linear infinite; }
.ring-inner { inset: 10px; border-color: rgba(0, 255, 65, 0.15); animation: rotateCCW 20s linear infinite; }

.radar-sweep {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, rgba(0,255,65,0.1) 0deg, transparent 120deg);
  animation: rotateCW 6s linear infinite;
  pointer-events: none;
}

.corner-bracket { position: absolute; width: 12px; height: 12px; border-color: var(--highlight); border-style: solid; border-width: 0; }
.tl { top:-1px; left:-1px; border-top-width:2px; border-left-width:2px; }
.tr { top:-1px; right:-1px; border-top-width:2px; border-right-width:2px; }
.bl { bottom:-1px; left:-1px; border-bottom-width:2px; border-left-width:2px; }
.br { bottom:-1px; right:-1px; border-bottom-width:2px; border-right-width:2px; }

.avatar-img-wrap {

  width: 380px;

  height: 380px;

  border-radius: 50%;

  overflow: hidden;

  border: 3px solid var(--highlight);

  box-shadow:
    0 0 25px rgba(21, 255, 0, 0.25),
    0 0 50px rgba(255, 0, 200, 0.15);

  position: relative;

  z-index: 5;
}


/* Actual image */

.avatar-img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 50%;

  display: block;
}

.float-chip {
  position: absolute;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  background: rgba(11, 23, 38, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.chip-1{top: 18%;left: -48px;}
.chip-2{top: 50%;right: -108px;}
.chip-3{bottom: 18%;left: -58px;}
/* ════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.about-grid{
    display:grid;
    grid-template-columns: 460px 1fr;
    gap:4rem;
    align-items:flex-start;
}

@media(max-width:992px){

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

}

.about-img-frame{

    width:100%;
    height:520px;

    overflow:hidden;

    border:1px solid var(--accent);

    border-radius:18px;

    background:var(--bg-secondary);

    padding:10px;

    box-shadow:0 0 25px rgba(var(--accent-rgb),0.15);
}

.about-img-frame img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:12px;
}

.about-badges {

  margin-top:1.5rem;

  display:flex;

  flex-direction:column;

  gap:1.25rem;
}
.about-badge-card{

    display:flex;

    align-items:center;

    gap:1rem;

    padding:1.4rem;

    margin-top:1rem;

    border:1px solid var(--border);

    border-radius:18px;

    background:linear-gradient(
      135deg,
      rgba(0,212,255,0.05),
      rgba(0,255,65,0.03)
    );

    transition:.3s;
}

.about-badge-card:hover{

    transform:translateY(-5px);

    border-color:var(--accent);

}
.about-badge-card svg{

   width:18px;

   height:18px;

   color:var(--accent);
}

.badge-label{

   font-size:0.8rem;

   letter-spacing:1px;
}

.badge-value{

   font-size:1.2rem;

   font-weight:700;
}
.badge-label {

 display:block;

 font-size:0.9rem;

 color:var(--text-muted);

 text-transform:uppercase;

 letter-spacing:1px;
}

.badge-value {

 display:block;

 font-size:1.7rem;

 font-weight:700;

 color:var(--text-primary);
}

.about-text-col p {

  font-family: 'Inter', sans-serif;

  font-size: 0.9rem;

  line-height: 1.8;

  color: var(--text-secondary);

  margin-bottom: 1.75rem;

  border-left: 3px solid var(--accent);

  padding-left: 1.5rem;
}

.open-to-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-hl);
  background: rgba(0, 255, 65, 0.02);
}
.open-icon svg { width:14px; height:14px; color:var(--highlight); }
.open-label { font-size:0.7rem; font-weight:600; color: var(--highlight); margin-right: 0.5rem; }
.open-tag {
  padding:0.2rem 0.5rem;
  border: 1px solid var(--border);
  font-size:0.7rem;
  color:var(--text-secondary);
  background: var(--bg-primary);
}

/* ════════════════════════════════════════════
   SIEM MONITORING / INVESTIGATIONS LOG
════════════════════════════════════════════ */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.interest-card {
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border-left: 2px solid var(--accent);
}
.interest-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  background: rgba(0, 212, 255, 0.02);
}
.interest-icon { font-size: 1.25rem; margin-bottom: 0.5rem; }
.interest-card h3 { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }

/* ════════════════════════════════════════════
   SKILLS – TABBED SIEM LAYOUT
════════════════════════════════════════════ */
.skills-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}

.skills-sidebar { display: flex; flex-direction: column; gap: 0.25rem; }

.skill-tab {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-sm);
}
.skill-tab:hover { background: rgba(var(--accent-rgb), 0.04); color: var(--text-primary); }
.skill-tab.active {
  background: var(--bg-secondary);
  color: var(--highlight);
  border-color: var(--border);
  border-left: 3px solid var(--highlight);
}
.skill-tab svg { width:14px; height:14px; }

.skills-panel-area {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1.5rem;
  min-height: 300px;
}

.skill-panel { display: none; }
.skill-panel.active { display: block; }

.panel-heading {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.panel-heading svg { width:16px; height:16px; color: var(--accent); }
.panel-heading h3 { font-size: 0.95rem; font-weight: 700; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}

.tool-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 1rem 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tool-card:hover {
  border-color: var(--highlight);
  box-shadow: var(--shadow-hl);
}
.tool-card span { font-size: 0.75rem; color: var(--text-secondary); }
.tool-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.tags-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-primary);
}
.skill-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════ CERTIFICATIONS ═══════════ */
.certs-wrap { margin-top: 3rem; }
.certs-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

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

.cert-card {
  display: flex; flex-direction: column;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.cert-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.cert-card-wide { grid-column: span 2; }

.cert-icon {

  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0 auto 15px;
}

.cert-icon img {

  width: 55px;

  height: 55px;

  object-fit: contain;

  display: block;
}

.cert-title {

  font-size: 0.85rem;

  font-weight: 700;

  margin-bottom: 0.25rem;
}

.cert-org {

  font-size: 0.78rem;

  color: var(--highlight);

  font-weight: 600;
}

.cert-meta {

  font-size: 0.72rem;

  color: var(--text-muted);

  margin-top: 0.25rem;
}

.cert-id {

  font-size: 0.7rem;

  color: var(--accent);

  margin-top: 0.25rem;
}

.cert-note {

  font-size: 0.72rem;

  color: var(--text-secondary);

  margin-top: 0.5rem;

  font-family: 'Inter', sans-serif;
}
/* ════════════════════════════════════════════
   INVESTIGATIONS & INCIDENT ARCHIVE (PROJECTS)
════════════════════════════════════════════ */
.proj-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.proj-filter {
  padding: 0.35rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family:'Fira Code', monospace; font-size:0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}
.proj-filter:hover { border-color: var(--accent); color: var(--accent); }
.proj-filter.active {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

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

.proj-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.proj-card:hover { border-color: var(--highlight); box-shadow: var(--shadow-hl); }
.proj-card.hidden { display: none; }

.proj-img-placeholder {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  background: rgba(17, 23, 38, 0.9);
  border-bottom: 1px solid var(--border);
}
.proj-img-wrap{
  width:100%;
  height:220px;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}

.proj-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 0.3s ease;
}

.proj-card:hover .proj-img{
  transform:scale(1.05);
}
.thumb-icon { font-size: 1.25rem; }
.thumb-badge {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 0.15rem 0.4rem;
  border: 1px solid transparent;
}
.badge-sec { background: rgba(0, 255, 65, 0.1); color: var(--highlight); border-color: var(--border-hl); }
.badge-web { background: rgba(0, 212, 255, 0.1); color: var(--accent); border-color: var(--border); }

.proj-body { padding: 1.25rem; flex:1; display:flex; flex-direction:column; }
.proj-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
.proj-desc { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--text-secondary); flex:1; margin-bottom: 1rem; }

.proj-actions { display:flex; gap:0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.proj-btn {
  display:inline-flex; align-items:center; gap:0.35rem;
  padding:0.35rem 0.75rem;width:90px;height:45px;
  border: 1px solid var(--border);
  background:transparent; color:var(--text-secondary);
  font-size:0.75rem; cursor:pointer;
}
.proj-btn:hover { border-color:var(--accent); color:var(--accent); }
.proj-btn-icon { width:12px; height:12px; filter: invert(1); }
.proj-btn-live { border-color: var(--highlight); color: var(--highlight); }
.proj-btn-live:hover { background: rgba(0, 255, 65, 0.05); }

/* ════════════════════════════════════════════
   CONTACT & ENDPOINTS
════════════════════════════════════════════ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.contact-card {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--accent); background: rgba(0, 212, 255, 0.02); }

.contact-card-icon {
  width: 36px; height: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon img { width:16px; height:16px; filter: invert(1); }
.contact-card-icon svg { width:16px; height:16px; color:var(--accent); }

.cc-label { display:block; font-size:0.6rem; color:var(--text-muted); }
.cc-value { display:block; font-size:0.8rem; font-weight:600; color: var(--text-primary); }

/* ════════════════════════════════════════════
   SIEM ACTION CALL (CTA)
════════════════════════════════════════════ */
.cta-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-section{

    padding:120px 0;
}

.cta-container{

    max-width:1100px;

    margin:auto;

    text-align:center;
}


/* TOP BADGE */

.cta-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:8px 18px;

    border:1px solid rgba(0,212,255,.3);

    border-radius:30px;

    color:var(--accent);

    font-size:.8rem;

    letter-spacing:2px;

    margin-bottom:25px;
}

.cta-badge svg{

    width:16px;

    height:16px;
}


/* TITLE */

.cta-heading{

    font-size:4rem;

    font-weight:700;

    margin-bottom:20px;
}

.cta-heading span{

    color:var(--accent);
}


/* SUBTITLE */

.cta-sub{

    max-width:750px;

    margin:auto;

    font-size:1.1rem;

    line-height:1.8;

    color:var(--text-secondary);

    margin-bottom:60px;
}


/* FORM BOX */

.cta-box{

    max-width:1100px;

    margin:auto;

    padding:45px 60px;

    border:1px solid rgba(0,212,255,.18);

    border-radius:30px;

    background:rgba(255,255,255,.02);

}


/* NAME + EMAIL */

.cta-input-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    margin-bottom:30px;
}


/* INPUT GROUP */

.cta-input-group{

    display:flex;

    flex-direction:column;

    text-align:left;
}


/* LABEL */

.cta-input-group label{

    font-size:.75rem;

    letter-spacing:3px;

    color:var(--text-muted);

    margin-bottom:12px;
}


/* INPUT */

.cta-input-group input{

    height:45px;

    border:none;

    border-bottom:1px solid rgba(0,212,255,.25);

    background:transparent;

    outline:none;

    color:#fff;

    font-size:1rem;
}


/* TEXTAREA */

.cta-input-group textarea{

    height:120px;

    border:none;

    border-bottom:1px solid rgba(0,212,255,.25);

    background:transparent;

    outline:none;

    color:#fff;

    resize:none;

    font-size:1rem;

    padding-top:10px;
}


/* PLACEHOLDER */

.cta-input-group input::placeholder,

.cta-input-group textarea::placeholder{

    color:#8a8f9a;
}


/* FOOTER */

.cta-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:35px;

    flex-wrap:wrap;

    gap:20px;
}


/* EMAIL */

.cta-email{

    font-size:1rem;

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

.cta-email a{

    text-decoration:none;

    color:rgb(0, 255, 238);

    font-weight:500;
}


/* BUTTON */

.cta-send-btn{

    text-decoration:none;

    padding:18px 40px;

    border-radius:50px;

    font-size:1rem;

    font-weight:600;

    color:#fff;

    background:linear-gradient(
        135deg,
        #00d4ff,
        #00ff88
    );

    transition:.3s;
}

.cta-send-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(0,255,136,.2);
}


/* MOBILE */

@media(max-width:768px){

.cta-heading{

    font-size:2.5rem;
}

.cta-box{

    padding:30px;
}

.cta-input-row{

    grid-template-columns:1fr;
}

.cta-footer{

    flex-direction:column;

    align-items:flex-start;
}

}
/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; background: #0A0E1A; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-copy { font-size:0.75rem; color:var(--text-muted); }
.footer-status { display:flex; align-items:center; gap:0.4rem; font-size:0.7rem; color:var(--highlight); font-weight: 600; }
.status-blink { width:6px; height:6px; border-radius:50%; background:var(--highlight); animation: pulseGlow 2s infinite; }

/* ════════════════════════════════════════════
   REVEAL & SCROLL ANIMATIONS
════════════════════════════════════════════ */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-up    { transform: translateY(20px); }
.reveal-left  { transform: translateX(-20px); }
.reveal-right { transform: translateX(20px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0,0); }

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.4); }
  70%  { box-shadow: 0 0 0 6px rgba(0, 255, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}
@keyframes rotateCW  { to { transform: rotate(360deg); } }
@keyframes rotateCCW { to { transform: rotate(-360deg); } }

/* ════════════════════════════════════════════
   RESPONSIVE DESIGN GRID
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align:center; gap:2.5rem; }
  .hero-btns, .hero-socials, .badge-pill { justify-content:center; }
  .hero-visual{position: relative;display: flex;justify-content: center;align-items: center;}
  .float-chip { display: none; }
  .about-grid { grid-template-columns: 1fr; justify-content: center; }
  .about-img-col { max-width: 280px; margin: 0 auto; }
  .skills-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display:flex; }
  .nav-links {
    position:fixed; top: var(--nav-h); left:-100%; bottom:0; width: 100%;
    background: #0A0E1A; flex-direction:column; align-items:center; justify-content:center;
    gap:1.5rem; transition: left var(--transition); border-top:1px solid var(--border);
  }
  .nav-links.open { left:0; }
  .btn-outline { display:none; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-card-wide { grid-column: span 1; }
}
.sun-icon,
.moon-icon{
   width:18px;
   height:18px;
}

[data-theme="light"] .moon-icon{
   display:none;
}

:not([data-theme="light"]) .sun-icon{
   display:none;
}
