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

:root {
  --bg:      #08111e;
  --surface: #0c1828;
  --accent:  #7B2FBE;
  --glow:    #E04B2A;
  --grad-start: #6B2D8B;
  --grad-mid:   #C23B7A;
  --grad-end:   #E04B2A;
  --text:    #d4dde8;
  --muted:   #5a6e84;
  --border:  rgba(180, 80, 160, 0.18);
  --glass:   rgba(15, 8, 25, 0.72);
}

/* ===== LIGHT THEME ===== */
body.light-theme {
  --bg:      #f5f7fa;
  --surface: #ffffff;
  --accent:  #7B2FBE;
  --glow:    #c0390f;
  --grad-start: #6B2D8B;
  --grad-mid:   #C23B7A;
  --grad-end:   #E04B2A;
  --text:    #1a1f2e;
  --muted:   #5a6070;
  --border:  rgba(123, 47, 190, 0.18);
  --glass:   rgba(255, 255, 255, 0.82);
}

body.light-theme nav {
  background: rgba(245, 247, 250, 0.88);
}

body.light-theme nav.nav-scrolled {
  background: rgba(245, 247, 250, 0.98);
}

body.light-theme .nav-links {
  background: rgba(245, 247, 250, 0.98);
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
  background: rgba(245, 247, 250, 0.95);
  color: var(--text);
  border-color: rgba(123, 47, 190, 0.2);
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
  color: var(--muted);
}

body.light-theme footer {
  background: #e8ecf2;
  color: #4a5568;
}

/* Light theme text fixes */
body.light-theme .hero-name {
  color: #1a1f2e;
}

body.light-theme .nav-links a {
  color: #4a5568;
}

body.light-theme .nav-links a.nav-cta {
  color: #fff;
}

body.light-theme .nav-links a:hover {
  color: #1a1f2e;
}

body.light-theme .nav-links a.nav-cta:hover {
  color: var(--bg);
}

body.light-theme .nav-hamburger span {
  background: #1a1f2e;
}

body.light-theme .hero-subtitle,
body.light-theme .hero-typewriter,
body.light-theme .tw-label {
  color: #4a5568;
}

body.light-theme .hero-tagline {
  color: rgba(123, 47, 190, 0.65);
}

body.light-theme .section-title {
  color: #1a1f2e;
}

body.light-theme .section-subtitle {
  color: #4a5568;
}

body.light-theme .bio-text {
  color: #2d3748;
}

body.light-theme .skill-cat-title {
  color: #1a1f2e;
}

body.light-theme .timeline-company {
  color: #1a1f2e;
}

body.light-theme .timeline-bullets li {
  color: #4a5568;
}

body.light-theme .industry-name {
  color: #1a1f2e;
}

body.light-theme .contact-info h3 {
  color: #1a1f2e;
}

body.light-theme .contact-info p {
  color: #4a5568;
}

body.light-theme .contact-link {
  color: #1a1f2e;
}

body.light-theme .stat-label {
  color: #4a5568;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif; font-weight: 700; }

a { color: var(--glow); text-decoration: none; }
a:hover { color: #fff; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 2.5rem;
  background: rgba(8, 17, 30, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, background 0.3s ease;
}

nav.nav-scrolled {
  padding: 0.65rem 2.5rem;
  background: rgba(8, 17, 30, 0.97);
}

/* Logo — pushed to the far left */
.nav-logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-logo-text em {
  font-style: normal;
}

.nav-logo-text .logo-datatech {
  color: #7B2FBE;
}

.nav-logo-text .logo-solutions {
  color: #D93B3B;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.1px;
}

.nav-links a:hover { color: var(--text); }

nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 1.15rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  letter-spacing: 0.2px;
}

nav .nav-cta:hover {
  background: var(--glow);
  color: var(--bg);
  box-shadow: 0 0 16px rgba(194, 59, 122, 0.3);
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(123, 47, 190, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(123, 47, 190, 0.15);
  border-color: rgba(180, 80, 160, 0.35);
  color: var(--text);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: opacity 0.2s;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

body.light-theme .theme-toggle .icon-moon { display: none; }
body.light-theme .theme-toggle .icon-sun  { display: block; }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2rem;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

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

/* Mobile nav open state */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 17, 30, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav-links.mobile-open { display: flex; }
}

/* ===== SECTION COMMON ===== */
section { position: relative; overflow: hidden; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--glow);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--glow);
  opacity: 0.4;
}

.section-title {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* ===== FLOATING ORBS ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.orb-blue { background: rgba(123, 47, 190, 0.07); }
.orb-cyan { background: rgba(224, 75, 42, 0.05); }
.orb-lg   { width: 480px; height: 480px; }
.orb-md   { width: 280px; height: 280px; }

/* Section-specific orb positions */
.orb-overview   { top: -150px; right: -100px; }
.orb-expertise  { bottom: -80px; left: -60px; }
.orb-experience { top: 10%; left: -200px; }
.orb-industries { top: 50%; right: -80px; transform: translateY(-50%); }
.orb-contact    { bottom: -200px; right: -150px; }

/* ===== HERO ===== */
#hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(123, 47, 190, 0.08);
  border: 1px solid rgba(180, 80, 160, 0.22);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--glow);
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--glow);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.hero-name {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 0.65rem;
  letter-spacing: -2px;
  color: #e8eef4;
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0.9rem;
  letter-spacing: 0.1px;
}

.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.78rem, 1.35vw, 0.92rem);
  color: rgba(194, 59, 122, 0.55);
  margin-bottom: 1.75rem;
  letter-spacing: 0.3px;
}

.hero-typewriter {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2.5rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tw-label {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.85em;
}

.tw-text {
  color: var(--glow);
  border-right: 2px solid var(--glow);
  padding-right: 3px;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--glow); }
  50% { border-color: transparent; }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.65rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all 0.22s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--glow);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(194, 59, 122, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.65rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border: 1px solid rgba(212, 221, 232, 0.15);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--glow);
  color: var(--glow);
  box-shadow: 0 0 16px rgba(194, 59, 122, 0.1);
  transform: translateY(-2px);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}

.hero-links a:hover { color: var(--glow); }

/* ===== SECTION CANVASES ===== */
#expertise-canvas,
#industries-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ===== PROFESSIONAL OVERVIEW ===== */
#overview { background: var(--bg); }

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.4);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 59, 122, 0.3), transparent);
}

.bio-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.025rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.bio-text strong {
  color: var(--glow);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(123, 47, 190, 0.05);
  border: 1px solid rgba(180, 80, 160, 0.1);
  border-radius: 12px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.stat-item:hover {
  background: rgba(123, 47, 190, 0.09);
  border-color: rgba(180, 80, 160, 0.22);
  transform: translateY(-3px);
}

.stat-number {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--glow);
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -0.3px;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}
.stat-icon i, .stat-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--glow);
  stroke-width: 1.5;
  fill: none;
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ===== EXPERTISE ===== */
#expertise { background: var(--surface); }

.skill-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.skill-category {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-category::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.skill-category:hover::after { opacity: 1; }

.skill-category:hover {
  border-color: rgba(194, 59, 122, 0.28);
  box-shadow: 0 12px 40px rgba(123, 47, 190, 0.1);
}

.skill-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(123, 47, 190, 0.1);
  border: 1px solid rgba(180, 80, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.skill-cat-icon i, .skill-cat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--glow);
  stroke-width: 1.5;
  fill: none;
}

.skill-cat-title {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.9rem;
  letter-spacing: 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skill-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  background: rgba(123, 47, 190, 0.07);
  border: 1px solid rgba(180, 80, 160, 0.15);
  color: var(--glow);
  transition: background 0.18s, border-color 0.18s;
}

.skill-tag:hover {
  background: rgba(194, 59, 122, 0.1);
  border-color: rgba(194, 59, 122, 0.32);
}

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

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--accent) 15%,
    var(--glow) 50%,
    var(--accent) 85%,
    transparent);
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-32px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.timeline-dot {
  position: absolute;
  left: -2.4rem;
  top: 1.3rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(123, 47, 190, 0.2),
              0 0 10px rgba(123, 47, 190, 0.4);
  z-index: 1;
}

.timeline-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.timeline-card:hover {
  border-color: rgba(180, 80, 160, 0.22);
  box-shadow: 0 12px 40px rgba(123, 47, 190, 0.09);
  transform: translateY(-2px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.timeline-company {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.1px;
}

.timeline-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--glow);
  margin-top: 0.18rem;
}

.timeline-meta { text-align: right; }

.timeline-dates {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  color: var(--muted);
}

.timeline-location {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.timeline-location i, .timeline-location svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.timeline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.tech-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: rgba(123, 47, 190, 0.08);
  border: 1px solid rgba(180, 80, 160, 0.18);
  color: var(--glow);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.timeline-bullets li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.65;
}

.timeline-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.22rem;
}

/* ===== INDUSTRIES ===== */
#industries { background: var(--surface); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.85rem 1.25rem;
  text-align: center;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(194, 59, 122, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.22s;
}

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

.industry-card:hover {
  border-color: rgba(194, 59, 122, 0.3);
  box-shadow: 0 0 20px rgba(194, 59, 122, 0.08);
  transform: translateY(-4px);
}

.industry-icon {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.22s, transform 0.22s;
}
.industry-icon i, .industry-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--glow);
  stroke-width: 1.5;
  fill: none;
  transition: filter 0.22s, transform 0.22s;
}
.industry-card:hover .industry-icon {
  filter: drop-shadow(0 0 8px rgba(224, 75, 42, 0.6));
  transform: scale(1.08);
}

.industry-name {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}

.contact-info p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
}

.contact-link:hover {
  border-color: rgba(194, 59, 122, 0.3);
  color: var(--glow);
  box-shadow: 0 0 14px rgba(194, 59, 122, 0.08);
  transform: translateX(4px);
}

.contact-link-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(123, 47, 190, 0.1);
  border: 1px solid rgba(180, 80, 160, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-link-icon i, .contact-link-icon svg {
  width: 16px;
  height: 16px;
  color: var(--glow);
  stroke: var(--glow);
  stroke-width: 1.75;
  fill: none;
}
.contact-link-icon svg[fill="currentColor"] {
  fill: var(--glow);
  stroke: none;
}

.contact-form {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(8, 17, 30, 0.85);
  border: 1px solid rgba(180, 80, 160, 0.16);
  border-radius: 7px;
  padding: 0.7rem 0.95rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(194, 59, 122, 0.45);
  box-shadow: 0 0 0 3px rgba(194, 59, 122, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 220px;
  flex: 1;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form form .form-group:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form form .form-group:last-of-type textarea {
  flex: 1;
  min-height: 180px;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
}

.form-submit:hover {
  background: var(--glow);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(194, 59, 122, 0.28);
}

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  padding: 2rem;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 59, 122, 0.25), transparent);
}

footer span { color: var(--glow); }

/* ===== RESPONSIVE ===== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .skill-categories  { grid-template-columns: repeat(2, 1fr); }
  .industry-grid     { grid-template-columns: repeat(3, 1fr); }
}

/* Small tablet / large phone (≤ 900px) */
@media (max-width: 900px) {
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .skill-categories  { grid-template-columns: repeat(2, 1fr); }
  .industry-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-grid      { grid-template-columns: 1fr; }
  .timeline-meta     { text-align: left; }
  .hero-name         { letter-spacing: -1px; }
  .section-inner     { padding: 4rem 1.5rem; }
}

/* Mobile (≤ 640px) */
@media (max-width: 640px) {
  .nav-hamburger     { display: flex; }
  .nav-links         { display: none; }
  .skill-categories  { grid-template-columns: 1fr; }
  .industry-grid     { grid-template-columns: repeat(2, 1fr); }
  .section-inner     { padding: 3rem 1.1rem; }
  nav                { padding: 0.85rem 1.1rem; }
  nav.nav-scrolled   { padding: 0.6rem 1.1rem; }
  .nav-logo-text     { font-size: 0.88rem; }
  .nav-logo-img      { height: 34px; }
  .hero-name         { letter-spacing: -1px; }
  .hero-tagline      { font-size: 0.72rem; }
  .hero-ctas         { flex-direction: column; align-items: flex-start; }
  .btn-primary,
  .btn-outline       { width: 100%; justify-content: center; }
  .glass-card        { padding: 1.5rem 1.1rem; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-item         { padding: 1rem 0.75rem; }
  .stat-number       { font-size: 1.75rem; }
  .timeline          { padding-left: 1.25rem; }
  .timeline-dot      { left: -1.65rem; }
  .timeline-card     { padding: 1.1rem; }
  .timeline-header   { flex-direction: column; gap: 0.4rem; }
  .timeline-meta     { text-align: left; }
  .contact-grid      { gap: 1.75rem; }
  .contact-form      { padding: 1.25rem; }
  .section-title     { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-subtitle  { font-size: 0.9rem; }
}

/* Very small phones (≤ 400px) */
@media (max-width: 400px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .nav-logo-text { display: none; }
  .hero-ctas     { gap: 0.65rem; }
}

/* ===== SCROLL FADE-IN ===== */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}
