/* ============================================
   SUFAL SIKDER PORTFOLIO — style.css
   Dark Editorial Aesthetic
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --bg-primary:    #0d0f1a;
  --bg-secondary:  #111320;
  --bg-card:       #161929;
  --bg-card-hover: #1c2035;
  --gold:          #e8c07d;
  --gold-dim:      rgba(232, 192, 125, 0.12);
  --gold-glow:     rgba(232, 192, 125, 0.25);
  --white:         #f4f4f4;
  --text-primary:  #e4e4e8;
  --text-secondary:#9aa0b8;
  --text-muted:    #5a6080;
  --border:        rgba(232, 192, 125, 0.1);
  --border-hover:  rgba(232, 192, 125, 0.35);
  --font-display:  'Playfair Display', serif;
  --font-body:     'IBM Plex Sans', sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;
  --container:     1100px;
  --section-pad:   96px 0;
  --radius:        8px;
  --transition:    all 0.28s ease;
  --shadow:        0 4px 28px rgba(0, 0, 0, 0.45);
  --shadow-gold:   0 0 36px rgba(232, 192, 125, 0.18);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--gold);
  color: var(--bg-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--white); }

ul { list-style: none; }

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION BASE === */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 192, 125, 0.28);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-hire {
  background-color: var(--gold);
  color: var(--bg-primary);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-hire:hover {
  background-color: var(--white);
  color: var(--bg-primary);
}

.nav-resume {
  font-size: 0.82rem;
  padding: 8px 16px;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.skill-category:nth-child(1) { transition-delay: 0.05s; }
.skill-category:nth-child(2) { transition-delay: 0.15s; }
.skill-category:nth-child(3) { transition-delay: 0.25s; }
.skill-category:nth-child(4) { transition-delay: 0.35s; }
.skill-category:nth-child(5) { transition-delay: 0.45s; }

.project-card:nth-child(1) { transition-delay: 0.05s; }
.project-card:nth-child(2) { transition-delay: 0.15s; }
.project-card:nth-child(3) { transition-delay: 0.25s; }
.project-card:nth-child(4) { transition-delay: 0.35s; }

.timeline-item:nth-child(1) { transition-delay: 0.08s; }
.timeline-item:nth-child(2) { transition-delay: 0.22s; }

.education-card:nth-child(1) { transition-delay: 0.08s; }
.education-card:nth-child(2) { transition-delay: 0.2s;  }


/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(13, 15, 26, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo { text-decoration: none; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.logo-text:hover {
  text-shadow: 0 0 22px var(--gold-glow);
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 11px;
  border-radius: 4px;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 11px;
  right: 11px;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 23px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 999;
  backdrop-filter: blur(3px);
}

.nav-overlay.active { display: block; }


/* ============================================
   HERO
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Animated BG orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #e8c07d, transparent 70%);
  top: -140px;
  right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #3b6ea5, transparent 70%);
  bottom: -120px;
  left: -80px;
  animation: orbFloat 15s ease-in-out infinite reverse;
  animation-delay: -4s;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #7c4dde, transparent 70%);
  top: 45%;
  left: 45%;
  transform: translate(-50%, -50%);
  animation: orbFloat 18s ease-in-out infinite;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-20px, -28px) scale(1.06); }
  66%       { transform: translate(18px, 20px) scale(0.94); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 192, 125, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 192, 125, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  color: var(--gold);
  margin-bottom: 18px;
  min-height: 2em;
  display: flex;
  align-items: center;
  gap: 3px;
}

.cursor {
  display: inline-block;
  color: var(--gold);
  font-weight: 300;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero-summary {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 580px;
}

.hero-summary strong { color: var(--text-primary); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  text-decoration: none;
}

.scroll-dot {
  width: 7px;
  height: 7px;
  background-color: var(--gold);
  border-radius: 50%;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);    opacity: 1;   }
  50%       { transform: translateY(11px); opacity: 0.25; }
}


/* ============================================
   ABOUT
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.about-photo {
  display: flex;
  justify-content: center;
}

.photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 4px;
  box-shadow: 0 0 50px rgba(232, 192, 125, 0.14);
  position: relative;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: none; /* JS shows when loaded */
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.82;
  font-size: 0.96rem;
}

.about-text strong { color: var(--text-primary); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 7px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}


/* ============================================
   SKILLS
============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.skill-category {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}

.skill-category:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

.skill-category-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 3px;
  transition: var(--transition);
  cursor: default;
}

.skill-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: var(--gold-dim);
}


/* ============================================
   EXPERIENCE — TIMELINE
============================================ */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 28px;
  margin-bottom: 44px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--gold);
  outline: 3px solid rgba(232, 192, 125, 0.2);
  outline-offset: 2px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  margin-top: 8px;
  min-height: 50px;
  opacity: 0.5;
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.company-logo {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold), #c09050);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.timeline-company {
  font-size: 0.86rem;
  color: var(--gold);
  margin-bottom: 3px;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-bullets {
  margin-bottom: 18px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 5px;
}

.timeline-bullets li strong { color: var(--text-primary); }

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--gold);
  background-color: var(--gold-dim);
  border: 1px solid rgba(232, 192, 125, 0.18);
  padding: 3px 10px;
  border-radius: 2px;
}


/* ============================================
   PROJECTS
============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card {
  border-radius: var(--radius);
}

.project-card-inner {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.project-card:hover .project-card-inner {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow:
    0 18px 52px rgba(232, 192, 125, 0.12),
    0 0 0 1px rgba(232, 192, 125, 0.18);
}

.project-icon {
  font-size: 1.4rem;
  color: var(--gold);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.project-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.72;
  flex: 1;
}

.project-description strong { color: var(--text-primary); }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 2px;
  transition: var(--transition);
}

.project-card:hover .project-tag {
  border-color: rgba(232, 192, 125, 0.28);
  color: var(--gold);
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid rgba(232, 192, 125, 0.28);
  border-radius: 3px;
  transition: var(--transition);
}

.project-link:hover {
  background-color: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}


/* ============================================
   EDUCATION
============================================ */
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.education-card { border-radius: var(--radius); }

.education-card-inner {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  gap: 18px;
  height: 100%;
  transition: var(--transition);
}

.education-card:hover .education-card-inner {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}

.edu-badge {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), #c09050);
  width: 52px;
  height: 52px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
}

.edu-content { flex: 1; }

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.35;
}

.edu-institution {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.edu-cgpa {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.cgpa-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.cgpa-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
}

.edu-thesis {
  background-color: rgba(232, 192, 125, 0.04);
  border-left: 2px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 14px;
}

.thesis-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.thesis-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-style: italic;
}

.edu-highlights { }

.edu-highlights li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
  line-height: 1.5;
}

.edu-highlights li::before {
  content: '·';
  position: absolute;
  left: 3px;
  color: var(--gold);
}

/* Certifications */
.certifications {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: var(--transition);
}

.certifications:hover {
  border-color: var(--border-hover);
}

.cert-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.cert-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ============================================
   CONTACT
============================================ */
.contact-content {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 38px;
}

.contact-intro strong { color: var(--text-primary); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}

.contact-btn { font-size: 0.88rem; }

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.contact-phone a {
  color: var(--text-secondary);
}

.contact-phone a:hover { color: var(--gold); }


/* === OPEN TO WORK BADGE === */
.open-to-work-row {
  margin-bottom: 18px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #4ade80;
  background-color: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
}

.open-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #4ade80;
  animation: pulse-green 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0);  }
}

/* === ROLE PILLS (hero) === */
.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.role-pill {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--gold);
  background-color: var(--gold-dim);
  border: 1px solid rgba(232, 192, 125, 0.22);
  padding: 4px 13px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

/* === LOOKING FOR (contact) === */
.looking-for {
  margin-top: 28px;
  padding: 20px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.looking-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.looking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.looking-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: 3px;
  transition: var(--transition);
}

.looking-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   FOOTER
============================================ */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

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

.footer-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-text strong { color: var(--text-secondary); }

.footer-sub {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 5px;
  opacity: 0.55;
}


/* ============================================
   RESPONSIVE — 768px
============================================ */
@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Nav drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -290px;
    width: 290px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 22px 40px;
    gap: 2px;
    z-index: 1001;
    transition: right 0.32s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  }

  .nav-menu.active { right: 0; }

  .nav-link {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.95rem;
  }

  .nav-resume,
  .btn-hire {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero-content {
    padding-top: 88px;
    text-align: center;
  }

  .hero-actions  { justify-content: center; }
  .hero-location { justify-content: center; }

  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-stats { grid-template-columns: repeat(2, 1fr); }

  /* Skills */
  .skills-grid { grid-template-columns: 1fr; }

  /* Timeline */
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline-marker { display: none; }

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

  /* Education */
  .education-grid { grid-template-columns: 1fr; }

  .education-card-inner {
    flex-direction: column;
  }
}


/* ============================================
   RESPONSIVE — 480px
============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-name { font-size: 2.6rem; }

  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .section-title { font-size: 1.75rem; }

  .timeline-content { padding: 18px 18px; }

  .project-card-inner { padding: 20px; }

  .education-card-inner { padding: 20px; }

  .btn { padding: 10px 18px; font-size: 0.85rem; }
}
