/* ---- Begin style.css ---- */
body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #e0e0e0;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
/* Glassmorphic cards */
.glass-card {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #a0f0ff;
  font-weight: 500;
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  border-radius: 1rem;
}
.glass-card p, .glass-card li {
  color: #a0f0ff;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
}
/* Neon headings */
.neon {
  font-family: 'Roboto Mono', monospace;
  color: #00fff7;
text-shadow:
  0 0 3px rgba(0,255,247,0.3),
  0 0 8px rgba(0,255,247,0.2),
  0 0 16px rgba(0,255,247,0.1);
}
/* Full-page fixed canvases behind content */
.bg-canvas,
.code-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* stacking: particles (0) < code (1) < content (2) < header (60) */
.bg-canvas {
  z-index: 0;
  /* optional very subtle base tint; keep or remove as you prefer */
  background: linear-gradient(135deg, #0f172a, #161b27);
}
.code-canvas {
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.18;
}
/* Soft gradient overlay */
#gradientOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,255,255,0.15), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
/* Navbar background */
header {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 60;
}
/* Ensure hero/content sits above canvases */
#hero { position: relative; z-index: 2; }
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.3);
  border-radius: 4px;
}
/* Headings font sizes and styles */
h1,h2,h3,h4 {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 3.5rem; line-height: 1.1; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
/* Body text */
p, li, a, label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #e0e0e0;
}
/* Neon highlights for links and buttons */
a, button {
  color: #00fff7;
  transition: color 0.3s ease, background-color 0.3s ease;
  font-weight: 600;
}
a:hover, button:hover { color: #0ff; }
/* Navbar links */
nav ul li a {
  font-weight: 600;
  font-size: 1.125rem;
  color: #00fff7;
}
nav ul li a:hover { color: #0ff; }
/* Hero Section styles */
.hero-title {
  font-size: 4.5rem;
  user-select: none;
}
.hero-subtitle {
  font-size: 1.5rem;
  color: #a0f0ff;
  font-weight: 500;
  margin-top: 0.5rem;
  min-height: 2.25rem;
}
/* Buttons */
a.px-8.py-4.bg-cyan-500.text-black.font-bold.rounded-lg.shadow-lg.hover\:bg-cyan-400.transition.neon.select-none,
a.inline-block.px-10.py-4.bg-cyan-500.text-black.font-bold.rounded-lg.shadow-lg.hover\:bg-cyan-400.transition.neon.select-none {
  background-color: #00fff7;
  color: #0f172a;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 0 10px #00fff7;
  user-select: none;
}
a.px-8.py-4.bg-cyan-500.text-black.font-bold.rounded-lg.shadow-lg.hover\:bg-cyan-400.transition.neon.select-none:hover,
a.inline-block.px-10.py-4.bg-cyan-500.text-black.font-bold.rounded-lg.shadow-lg.hover\:bg-cyan-400.transition.neon.select-none:hover {
  background-color: #0ff;
  box-shadow: 0 0 15px #0ff;
  color: #0f172a;
}
/* Expertise Section background */
#expertise {
  background: linear-gradient(135deg, #111827cc, #1a1f2ccc);
}
/* Profile picture circular neon border */
.profile-pic {
  border-radius: 9999px;
  border: 4px solid #00fff7;
  box-shadow: 0 0 15px #00fff7;
  transition: box-shadow 0.3s ease;
  max-width: 180px;
  max-height: 180px;
  object-fit: cover;
}
.profile-pic:hover {
  box-shadow: 0 0 30px #0ff;
}
/* Timeline styles */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.125rem;
  width: 4px;
  height: 100%;
  background: #00fff7;
  opacity: 0.3;
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  /* push text right so the node dot does not overlap the year digits */
  padding-left: 2.75rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 1.125rem; /* align with the vertical timeline line */
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: #00fff7;
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(0,255,247,0.45);
}
/* Skill icons container */
.skill-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.skill-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 3px #00fff7);
  transition: filter 0.3s ease, color 0.3s;
  cursor: default;
  color: #00fff7;
  font-size: 2.5rem;
}
/* Skill and tool icons should not inherit neon text color */
.skill-icon {
  color: #00fff7; /* neon cyan for glow */
}
.skill-icon span {
  color: #a0f0ff; /* label text color */
}
.skill-icon:hover {
  color: #0ff; /* glow on hover */
  filter: drop-shadow(0 0 8px #0ff);
}
/* Skill meters */
.skill-meter {
  background: rgba(0, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  height: 1rem;
  margin-top: 0.25rem;
  position: relative;
}
.skill-meter > div {
  background: #00fff7;
  height: 100%;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px #00fff7;
}
/* Tooltip */
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #00fff7;
  color: #0f172a;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 0 10px #00fff7;
  z-index: 50;
  opacity: 1;
  pointer-events: auto;
}
[data-tooltip]::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
/* Project card hover overlay */
.project-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: box-shadow 0.3s ease;
}
.project-card:hover { box-shadow: 0 0 30px #00fff7; }
.project-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 1.5rem;
}
.project-card:hover img { transform: scale(1.05); filter: brightness(0.6); }
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #00fff7;
  background: rgba(0, 255, 255, 0.15);
  backdrop-filter: none;
  opacity: 0;
  transition: opacity 0.35s ease 1.5s;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1.5rem;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tech-stack {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  display: flex;
  gap: 0.5rem;
}
.project-tech-stack span {
  background: #00fff7;
  color: #0f172a;
  padding: 0.15rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  box-shadow: 0 0 8px #00fff7;
}
.project-links a {
  color: #00fff7;
  margin-right: 1rem;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.project-links a:hover { color: #0ff; }
/* Contact form styles */
form { max-width: 600px; margin: 0 auto; text-align: left; }
label { display: block; margin-bottom: 0.25rem; font-weight: 600; color: #00fff7; }
input, textarea {
  width: 100%;
  background: #111827;
  border: 1px solid #00fff7;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #0ff;
  box-shadow: 0 0 10px #0ff;
  background: #1a1f2c;
}
button[type="submit"] {
  background-color: #00fff7;
  color: #0f172a;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 15px #00fff7;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
}
button[type="submit"]:hover {
  background-color: #0ff;
  box-shadow: 0 0 25px #0ff;
}
/* Social icons & others */
.social-icons { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1rem; margin-bottom: 2rem; }
.social-icons a { color: #00fff7; transition: color 0.3s, filter 0.3s; font-size: 1.75rem; filter: drop-shadow(0 0 3px #00fff7); display: flex; align-items: center; justify-content: center; }
.social-icons a:hover { color: #0ff; filter: drop-shadow(0 0 8px #0ff); }
.download-cv { display: inline-block; margin-top: 1rem; background-color: #00fff7; color: #0f172a; font-family: 'Roboto Mono', monospace; font-weight: 700; font-size: 1rem; padding: 0.5rem 1.5rem; border-radius: 0.75rem; box-shadow: 0 0 12px #00fff7; transition: background-color 0.3s ease, box-shadow 0.3s ease; user-select: none; text-decoration: none; }
.download-cv:hover { background-color: #0ff; box-shadow: 0 0 20px #0ff; }
/* Achievements badges */
.achievement-badges { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.achievement-badge { background: #111827; border: 1px solid #00fff7; border-radius: 0.75rem; padding: 0.5rem 1rem; font-weight: 600; color: #00fff7; box-shadow: 0 0 10px #00fff7; user-select: none; display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
/* Testimonials */
#testimonials { background: #111827cc; padding: 3rem 1.5rem; border-radius: 1.5rem; max-width: 900px; margin: 0 auto 4rem auto; }
.testimonial-item { background: rgba(0, 255, 255, 0.1); border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 0 15px #00fff7; color: #a0f0ff; font-style: italic; position: relative; }
.testimonial-author { margin-top: 0.75rem; font-weight: 700; text-align: right; font-family: 'Roboto Mono', monospace; color: #00fff7; }
/* Dark/light mode toggle */
#darkModeToggle { position: fixed; bottom: 1.5rem; right: 1.5rem; background: rgba(0, 255, 255, 0.15); border: 2px solid #00fff7; border-radius: 9999px; padding: 0.5rem; cursor: pointer; transition: background-color 0.3s ease, border-color 0.3s ease; z-index: 100; user-select: none; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; }
#darkModeToggle:hover { background: rgba(0, 255, 255, 0.3); border-color: #0ff; }
#darkModeToggle svg { stroke: #00fff7; width: 1.5rem; height: 1.5rem; transition: stroke 0.3s ease; }
/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid #00fff7; border-radius: 12px; box-shadow: 0 0 8px #00fff7; opacity: 0.8; animation: scrollIndicator 2s infinite; display: flex; justify-content: center; align-items: flex-start; padding-top: 6px; user-select: none; cursor: default; z-index: 10; }
.scroll-indicator-dot { width: 6px; height: 6px; background: #00fff7; border-radius: 9999px; box-shadow: 0 0 8px #00fff7; animation: scrollIndicator 2s infinite; }
/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .project-card img { height: 12rem; }
}
/* Scroll indicator keyframes */
@keyframes scrollIndicator {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}
/* Hacker/Linux-themed CSS enhancements */
/* Hero glitch animation */
.hero-title.glitch {
  position: relative;
  color: #00fff7;
  animation: glitch 1s infinite;
}
@keyframes glitch {
  0% { transform: translate(0); opacity:1; }
  20% { transform: translate(-2px,2px); opacity:0.9; }
  40% { transform: translate(2px,-2px); opacity:0.8; }
  60% { transform: translate(-1px,1px); opacity:0.9; }
  80% { transform: translate(1px,-1px); opacity:1; }
  100% { transform: translate(0); opacity:1; }
}
/* Terminal-style floating logs overlay */
#terminalLogs {
  position: absolute;
  top: 20%;
  left: 5%;
  font-family: 'Roboto Mono', monospace;
  color: #0f0;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre;
  pointer-events: none;
  z-index: 5;
  opacity: 0.8;
}
/* Terminal-style contact form inputs and buttons */
.terminal-input {
  background-color: rgba(17,24,39,0.85);
  border: 1px solid #0ff;
  color: #0ff;
  font-family: 'Roboto Mono', monospace;
}
.neon-button-terminal {
  background: none;
  color: #0ff;
  border: 1px solid #0ff;
  box-shadow: 0 0 10px #0ff;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.neon-button-terminal:hover {
  box-shadow: 0 0 20px #0ff;
  color: #0f172a;
  background-color: #0ff;
}
/* ---- End style.css ---- */


/* ===================== */
/* Hero Section Enhancements */
/* ===================== */

/* Typewriter blinking cursor effect */
.typewriter-text {
  display: inline-block;
  border-right: 3px solid #00fff7;
  padding-right: 0.15em;
  animation: blink-cursor 0.9s steps(1) infinite;
  font-family: 'Roboto Mono', monospace;
}
@keyframes blink-cursor {
  0%, 100% { border-color: #00fff7; }
  50% { border-color: transparent; }
}

/* Cyber code lines overlay (matrix/cyber effect) */
.cyber-code-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: lighten;
}
.cyber-code-lines span {
  position: absolute;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.2rem;
  color: #00fff7;
  opacity: 0.13;
  white-space: pre;
  user-select: none;
  animation: cyber-code-fall 3.5s linear infinite;
}
@keyframes cyber-code-fall {
  0% { transform: translateY(-120%); opacity: 0.13; }
  80% { opacity: 0.18; }
  100% { transform: translateY(120vh); opacity: 0; }
}

/* Neon pulse glow for hero title */
.hero-title.neon-pulse {
  animation: neonPulse 1.7s infinite alternate;
  text-shadow:
    0 0 10px #00fff7,
    0 0 20px #00fff7,
    0 0 40px #00fff7;
}
@keyframes neonPulse {
0% { text-shadow: 0 0 8px rgba(0,255,247,0.25), 0 0 18px rgba(0,255,247,0.16), 0 0 32px rgba(0,255,247,0.12); }
100% { text-shadow: 0 0 14px rgba(0,255,247,0.28), 0 0 28px rgba(0,255,247,0.18), 0 0 52px rgba(0,255,247,0.14); }
}

/* Particle hover glow effect (for hero section particles) */
#particleCanvas.particle-glow-hover {
  box-shadow: 0 0 40px 10px #00fff7, 0 0 80px 25px #0ff;
  transition: box-shadow 0.25s;
}


/* ===================== */
/* Hero Section Advanced Enhancements */
/* ===================== */

/* Neon gradient animated background */
.hero-bg.gradient-animate {
  background: linear-gradient(135deg, #0f172a, #1a1f2c, #0f172a, #1a1f2c);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Horizontal scan bars overlay */
.hero-scan-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 255, 255, 0.08);
  animation: scanMove 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-scan-bar:nth-child(2) { animation-delay: 1s; opacity: 0.05; }
.hero-scan-bar:nth-child(3) { animation-delay: 2s; opacity: 0.06; }

@keyframes scanMove {
  0% { transform: translateY(-10px); }
  100% { transform: translateY(110%); }
}

/* Dynamic flicker for subtitle */
.hero-subtitle.flicker {
  animation: flickerText 2.5s infinite;
}
@keyframes flickerText {
  0%, 19%, 21%, 50%, 60%, 100% { opacity: 1; }
  20%, 22%, 55%, 59% { opacity: 0.4; }
}

/* Hero click effect placeholder */
.hero-bg.click-flash {
  position: relative;
}
.hero-bg.click-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 255, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.hero-bg.click-flash.active::after {
  opacity: 0.2;
  transition: opacity 0.2s ease-out;
}
/* ===================== */
/* Projects & Skills Enhancements */
/* ===================== */

/* Skill bars container */
.skills-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Individual skill */
.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Skill label */
.skill-item label {
  font-weight: 700;
  color: #00fff7;
  font-family: 'Roboto Mono', monospace;
}

/* Skill meter background */
.skill-meter {
  width: 100%;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  height: 1rem;
  position: relative;
}

/* Skill meter fill */
.skill-meter > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00fff7, #0ff);
  box-shadow: 0 0 8px #0ff;
  border-radius: 9999px;
  transition: width 1s ease-in-out;
}

/* Project card terminal overlay */
.project-card-overlay-terminal {
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 255, 0.15);
  backdrop-filter: none;
  color: #00fff7;
  font-family: 'Roboto Mono', monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
  border-radius: 1.5rem;
  pointer-events: none;
  z-index: 10;
}
.project-card:hover .project-card-overlay-terminal {
  animation: terminalReveal 1.8s ease forwards;
}
@keyframes terminalReveal {
  0%   { opacity: 1; backdrop-filter: blur(10px); }
  85%  { opacity: 1; backdrop-filter: blur(10px); }
  100% { opacity: 0; backdrop-filter: none; }
}
/* Terminal text lines inside project overlay */
.project-card-overlay-terminal span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .neon {
    text-shadow:
      0 0 2px rgba(0,255,247,0.2),
      0 0 6px rgba(0,255,247,0.12);
  }
  #codeCanvas { opacity: 0.12; }
  .project-card-overlay-terminal { background: rgba(0,255,255,0.08); }
}
/* === Calm Neon Overrides (drop-in) === */

/* Softer card hover */
.glass-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 18px rgba(0,255,255,0.38);
}

/* Profile image glow */
.profile-pic { box-shadow: 0 0 10px rgba(0,255,247,0.35); }
.profile-pic:hover { box-shadow: 0 0 18px rgba(0,255,255,0.45); }

/* Project cards */
.project-card { box-shadow: 0 0 10px rgba(0,255,255,0.22); }
.project-card:hover { box-shadow: 0 0 18px rgba(0,255,247,0.38); }

/* Overlay intensity slightly calmer */
.project-overlay { background: rgba(0,255,255,0.10); }

/* Tooltips */
[data-tooltip]::after {
  box-shadow: 0 0 8px rgba(0,255,247,0.35);
  background: #00fff7;
}

/* Form focus + submit */
input:focus, textarea:focus {
  box-shadow: 0 0 8px rgba(0,255,255,0.55);
}
button[type="submit"] {
  box-shadow: 0 0 12px rgba(0,255,247,0.45);
}
button[type="submit"]:hover {
  box-shadow: 0 0 18px rgba(0,255,255,0.52);
}

/* Social icons */
.social-icons a { filter: drop-shadow(0 0 2px rgba(0,255,247,0.35)); }
.social-icons a:hover { filter: drop-shadow(0 0 6px rgba(0,255,255,0.45)); }

/* Achievement badge + testimonials */
.achievement-badge { box-shadow: 0 0 8px rgba(0,255,247,0.35); }
.testimonial-item { box-shadow: 0 0 12px rgba(0,255,247,0.28); }

/* Scroll indicator */
.scroll-indicator { box-shadow: 0 0 6px rgba(0,255,247,0.35); }
.scroll-indicator-dot { box-shadow: 0 0 6px rgba(0,255,247,0.35); }

/* Timeline line & node */
/* .timeline::before { opacity: 0.22; } */
/* .timeline-item::before { box-shadow: 0 0 8px rgba(0,255,247,0.35); } */

/* Gradient overlay behind hero text */
#gradientOverlay {
  background: radial-gradient(circle at center, rgba(0,255,255,0.10), transparent 70%);
}

/* Skill meter (unify to subtle gradient) */
.skill-meter > div {
  background: linear-gradient(90deg, #00fff7, #0ff);
  box-shadow: 0 0 6px rgba(0,255,247,0.35);
}

/* Neon boost preset (stronger but still tasteful) */
.neon-boost {
  text-shadow:
    0 0 6px rgba(0,255,247,0.45),
    0 0 14px rgba(0,255,247,0.28),
    0 0 28px rgba(0,255,247,0.18);
}


/* 2) Timeline year spacing & numeric consistency */
.timeline h4.neon,
.timeline h3,
.timeline strong {
  letter-spacing: 0;
  word-spacing: 0;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* 3) Optional neon boosts (safe, tasteful). Increase alphas if you want more glow. */
#about h2,
#projects h2 {
  text-shadow:
    0 0 6px rgba(0,255,247,0.45),
    0 0 14px rgba(0,255,247,0.28),
    0 0 28px rgba(0,255,247,0.18);
}

/* If you want stronger button glow on hover, un-comment below */

button[type="submit"]:hover,
a.px-8.py-4.bg-cyan-500.text-black.font-bold.rounded-lg.shadow-lg.hover\:bg-cyan-400.transition.neon.select-none:hover,
a.inline-block.px-10.py-4.bg-cyan-500.text-black.font-bold.rounded-lg.shadow-lg.hover\:bg-cyan-400.transition.neon.select-none:hover {
  box-shadow:
    0 0 18px rgba(0,255,255,0.55),
    0 0 36px rgba(0,255,255,0.25);
}

/* ============================= */
/* Terminal typing / scan effect */
/* ============================= */

/* Lines inside the terminal overlay */
.project-card-overlay-terminal span {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(0,255,247,0.7);
  width: 0;
  opacity: 0;
  animation: terminalTyping 1.6s steps(50, end) forwards;
}

/* Typing animation */
@keyframes terminalTyping {
  0% {
    width: 0;
    opacity: 1;
  }
  90% {
    width: 100%;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
    border-right: none;
  }
}

/* Sequential delay for multiple lines */
.project-card-overlay-terminal span:nth-child(1) { animation-delay: 0.1s; }
.project-card-overlay-terminal span:nth-child(2) { animation-delay: 0.4s; }
.project-card-overlay-terminal span:nth-child(3) { animation-delay: 0.7s; }
.project-card-overlay-terminal span:nth-child(4) { animation-delay: 1s; }
.project-card-overlay-terminal span:nth-child(5) { animation-delay: 1.3s; }

/* Soft edge fade on scrolling marquee */
.marquee-fade {
  /* Works in all modern browsers */
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

/* Pause animation on hover/focus for readability */
.marquee:hover,
.marquee:focus-visible {
  animation-play-state: paused;
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none !important;
  }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Keep all main content above the canvases */
main, footer {
  position: relative;
  z-index: 2;
}

/* Optional: give the footer a subtle glass background so it reads clearly */
footer {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
}

/* Ensure top-level sections render above background canvases */
body > section {
  position: relative;
  z-index: 2;
}