/* ═══════════════════════════════════════════════════════
   HITESH KUMAR GAURAV — PORTFOLIO
   Robotics & Automation Engineer
   Theme: Dark technical with cyan/purple accent
════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --bg:        #080c14;
  --bg-alt:    #0c1220;
  --bg-card:   rgba(14, 22, 38, 0.85);
  --bg-glass:  rgba(16, 26, 48, 0.6);
  --border:    rgba(0, 220, 255, 0.12);
  --border-hi: rgba(0, 220, 255, 0.35);

  --cyan:    #00dcff;
  --cyan-d:  #00a8cc;
  --purple:  #8b5cf6;
  --purple-d:#6d28d9;
  --green:   #10d08e;
  --yellow:  #fbbf24;
  --pink:    #f472b6;
  --red:     #f87171;

  --text:    #e2e8f0;
  --text-m:  #94a3b8;
  --text-d:  #64748b;

  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,220,255,0.12);

  --trans: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Cursor Glow ────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,220,255,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: left 0.08s, top 0.08s;
  will-change: left, top;
}

/* ── Background Grid ────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,220,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,220,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Container ──────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--trans), border-color var(--trans), backdrop-filter var(--trans);
}
#navbar.scrolled {
  background: rgba(8,12,20,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo-bracket { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--text-m);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover, .nav-link.active {
  color: var(--cyan);
  background: rgba(0,220,255,0.07);
}
.nav-link.cta {
  border: 1px solid var(--border-hi);
  color: var(--cyan);
}
.nav-link.cta:hover {
  background: rgba(0,220,255,0.1);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-m);
  border-radius: 2px;
  transition: var(--trans);
}

/* ═══════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,220,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: heroFadeIn 0.9s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,208,142,0.1);
  border: 1px solid rgba(16,208,142,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,208,142,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,208,142,0); }
}
.hero-name {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-name .line { display: block; }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--text-m);
  margin-bottom: 24px;
  min-height: 2em;
}
.typed-prefix { color: var(--cyan); }
.typed-cursor {
  animation: blink 1s step-end infinite;
  color: var(--cyan);
  font-weight: 700;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-summary {
  font-size: 1.05rem;
  color: var(--text-m);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-summary strong { color: var(--text); }
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  color: #0a0f1a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,220,255,0.35);
}
.btn-ghost {
  border: 1px solid var(--border-hi);
  color: var(--cyan);
  background: rgba(0,220,255,0.05);
}
.btn-ghost:hover {
  background: rgba(0,220,255,0.12);
  transform: translateY(-2px);
}
.btn-icon {
  width: 46px; height: 46px;
  padding: 0;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-m);
  border-radius: 10px;
}
.btn-icon svg { width: 20px; height: 20px; }
.btn-icon:hover { border-color: var(--border-hi); color: var(--cyan); transform: translateY(-2px); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.stat-item:first-child { padding-left: 0; }
.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-d);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--border);
}

/* Floating pills */
.hero-float {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.float-pill {
  position: absolute;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--cyan);
  animation: floatAnim 6s ease-in-out infinite;
  white-space: nowrap;
}
.pill-1  { top: 18%; right: 8%;  animation-delay: 0s;    animation-duration: 7s; }
.pill-2  { top: 32%; right: 4%;  animation-delay: 1.5s;  animation-duration: 6s; }
.pill-3  { top: 52%; right: 10%; animation-delay: 0.8s;  animation-duration: 8s; }
.pill-4  { top: 68%; right: 5%;  animation-delay: 2.2s;  animation-duration: 5s; }
.pill-5  { top: 22%; right: 20%; animation-delay: 3.1s;  animation-duration: 9s; }
.pill-6  { top: 75%; right: 22%; animation-delay: 1.1s;  animation-duration: 7.5s; }
.pill-7  { top: 42%; right: 24%; animation-delay: 2.8s;  animation-duration: 6.5s; }
.pill-8  { top: 58%; right: 18%; animation-delay: 0.5s;  animation-duration: 8.5s; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0px);  }
  50%      { transform: translateY(-12px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; justify-content: center;
  width: 28px; height: 48px;
  border: 2px solid var(--border);
  border-radius: 14px;
}
.scroll-dot {
  width: 5px; height: 10px;
  background: var(--cyan);
  border-radius: 3px;
  margin-top: 8px;
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════════════════ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-alt { background: var(--bg-alt); }
.section-header {
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-sub {
  margin-top: 12px;
  color: var(--text-m);
  font-size: 1rem;
}

/* ── Reveal animation ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.about-text p {
  color: var(--text-m);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
}
.about-text p strong { color: var(--text); }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag {
  background: rgba(0,220,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 0.82rem;
  color: var(--text-m);
  font-weight: 500;
}

/* Terminal card */
.terminal-card {
  background: #0a1020;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.terminal-bar {
  background: #111926;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.tb-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.tb-dot.red    { background: #f87171; }
.tb-dot.yellow { background: #fbbf24; }
.tb-dot.green  { background: #10d08e; }
.tb-title { color: var(--text-d); font-size: 0.75rem; margin-left: 6px; }
.terminal-body { padding: 20px; line-height: 1.9; }
.t-cmd  { color: var(--cyan); }
.t-out  { color: var(--text-m); padding-left: 4px; }
.t-key  { color: var(--purple); }
.t-green{ color: var(--green); }
.t-blink { animation: blink 1s step-end infinite; }

/* ═══════════════════════════════════════════════════════
   SKILLS
════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  backdrop-filter: blur(8px);
}
.skill-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,220,255,0.08);
}
.skill-icon {
  width: 44px; height: 44px;
  background: rgba(0,220,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.skill-icon svg { width: 22px; height: 22px; color: var(--cyan); }
.skill-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}
.stag-primary { background: rgba(0,220,255,0.1);  color: var(--cyan);   border: 1px solid rgba(0,220,255,0.2); }
.stag-accent  { background: rgba(139,92,246,0.1); color: var(--purple); border: 1px solid rgba(139,92,246,0.2); }
.stag-warning { background: rgba(251,191,36,0.1); color: var(--yellow); border: 1px solid rgba(251,191,36,0.2); }
.stag-green   { background: rgba(16,208,142,0.1); color: var(--green);  border: 1px solid rgba(16,208,142,0.2); }
.stag-purple  { background: rgba(139,92,246,0.1); color: #c4b5fd;       border: 1px solid rgba(139,92,246,0.2); }
.stag-pink    { background: rgba(244,114,182,0.1);color: var(--pink);   border: 1px solid rgba(244,114,182,0.2); }

/* ═══════════════════════════════════════════════════════
   PROJECTS
════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  backdrop-filter: blur(8px);
}
.project-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45), 0 0 24px rgba(0,220,255,0.07);
}
.project-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(14,22,38,0.95) 0%, rgba(20,12,40,0.95) 100%);
  border-color: rgba(139,92,246,0.25);
}
.project-card.featured:hover { border-color: rgba(139,92,246,0.5); }
.proj-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.proj-icon { font-size: 1.8rem; line-height: 1; }
.proj-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.proj-status {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.status-done    { background: rgba(16,208,142,0.12); color: var(--green); border: 1px solid rgba(16,208,142,0.3); }
.status-ongoing { background: rgba(251,191,36,0.12); color: var(--yellow); border: 1px solid rgba(251,191,36,0.3); }
.status-wip     { background: rgba(0,220,255,0.12);  color: var(--cyan); border: 1px solid rgba(0,220,255,0.3); }
.status-team    { background: rgba(139,92,246,0.12); color: var(--purple); border: 1px solid rgba(139,92,246,0.3); }
.proj-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.proj-desc { font-size: 0.9rem; color: var(--text-m); line-height: 1.75; }
.proj-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-m);
}
.highlight-item svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }
.proj-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.tech {
  background: rgba(0,220,255,0.06);
  border: 1px solid rgba(0,220,255,0.15);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.73rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-m);
}
.proj-links { display: flex; gap: 10px; }
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  transition: all var(--trans);
}
.proj-link svg { width: 14px; height: 14px; }
.proj-link:hover {
  background: rgba(0,220,255,0.08);
  border-color: var(--border-hi);
}

/* ═══════════════════════════════════════════════════════
   ACHIEVEMENTS
════════════════════════════════════════════════════════ */
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.achieve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--trans), transform var(--trans);
  backdrop-filter: blur(8px);
}
.achieve-card:hover {
  transform: translateY(-4px);
}
.achieve-card.gold  { border-left: 3px solid var(--yellow); }
.achieve-card.gold:hover  { border-color: var(--yellow); box-shadow: 0 0 24px rgba(251,191,36,0.12); }
.achieve-card.silver { border-left: 3px solid var(--border-hi); }
.achieve-card.silver:hover { border-color: var(--border-hi); }
.achieve-badge { font-size: 1.8rem; flex-shrink: 0; }
.achieve-rank {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}
.achieve-card.silver .achieve-rank { color: var(--text-m); }
.achieve-content h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}
.achieve-content p { font-size: 0.78rem; color: var(--text-d); line-height: 1.5; }

/* Certifications */
.cert-section { }
.cert-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cert-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--trans), transform var(--trans);
  backdrop-filter: blur(6px);
}
.cert-item:hover { border-color: var(--border-hi); transform: translateX(4px); }
.cert-icon { font-size: 1.4rem; flex-shrink: 0; }
.cert-item strong { font-size: 0.85rem; color: var(--text); display: block; }
.cert-item p { font-size: 0.78rem; color: var(--text-d); margin-top: 2px; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════
   EDUCATION / TIMELINE
════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--purple), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-dot {
  position: absolute;
  left: -28px; top: 20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  transition: background var(--trans);
}
.timeline-item.active .timeline-dot {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0,220,255,0.5);
}
.internship-dot { border-color: var(--yellow); }
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color var(--trans);
  backdrop-filter: blur(6px);
}
.timeline-card:hover { border-color: var(--border-hi); }
.internship-card { border-left: 3px solid rgba(251,191,36,0.5); }
.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.tl-degree {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}
.tl-school {
  font-size: 0.85rem;
  color: var(--text-m);
  display: block;
}
.tl-right { text-align: right; flex-shrink: 0; }
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 6px;
}
.tl-grade {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-m);
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  display: inline-block;
}
.tl-grade.grade-good { color: var(--green); border-color: rgba(16,208,142,0.25); }
.intern-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.intern-list li { font-size: 0.87rem; color: var(--text-m); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--trans);
  backdrop-filter: blur(6px);
}
.contact-card:hover {
  border-color: var(--border-hi);
  background: rgba(0,220,255,0.04);
  transform: translateX(6px);
  box-shadow: 0 0 24px rgba(0,220,255,0.08);
}
.cc-icon {
  width: 48px; height: 48px;
  background: rgba(0,220,255,0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-icon svg { width: 22px; height: 22px; color: var(--cyan); }
.cc-text { flex: 1; }
.cc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-d);
  display: block;
  margin-bottom: 3px;
}
.cc-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.cc-arrow {
  width: 18px; height: 18px;
  color: var(--text-d);
  transition: color var(--trans), transform var(--trans);
  flex-shrink: 0;
}
.contact-card:hover .cc-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
footer {
  background: #060a10;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer p { font-size: 0.85rem; color: var(--text-d); }
footer a { color: var(--cyan); }
footer a:hover { text-decoration: underline; }
.footer-note { font-family: var(--font-mono); font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { order: -1; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .achieve-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-float { display: none; }
}

@media (max-width: 768px) {
  #hero { padding: 110px 24px 80px; }
  .hero-name { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: 1; }
  .skills-grid { grid-template-columns: 1fr; }
  .achieve-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 0; }
  .stat-item { padding: 0 18px; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(8,12,20,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--trans);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 10px 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .tl-header { flex-direction: column; gap: 10px; }
  .tl-right { text-align: left; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 10px; }
  .btn { padding: 10px 18px; font-size: 0.85rem; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat-item { padding: 0 14px; }
}