/* ============================================================
   Devam Shah — Portfolio  |  style.css
   Dark glassmorphism theme · responsive · canvas-ready
   ============================================================ */

/* ── Variables ──────────────────────────────────────── */
:root {
  --bg:          #040e08;        /* deep pond dark        */
  --bg-2:        #071a0e;        /* forest shadow         */
  --accent:      #00dc8a;        /* bioluminescent teal   */
  --accent-2:    #2d6a4f;        /* deep forest green     */
  --accent-3:    #f4a835;        /* amber / golden hour   */
  --text:        #dff0e8;        /* soft nature white     */
  --text-muted:  #7a9e87;        /* sage green            */
  --glass-bg:    rgba(0,45,22,0.10);
  --glass-bd:    rgba(0,150,75,0.14);
  --glass-hover: rgba(0,65,32,0.18);
  --radius:      16px;
  --radius-sm:    8px;
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h:       68px;
  --font:        'Inter', system-ui, sans-serif;
  --mono:        'JetBrains Mono', monospace;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Canvas background ──────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* All content above the canvas */
header, main, footer { position: relative; z-index: 1; }

/* ── Shared utilities ───────────────────────────────── */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

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

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.glass-card:hover {
  transform: translateY(-4px);
  background: var(--glass-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}

.section {
  padding-block: clamp(4rem, 10vw, 7rem);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,220,138,0.10);
  border: 1px solid rgba(0,220,138,0.22);
  color: var(--accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.badge-green  { background: rgba(6,214,160,0.15); color: var(--accent-3); border: 1px solid rgba(6,214,160,0.3); }
.badge-blue   { background: rgba(0,220,138,0.13); color: var(--accent);   border: 1px solid rgba(0,220,138,0.28); }
.badge-yellow { background: rgba(251,191,36,0.12); color: #fbbf24;         border: 1px solid rgba(251,191,36,0.28); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,220,138,0.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0,220,138,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--glass-bd);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(4,14,8,0.78);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--glass-bd);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(4,14,8,0.95);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--mono);
  color: var(--text);
}
nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Theme Toggle ───────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-bd);
  background: var(--glass-bg);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  line-height: 1;
}
.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--glass-hover);
  transform: scale(1.12);
}
.theme-toggle .toggle-icon {
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: block;
}
.theme-toggle.spinning .toggle-icon {
  transform: rotate(360deg);
}

/* ── Hero ───────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  max-width: 900px;
  margin-inline: auto;
}
.hero-content { display: flex; flex-direction: column; gap: 1rem; }

.hero-greeting {
  font-size: 1rem;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.hero-name {
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  min-height: 2.2em;
  font-family: var(--mono);
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}
.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.9s forwards;
}
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s 1.2s forwards;
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Academics ──────────────────────────────────────── */
.edu-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.edu-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.edu-icon { font-size: 2.5rem; flex-shrink: 0; }
.edu-header h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.edu-institute { color: var(--text-muted); font-size: 0.875rem; }
.edu-body { display: flex; flex-direction: column; gap: 1.5rem; }
.edu-stage {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}
.edu-stage.completed { border-color: var(--accent-3);  background: rgba(6,214,160,0.05); }
.edu-stage.current   { border-color: var(--accent);    background: rgba(0,220,138,0.05); }
.edu-stage h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.6rem; }
.edu-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.3rem; }

/* ── Projects ───────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}
.project-card { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.project-icon { font-size: 2rem; }
.project-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.project-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  padding: 3px 10px;
  border: 1px solid rgba(0,220,138,0.3);
  border-radius: 999px;
  transition: all var(--transition);
}
.project-links a:hover {
  background: rgba(0,220,138,0.12);
}
.project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.project-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.github-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.github-cta p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Interests ──────────────────────────────────────── */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}
.interest-card {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.interest-icon { font-size: 2.5rem; }
.interest-card h3 { font-size: 1rem; font-weight: 700; }
.interest-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Certifications ─────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}
.cert-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 3px solid transparent;
}
.completed-cert { border-top-color: var(--accent-3); }
.ongoing-cert   { border-top-color: var(--accent-2); }
.cert-status { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.cert-card h3 { font-size: 0.97rem; font-weight: 700; line-height: 1.4; }
.cert-provider { font-size: 0.82rem; color: var(--text-muted); }
/* push tag-list to fill available space so credential link is always at bottom */
.cert-card .tag-list { margin-top: auto; }
.cert-credential-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-3);
  padding: 3px 11px;
  border: 1px solid rgba(6,214,160,0.3);
  border-radius: 999px;
  transition: all var(--transition);
}
.cert-credential-link:hover {
  background: rgba(6,214,160,0.12);
}

/* ── Contact ────────────────────────────────────────── */
.contact-intro {
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 1.25rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}
.contact-card:hover .contact-value { color: var(--accent); }
.contact-icon { font-size: 1.75rem; flex-shrink: 0; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }
.contact-value { font-size: 0.875rem; font-weight: 600; transition: color var(--transition); word-break: break-all; }

/* ── Footer ─────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--glass-bd);
}

/* ── Scroll-reveal animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleX(1); }
  50%      { opacity: 1;   transform: scaleX(1.15); }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  #navbar nav {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(4,14,8,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-bd);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  #navbar nav.open {
    max-height: 400px;
    padding-block: 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  nav ul li a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }
  nav ul li a::after { display: none; }

  .edu-header { flex-direction: column; }
  .edu-stage { padding: 1rem; }

  .github-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-name { letter-spacing: -0.03em; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── Experience ─────────────────────────────────────── */
.exp-org {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.exp-org-header {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-bd);
}
.exp-org-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.exp-org-name {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.exp-org-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.exp-linkedin-link {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(0,220,138,0.3);
  padding: 3px 10px;
  border-radius: 999px;
  transition: all var(--transition);
  display: inline-block;
}
.exp-linkedin-link:hover {
  background: rgba(0,220,138,0.12);
}

.exp-role {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--glass-bd);
}
.exp-role:last-child { border-bottom: none; padding-bottom: 0; }

.exp-role-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0,220,138,0.6);
  margin-top: 5px;
  position: relative;
}
.exp-role-dot::after {
  content: '';
  position: absolute;
  top: 12px; left: 5px;
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(to bottom, rgba(0,220,138,0.3), transparent);
}
.exp-role:last-child .exp-role-dot::after { display: none; }

.exp-role-body { flex: 1; }
.exp-role-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}
.exp-role-top h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.exp-course-code {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
  font-family: var(--mono);
}
.exp-duration { margin-left: auto; white-space: nowrap; }
.exp-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.exp-desc strong { color: var(--text); font-weight: 600; }

@media (max-width: 600px) {
  .exp-org-header { flex-direction: column; }
  .exp-role-top { flex-direction: column; }
  .exp-duration { margin-left: 0; }
}

/* ── Leisure ────────────────────────────────────────── */
.leisure-intro {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.leisure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.leisure-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.leisure-banner {
  height: 145px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Cycling — dawn road through a forest */
.leisure-cycling {
  background:
    radial-gradient(ellipse at 30% 55%, rgba(120,220,80,0.13) 0%, transparent 55%),
    linear-gradient(180deg,
      #0c1a08 0%,
      #1a3a10 38%,
      #2d5a1a 62%,
      #172e0e 82%,
      #0a1808 100%
    );
}
.leisure-cycling::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 38%;
  background: linear-gradient(0deg, rgba(40,80,20,0.45), transparent);
}
.leisure-cycling::after {
  content: '';
  position: absolute;
  top: 22%; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(180,255,100,0.15), transparent);
}
/* Travel — misty mountains at dusk */
.leisure-travel {
  background:
    radial-gradient(ellipse at 70% 28%, rgba(0,200,140,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 25% 100%, rgba(10,50,30,0.55) 0%, transparent 38%),
    radial-gradient(ellipse at 68% 100%, rgba(10,40,28,0.45) 0%, transparent 32%),
    linear-gradient(160deg,
      #04100d 0%,
      #082518 38%,
      #0e3a28 62%,
      #05160e 100%
    );
}
.leisure-travel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 35%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,180,100,0.07), transparent 70%);
}
/* Adventure — pre-dawn summit */
.leisure-adventure {
  background:
    radial-gradient(ellipse at 50% 85%, rgba(244,168,53,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 78% 18%, rgba(0,180,100,0.08) 0%, transparent 48%),
    linear-gradient(148deg,
      #0c0d04 0%,
      #1a2a0d 42%,
      #2a3f12 65%,
      #0a1208 100%
    );
}
.leisure-adventure::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(0deg, rgba(20,40,10,0.5), transparent);
}
.leisure-adventure::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 28%;
  background: radial-gradient(ellipse at 48% 0%, rgba(244,168,53,0.09), transparent 70%);
}
.leisure-banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 28%, rgba(4,14,8,0.38) 100%);
}
.leisure-banner-emoji {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.65));
}
.leisure-body {
  padding: 1.4rem 1.6rem 1.7rem;
  flex: 1;
}
.leisure-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.leisure-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Custom scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--glass-bd); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Selection ──────────────────────────────────────── */
::selection { background: rgba(0,220,138,0.28); color: #fff; }

/* ============================================================
   Tech Theme  |  [data-theme="tech"] — cyan / electric blue
   Inspired by minimal academic clarity + cyberpunk edge
   ============================================================ */
[data-theme="tech"] {
  --bg:          #030812;
  --bg-2:        #050f1e;
  --accent:      #00d4ff;        /* electric cyan         */
  --accent-2:    #1a3a6e;        /* deep ocean blue       */
  --accent-3:    #a78bfa;        /* soft violet           */
  --text:        #c8d8f0;        /* cool light            */
  --text-muted:  #5a7a9e;        /* slate blue            */
  --glass-bg:    rgba(0,80,160,0.08);
  --glass-bd:    rgba(0,200,255,0.14);
  --glass-hover: rgba(0,60,130,0.17);
}

/* Body background */
[data-theme="tech"] body {
  background: var(--bg);
}

/* Section titles → monospace, terminal feel */
[data-theme="tech"] .section-title {
  font-family: var(--mono);
  letter-spacing: -0.01em;
}
[data-theme="tech"] .section-title .accent::before {
  content: '> ';
  font-size: 0.6em;
  opacity: 0.55;
  vertical-align: middle;
}

/* Hero gradient */
[data-theme="tech"] .hero-name {
  background: linear-gradient(135deg, #e8f4ff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="tech"] .hero-greeting { color: var(--accent); }
[data-theme="tech"] .cursor       { color: var(--accent); }
[data-theme="tech"] .scroll-line  { background: linear-gradient(90deg, var(--accent), transparent); }

/* Buttons */
[data-theme="tech"] .btn-primary {
  background: linear-gradient(135deg, var(--accent), #005fa3);
  box-shadow: 0 4px 20px rgba(0,200,255,0.25);
}
[data-theme="tech"] .btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0,200,255,0.5);
}
[data-theme="tech"] .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Navbar */
[data-theme="tech"] #navbar {
  background: rgba(3,8,18,0.82);
  border-bottom-color: var(--glass-bd);
}
[data-theme="tech"] #navbar.scrolled {
  background: rgba(3,8,18,0.97);
}
@media (max-width: 768px) {
  [data-theme="tech"] #navbar nav {
    background: rgba(3,8,18,0.98);
  }
}

/* Glass cards */
[data-theme="tech"] .glass-card {
  border-color: var(--glass-bd);
}

/* Tags */
[data-theme="tech"] .tag {
  background: rgba(0,200,255,0.09);
  border-color: rgba(0,200,255,0.22);
  color: var(--accent);
}

/* Badges */
[data-theme="tech"] .badge-green  { background: rgba(167,139,250,0.15); color: var(--accent-3); border-color: rgba(167,139,250,0.3); }
[data-theme="tech"] .badge-blue   { background: rgba(0,200,255,0.12);   color: var(--accent);   border-color: rgba(0,200,255,0.28); }
[data-theme="tech"] .badge-yellow { background: rgba(167,139,250,0.12); color: var(--accent-3); border-color: rgba(167,139,250,0.28); }

/* Edu stages */
[data-theme="tech"] .edu-stage.completed { border-color: var(--accent-3); background: rgba(100,60,220,0.05); }
[data-theme="tech"] .edu-stage.current   { border-color: var(--accent);   background: rgba(0,160,230,0.05); }

/* Experience role dot */
[data-theme="tech"] .exp-role-dot {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0,200,255,0.7);
}
[data-theme="tech"] .exp-role-dot::after {
  background: linear-gradient(to bottom, rgba(0,200,255,0.3), transparent);
}

/* Cert cards */
[data-theme="tech"] .completed-cert { border-top-color: var(--accent-3); }
[data-theme="tech"] .ongoing-cert   { border-top-color: var(--accent-2); }
[data-theme="tech"] .cert-credential-link {
  color: var(--accent);
  border-color: rgba(0,200,255,0.3);
}
[data-theme="tech"] .cert-credential-link:hover {
  background: rgba(0,200,255,0.12);
}

/* Project & github links */
[data-theme="tech"] .project-links a {
  color: var(--accent);
  border-color: rgba(0,200,255,0.3);
}
[data-theme="tech"] .project-links a:hover {
  background: rgba(0,200,255,0.12);
}

/* Experience org links */
[data-theme="tech"] .exp-linkedin-link {
  color: var(--accent);
  border-color: rgba(0,200,255,0.3);
}
[data-theme="tech"] .exp-linkedin-link:hover {
  background: rgba(0,200,255,0.12);
}

/* Scrollbar */
[data-theme="tech"] ::-webkit-scrollbar-thumb { background: rgba(0,200,255,0.2); }
[data-theme="tech"] ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Selection */
[data-theme="tech"] ::selection { background: rgba(0,200,255,0.28); color: #fff; }

/* Nav logo accent */
[data-theme="tech"] .nav-logo .accent { color: var(--accent); }

/* Footer border */
[data-theme="tech"] footer { border-top-color: var(--glass-bd); }

/* Leisure banners — muted in tech mode */
[data-theme="tech"] .leisure-cycling,
[data-theme="tech"] .leisure-travel,
[data-theme="tech"] .leisure-adventure {
  background: linear-gradient(160deg, #04091a 0%, #081428 45%, #0d1f3a 70%, #030810 100%);
}
