/* ═══════════════════════════════════════════════════════════
   HARDIK GADHER PORTFOLIO — style.css
   Dark AI-themed design system
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:          #080c14;
  --bg-alt:      #0d1220;
  --bg-card:     #111827;
  --bg-card-hover: #161f30;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(99,179,237,0.25);

  --accent:      #f68b28;
  --accent-3:    #f68b28;
  --accent-2:    #7c3aed;
  --accent-grad: linear-gradient(135deg, #63b3ed 0%, #7c3aed 100%);
  --accent-glow: 0 0 40px rgba(99,179,237,0.18);

  --text-primary:   #f0f4ff;
  --text-secondary: #8899aa;
  --text-muted:     #4a5568;

  --font-sans: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Typography helpers ───────────────────────────────────── */
.accent { color: var(--accent); }
.hero-title-static-1 { color: var(--accent-3); }


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

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 1.5rem 4rem;
}

/* Two-column hero layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background grid */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,179,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,179,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}
.glow-1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: var(--accent);
  animation: drift 12s ease-in-out infinite alternate;
}
.glow-2 {
  width: 400px; height: 400px;
  bottom: -50px; right: -50px;
  background: var(--accent-2);
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

.hero-content {
  position: relative;
  text-align: left;
}

/* ── Profile photo ─────────────────────────────────────────── */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-left: 2rem;
}

.hero-photo-ring {
  width: 280px; height: 280px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 50px rgba(99,179,237,0.2), 0 0 100px rgba(124,58,237,0.12);
}
/* Animated conic border — lives on pseudo-element so it never tints the photo */
.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(#f68b28, #7c3aed, #f68b28, #7c3aed, #f68b28);
  animation: ring-rotate 5s linear infinite;
  z-index: 0;
}
@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

.hero-photo-ring-inner {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid var(--bg);
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% center;
  border-radius: 50%;
  display: block;
}

.hero-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}
.hero-photo-badge svg { width: 14px; height: 14px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Name */
.hero-name {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1rem;
}

/* Titles */
.hero-title-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.separator { color: var(--border-glow); }

/* Bio */
.hero-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}
.hero-bio strong { color: var(--text-primary); font-weight: 600; }

/* Tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.18);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), border-color var(--transition);
}
.tag:hover {
  background: rgba(99,179,237,0.15);
  border-color: rgba(99,179,237,0.4);
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Socials */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { color: var(--accent); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: fade-bounce 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}
@keyframes fade-bounce {
  0%,100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(246,139,40,0.25);
  justify-content: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,179,237,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: 6rem 0;
}
.section-alt {
  background: var(--bg-alt);
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   AI ERA — SKILLS GRID
   ═══════════════════════════════════════════════════════════ */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.ai-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,179,237,0.12);
}
.ai-card:hover::before { opacity: 0.04; }
.ai-card > * { position: relative; z-index: 1; }

.ai-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #0f1a2e 0%, #1a0f2e 100%);
  border-color: rgba(99,179,237,0.2);
}

.ai-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ai-card-icon svg { width: 22px; height: 22px; color: var(--accent); }

.ai-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ai-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.skill-pills span {
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

/* Tech Stack Bar */
.tech-stack-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
}
.stack-label {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.stack-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stack-group { display: flex; flex-direction: column; gap: 0.5rem; }
.stack-category {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.stack-items span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.6rem;
}

/* ═══════════════════════════════════════════════════════════
   EDUCATION & EXPERIENCE
   ═══════════════════════════════════════════════════════════ */
.edu-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.edu-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.edu-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--accent-glow);
}
.edu-connector {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}
.connector-line {
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  border-radius: 1px;
  opacity: 0.3;
}
.edu-period {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
  padding-top: 0.2rem;
  line-height: 1.5;
}
.edu-degree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.edu-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(99,179,237,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.edu-icon svg { width: 18px; height: 18px; color: var(--accent); }
.edu-degree {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.edu-field {
  display: block;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.2rem;
}
.edu-university {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.edu-university svg { width: 14px; height: 14px; flex-shrink: 0; }
.edu-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.edu-tags span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
  font-weight: 500;
}

/* Experience List */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.exp-list::before {
  content: '';
  position: absolute;
  left: 8px; top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.2;
}
.exp-item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}
.exp-dot {
  position: absolute;
  left: -1.65rem; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--bg-alt);
  background: var(--text-muted);
}
.exp-dot.current {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.exp-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.exp-content:hover {
  border-color: var(--border-glow);
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.exp-role {
  font-size: 1rem;
  font-weight: 700;
}
.exp-company {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.2rem;
}
.exp-period {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
}
.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.exp-bullets li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.exp-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.15rem;
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.exp-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(99,179,237,0.1);
}
.project-card.featured-project {
  border-color: rgba(99,179,237,0.2);
  background: linear-gradient(160deg, #0f1a2e 0%, #1a0f2e 100%);
}
.project-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}
.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.project-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  display: flex; align-items: center; justify-content: center;
}
.project-icon-wrap svg { width: 22px; height: 22px; color: var(--accent); }
.project-category {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
  flex: 1;
}
.project-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}
.project-features li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.project-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
}
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.project-stack span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.18rem 0.55rem;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Details */
.contact-details-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; color: var(--accent); }
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition);
}
a.contact-value:hover { color: var(--accent); }

.availability-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(99,179,237,0.4);
  box-shadow: 0 0 0 3px rgba(99,179,237,0.08);
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  justify-content: center;
}
.form-success svg { width: 18px; height: 18px; }
.form-success.show { display: flex; }

.form-error {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  justify-content: center;
}
.form-error svg { width: 18px; height: 18px; }
.form-error.show { display: flex; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-weight: 800;
  font-size: 1.2rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ai-card.featured { grid-column: span 1; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-content { text-align: center; }
  .hero-tags, .hero-ctas, .hero-socials { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-ring { width: 200px; height: 200px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,12,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-link::after { display: none; }

  .hero-photo-ring { width: 160px; height: 160px; }
  .edu-card { grid-template-columns: 1fr; gap: 0.5rem; }
  .edu-period { font-size: 0.72rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .ai-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .footer-inner { justify-content: center; text-align: center; }
  .exp-list { padding-left: 1.5rem; }
}
