/* =============================================
   MARTIN WASSIM — PORTFOLIO STYLESHEET
   Theme: Dark · Cyber-Refined · Gold Mobile
   Fonts: Syne (display) · DM Sans (body)
   ============================================= */

/* ── CSS Variables ── */
:root {
  --bg:          #07090f;
  --bg-2:        #0d1120;
  --bg-card:     #111827;
  --bg-card-2:   #161f32;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(0, 200, 255, 0.25);

  --text:        #e8eaf0;
  --text-muted:  #7b8299;
  --text-dim:    #4a5270;

  --accent:      #00c8ff;
  --accent-2:    #7b5ea7;
  --accent-3:    #ff6b6b;

  --blue:        #3b82f6;
  --cyan:        #06b6d4;
  --purple:      #8b5cf6;
  --green:       #10b981;
  --orange:      #f59e0b;
  --pink:        #ec4899;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(0, 200, 255, 0.12);
}

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

/* ── Custom Cursor (desktop only) ── */
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(0,200,255,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.12s, width 0.25s, height 0.25s, opacity 0.25s;
}
.cursor-follower.hovered { width: 52px; height: 52px; opacity: 0.5; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 4px; }

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

/* ── Shared Section Styles ── */
section { padding: 120px 0; position: relative; }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.section-heading.centered { text-align: center; }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 4rem;
}
.accent-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dot { color: var(--accent); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0,200,255,0.3);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 32px rgba(0,200,255,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--border-glow);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,200,255,0.05);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(7,9,15,0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: rgba(0,200,255,0.1) !important;
  border: 1px solid var(--border-glow) !important;
  color: var(--accent) !important;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: rgba(0,200,255,0.2) !important;
  color: var(--accent) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.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 */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(7,9,15,0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,255,0.12), transparent 70%);
  top: -200px; right: -100px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,94,167,0.15), transparent 70%);
  bottom: -150px; left: -100px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 3rem 0;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow-line {
  display: block;
  width: 40px; height: 1.5px;
  background: var(--accent);
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.highlight { color: var(--accent); font-weight: 500; }
.hero-summary {
  max-width: 580px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* =============================================
   ABOUT
   ============================================= */
#about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.8rem; }
.about-body {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-body strong { color: var(--text); font-weight: 500; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0,200,255,0.06);
  border: 1px solid rgba(0,200,255,0.15);
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* About Card */
.about-card { position: sticky; top: 120px; }
.about-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-card-inner:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

/* ── Photo slot ── */
.about-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}
.avatar-photo-wrap {
  position: relative;
  width: 110px; height: 110px;
  z-index: 1;
}
/* When a real photo is present */
.avatar-photo-wrap img.avatar-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--accent);
}
/* Fallback initials (shown when no img) */
.avatar-placeholder {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
}
/* Upload hint label — remove once you add your photo */
.avatar-upload-hint {
  position: absolute;
  bottom: 0; right: 0;
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-card);
  cursor: pointer;
}
.avatar-upload-hint i { font-size: 0.9rem; color: #000; }
.avatar-ring {
  position: absolute;
  width: 128px; height: 128px;
  border: 1.5px solid rgba(0,200,255,0.3);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  50%       { transform: translate(-50%,-50%) scale(1.08); opacity: 1; }
}
.about-meta { display: flex; flex-direction: column; gap: 1rem; }
.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.meta-item i { color: var(--accent); font-size: 1.05rem; flex-shrink: 0; margin-top: 0.1rem; }

/* =============================================
   SKILLS
   ============================================= */
#skills { background: var(--bg); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.skill-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.skill-card-header i { font-size: 1.3rem; color: var(--accent); }
.skill-card-header h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.skill-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
}
.badge-blue   { background: rgba(59,130,246,0.12);  border-color: rgba(59,130,246,0.25);  color: #93c5fd; }
.badge-cyan   { background: rgba(6,182,212,0.12);   border-color: rgba(6,182,212,0.25);   color: #67e8f9; }
.badge-purple { background: rgba(139,92,246,0.12);  border-color: rgba(139,92,246,0.25);  color: #c4b5fd; }
.badge-green  { background: rgba(16,185,129,0.12);  border-color: rgba(16,185,129,0.25);  color: #6ee7b7; }
.badge-orange { background: rgba(245,158,11,0.12);  border-color: rgba(245,158,11,0.25);  color: #fcd34d; }
.badge-pink   { background: rgba(236,72,153,0.12);  border-color: rgba(236,72,153,0.25);  color: #f9a8d4; }

/* =============================================
   PROJECTS
   ============================================= */
#projects { background: var(--bg-2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.featured-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.75rem 2rem;
}
.featured-card .project-card-top  { grid-column: 1; grid-row: 1; }
.featured-card .project-name      { grid-column: 2 / 4; grid-row: 1; align-self: center; font-size: 1.4rem; }
.featured-card .project-tagline   { grid-column: 2 / 4; grid-row: 2; }
.featured-card .project-desc      { grid-column: 2 / 4; grid-row: 3; }
.featured-card .project-features  { grid-column: 2 / 3; grid-row: 4; }
.featured-card .project-tech      { grid-column: 2 / 4; grid-row: 5; }

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.project-card:hover::before { opacity: 1; }
.project-card-top { display: flex; justify-content: space-between; align-items: center; }
.project-number {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-dim);
}
.project-icon {
  width: 42px; height: 42px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.project-icon i { font-size: 1.2rem; color: var(--accent); }
.project-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
}
.project-tagline {
  font-size: 0.78rem; font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.project-desc { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }
.project-features { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.project-features li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.87rem;
}
.project-features i { color: var(--green); font-size: 0.9rem; flex-shrink: 0; margin-top: 0.15rem; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
.project-tech span {
  font-size: 0.73rem; font-weight: 500;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 6px; letter-spacing: 0.03em;
}

/* =============================================
   EDUCATION
   ============================================= */
#education { background: var(--bg); }

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.edu-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; gap: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.edu-main:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.edu-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.edu-icon i { font-size: 1.4rem; color: #000; }
.edu-type {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem; display: block;
}
.edu-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.3rem;
}
.edu-field { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.edu-date {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.83rem; color: var(--text-dim); margin-bottom: 1.2rem;
}
.edu-date i { color: var(--accent); }
.edu-courses { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.edu-courses span {
  font-size: 0.73rem; font-weight: 500;
  background: rgba(0,200,255,0.06);
  border: 1px solid rgba(0,200,255,0.15);
  color: var(--accent);
  padding: 0.25rem 0.65rem; border-radius: 999px;
}
.certs-heading {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 1.5rem;
}
.cert-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition);
}
.cert-item:hover { padding-left: 0.5rem; }
.cert-item:last-child { border-bottom: none; }
.cert-dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
  margin-top: 0.4rem;
  box-shadow: 0 0 8px rgba(0,200,255,0.5);
}
.cert-name { font-weight: 500; font-size: 0.93rem; color: var(--text); margin-bottom: 0.2rem; }
.cert-org  { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   EXPERIENCE
   ============================================= */
#experience { background: var(--bg-2); }

.timeline {
  max-width: 800px; margin: 0 auto;
  position: relative; padding-left: 2rem;
}
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.timeline-item { position: relative; padding-left: 2.5rem; padding-bottom: 3rem; }
.timeline-dot {
  position: absolute; left: -2rem; top: 0.4rem;
  width: 12px; height: 12px;
  background: var(--accent); border-radius: 50%;
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 12px rgba(0,200,255,0.6);
}
.timeline-content {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.timeline-content:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.timeline-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.timeline-header h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; color: var(--text);
}
.timeline-org { font-size: 0.87rem; color: var(--accent); margin-top: 0.2rem; }
.timeline-date {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--text-dim);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  padding: 0.3rem 0.75rem; border-radius: 6px;
  white-space: nowrap; margin-top: 0.2rem;
}
.timeline-points { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.timeline-points li {
  position: relative; padding-left: 1.2rem;
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.6;
}
.timeline-points li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.timeline-tags span {
  font-size: 0.73rem; color: var(--text-dim);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  padding: 0.25rem 0.65rem; border-radius: 6px;
}

/* =============================================
   CONTACT
   ============================================= */
#contact { background: var(--bg); }

.contact-links-centered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.3rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.contact-link:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}
.contact-link > i { font-size: 1.3rem; color: var(--accent); width: 24px; flex-shrink: 0; }
.contact-link > div { display: flex; flex-direction: column; }
.cl-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
}
.cl-value { font-size: 0.92rem; color: var(--text); margin-top: 0.1rem; }

/* =============================================
   FOOTER
   ============================================= */
footer { border-top: 1px solid var(--border); padding: 2rem 0; background: var(--bg); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.footer-copy { font-size: 0.85rem; color: var(--text-dim); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  color: var(--text-muted); font-size: 1.2rem;
  transition: color var(--transition), transform var(--transition); display: flex;
}
.footer-socials a:hover { color: var(--accent); transform: translateY(-2px); }

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .about-card  { position: static; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 1rem; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {

  /* Disable custom cursor on touch */
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  button { cursor: pointer; }
  a { cursor: pointer; }

  /* ── Layout fixes ── */
  #navbar  { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  section { padding: 72px 0; }
  .container { padding: 0 1.25rem; }

  /* Hero — name capped so it fits on one screen without overflow */
  .hero-content { padding: 90px 1.25rem 0; }
  .hero-name {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
  }
  .hero-title   { font-size: 0.95rem; }
  .hero-summary { font-size: 0.93rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; font-size: 0.95rem; padding: 1rem 1.5rem; }
  .hero-stats { gap: 1.2rem; }
  .stat-num { font-size: 1.6rem; }
  .stat-divider { height: 30px; }
  .scroll-indicator { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-card { position: static; }
  .about-card-inner { padding: 2rem 1.5rem; }
  .section-heading { font-size: clamp(1.7rem, 8vw, 2.5rem); }

  /* Skills */
  .skills-grid { grid-template-columns: 1fr; gap: 1rem; }
  .skill-card  { padding: 1.4rem; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; gap: 1rem; }
  .featured-card { grid-column: 1; display: flex; flex-direction: column; gap: 0.8rem; }
  .project-card  { padding: 1.5rem; }
  .project-name  { font-size: 1.05rem; }

  /* Education */
  .edu-grid { grid-template-columns: 1fr; gap: 2rem; }
  .edu-main { flex-direction: column; gap: 1.2rem; padding: 1.5rem; }

  /* Timeline */
  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 1.8rem; }
  .timeline-dot  { left: -1.5rem; width: 10px; height: 10px; }
  .timeline-content { padding: 1.4rem; }
  .timeline-header { flex-direction: column; gap: 0.5rem; }

  /* Contact */
  .contact-links-centered { grid-template-columns: 1fr; max-width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
}

/* =============================================
   RESPONSIVE — SMALL PHONES (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-name  { font-size: clamp(2.2rem, 13vw, 3rem); }
  .about-tags { gap: 0.4rem; }
  .tag        { font-size: 0.72rem; padding: 0.28rem 0.7rem; }
  .badge      { font-size: 0.7rem;  padding: 0.25rem 0.6rem; }
  .project-tech span { font-size: 0.68rem; }
  .edu-courses span  { font-size: 0.68rem; }
  .section-sub { font-size: 0.93rem; margin-bottom: 2.5rem; }
}
