/* =========================================================
   NetSynq DevCraft — Modern IT & Full-Stack Portfolio
   Dual-Theme System: Obsidian Dark & Clean Modern Light
   Bespoke Cyber-Aura Glow, Stable Bento Cards & Animations
   ========================================================= */
:root, [data-theme="dark"] {
  --bg-body: #05070c;
  --bg-surface: #0a0e18;
  --bg-card: #0f1523;
  --bg-card-hover: #141c2e;
  --bg-glass: rgba(10, 14, 24, 0.88);
  --bg-chip: rgba(255, 255, 255, 0.04);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(16, 185, 129, 0.4);

  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  --card-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  --card-glow: 0 0 35px rgba(16, 185, 129, 0.12);
}

[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-chip: #f1f5f9;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-glow: rgba(16, 185, 129, 0.3);

  --accent-emerald: #059669;
  --accent-emerald-light: #10b981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.10);
  --accent-cyan: #0891b2;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;

  --card-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  --card-glow: 0 0 25px rgba(16, 185, 129, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.7);
}

/* =========================================================
   Bespoke Cyber Radar & Crosshair HUD Mouse Follower
   ========================================================= */
.devcraft-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.04s ease, background-color 0.2s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 0 10px var(--accent-emerald), 0 0 20px var(--accent-emerald);
  opacity: 0;
}

.devcraft-cursor-radar {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.45);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              opacity 0.2s ease;
  opacity: 0;
  animation: radar-spin 12s linear infinite;
}

@keyframes radar-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.devcraft-cursor-radar.radar-hover {
  width: 48px;
  height: 48px;
  border: 1.5px solid #22d3ee;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
  animation-duration: 4s;
}

.devcraft-cursor-dot.dot-hover {
  width: 9px;
  height: 9px;
  background-color: #22d3ee;
  box-shadow: 0 0 14px #22d3ee, 0 0 28px rgba(6, 182, 212, 0.7);
}

@media (pointer: fine) {
  *, *::before, *::after, html, body, a, button, input, select, textarea, [role="button"], label, .tilt-card, .project-card, .service-card, .skill-chip {
    cursor: none !important;
  }
}

@media (pointer: coarse) {
  .devcraft-cursor-dot,
  .devcraft-cursor-radar {
    display: none !important;
  }
}

body.devcraft-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* Ambient Background Light Mesh */
.ambient-glow-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.10) 0%, transparent 70%);
  filter: blur(60px);
  animation: blob-float-1 18s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 35%;
  right: 5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  animation: blob-float-2 22s ease-in-out infinite alternate;
}

.ambient-blob-3 {
  position: absolute;
  bottom: 10%;
  left: 30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
  filter: blur(60px);
  animation: blob-float-1 25s ease-in-out infinite alternate-reverse;
}

[data-theme="light"] .ambient-blob-1 { background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%); }
[data-theme="light"] .ambient-blob-2 { background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%); }
[data-theme="light"] .ambient-blob-3 { background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%); }

@keyframes blob-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

@keyframes blob-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.1); }
  100% { transform: translate(30px, -40px) scale(0.92); }
}

main, header, footer, aside {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 60%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald { color: var(--accent-emerald) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-amber { color: var(--accent-amber) !important; }

/* Floating NetSynq Preview Header Banner */
.netsynq-preview-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #05070c;
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 16px;
  color: #ffffff;
}
[data-theme="light"] .netsynq-preview-banner {
  background: #0f172a;
}

.banner-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
}

.preview-name {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-preview-back {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-preview-back:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.btn-preview-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: 5px 14px;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-preview-cta:hover {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 41px;
  z-index: 990;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #06080d;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.brand:hover .brand-monogram {
  transform: rotate(6deg) scale(1.06);
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-role {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald);
  transition: width 0.25s ease;
}
.primary-nav a:hover {
  color: var(--text-main);
}
.primary-nav a:hover::after {
  width: 100%;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.theme-toggle-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: rotate(15deg);
}

.nav-resume-btn {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 8px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.nav-resume-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease !important;
}
.nav-cta:hover {
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================================
   3D Tilt System for Bento Elements
   ========================================================= */
.tilt-card {
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.12), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.tilt-card:hover::after {
  opacity: 1;
}

/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Sections Global */
.section {
  padding: 85px 0;
}

.section-dark-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-tag {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: var(--accent-emerald) !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  background: var(--accent-emerald-subtle) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  margin: 0 auto 14px auto !important;
  text-align: center !important;
  align-self: center !important;
}

.section-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(1.85rem, 2.8vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  line-height: 1.25 !important;
  margin: 0 auto 12px auto !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.section-sub {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  line-height: 1.65 !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.text-center-wrap {
  text-align: center !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 48px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.about-grid .section-tag {
  margin: 0 0 14px 0 !important;
  align-self: flex-start !important;
}
.about-grid .section-title {
  text-align: left !important;
  margin: 0 0 14px 0 !important;
}

/* Hero Section */
.hero-section {
  padding: 75px 0 55px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-status-pill {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}
.hero-status-pill:hover {
  transform: translateY(-1px);
}

.hero-greeting {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.hero-rotator-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-emerald);
}

.typed-cursor {
  opacity: 1;
  animation: blink 0.7s infinite;
  font-weight: 300;
}

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

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.65);
}

.btn-hero-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-hero-secondary:hover {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.90rem;
  font-weight: 600;
}
.hero-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.hero-social-links a:hover {
  color: var(--accent-emerald);
  transform: translateY(-1px);
}

/* Hero Profile Bento Card (Solid & Stable, No 3D Tilt Distortion) */
.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  box-shadow: var(--card-shadow), var(--card-glow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.hero-visual-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.hero-portrait-frame {
  height: 310px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  background: var(--bg-surface);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual-card:hover .hero-portrait-img {
  transform: scale(1.05);
}

.hero-portrait-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 13, 0.75) 0%, transparent 60%);
  pointer-events: none;
}

.floating-exp-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  z-index: 2;
}
.hero-visual-card:hover .floating-exp-badge {
  transform: translateY(-2px);
}

.exp-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: #10b981;
  line-height: 1;
}

.exp-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.hero-profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.meta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}
.meta-box:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.meta-label {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Stats Counter Strip */
.stats-counter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.stat-box {
  text-align: center;
  padding: 10px;
  transition: transform 0.25s ease;
}
.stat-box:hover {
  transform: translateY(-2px);
}
.stat-box:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s ease;
}
.value-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Services Bento Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(16, 185, 129, 0.12);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(6deg);
}

.service-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.s-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-chip);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 3px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.service-card:hover .s-tag {
  border-color: rgba(16, 185, 129, 0.3);
}

/* =========================================================
   Featured Projects Section (100% Solid & Stable Cards)
   Zero 3D Tilt Distortions
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.project-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 25px rgba(16, 185, 129, 0.12);
  transform: translateY(-3px);
}

.project-thumb-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.project-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-impact-box {
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 18px;
}

.project-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.p-tech-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-chip);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.p-tech-pill:hover {
  color: var(--text-main);
  border-color: rgba(16, 185, 129, 0.4);
}

.project-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.btn-project-live {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-project-live i {
  transition: transform 0.2s ease;
}
.btn-project-live:hover {
  color: var(--accent-emerald);
}
.btn-project-live:hover i {
  transform: translate(3px, -3px);
}

.btn-project-source {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* =========================================================
   Skills Section — Dual Direction Infinite Auto-Scroll Marquee
   ========================================================= */
.skills-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0 35px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  user-select: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.marquee-track.scroll-left {
  animation: marquee-slide-left 32s linear infinite;
}

.marquee-track.scroll-right {
  animation: marquee-slide-right 32s linear infinite;
}

.skills-marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-slide-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-slide-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.marquee-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.marquee-item:hover {
  border-color: var(--accent-emerald);
  background: var(--bg-card-hover);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  z-index: 10;
}

.tech-icon-brand {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.tech-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.tech-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Skills Pillars Bar Below Marquee */
.skills-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.skill-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}

.skill-pillar-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.skill-pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(4deg);
}

.pillar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   Interactive Developer CLI Bash Terminal Styles
   ========================================================= */
.devcraft-terminal-box {
  background: #060911;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(16, 185, 129, 0.12);
  font-family: 'JetBrains Mono', monospace;
  margin: 0 auto;
  max-width: 960px;
}

.terminal-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0c111d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 8px;
}

.terminal-traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.t-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.t-red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.t-yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.6); }
.t-green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }

.terminal-session-title {
  font-weight: 700;
  color: #cbd5e1;
}

.terminal-env-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 99px;
  display: flex;
  align-items: center;
}

.terminal-quick-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(12, 17, 29, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.t-chip-label {
  font-size: 0.70rem;
  color: #64748b;
  font-weight: 700;
}

.t-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.70rem;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.t-chip-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  transform: translateY(-1px);
}

.terminal-screen {
  padding: 18px 20px;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
}

.terminal-log-output {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.t-highlight {
  color: #38bdf8;
  font-weight: 700;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 17, 29, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 6px 12px;
}

.t-prompt {
  font-size: 0.80rem;
  white-space: nowrap;
}
.t-user { color: #10b981; font-weight: 700; }
.t-at { color: #64748b; }
.t-host { color: #06b6d4; font-weight: 700; }
.t-path { color: #f59e0b; }

.t-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

.t-btn-send {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}
.t-btn-send:hover {
  background: #10b981;
  color: #05070c;
}

/* =========================================================
   Career Journey Timeline
   ========================================================= */
.timeline-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}
.timeline-container::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-emerald) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: -32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-emerald);
  border: 3px solid var(--bg-body);
  box-shadow: 0 0 10px var(--accent-emerald);
  transition: transform 0.3s ease;
  z-index: 2;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}
.timeline-content:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.timeline-role {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.timeline-company {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-top: 2px;
}

.timeline-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 9999px;
}

.timeline-desc {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   Testimonials Grid
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: all 0.25s ease;
}
.testimonial-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.quote-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent-emerald);
  margin-bottom: 12px;
  font-family: serif;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.testimonial-card:hover .author-avatar {
  transform: scale(1.08);
}

.author-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.author-role {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* =========================================================
   Contact Section & Direct Messaging Form
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about-p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--card-shadow);
}

.direct-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.direct-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.direct-email-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.btn-copy-email {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-copy-email:hover {
  background: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.direct-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.form-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.90rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2310b981' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 10px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-submit-form {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 4px;
}
.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 55px 0 28px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-bio {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--accent-emerald);
  transform: translateX(3px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.80rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-powered-by a {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .skills-pillars-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
}

