/* ══════════════════════════════════════════════════
   TARUN BABU MARRIBOYINA — PORTFOLIO CSS
   Premium Dark Portfolio · HTML/CSS/JS
   ══════════════════════════════════════════════════ */

/* ── ROOT VARIABLES ── */
:root {
  --bg:        #030712;
  --bg2:       #0a0f1e;
  --bg3:       #0d1224;

  --indigo:    #6366f1;
  --indigo-lt: #818cf8;
  --violet:    #8b5cf6;
  --blue:      #60a5fa;
  --cyan:      #22d3ee;
  --emerald:   #10b981;
  --amber:     #f59e0b;
  --orange:    #f97316;

  --txt:    #f9fafb;
  --txt2:   #94a3b8;
  --txt3:   #64748b;

  --glass-bg:     rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.07);
  --glass-dark:   rgba(8,12,28,0.88);

  --font:  'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.4,0,0.2,1);
  --tr: 0.3s var(--ease);
  --tr-slow: 0.6s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width:100%; display:block; }
a   { text-decoration:none; color:inherit; }
ul  { list-style:none; }
button { cursor:pointer; border:none; background:none; font:inherit; }

/* Scrollbar */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--indigo), var(--violet));
  border-radius:3px;
}
::selection { background:rgba(99,102,241,.3); color:#fff; }

/* ── UTILITY ── */
.container   { max-width:1240px; margin:0 auto; padding:0 2rem; }
.fw-700      { font-weight:700; }
.fw-600      { font-weight:600; }
.fw-300      { font-weight:300; }
.fs-xs       { font-size:.75rem; }
.fs-sm       { font-size:.875rem; }
.fs-lg       { font-size:1.25rem; }
.font-mono   { font-family:var(--mono); }
.clr-indigo  { color:var(--indigo); }
.clr-emerald { color:var(--emerald); }
.clr-amber   { color:var(--amber); }
.clr-secondary { color:var(--txt2); }
.clr-muted   { color:var(--txt3); }

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.grad-text {
  background: linear-gradient(135deg, var(--indigo) 0%, #a78bfa 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  box-shadow: 0 0 30px rgba(99,102,241,.5), 0 8px 32px rgba(99,102,241,.25);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(99,102,241,.4);
  color: var(--txt2);
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(99,102,241,.1);
  border-color: rgba(99,102,241,.8);
  box-shadow: 0 0 20px rgba(99,102,241,.2);
  transform: translateY(-2px);
}
.btn-sm { padding:.45rem 1.1rem; font-size:.78rem; }
.link-hover { transition:color .25s; }
.link-hover:hover { color:var(--indigo-lt); }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-left {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-left { transform: translateX(36px); }
.reveal.in, .reveal-left.in { opacity:1; transform:none; }

/* ── DECORATIVE ORBS ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 { width:520px;height:520px; background:rgba(99,102,241,.12);  left:-5%;  top:10%; animation:floatOrb 13s ease-in-out infinite; }
.orb-2 { width:380px;height:380px; background:rgba(139,92,246,.09);  right:-5%; top:5%;  animation:floatOrb 16s ease-in-out infinite reverse; }
.orb-3 { width:440px;height:440px; background:rgba(96,165,250,.07);  right:10%; bottom:10%; animation:floatOrb 11s ease-in-out infinite 2s; }
.orb-4 { width:320px;height:320px; background:rgba(167,139,250,.06); left:5%;   bottom:15%; animation:floatOrb 18s ease-in-out infinite 1s; }
.orb-center { width:700px;height:700px; background:radial-gradient(circle,rgba(99,102,241,.07) 0%,transparent 70%); top:50%;left:50%;transform:translate(-50%,-50%); }
.orb-right  { width:550px;height:550px; background:radial-gradient(circle,rgba(139,92,246,.07) 0%,transparent 70%); top:50%;right:0;transform:translateY(-50%); }
.orb-bottom { width:800px;height:300px; background:radial-gradient(ellipse,rgba(99,102,241,.1) 0%,transparent 70%); bottom:0;left:50%;transform:translateX(-50%); }

@keyframes floatOrb {
  0%,100% { transform:translate(0,0) scale(1); }
  50%      { transform:translate(0,-18px) scale(1.04); }
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  transition: background var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.navbar.scrolled {
  background: var(--glass-dark);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display:flex; align-items:center; gap:.6rem; transition:var(--tr); }
.nav-logo:hover { transform:scale(1.02); }

.logo-icon {
  width:36px; height:36px;
  border-radius:12px;
  background: linear-gradient(135deg,var(--indigo),var(--violet));
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
  flex-shrink:0;
}
.logo-text { font-weight:700; font-size:1.05rem; color:#fff; }
.logo-muted { color:var(--txt3); font-weight:300; font-size:.9rem; margin-left:1px; }

.nav-links { display:flex; align-items:center; gap:.15rem; }
.nav-link {
  padding:.45rem .85rem;
  border-radius:10px;
  font-size:.85rem;
  font-weight:500;
  color:var(--txt2);
  transition:var(--tr);
}
.nav-link:hover, .nav-link.active {
  color:#fff;
  background:rgba(255,255,255,.08);
}

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

.hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  padding:8px;
  border-radius:10px;
  transition:var(--tr);
}
.hamburger:hover { background:rgba(255,255,255,.08); }
.hamburger span {
  display:block; width:22px; height:2px;
  background:var(--txt2); border-radius:2px;
  transition:var(--tr);
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display:none;
  border-top:1px solid rgba(255,255,255,.05);
  background:var(--glass-dark);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.mobile-menu.open { display:block; }
.mobile-nav {
  padding:1rem 0;
  display:flex; flex-direction:column; gap:.2rem;
}
.mobile-link {
  display:block;
  padding:.85rem 1rem;
  border-radius:12px;
  font-size:.9rem; font-weight:500;
  color:var(--txt2);
  transition:var(--tr);
}
.mobile-link:hover { color:#fff; background:rgba(255,255,255,.06); }

/* ══════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════ */
.section { padding:6rem 0; position:relative; overflow:hidden; }
.section-alt { background:linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%); }

.sec-head { text-align:center; margin-bottom:4rem; }
.eyebrow {
  font-family:var(--mono);
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--indigo);
  margin-bottom:.75rem;
}
.sec-title {
  font-size: clamp(1.9rem,4.5vw,3.2rem);
  font-weight:800;
  color:#fff;
  line-height:1.15;
}
.sec-desc {
  color:var(--txt2);
  margin-top:1rem;
  max-width:520px;
  margin-left:auto; margin-right:auto;
  font-size:.975rem;
}
.sub-hd { margin-bottom:1.25rem; }
.sub-title { font-size:1.6rem; font-weight:700; color:#fff; }
.info-lbl {
  font-size:.68rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--txt3); font-weight:500; margin-bottom:.65rem;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 88vh;
  display:flex; align-items:center;
  position:relative; overflow:hidden;
  background: linear-gradient(145deg, var(--bg) 0%, #0c0820 35%, #130a2e 65%, var(--bg) 100%);
  padding:0;
}
.hero-grid {
  position:absolute; inset:0; opacity:.025;
  background-image:
    linear-gradient(rgba(99,102,241,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.6) 1px, transparent 1px);
  background-size:60px 60px;
}
.hero-fade {
  position:absolute; bottom:0; left:0; right:0;
  height:8rem;
  background:linear-gradient(to top, var(--bg), transparent);
  pointer-events:none;
}
.hero-wrap {
  display:flex; align-items:center;
  gap:4rem;
  padding:6rem 0 4.5rem;
  width:100%;
}
.hero-left { flex:1; min-width:0; }
.hero-right { flex-shrink:0; }

/* Status pill */
.status-pill {
  display:inline-flex; align-items:center;
  gap:.6rem;
  padding:.55rem 1.2rem;
  border-radius:50px;
  background:var(--glass-bg);
  backdrop-filter:blur(16px);
  border:1px solid rgba(16,185,129,.3);
  margin-bottom:1.75rem;
}
.pulse-dot {
  width:10px; height:10px; border-radius:50%;
  background:var(--emerald);
  position:relative; flex-shrink:0;
}
.pulse-dot::before {
  content:'';
  position:absolute; inset:0; border-radius:50%;
  background:var(--emerald);
  animation:ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ping { 75%,100% { transform:scale(2.2); opacity:0; } }

/* Hello I'm prefix */
.hero-hello {
  font-size: 1rem;
  font-weight: 600;
  color: var(--indigo-lt);
  font-style: italic;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

/* Hero name */
.hero-name {
  font-size: clamp(2.4rem,5.5vw,4.4rem);
  font-weight:900;
  color:#fff;
  line-height:1.1;
  margin-bottom:1rem;
  letter-spacing:-0.01em;
}
/* Role */
.hero-role {
  display:flex; align-items:center; gap:.75rem;
  margin-bottom:1.2rem;
}
.role-bar {
  display:block; width:3rem; height:2px;
  background:linear-gradient(90deg, var(--indigo), transparent);
  flex-shrink:0;
}
/* Tagline */
.hero-tagline {
  color:var(--txt2); font-size:0.975rem; line-height:1.75;
  max-width:480px; margin-bottom:1.5rem;
}
/* Social icons */
.hero-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--txt2);
  transition: var(--tr);
}
.social-btn:hover {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.12);
  color: #fff;
  transform: translateY(-3px);
}
/* CTA */
.hero-cta { display:flex; flex-wrap:wrap; gap:.875rem; }

/* Tech pills */
.tech-row { }
.tech-eyebrow {
  font-family:var(--mono); font-size:.62rem; letter-spacing:.2em;
  color:var(--txt3); text-transform:uppercase;
  font-weight:500; margin-bottom:.7rem;
}
.tech-pills { display:flex; flex-wrap:wrap; gap:.45rem; }
.tech-pill {
  padding:.38rem .85rem;
  border-radius:8px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
  font-family:var(--mono);
  font-size:.78rem; color:var(--txt2);
  transition:var(--tr);
}
.tech-pill:hover {
  border-color:rgba(99,102,241,.4);
  color:var(--txt);
  background:rgba(99,102,241,.08);
}

/* Circular profile photo with glowing ring — reference style */
.photo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}
.photo-wrap:hover { transform: translateY(-6px); }

/* Outer decorative ring */
.photo-ring-outer {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px solid rgba(139,92,246,0.35);
  animation: ringRotate 12s linear infinite;
}
.photo-ring-outer::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  transform: translateX(-50%);
  box-shadow: 0 0 10px 2px rgba(139,92,246,0.8);
}

/* Inner ring */
.photo-ring-inner {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid;
  border-color: transparent;
  background:
    linear-gradient(#0a0618, #0a0618) padding-box,
    linear-gradient(135deg, #6366f1, #8b5cf6, #4f46e5) border-box;
  box-shadow:
    0 0 30px rgba(99,102,241,0.3),
    0 0 60px rgba(99,102,241,0.15),
    inset 0 0 20px rgba(99,102,241,0.05);
  animation: ringGlow 3s ease-in-out infinite;
}
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringGlow {
  0%,100% { box-shadow: 0 0 30px rgba(99,102,241,0.3), 0 0 60px rgba(99,102,241,0.15); }
  50%      { box-shadow: 0 0 45px rgba(139,92,246,0.5), 0 0 80px rgba(99,102,241,0.25); }
}

/* Circular photo */
.photo-circle {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  background: #0c0618;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.6),
    0 10px 30px rgba(0,0,0,0.4);
}
.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Ambient glow below circle */
.photo-glow {
  position: absolute;
  bottom: -40px;
  left: 10%;
  right: 10%;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.55) 0%, rgba(139,92,246,0.25) 50%, transparent 80%);
  filter: blur(24px);
  animation: photoGlowPulse 4s ease-in-out infinite;
}
@keyframes photoGlowPulse {
  0%,100% { opacity:0.6; transform:scaleX(1); }
  50%      { opacity:1;   transform:scaleX(1.12); }
}

/* Keep old .photo-inner hidden in case it's elsewhere */
.photo-ring, .photo-inner { display:none; }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-grid {
  display:grid; grid-template-columns:1fr 1.2fr;
  gap:4rem; align-items:center;
}
.about-left { display:flex; flex-direction:column; align-items:center; gap:1.75rem; }

.about-photo-wrap { position:relative; display:inline-block; }
.about-photo-inner {
  position:relative;
  width:240px; height:240px;
  border-radius:1.25rem; overflow:hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.about-photo-inner img { width:100%; height:100%; object-fit:cover; object-position: top center; }

.stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem; width:100%; max-width:340px; }
.stat-card {
  border-radius:1.2rem; padding:1.1rem .875rem;
  text-align:center; transition:var(--tr);
}
.stat-card:hover { border-color:rgba(99,102,241,.3); }
.stat-val { font-size:1.55rem; font-weight:800; margin-bottom:.25rem; }
.stat-lbl { font-size:.68rem; color:var(--txt3); font-weight:500; line-height:1.3; }

.about-right { display:flex; flex-direction:column; gap:1.1rem; }
.about-para { color:var(--txt2); font-size:.975rem; line-height:1.8; }
.lang-pills { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:.4rem; }
.lang-pill {
  padding:.45rem 1.2rem; border-radius:10px;
  font-size:.875rem; font-weight:500; color:var(--txt);
}

.contact-info-card { border-radius:1.3rem; padding:1.4rem 1.5rem; display:flex; flex-direction:column; gap:.875rem; }
.ci-row { display:flex; align-items:center; gap:.65rem; font-size:.9rem; color:var(--txt2); }

/* ══════════════════════════════════════════
   SKILLS — Icon Card Grid
══════════════════════════════════════════ */
.sk3-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Group container */
.sk3-group {}

/* Group header: colored bar + label + count */
.sk3-group-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sk3-group-bar {
  display: inline-block;
  width: 3px;
  height: 1.2rem;
  border-radius: 3px;
  background: var(--bar);
  flex-shrink: 0;
}
.sk3-group-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  flex: 1;
}
.sk3-group-count {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--txt3);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
}

/* Skill cards grid — wrapping flex */
.sk3-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Individual skill card */
.sk3-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  min-width: 80px;
  flex: 0 0 auto;
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  transition: all 0.22s ease;
  text-align: center;
}
.sk3-card:hover {
  background: color-mix(in srgb, var(--gc) 12%, transparent);
  border-color: color-mix(in srgb, var(--gc) 40%, transparent);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--gc) 20%, transparent);
}

/* Highlighted (primary/core) card */
.sk3-card-hi {
  background: color-mix(in srgb, var(--gc) 8%, transparent);
  border-color: color-mix(in srgb, var(--gc) 25%, transparent);
}
.sk3-card-hi .sk3-en { color: #e0e7ff; }

.sk3-ei {
  font-size: 1.5rem;
  line-height: 1;
  display: block;
}
.sk3-en {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--txt2);
  white-space: nowrap;
}
.sbadge:hover { transform:translateY(-2px) scale(1.04); }
.sbadge-v:hover { background:rgba(139,92,246,.13); border-color:rgba(139,92,246,.35); }
.sbadge-e:hover { background:rgba(16,185,129,.13);  border-color:rgba(16,185,129,.35); }
.sbadge-b:hover { background:rgba(96,165,250,.13);  border-color:rgba(96,165,250,.35); }
.sbadge-o:hover { background:rgba(249,115,22,.13);  border-color:rgba(249,115,22,.35); }

/* ══════════════════════════════════════════
   PROJECTS — numbered list style
══════════════════════════════════════════ */
.pj2-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.pj2-item {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
  cursor: default;
  position: relative;
}
.pj2-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--indigo), var(--violet));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pj2-item:hover::before { opacity: 1; }
.pj2-item:last-child { border-bottom: none; }
.pj2-item:hover { padding-left: 1rem; }

/* Big ghost number */
.pj2-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.05);
  flex-shrink: 0;
  min-width: 60px;
  transition: all 0.25s ease;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.pj2-item:hover .pj2-num {
  color: rgba(99,102,241,0.4);
}

.pj2-body { flex: 1; min-width: 0; padding-top: 0.25rem; }

.pj2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.pj2-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  transition: var(--tr);
}
.pj2-item:hover .pj2-title { color: var(--indigo-lt); }

/* Arrow link button */
.pj2-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--txt3);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--tr);
  text-decoration: none;
}
.pj2-link:hover {
  color: #fff;
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.45);
  transform: translateY(-2px);
}

.pj2-desc {
  color: var(--txt2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.pj2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pj2-tag {
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--txt3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--tr);
}
.pj2-tag:hover {
  color: var(--indigo-lt);
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.07);
}

/* ── Mobile overrides for projects ── */
@media (max-width: 600px) {
  .pj2-list { max-width: 100%; }
  .pj2-item {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem 0;
  }
  .pj2-item:hover { padding-left: 0; }
  .pj2-item::before { display: none; }
  /* Turn number into inline chip */
  .pj2-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--txt3);
    text-transform: uppercase;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    min-width: auto;
    align-self: flex-start;
    line-height: 1.6;
  }
  .pj2-item:hover .pj2-num { color: var(--indigo-lt); }
  .pj2-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .pj2-title { font-size: 1rem; }
  .pj2-link { align-self: flex-start; }
  .pj2-desc { font-size: 0.875rem; }
}

/* ══════════════════════════════════════════
   EXPERIENCE
══════════════════════════════════════════ */
.timeline { position:relative; }
.tl-line {
  position:absolute; left:1.5rem; top:0; bottom:0;
  width:1px;
  background:linear-gradient(to bottom, var(--indigo), var(--violet), transparent);
}
.tl-item { position:relative; padding-left:4rem; padding-bottom:2rem; }
.tl-dot {
  position:absolute; left:.875rem; top:.2rem;
  width:1.25rem; height:1.25rem; border-radius:50%;
  background:linear-gradient(135deg,var(--indigo),var(--violet));
  box-shadow:0 0 16px rgba(99,102,241,.55);
  display:flex; align-items:center; justify-content:center;
  z-index:1;
}
.tl-dot-inner { width:8px; height:8px; border-radius:50%; background:#fff; }
.tl-ping {
  position:absolute; left:.875rem; top:.2rem;
  width:1.25rem; height:1.25rem; border-radius:50%;
  border:1px solid rgba(99,102,241,.45);
  animation:ping 2s cubic-bezier(0,0,.2,1) infinite;
}

.exp-card { border-radius:1.5rem; padding:2rem 2.25rem; transition:var(--tr); }
.exp-card:hover { border-color:rgba(99,102,241,.25); }
.exp-top {
  display:flex; flex-wrap:wrap; align-items:flex-start;
  justify-content:space-between; gap:1rem;
  margin-bottom:1.5rem;
}
.exp-role { font-size:1.2rem; font-weight:700; color:#fff; margin-bottom:.5rem; }
.exp-co { display:flex; align-items:center; gap:.5rem; font-size:.9rem; }
.exp-meta { display:flex; flex-direction:column; align-items:flex-end; gap:.4rem; }
.exp-dur {
  padding:.28rem .95rem; border-radius:50px;
  font-size:.78rem; font-weight:700;
  background:rgba(99,102,241,.15); color:#a5b4fc;
  border:1px solid rgba(99,102,241,.3); white-space:nowrap;
}
.exp-type {
  display:flex; align-items:center; gap:.4rem;
  font-size:.72rem; color:var(--txt3);
}
.exp-list { display:flex; flex-direction:column; gap:.7rem; }
.exp-list li {
  display:flex; align-items:flex-start; gap:.55rem;
  font-size:.9rem; color:var(--txt2); line-height:1.55;
}
.exp-list li svg { flex-shrink:0; margin-top:3px; }

/* ══════════════════════════════════════════
   EDUCATION
══════════════════════════════════════════ */
.edu-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; }

.edu-tl { position:relative; }
.edu-line {
  position:absolute; left:1.2rem; top:0; bottom:0;
  width:1px;
  background:linear-gradient(to bottom, var(--indigo), transparent);
}
.edu-item { position:relative; padding-left:3.75rem; margin-bottom:1.1rem; }
.edu-dot {
  position:absolute; left:.3rem; top:.8rem;
  width:1.7rem; height:1.7rem; border-radius:50%;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(99,102,241,.3);
  display:flex; align-items:center; justify-content:center;
  font-size:.8rem; z-index:1;
}
.edu-card {
  border-radius:1.3rem; padding:1.4rem 1.6rem;
  transition:var(--tr);
}
.edu-card:hover { border-color:rgba(99,102,241,.25); }
.edu-card-top {
  display:flex; flex-wrap:wrap; align-items:flex-start;
  justify-content:space-between; gap:.6rem;
  margin-bottom:.4rem;
}
.edu-deg { font-size:.975rem; font-weight:700; color:#fff; line-height:1.4; flex:1; }
.edu-score {
  font-size:.72rem; font-weight:700;
  color:var(--emerald); background:rgba(16,185,129,.1);
  border:1px solid rgba(16,185,129,.25);
  padding:.22rem .7rem; border-radius:50px; flex-shrink:0;
}
.edu-inst { color:var(--indigo-lt); font-size:.85rem; font-weight:700; margin-bottom:.2rem; }
.edu-yr { color:var(--txt3); font-size:.72rem; font-family:var(--mono); }

.cert-list { display:flex; flex-direction:column; gap:.55rem; }
.cert-row {
  display:flex; align-items:center; gap:.95rem;
  padding:.875rem 1.15rem;
  border-radius:1rem; transition:var(--tr);
}
.cert-row:hover { border-color:rgba(99,102,241,.25); transform:scale(1.01); }
.cert-row-amber:hover { border-color:rgba(245,158,11,.25); }
.cert-ico {
  width:2.6rem; height:2.6rem; flex-shrink:0;
  border-radius:.875rem;
  background:linear-gradient(135deg,rgba(99,102,241,.2),rgba(139,92,246,.15));
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
}
.cert-ico-amber { background:linear-gradient(135deg,rgba(245,158,11,.2),rgba(251,146,60,.15)); }
.cert-info { flex:1; min-width:0; }
.cert-nm {
  font-size:.875rem; font-weight:700; color:#fff;
  line-height: 1.35;
}
.cert-by { font-size:.72rem; color:var(--txt3); margin-top:.3rem; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-stack {
  display:flex; flex-direction:column; gap:.875rem;
  max-width:560px; margin:0 auto;
}
.contact-card {
  display:flex; align-items:center; gap:1.5rem;
  padding:1.5rem 2rem;
  border-radius:1.5rem; transition:var(--tr);
}
.contact-card:hover { transform:scale(1.015); }
.contact-card-avail {
  background:linear-gradient(135deg,rgba(16,185,129,.08),rgba(5,150,105,.04));
  border:1px solid rgba(16,185,129,.25);
}
.contact-card-social {
  justify-content:space-between;
  flex-wrap:wrap; gap:1rem;
}
.cc-icon {
  width:3rem; height:3rem; flex-shrink:0;
  border-radius:.875rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.3);
}
.ci-indigo  { background:linear-gradient(135deg,var(--indigo),var(--violet)); }
.ci-emerald { background:linear-gradient(135deg,var(--emerald),#059669); }
.cc-label {
  font-size:.68rem; text-transform:uppercase; letter-spacing:.1em;
  color:var(--txt3); font-weight:600; margin-bottom:.2rem;
}
.cc-value { font-weight:600; color:#fff; font-size:.975rem; }

.avail-dot {
  display:block; width:14px; height:14px; border-radius:50%; background:#fff;
  position:relative;
}
.avail-dot::before {
  content:''; position:absolute; inset:0; border-radius:50%;
  background:rgba(255,255,255,.55);
  animation:ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}

.social-row { display:flex; align-items:center; gap:.7rem; }
.slink {
  width:2.6rem; height:2.6rem; border-radius:.875rem;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  display:flex; align-items:center; justify-content:center;
  color:var(--txt3); transition:var(--tr);
}
.slink:hover {
  color:#fff; background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.2);
  transform:translateY(-3px) scale(1.1);
}
.slink-li:hover { background:rgba(10,102,194,.15); border-color:rgba(10,102,194,.4); color:var(--blue); }
.slink-ig:hover { background:rgba(225,48,108,.1); border-color:rgba(225,48,108,.3); color:#f472b6; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  position:relative; overflow:hidden;
  border-top:1px solid rgba(255,255,255,.05);
}
.footer-top-line {
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:50%; height:1px;
  background:linear-gradient(90deg,transparent,rgba(99,102,241,.6),transparent);
}
.footer-grid-bg {
  position:absolute; inset:0; opacity:.018;
  background-image:
    linear-gradient(rgba(99,102,241,.8) 1px,transparent 1px),
    linear-gradient(90deg,rgba(99,102,241,.8) 1px,transparent 1px);
  background-size:50px 50px;
}
.footer-glow {
  position:absolute; top:-1px; left:50%; transform:translateX(-50%);
  width:700px; height:200px;
  background:radial-gradient(ellipse,rgba(99,102,241,.06) 0%,transparent 70%);
}
.footer .container { position:relative; z-index:1; padding-top:4rem; padding-bottom:2rem; }

.footer-cols {
  display:grid; grid-template-columns:1.3fr 1fr 1fr;
  gap:3rem; margin-bottom:2.5rem;
}
.footer-brand { display:flex; flex-direction:column; gap:.875rem; }
.footer-logo { display:flex; align-items:center; gap:.75rem; }
.footer-desc { color:var(--txt3); font-size:.86rem; line-height:1.75; }
.footer-slinks { display:flex; align-items:center; gap:.55rem; }

.fcol-title {
  font-size:.85rem; font-weight:600; color:#fff;
  display:flex; align-items:center; gap:.5rem;
  margin-bottom:1.1rem;
}
.fcol-bar { display:block; width:1.2rem; height:2px; background:var(--indigo); flex-shrink:0; }

.flinks { display:grid; grid-template-columns:1fr 1fr; gap:.55rem 1rem; }
.flink {
  font-size:.875rem; color:var(--txt3); transition:var(--tr);
  display:flex; align-items:center; gap:.35rem;
}
.flink::before {
  content:''; display:block; width:0; height:1px;
  background:var(--indigo); transition:width .2s; flex-shrink:0;
}
.flink:hover { color:#a5b4fc; }
.flink:hover::before { width:8px; }

.fprojects { display:flex; flex-direction:column; gap:.7rem; }
.fproject {
  display:flex; align-items:center; gap:.55rem;
  font-size:.875rem; color:var(--txt3); transition:var(--tr);
}
.fproject:hover { color:var(--txt2); }
.fp-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.fp-v { background:var(--violet); }
.fp-o { background:var(--orange); }
.fp-b { background:var(--blue); }
.fp-e { background:var(--emerald); }

.footer-tech {
  border-radius:1.3rem; padding:.875rem 1.4rem; margin-bottom:1.75rem;
  display:flex; flex-wrap:wrap; align-items:center; gap:1.25rem 2rem;
}
.ft-label { font-size:.65rem; text-transform:uppercase; letter-spacing:.15em; color:var(--txt3); font-weight:700; flex-shrink:0; }
.ft-tags { display:flex; flex-wrap:wrap; gap:.45rem; }
.ft-tag {
  font-family:var(--mono); font-size:.7rem; color:var(--txt3);
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06);
  padding:.28rem .7rem; border-radius:8px;
}

.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:1.4rem; border-top:1px solid rgba(255,255,255,.05);
}
.scroll-top-btn {
  width:2.2rem; height:2.2rem; border-radius:10px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09);
  display:flex; align-items:center; justify-content:center;
  color:var(--txt3); transition:var(--tr);
}
.scroll-top-btn:hover {
  color:#fff; border-color:rgba(99,102,241,.4);
  background:rgba(99,102,241,.1);
  transform:translateY(-2px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width:1024px) {
  .hero-wrap { gap:3rem; }
  .photo-inner { width:300px; height:300px; }
  .about-grid { gap:2.5rem; }
  .edu-grid { gap:2.5rem; }
  .footer-cols { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1 / -1; }
}

@media (max-width:768px) {
  /* Navbar */
  .nav-links { display:none; }
  .hamburger { display:flex; }
  #resume-btn { display:none; }

  .section { padding:4.5rem 0; }

  /* Hero — compact mobile layout */
  .hero-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 6rem 0 2.5rem;
  }
  /* Image floats to top, smaller square */
  .hero-right { order: -1; }
  .photo-wrap { transform: none; }
  .photo-inner { width: 160px; height: 160px; border-radius: 1rem; }
  .photo-glow { left: 10%; right: 10%; height: 40px; bottom: -16px; }
  /* Text sizing */
  .hero-name { font-size: clamp(1.7rem, 7vw, 2.6rem); margin-bottom: 0.4rem; }
  .hero-tagline { font-size: 0.875rem; margin: 0 auto 1rem; max-width: 280px; }
  /* Center flex items */
  .hero-role, .info-pills, .hero-cta, .tech-pills, .hero-socials { justify-content: center; }
  /* Info pills — compact */
  .info-pills { gap: 0.4rem; flex-wrap: wrap; }
  .info-pill { font-size: 0.75rem; padding: 0.28rem 0.65rem; }
  /* CTA */
  .hero-cta { gap: 0.6rem; flex-wrap: wrap; }
  .btn { font-size: 0.85rem; padding: 0.6rem 1.2rem; }
  /* Tech row */
  .tech-row { margin-top: 0.25rem; }
  .tech-eyebrow { font-size: 0.6rem; }
  .tech-pill { font-size: 0.72rem; padding: 0.25rem 0.6rem; }
  .scroll-hint { display: none; }

  /* About */
  .about-grid { grid-template-columns:1fr; }
  .about-photo-inner { width:180px; height:180px; }
  .stats-row { max-width:100%; }

  /* Skills / Projects — already column on mobile */
  .sk2-row { flex-direction:column; gap:0.75rem; }
  .sk2-label { min-width:auto; }
  .pj2-item { gap:1rem; }

  /* Projects */
  .projects-grid { grid-template-columns:1fr; }

  /* Education */
  .edu-grid { grid-template-columns:1fr; gap:3rem; }

  /* Footer */
  .footer-cols { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { flex-direction:column; gap:1rem; text-align:center; }
}

@media (max-width:480px) {
  .container { padding: 0 0.75rem; }
  .section { padding:3.5rem 0; }
  .sec-head { margin-bottom:2.5rem; }
  .hero-name { font-size:2.1rem; }
  .photo-inner { width:220px; height:220px; }
  .stats-row { grid-template-columns:repeat(3,1fr); }
  .stat-val { font-size:1.3rem; }
  .exp-top { flex-direction:column; }
  .exp-meta { align-items:flex-start; }
  .contact-card { padding:1.25rem 1.5rem; gap:1rem; }
  .contact-card-social { flex-direction:column; align-items:flex-start; }
}

/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
   PRELOADER \u2014 LeeShark scan-light reveal style
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.76,0,0.24,1);
}
.preloader.pl-hiding {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.preloader.pl-gone { display: none; }

/* Ambient background glow from top */
.pl-ambient {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,0.18) 0%,
    rgba(139,92,246,0.1) 30%,
    transparent 70%
  );
  pointer-events: none;
  animation: ambientPulse 3s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%,100% { opacity:0.7; transform:translateX(-50%) scale(1); }
  50%      { opacity:1;   transform:translateX(-50%) scale(1.06); }
}

/* Content wrapper */
.pl-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── BIG NAME CONTAINER ─── */
.pl-name-wrap {
  position: relative;
  display: inline-block;
  /* vertical overflow hidden keeps the scan line clipped */
  overflow: hidden;
  padding: 0.05em 0;    /* small vertical buffer */
  margin-bottom: 0.6rem;
}

/* Ghost dim layer (always visible underneath) */
.pl-name-ghost {
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  color: rgba(255,255,255,0.07);
  user-select: none;
}

/* Bright lit layer — revealed top → bottom via clip-path */
.pl-name-lit {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  /* Beautiful gradient: pure white top → soft indigo bottom */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e0e7ff 55%,
    #a5b4fc 85%,
    #818cf8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Start fully clipped from the top — nothing visible */
  clip-path: inset(100% 0 0 0);
  /* Animate: reveal from top downward to full visibility */
  animation: scanReveal 1.5s cubic-bezier(0.65,0,0.35,1) 0.35s forwards;
}
@keyframes scanReveal {
  0%   { clip-path: inset(100% 0 0 0); }
  100% { clip-path: inset(0% 0 0 0); }
}

/* Glowing scan line — moves top → bottom in sync with reveal */
.pl-scan {
  position: absolute;
  left: -5%;
  right: -5%;
  height: 3px;
  border-radius: 2px;
  /* Bright center glow + color wings */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139,92,246,0.5) 15%,
    rgba(255,255,255,1) 45%,
    rgba(255,255,255,1) 55%,
    rgba(139,92,246,0.5) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 6px  rgba(255,255,255,0.9),
    0 0 18px rgba(165,180,252,0.8),
    0 0 40px rgba(99,102,241,0.6),
    0 0 80px rgba(99,102,241,0.3);
  /* Starts at very top (above container due to overflow:hidden) */
  top: 0px;
  /* Moves to bottom in exact sync with the clip-path reveal */
  animation: scanLine 1.5s cubic-bezier(0.65,0,0.35,1) 0.35s forwards;
}
@keyframes scanLine {
  0%   { top: 0%; opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ─── SUB NAME (fades in after scan) ─── */
.pl-subname {
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: transparent;
  margin-bottom: 0.4rem;
  animation: plSubFade 0.7s ease 1.7s forwards;
}
@keyframes plSubFade {
  from { color: transparent;           transform: translateY(6px); }
  to   { color: rgba(255,255,255,0.38); transform: none; }
}

/* ─── ROLE TEXT ─── */
.pl-role {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: transparent;
  margin-bottom: 2.5rem;
  animation: plRoleFade 0.6s ease 2.1s forwards;
}
@keyframes plRoleFade {
  from { color: transparent; transform: translateY(5px); }
  to   { color: var(--indigo); transform: none; }
}

/* ─── PROGRESS BAR ─── */
.pl-bar-wrap {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.pl-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--cyan));
  animation: plBarFill 2.6s cubic-bezier(0.4,0,0.2,1) 0.2s forwards;
}
@keyframes plBarFill {
  0%   { width:0; }
  20%  { width:20%; }
  50%  { width:55%; }
  80%  { width:82%; }
  100% { width:100%; }
}

/* ══════════════════════════════════════════
   SKILLS — DevIcon horizontal strip (sk4)
══════════════════════════════════════════ */
.sk4-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.sk4-head-left { display: flex; align-items: center; gap: 0.65rem; }
.sk4-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--indigo-lt);
}
.sk4-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sk4-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt3);
  transition: var(--tr);
  text-decoration: none;
}
.sk4-view-all:hover { color: var(--indigo-lt); }

/* The icon chips track */
.sk4-track {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2rem;
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
}
.sk4-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: default;
  transition: all 0.22s ease;
}
.sk4-chip:hover { transform: translateY(-5px); }
.sk4-chip i {
  font-size: 2.6rem;
  line-height: 1;
  display: block;
  transition: all 0.22s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
/* White icons (express, nextjs, github) */
.sk4-chip .devicon-express-original,
.sk4-chip .devicon-nextjs-plain,
.sk4-chip .devicon-github-original {
  color: rgba(255,255,255,0.85);
}
.sk4-chip span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--txt3);
  white-space: nowrap;
  transition: color 0.2s;
}
.sk4-chip:hover span { color: var(--txt2); }
.sk4-chip:hover i { filter: drop-shadow(0 6px 16px rgba(99,102,241,0.3)); }

/* ══════════════════════════════════════════
   PROJECTS — Image + Info card grid (pj3)
══════════════════════════════════════════ */
.pj3-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.pj3-head-left { display: flex; align-items: center; gap: 0.65rem; }
.pj3-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--indigo-lt);
}
.pj3-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.pj3-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt3);
  transition: var(--tr);
  text-decoration: none;
}
.pj3-view-all:hover { color: var(--indigo-lt); }

/* 2-column grid on desktop */
.pj3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Project card */
.pj3-card {
  display: flex;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: default;
}
.pj3-card:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.04);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Left: screenshot thumbnail */
.pj3-img {
  width: 42%;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a0a1a;
}
.pj3-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.4s ease;
}
.pj3-card:hover .pj3-img img { transform: scale(1.04); }

/* Right: info */
.pj3-info {
  flex: 1;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.pj3-titlerow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.pj3-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  flex: 1;
}
.pj3-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--txt3);
  flex-shrink: 0;
  transition: var(--tr);
}
.pj3-ext:hover {
  color: #fff;
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.12);
}

/* Type badge */
.pj3-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.pj3-badge-full {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.3);
}
.pj3-badge-fe {
  background: rgba(16,185,129,0.12);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.25);
}

.pj3-desc {
  font-size: 0.82rem;
  color: var(--txt2);
  line-height: 1.6;
  flex: 1;
}

/* Tech devicons row */
.pj3-icons {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}
.pj3-icons i {
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  transition: transform 0.2s;
}
.pj3-icons i:hover { transform: translateY(-2px) scale(1.1); }
.pj3-icons .devicon-express-original { color: rgba(255,255,255,0.8); }

/* "What I built" overlay chips on project image */
.pj3-img { position: relative; }
.pj3-what-built {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}
.pj3-what-built span {
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Feature tag chips */
.pj3-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0.25rem;
}
.pj3-feat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--txt2);
  white-space: nowrap;
}
.pj3-feat-ai {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.35);
  color: #c4b5fd;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .sk4-track { padding: 1.25rem; gap: 1.25rem 1.5rem; }
  .sk4-chip i { font-size: 2rem; }
  .pj3-grid { grid-template-columns: 1fr; }
  .pj3-card { flex-direction: column; }
  .pj3-img { width: 100%; height: 180px; min-height: auto; }
  .photo-circle { width: 220px; height: 220px; }
  .photo-ring-outer { inset: -14px; }
  .photo-ring-inner { inset: -5px; }
}
@media (max-width: 480px) {
  .sk4-track { gap: 1rem 1.2rem; }
  .sk4-chip span { font-size: 0.65rem; }
}

/* ══════════════════════════════════════════════════
   SKILLS SECTION — Tab Toggle + Icon Grid
   ══════════════════════════════════════════════════ */

.sk-sub {
  color: var(--txt2);
  font-size: .95rem;
  max-width: 560px;
  margin: 0.6rem auto 0;
  text-align: center;
  line-height: 1.7;
}

/* Tab pill toggle */
.sk-tabs {
  display: flex;
  justify-content: center;
  margin: 2.4rem 0 2.2rem;
}

.sk-tabs-inner {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 5px;
  gap: 0;
}

.sk-tab {
  position: relative;
  padding: 10px 36px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--txt3);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .3s ease;
  z-index: 1;
}

.sk-tab.sk-tab-active {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}

/* Icon grid */
.sk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  transition: opacity .3s ease;
}

.sk-grid-hidden {
  display: none;
}

/* Each icon card */
.sk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.sk-card:hover {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 28px rgba(99,102,241,0.18);
}

.sk-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.sk-card span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--txt2);
  text-align: center;
  line-height: 1.3;
  transition: color .25s;
}

.sk-card:hover span { color: #e2e8f0; }

/* Responsive */
@media (max-width: 768px) {
  .sk-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .sk-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 400px) {
  .sk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sk-card { padding: 14px 6px 10px; border-radius: 14px; }
  .sk-card img { width: 36px; height: 36px; }
  .sk-card span { font-size: .65rem; }
}
@media (min-width: 640px) {
  .sk-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .sk-grid { grid-template-columns: repeat(8, 1fr); gap: 18px; }
  .sk-card img { width: 48px; height: 48px; }
  .sk-card span { font-size: .78rem; }
}


/* ══════════════════════════════════════════════════════
   LIGHT MODE — Complete Theme Override
   Applied when body has class .theme-light
   ══════════════════════════════════════════════════════ */

body.theme-light {
  /* CSS Variable Overrides */
  --bg:           #f8fafc;
  --bg2:          #f1f5f9;
  --bg3:          #e8edf3;
  --txt:          #0f172a;
  --txt2:         #334155;
  --txt3:         #64748b;
  --glass-bg:     rgba(255, 255, 255, 0.88);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-dark:   rgba(255, 255, 255, 0.96);

  background: #f8fafc !important;
  color: #0f172a !important;
}

/* ── Scrollbar ── */
body.theme-light ::-webkit-scrollbar-track { background: #e2e8f0; }

/* ── Navbar ── */
body.theme-light .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light .logo-text { color: #0f172a !important; }
body.theme-light .logo-muted { color: #64748b !important; }
body.theme-light .nav-link { color: #475569 !important; }
body.theme-light .nav-link:hover,
body.theme-light .nav-link.active { color: #6366f1 !important; background: rgba(99,102,241,0.08) !important; }
body.theme-light .hamburger span { background: #475569 !important; }
body.theme-light .hamburger:hover { background: rgba(0,0,0,0.06) !important; }
body.theme-light .mobile-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border-top-color: rgba(0, 0, 0, 0.07) !important;
}
body.theme-light .mobile-link { color: #334155 !important; }
body.theme-light .mobile-link:hover { color: #6366f1 !important; background: rgba(99,102,241,0.07) !important; }
body.theme-light .lang-pill {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #334155 !important;
}
body.theme-light .theme-toggle {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #334155 !important;
}

/* ── Sections ── */
body.theme-light .section { background: #f8fafc; }
body.theme-light .section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%) !important;
}

/* ── Typography (hardcoded #fff overrides) ── */
body.theme-light .sec-title   { color: #0f172a !important; }
body.theme-light .sub-title   { color: #0f172a !important; }
body.theme-light .fcol-title  { color: #0f172a !important; }
body.theme-light .hero-name   { color: #0f172a !important; }

/* ── Hero ── */
body.theme-light .hero {
  background: linear-gradient(145deg, #f0f4ff 0%, #ede9fe 35%, #e0f2fe 65%, #f8fafc 100%) !important;
}
body.theme-light .hero-grid { opacity: 0.04 !important; }
body.theme-light .hero-fade {
  background: linear-gradient(to top, #f8fafc, transparent) !important;
}
body.theme-light .hero-hello { color: #6366f1 !important; }
body.theme-light .hero-tagline { color: #475569 !important; }
body.theme-light .social-btn {
  border-color: rgba(0,0,0,0.1) !important;
  background: rgba(0,0,0,0.03) !important;
  color: #475569 !important;
}
body.theme-light .social-btn:hover {
  background: rgba(99,102,241,0.1) !important;
  border-color: rgba(99,102,241,0.35) !important;
  color: #6366f1 !important;
}
body.theme-light .tech-pill {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: #475569 !important;
}
body.theme-light .tech-pill:hover {
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.25) !important;
  color: #4f46e5 !important;
}
body.theme-light .photo-circle {
  background: #e0e7ff !important;
  box-shadow: 0 20px 60px rgba(99,102,241,0.2), 0 8px 20px rgba(0,0,0,0.12) !important;
}
body.theme-light .photo-ring-inner {
  background: linear-gradient(#ede9fe, #ede9fe) padding-box,
              linear-gradient(135deg, #6366f1, #8b5cf6, #4f46e5) border-box !important;
}
body.theme-light .status-pill {
  background: rgba(99,102,241,0.06) !important;
  border-color: rgba(16,185,129,0.3) !important;
}

/* ── Glass cards ── */
body.theme-light .glass {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}

/* ── About ── */
body.theme-light .about-photo-inner {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06) !important;
}
body.theme-light .about-para { color: #475569 !important; }
body.theme-light .stat-card { background: rgba(255,255,255,0.9) !important; border-color: rgba(0,0,0,0.07) !important; }
body.theme-light .stat-lbl { color: #64748b !important; }
body.theme-light .lang-pill-item {
  background: rgba(99,102,241,0.06) !important;
  border-color: rgba(99,102,241,0.15) !important;
  color: #4f46e5 !important;
}
body.theme-light .ci-row { color: #475569 !important; }
body.theme-light .contact-info-card {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(0,0,0,0.07) !important;
}

/* ── Skills ── */
body.theme-light .sk-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}
body.theme-light .sk-card:hover {
  background: rgba(99,102,241,0.07) !important;
  border-color: rgba(99,102,241,0.25) !important;
  box-shadow: 0 6px 20px rgba(99,102,241,0.12) !important;
}
body.theme-light .sk-card span { color: #475569 !important; }
body.theme-light .sk-card:hover span { color: #0f172a !important; }
body.theme-light .sk-tab { color: #64748b !important; }
body.theme-light .sk-tab.sk-tab-active { color: #fff !important; }
body.theme-light .sk-tabs-inner {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.08) !important;
}
body.theme-light .sk-sub { color: #475569 !important; }

/* ── Projects ── */
body.theme-light .pj3-card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;
}
body.theme-light .pj3-card:hover {
  box-shadow: 0 12px 40px rgba(99,102,241,0.15) !important;
  border-color: rgba(99,102,241,0.2) !important;
}
body.theme-light .pj3-title { color: #0f172a !important; }
body.theme-light .pj3-desc { color: #475569 !important; }
body.theme-light .pj3-tag {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: #475569 !important;
}
body.theme-light .pj3-btn {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #334155 !important;
}
body.theme-light .pj3-btn:hover {
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.25) !important;
  color: #4f46e5 !important;
}
body.theme-light .pj3-header { background: transparent !important; }
body.theme-light .pj3-head-left .pj3-title { color: #0f172a !important; }
body.theme-light .pj3-num { color: rgba(99,102,241,0.15) !important; }
body.theme-light .pj3-view-all { color: #6366f1 !important; }
body.theme-light .pj3-icon-box {
  background: rgba(99,102,241,0.1) !important;
  color: #6366f1 !important;
}

/* ── Experience ── */
body.theme-light .tl-line {
  background: linear-gradient(to bottom, #6366f1, #8b5cf6, transparent) !important;
}
body.theme-light .exp-card {
  background: rgba(255,255,255,0.92) !important;
  border-color: rgba(0,0,0,0.07) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;
}
body.theme-light .exp-card:hover { border-color: rgba(99,102,241,0.2) !important; }
body.theme-light .exp-role { color: #0f172a !important; }
body.theme-light .exp-list li { color: #475569 !important; }
body.theme-light .exp-type { color: #64748b !important; }

/* ── Education ── */
body.theme-light .edu-card {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(0,0,0,0.07) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}
body.theme-light .edu-card:hover { border-color: rgba(99,102,241,0.2) !important; }
body.theme-light .edu-line {
  background: linear-gradient(to bottom, #6366f1, transparent) !important;
}
body.theme-light .edu-dot {
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.25) !important;
}
body.theme-light .edu-degree { color: #0f172a !important; }
body.theme-light .edu-school { color: #475569 !important; }
body.theme-light .edu-score { color: #10b981 !important; }
body.theme-light .cert-card,
body.theme-light .extra-card {
  background: rgba(255,255,255,0.88) !important;
  border-color: rgba(0,0,0,0.07) !important;
}

/* ── Contact ── */
body.theme-light .contact-card {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(0,0,0,0.07) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}
body.theme-light .contact-card:hover {
  border-color: rgba(99,102,241,0.2) !important;
  box-shadow: 0 8px 32px rgba(99,102,241,0.12) !important;
}
body.theme-light .contact-card-avail { color: #10b981 !important; }

/* Input fields */
body.theme-light input,
body.theme-light textarea {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: #0f172a !important;
}
body.theme-light input::placeholder,
body.theme-light textarea::placeholder { color: #94a3b8 !important; }
body.theme-light input:focus,
body.theme-light textarea:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12) !important;
}
body.theme-light label { color: #334155 !important; }

/* Social link items */
body.theme-light .slink-li {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: #475569 !important;
}

/* ── Footer ── */
body.theme-light .footer {
  background: #f1f5f9 !important;
  border-top-color: rgba(0,0,0,0.08) !important;
}
body.theme-light .footer-desc { color: #64748b !important; }
body.theme-light .flink { color: #64748b !important; }
body.theme-light .flink:hover { color: #6366f1 !important; }
body.theme-light .fcol-title { color: #0f172a !important; }
body.theme-light .footer-bottom {
  border-top-color: rgba(0,0,0,0.07) !important;
}
body.theme-light .copy-txt { color: #64748b !important; }
body.theme-light .footer-tech span { color: #64748b !important; }

/* ── Orbs (reduce on light) ── */
body.theme-light .orb { opacity: 0.04 !important; }
body.theme-light .orb-center,
body.theme-light .orb-right,
body.theme-light .orb-bottom { opacity: 0.03 !important; }

/* ── Buttons (secondary) ── */
body.theme-light .btn-outline {
  border-color: rgba(0,0,0,0.15) !important;
  color: #334155 !important;
}
body.theme-light .btn-outline:hover {
  background: rgba(99,102,241,0.07) !important;
  border-color: rgba(99,102,241,0.3) !important;
  color: #4f46e5 !important;
}

/* ── Preloader hides quickly on light ── */
body.theme-light #preloader { display: none !important; }

/* ── Info label ── */
body.theme-light .info-lbl { color: #64748b !important; }
body.theme-light .ci-row { color: #475569 !important; }

/* smooth transition for all elements */
body.theme-light * {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* ══════════════════════════════════════════════════════
   LIGHT MODE — MISSED HARDCODED WHITE TEXT FIXES
   All elements that had color:#fff hardcoded
   ══════════════════════════════════════════════════════ */

/* Gradient text: darken on light bg for legibility */
body.theme-light .grad-text {
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #2563eb 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Education */
body.theme-light .edu-deg    { color: #0f172a !important; }
body.theme-light .edu-inst   { color: #4f46e5 !important; }
body.theme-light .edu-yr     { color: #64748b !important; }

/* Certifications */
body.theme-light .cert-nm   { color: #0f172a !important; }
body.theme-light .cert-by   { color: #64748b !important; }
body.theme-light .cert-row  {
  background: rgba(255,255,255,0.85) !important;
  border-color: rgba(0,0,0,0.08) !important;
}
body.theme-light .cert-row:hover { border-color: rgba(99,102,241,0.2) !important; }

/* Contact values */
body.theme-light .cc-value  { color: #0f172a !important; }
body.theme-light .cc-label  { color: #64748b !important; }

/* Availability dot on white bg */
body.theme-light .avail-dot {
  background: #10b981 !important;
}
body.theme-light .avail-dot::before {
  background: rgba(16,185,129,0.45) !important;
}

/* Social link row in contact */
body.theme-light .slink {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.09) !important;
  color: #475569 !important;
}
body.theme-light .slink:hover {
  color: #4f46e5 !important;
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.25) !important;
}

/* Project titles (pj2, pj3 variants) */
body.theme-light .pj3-title  { color: #0f172a !important; }
body.theme-light .pj3-name   { color: #0f172a !important; }
body.theme-light .pj2-title  { color: #0f172a !important; }
body.theme-light .pj2-link:hover { color: #4f46e5 !important; }

/* Skills group label (old sk3) */
body.theme-light .sk3-group-label { color: #0f172a !important; }

/* Skills category title (sk4) */
body.theme-light .sk4-title  { color: #0f172a !important; }

/* Footer column titles */
body.theme-light .fcol-title { color: #0f172a !important; }

/* About stat values */
body.theme-light .stat-val   { color: #0f172a !important; }

/* Hero role text */
body.theme-light .hero-role .clr-secondary { color: #475569 !important; }

/* Buttons secondary / outline */
body.theme-light .btn-ghost,
body.theme-light .btn-secondary {
  color: #334155 !important;
  border-color: rgba(0,0,0,0.12) !important;
}

/* Nav-link active indicator highlight */
body.theme-light .nav-link.active {
  background: rgba(99,102,241,0.1) !important;
  color: #4338ca !important;
}

/* Ensure all h1-h4 are dark */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4 { color: #0f172a !important; }

/* Eyebrow stays indigo but darker shade */
body.theme-light .eyebrow { color: #4338ca !important; }

/* clr-indigo in light mode → stronger indigo */
body.theme-light .clr-indigo { color: #4338ca !important; }
body.theme-light .clr-secondary { color: #475569 !important; }
body.theme-light .clr-muted { color: #64748b !important; }

/* Info-lbl, tech-eyebrow */
body.theme-light .tech-eyebrow { color: #64748b !important; }

/* Contact section description */
body.theme-light .sec-desc { color: #475569 !important; }

/* pj3 header section */
body.theme-light .pj3-head-left { color: #0f172a !important; }
body.theme-light .pj3-h2 { color: #0f172a !important; }

/* About section highlights */
body.theme-light .about-highlight { color: #4338ca !important; }

/* Experience duration badge */
body.theme-light .exp-dur {
  background: rgba(99,102,241,0.1) !important;
  color: #4338ca !important;
  border-color: rgba(99,102,241,0.2) !important;
}

/* Footer copyright */
body.theme-light .footer-bottom { color: #64748b !important; }
body.theme-light .copy-txt  { color: #64748b !important; }

/* Scrollbar */
body.theme-light ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #8b5cf6) !important;
}

/* ══════════════════════════════════════════════════════
   LIGHT MODE — PROJECT CARD TAGS / BADGES / CHIPS
   ══════════════════════════════════════════════════════ */

/* pj2 tech tags (white-glass → proper light gray) */
body.theme-light .pj2-tag {
  background: rgba(99,102,241,0.06) !important;
  border-color: rgba(99,102,241,0.18) !important;
  color: #4338ca !important;
}
body.theme-light .pj2-tag:hover {
  background: rgba(99,102,241,0.12) !important;
  border-color: rgba(99,102,241,0.35) !important;
  color: #3730a3 !important;
}

/* pj3 type badge — "Full Stack" (indigo) */
body.theme-light .pj3-badge-full {
  background: rgba(99,102,241,0.1) !important;
  color: #4338ca !important;
  border-color: rgba(99,102,241,0.25) !important;
}

/* pj3 type badge — "Frontend" (green) */
body.theme-light .pj3-badge-fe {
  background: rgba(16,185,129,0.1) !important;
  color: #065f46 !important;
  border-color: rgba(16,185,129,0.25) !important;
}

/* pj3 feature chips — base (white-glass → light gray) */
body.theme-light .pj3-feat {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #475569 !important;
}

/* pj3 feature chip — AI variant (ultra-light violet → dark indigo) */
body.theme-light .pj3-feat-ai {
  background: rgba(109,40,217,0.08) !important;
  border-color: rgba(109,40,217,0.2) !important;
  color: #5b21b6 !important;
}

/* "What I Built" overlay chips on project image — keep dark (they sit on image) */
body.theme-light .pj3-what-built span {
  background: rgba(0,0,0,0.65) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

/* pj3 tech icon row — Express/Next white icons → dark on light */
body.theme-light .pj3-icons .devicon-express-original,
body.theme-light .pj3-icons .devicon-nextjs-original {
  color: rgba(0,0,0,0.75) !important;
}
body.theme-light .pj3-icons i {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)) !important;
}

/* Footer tech tags */
body.theme-light .ft-tag {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #475569 !important;
}

/* pj3 view-all button */
body.theme-light .pj3-view-all {
  color: #4338ca !important;
}
body.theme-light .pj3-view-all:hover {
  color: #3730a3 !important;
}




