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

:root {
  --bg:      #070b14;
  --bg2:     #0d1526;
  --bg3:     #111a2e;
  --card:    rgba(13, 21, 38, 0.75);
  --cyan:    #00d4ff;
  --violet:  #7c3aed;
  --green:   #10b981;
  --orange:  #f59e0b;
  --red:     #ef4444;
  --white:   #f0f4f8;
  --gray:    #94a3b8;
  --muted:   #4a5568;
  --border:  rgba(0, 212, 255, 0.15);
  --bh:      rgba(0, 212, 255, 0.35);
  --glow:    rgba(0, 212, 255, 0.25);
  --vglow:   rgba(124, 58, 237, 0.25);
  --font-d:  'Space Grotesk', sans-serif;
  --font-b:  'DM Sans', sans-serif;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-ring {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: 0.5; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes blink {
  0%,50%  { opacity: 1; }
  51%,100%{ opacity: 0; }
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes tl-line-grow {
  from { height: 0; }
  to   { height: 100%; }
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px var(--glow); }
  50%     { box-shadow: 0 0 40px var(--glow), 0 0 80px var(--vglow); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ══════════════════════════════════════
   SHARED LAYOUT
══════════════════════════════════════ */
.cont {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sect {
  padding: 100px 0;
  position: relative;
}
.sect-dark { background: var(--bg2); }

.sect-head {
  text-align: center;
  margin-bottom: 64px;
}
.sect-tag {
  display: inline-block;
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.sect-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
.sect-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--font-d);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow), 0 8px 30px var(--vglow);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--glow);
}
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.lb { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nl {
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-d);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  transition: all 0.2s var(--ease);
}
.nl:hover, .nl.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-cv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
.nav-cv:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--glow); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.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); }

/* ══════════════════════════════════════
   LOGO
══════════════════════════════════════ */
.img-logo-container {
  display: inline-block;
  cursor: pointer;
}

.img-logo {
  height: 50px; /* Adjust this value to make the logo bigger or smaller */
  width: auto;  /* Maintains the aspect ratio */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.img-logo:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}
/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 40px;
}
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%,
    transparent 0%,
    rgba(7,11,20,0.5) 60%,
    var(--bg) 100%);
  z-index: 1;
}
.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeUp 1s var(--ease) both;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.07);
  font-size: 0.82rem;
  color: var(--cyan);
  font-family: var(--font-d);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 1.8s ease-in-out infinite;
}
.hero-name {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-scroll {
  position: fixed; 
  bottom: 40px; 
  right: 40px;  
  z-index: 1000; 
  transition: opacity 0.4s ease, visibility 0.4s ease; /* Adds a smooth fade */
}

/* We will trigger this class with JavaScript */
.hero-scroll.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Stops it from being clickable when hidden */
}
.hn-line { display: block; }
.hero-role-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 40px;
  margin-bottom: 24px;
}
.hero-role {
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.type-cursor {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--cyan);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
.hero-bio {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.soc-link {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray);
  transition: all 0.25s var(--ease);
  background: rgba(13,21,38,0.5);
}
.soc-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--glow);
}

/* Stats bar */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(13, 21, 38, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 48px;
  margin-top: 48px;
  gap: 40px;
  animation: fadeUp 1s 0.5s var(--ease) both;
}
.hstat { text-align: center; }
.hstat-n {
  display: block;
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.hstat-l {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hstat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.scroll-cue:hover { color: var(--cyan); }
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px; 
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: currentColor;
  border-radius: 3px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease);
}
.profile-card:hover {
  border-color: var(--bh);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--glow);
  transform: translateY(-4px);
}
.profile-img-ring {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
}
.profile-img {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg2);
  position: relative;
  z-index: 1;
}
.profile-img-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  z-index: 0;
  animation: spin-slow 6s linear infinite;
}
.profile-img-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  opacity: 0.15;
  z-index: 0;
}
.online-badge {
  position: absolute;
  bottom: 4px; right: -4px;
  background: var(--bg2);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  white-space: nowrap;
}
.online-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 1.8s ease-in-out infinite;
}
.profile-name {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.profile-role {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 20px;
}
.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--gray);
  background: rgba(255,255,255,0.03);
  transition: all 0.2s;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.profile-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.psoc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.psoc:hover { background: rgba(0,212,255,0.06); color: var(--cyan); }

/* Bio */
.about-bio { padding-top: 8px; }
.bio-p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}
.bio-p strong { color: var(--white); font-weight: 600; }

.about-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.acnt { text-align: center; }
.acnt-n {
  display: block;
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.acnt-l {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   SKILLS
══════════════════════════════════════ */
.skill-rings {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.sr-item { display: flex; justify-content: center; }
.sr-wrap {
  position: relative;
  width: 130px; height: 130px;
  transition: transform 0.3s var(--spring);
}
.sr-wrap:hover { transform: scale(1.06); }
.sr-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  transform-origin: center;
}
.sr-bg {
  fill: none;
  stroke: rgba(255,255,255,0.05);
  stroke-width: 8;
}
.sr-prog {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px currentColor);
}
.sr-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sr-pct {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.sr-lbl {
  font-size: 0.68rem;
  color: var(--gray);
  margin-top: 4px;
  text-align: center;
  max-width: 70px;
  line-height: 1.2;
}

/* Tech stack */
.tech-stack {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
}
.ts-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
}
.ts-cats { display: flex; flex-direction: column; gap: 20px; }
.ts-cat { display: flex; align-items: flex-start; gap: 20px; }
.ts-cat-lbl {
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
  min-width: 90px;
}
.ts-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid;
  transition: all 0.2s var(--ease);
}
.badge:hover { transform: translateY(-2px); }
.b-cyan   { color: var(--cyan);   border-color: rgba(0,212,255,0.3);  background: rgba(0,212,255,0.07); }
.b-violet { color: #a78bfa;       border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.07); }
.b-green  { color: var(--green);  border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.07); }
.b-orange { color: var(--orange); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.07); }
.b-cyan:hover   { background: rgba(0,212,255,0.15);   box-shadow: 0 4px 14px rgba(0,212,255,0.15); }
.b-violet:hover { background: rgba(124,58,237,0.15);  box-shadow: 0 4px 14px rgba(124,58,237,0.15); }
.b-green:hover  { background: rgba(16,185,129,0.15);  box-shadow: 0 4px 14px rgba(16,185,129,0.15); }
.b-orange:hover { background: rgba(245,158,11,0.15);  box-shadow: 0 4px 14px rgba(245,158,11,0.15); }

/* ══════════════════════════════════════
   PROJECTS
══════════════════════════════════════ */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.fb {
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.fb:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.fb.active {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--glow);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.proj-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}
.proj-card:hover {
  border-color: var(--bh);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--glow);
}
.proj-card:hover::before { opacity: 1; }

.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pc-emoji { font-size: 2rem; }
.pc-gh {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 1rem;
  transition: all 0.2s;
}
.pc-gh:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}
.pc-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.pc-desc {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}
.pc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pc-tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.15);
}
.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pc-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--orange);
}
.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s;
}
.pc-link:hover { gap: 10px; }

.proj-card.hidden { display: none; }
.sect-cta { text-align: center; }

/* ══════════════════════════════════════
   EXPERIENCE TIMELINE
══════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-line {
  position: absolute;
  left: 7px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--violet), transparent);
}
.tl-item {
  position: relative;
  padding-bottom: 48px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -36px;
  top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2.5px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.12), 0 0 16px var(--cyan);
  z-index: 1;
}
.tl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease);
}
.tl-card:hover {
  border-color: var(--bh);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 24px var(--glow);
}
.tl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.tl-role {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.tl-co {
  font-size: 0.85rem;
  color: var(--gray);
}
.tl-period {
  font-family: var(--font-d);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 999px;
  background: rgba(0,212,255,0.07);
  flex-shrink: 0;
}
.tl-list {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-list li {
  font-size: 0.9rem;
  color: var(--gray);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.tl-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.8rem;
}
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tt {
  padding: 3px 11px;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.2);
}

/* ══════════════════════════════════════
   EDUCATION
══════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.edu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.edu-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.edu-card:hover {
  border-color: var(--bh);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px var(--glow);
}
.edu-card:hover::after { transform: scaleX(1); }
.edu-icon { font-size: 2.4rem; }
.edu-badge {
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 3px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
}
.edu-badge-v { background: rgba(124,58,237,0.1); color: #a78bfa; border-color: rgba(124,58,237,0.2); }
.edu-badge-g { background: rgba(16,185,129,0.1); color: var(--green); border-color: rgba(16,185,129,0.2); }
.edu-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.edu-inst {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 4px;
}
.edu-yr {
  display: inline-block;
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.edu-desc { font-size: 0.87rem; color: var(--gray); line-height: 1.65; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
  transition: all 0.25s var(--ease);
}
.ci-card:hover { border-color: var(--bh); transform: translateX(4px); }
.ci-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-card h4 {
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 2px;
}
.ci-card p { font-size: 0.88rem; color: var(--white); }
.avail-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 500;
  margin-top: 8px;
}
.avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-ring 1.8s ease-in-out infinite;
}

/* Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 8px; }
.fg label {
  font-family: var(--font-d);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.04em;
}
.fg input, .fg textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s var(--ease);
  resize: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg input:focus, .fg textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-msg {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
}
.form-msg.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--red);
}
.btn-load { display: inline-flex; align-items: center; gap: 8px; }
.btn-txt  { display: inline-flex; align-items: center; gap: 8px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-logo {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
}
.foot-copy { font-size: 0.85rem; color: var(--muted); }
.foot-links {
  display: flex;
  gap: 14px;
}
.foot-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.95rem;
  transition: all 0.2s;
}
.foot-links a:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(0,212,255,0.06); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .skill-rings { grid-template-columns: repeat(3, 1fr); }
  .proj-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; }
  .profile-card  { max-width: 400px; margin: 0 auto; }
  .contact-grid  { grid-template-columns: 1fr; }
  .edu-grid      { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cv { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    gap: 4px;
  }
  .hamburger { display: flex; }
  .hero-stats-bar { flex-direction: column; gap: 20px; padding: 24px 32px; }
  .hstat-div { width: 40px; height: 1px; }
  .proj-grid  { grid-template-columns: 1fr; }
  .skill-rings { grid-template-columns: repeat(2, 1fr); }
  .about-counters { grid-template-columns: repeat(2, 1fr); }
  .form-row   { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .tl-header  { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-grid  { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  .sect { padding: 72px 0; }
  .skill-rings { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sr-wrap { width: 110px; height: 110px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .about-actions { flex-direction: column; }
  .ts-cat { flex-direction: column; gap: 10px; }
}
