/* ============================================================
   PORTFOLIO — STYLE.CSS
   Pure Black Editorial Theme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --bg: #000000;
  --bg-card: #0a0a0a;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --accent-gradient: linear-gradient(to right, #ec4899, #8b5cf6);
  --purple: #8b5cf6;
  --gold: #f59e0b;
  --blue: #3b82f6;
  --font-main: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: 0.3s ease;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-card: #f3f4f6;
  --text: #111111;
  --text-muted: #555555;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  transition: background var(--transition), color var(--transition);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: none; }
input, textarea { font-family: var(--font-mono); cursor: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ============================================================
   CUSTOM CURSOR — Crosshair Style
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--purple), 0 0 16px rgba(139,92,246,0.3);
  transition: width 0.25s, height 0.25s, background 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.cursor-dot::before,
.cursor-dot::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.6);
  transition: all 0.25s;
}

/* Vertical line */
.cursor-dot::before {
  width: 1px; height: 20px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

/* Horizontal line */
.cursor-dot::after {
  width: 20px; height: 1px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(139,92,246,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease-out, height 0.3s ease-out, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.cursor-dot.hovering {
  width: 10px; height: 10px;
  background: #ec4899;
  box-shadow: 0 0 14px #ec4899, 0 0 28px rgba(236,72,153,0.4);
}

.cursor-dot.hovering::before {
  height: 28px;
  background: rgba(236,72,153,0.6);
}

.cursor-dot.hovering::after {
  width: 28px;
  background: rgba(236,72,153,0.6);
}

.cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: rgba(236,72,153,0.5);
  box-shadow: 0 0 20px rgba(236,72,153,0.25);
  background: rgba(236,72,153,0.04);
  animation: cursorPulse 1.2s ease-in-out infinite;
}

@keyframes cursorPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: none;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content { text-align: center; }

.loading-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  animation: flicker 1.5s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  33% { opacity: 0.4; }
  66% { opacity: 0.9; }
  80% { opacity: 0.3; }
}

.loading-bar-track {
  width: 280px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  margin: 24px auto 0;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--purple), var(--gold));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9998;
  transition: background var(--transition);
}

[data-theme="light"] .navbar {
  background: rgba(255,255,255,0.85);
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--purple);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--purple); text-shadow: 0 0 12px rgba(139,92,246,0.5); }
.nav-link:hover::after { width: 100%; }

.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; background: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---- Theme Toggle ---- */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(0,0,0,0.2);
}

/* ---- Buttons ---- */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.4);
}

.btn-sm { padding: 8px 20px; font-size: 0.75rem; }
.btn-lg { padding: 18px 48px; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.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); }

/* ============================================================
   SCANLINE OVERLAY
   ============================================================ */
.scanline-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  z-index: 1;
}

/* ============================================================
   EMBER PARTICLES
   ============================================================ */
.embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ember {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(245,158,11,0.6);
  border-radius: 50%;
  animation: emberFloat linear infinite;
}

@keyframes emberFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-120vh) scale(0); opacity: 0; }
}

/* ============================================================
   SECTION — GENERAL
   ============================================================ */
.section {
  position: relative;
  padding: 120px 60px;
  background: var(--bg);
  overflow: hidden;
  transition: background var(--transition);
}

.section-heading {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 6px;
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  opacity: 0.15;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 80px 60px;
  overflow: hidden;
  transition: background var(--transition);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ---- Hero Photo ---- */
.hero-photo { flex-shrink: 0; }

.photo-frame {
  width: 280px;
  height: 320px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  position: relative;
  border: 3px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, var(--gold), var(--purple));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: frameRotate 6s linear infinite;
  box-shadow: 0 0 40px rgba(139,92,246,0.3), 0 0 80px rgba(245,158,11,0.15);
}

@keyframes frameRotate {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 64% 36% / 45% 60% 40% 55%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  75% { border-radius: 42% 58% 36% 64% / 55% 40% 60% 45%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

/* ---- Hero Text ---- */
.hero-text { flex: 1; }

.hero-name {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-name span {
  display: inline-block;
  opacity: 0;
}

.hero-subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  min-height: 2em;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typewriter-cursor {
  display: inline-block;
  animation: blink 0.8s step-end infinite;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-inner--centered {
  justify-content: center;
  text-align: center;
}

.about-bio {
  max-width: 800px;
}

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.2px;
  border-left: 3px solid var(--purple);
  padding-left: 24px;
  text-align: left;
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skills-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.skills-subheading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

[data-theme="light"] .skill-row {
  border-bottom-color: rgba(0,0,0,0.08);
}

.skill-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 30px;
}

.skill-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 160px;
  font-size: 0.9rem;
}

.skill-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

[data-theme="light"] .skill-bar {
  background: rgba(0,0,0,0.08);
}

.skill-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(139,92,246,0.5);
}

.soft-skills { margin-top: 60px; }

.soft-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-tag {
  padding: 10px 24px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(20px);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 16px;
  padding: 0 0 28px 0;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card:hover {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(139,92,246,0.15);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(139,92,246,0.1);
  background: #111;
}

.project-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 24px 8px;
  text-align: center;
}

.project-desc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 24px;
  text-align: center;
  flex: 1;
}

.project-card .btn-gradient {
  margin-top: 16px;
}

/* Shimmer border on hover */
.project-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
  animation: shimmerBorder 2s linear infinite;
  background-size: 200% 100%;
}

.project-card:hover::before { opacity: 1; }

@keyframes shimmerBorder {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   CERTIFICATES SECTION
   ============================================================ */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 16px;
  padding: 0 0 28px 0;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(245,158,11,0.2);
}

.cert-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #111;
}

.cert-name {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 20px 16px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.cert-card .btn-gradient { margin-top: auto; }

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.achievement-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-gold { border: 1px solid rgba(245,158,11,0.3); }
.achievement-purple { border: 1px solid rgba(139,92,246,0.3); }
.achievement-blue { border: 1px solid rgba(59,130,246,0.3); }

.achievement-gold:hover { box-shadow: 0 0 30px rgba(245,158,11,0.2); transform: translateY(-4px); }
.achievement-purple:hover { box-shadow: 0 0 30px rgba(139,92,246,0.2); transform: translateY(-4px); }
.achievement-blue:hover { box-shadow: 0 0 30px rgba(59,130,246,0.2); transform: translateY(-4px); }

.achievement-icon { font-size: 2.4rem; display: block; margin-bottom: 16px; }

.achievement-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.achievement-desc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   EDUCATION SECTION — TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  z-index: 2;
}

.timeline-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--purple);
  box-shadow: 0 0 10px rgba(139,92,246,0.5);
  transform: translateX(-50%);
}

.timeline-node {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.node-left { left: 0; text-align: right; }
.node-right { left: 50%; text-align: left; }

.timeline-dot {
  position: absolute;
  top: 28px;
  width: 14px; height: 14px;
  background: var(--purple);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(139,92,246,0.6);
  z-index: 3;
}

.node-left .timeline-dot { right: -7px; }
.node-right .timeline-dot { left: -7px; }

.timeline-content {
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 12px;
  padding: 24px;
}

.tl-degree { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.tl-institution { color: var(--gold); font-size: 0.85rem; font-weight: 600; }
.tl-year { color: var(--text-muted); font-size: 0.8rem; font-family: var(--font-mono); margin: 4px 0 8px; }
.tl-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   RESUME SECTION
   ============================================================ */
.resume-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
}

.resume-inner {
  position: relative;
  z-index: 2;
}

.resume-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.15;
  margin-bottom: 40px;
}

.resume-btn-wrap { position: relative; display: inline-block; }

/* Shimmer behind button */
.shimmer-btn { position: relative; overflow: hidden; }
.shimmer-btn::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 2.5s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form { display: flex; flex-direction: column; gap: 32px; }

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
  font-size: 1rem;
  padding: 12px 0;
  outline: none;
  transition: border-color var(--transition);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  border-bottom-color: rgba(0,0,0,0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--purple);
  box-shadow: 0 2px 0 0 var(--purple);
}

.form-group label {
  position: absolute;
  top: 12px; left: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -14px;
  font-size: 0.7rem;
  color: var(--purple);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-success {
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.form-success.show { opacity: 1; }

/* ---- Contact Info ---- */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition), text-shadow var(--transition);
}

.contact-link i { font-size: 1.1rem; }

.contact-link:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(245,158,11,0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 80px 32px; }
  .hero { padding: 80px 32px; }
  .hero-inner { gap: 40px; }
}

@media (max-width: 768px) {
  /* Cursor hidden on touch */
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button, a, input, textarea { cursor: auto; }

  .navbar { padding: 0 20px; }

  .nav-links {
    position: fixed;
    top: 64px; right: 0; bottom: 0;
    width: 260px;
    background: rgba(0,0,0,0.97);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  [data-theme="light"] .nav-links {
    background: rgba(255,255,255,0.97);
  }

  .nav-links.open { transform: translateX(0); }

  .hamburger { display: flex; }

  .nav-right .btn-gradient { display: none; }

  /* Hero */
  .hero-inner { flex-direction: column; text-align: center; }
  .photo-frame { width: 200px; height: 230px; }
  .hero-cta { justify-content: center; }

  /* About */
  .about-inner { flex-direction: column; align-items: center; text-align: center; }
  .about-photo { width: 220px; }
  .data-field { flex-direction: column; gap: 4px; }
  .data-label { min-width: unset; }

  /* Skills */
  .skill-name { min-width: 120px; }

  /* Timeline */
  .timeline-line { left: 20px; }
  .timeline-node { width: 100%; left: 0 !important; text-align: left; padding-left: 50px; }
  .timeline-dot { left: 13px !important; right: auto !important; }

  .section-heading { font-size: clamp(2rem, 12vw, 4rem); }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.6rem; }
  .section { padding: 60px 16px; }
  .hero { padding: 80px 16px; }
  .projects-grid,
  .certificates-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .contact-info { flex-direction: column; align-items: center; }
}
