/* ==========================================================================
   VISHAL CHAK - 2026 MODERN PORTFOLIO DESIGN SYSTEM
   Theme: Dual Cyber-Slate (Dark Mode) & Clean Titanium (Light / Lit Mode)
   Architecture: Single Page Application (SPA) Optimized
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables (Dark Mode Default)
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  /* Brand Accents */
  --python-blue: #38bdf8;        /* Sky/Cyan 400 */
  --python-blue-hover: #0284c7;  /* Sky 600 */
  --python-yellow: #fbbf24;      /* Amber 400 */
  --django-green: #10b981;       /* Emerald 500 */
  --django-dark-green: #059669;  /* Emerald 600 */
  --django-glow: rgba(16, 185, 129, 0.25);
  --purple-accent: #a855f7;      /* Purple 500 */

  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --primary-glow: rgba(56, 189, 248, 0.25);
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --grad-django: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-python: linear-gradient(135deg, #38bdf8 0%, #fbbf24 100%);
  --grad-card: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  --grad-border: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.3));

  /* Dark Theme Surfaces */
  --bg-body: #070b16;
  --bg-surface: #0c1222;
  --bg-surface-elevated: #151f38;
  --bg-surface-card: rgba(15, 23, 42, 0.75);
  --bg-glass: rgba(12, 18, 34, 0.85);
  --bg-input: rgba(10, 16, 30, 0.75);
  --terminal-bg: #090e1a;
  --terminal-header-bg: #0e1526;
  --terminal-output-bg: #060911;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.4);

  /* Typography */
  --text-main: #f8fafc;          /* Slate 50 */
  --text-contrast: #ffffff;
  --text-muted: #94a3b8;         /* Slate 400 */
  --text-dim: #64748b;           /* Slate 500 */
  --text-inverse: #070b16;

  /* Code Syntax Colors */
  --syn-keyword: #f43f5e;        /* Rose */
  --syn-class: #38bdf8;          /* Cyan */
  --syn-string: #34d399;         /* Emerald */
  --syn-func: #fbbf24;           /* Amber */
  --syn-comment: #64748b;        /* Slate */
  --syn-var: #e2e8f0;            /* White */

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow-blue: 0 0 30px rgba(56, 189, 248, 0.2);
  --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.2);

  /* Ambient Glows */
  --glow-1-bg: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(129, 140, 248, 0.08) 50%, transparent 70%);
  --glow-2-bg: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.06) 50%, transparent 70%);
  --glow-3-bg: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 65%);
  --grid-line-color: rgba(255, 255, 255, 0.025);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.15s ease;
  --trans-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* --------------------------------------------------------------------------
   Light Mode ("Lit Mode") Variables
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  /* Brand Accents Tuned for Light Backgrounds */
  --python-blue: #0284c7;        /* Sky 600 */
  --python-blue-hover: #0369a1;  /* Sky 700 */
  --python-yellow: #d97706;      /* Amber 600 */
  --django-green: #059669;       /* Emerald 600 */
  --django-dark-green: #047857;  /* Emerald 700 */
  --django-glow: rgba(5, 150, 105, 0.25);
  --purple-accent: #9333ea;      /* Purple 600 */

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.25);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #a855f7 100%);
  --grad-django: linear-gradient(135deg, #059669 0%, #0891b2 100%);
  --grad-python: linear-gradient(135deg, #0284c7 0%, #d97706 100%);
  --grad-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);

  /* Light Theme Surfaces */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-card: rgba(255, 255, 255, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #ffffff;
  --terminal-bg: #0f172a;        /* Keep terminal sleek dark for code contrast */
  --terminal-header-bg: #1e293b;
  --terminal-output-bg: #090e1a;

  /* Borders */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-highlight: rgba(2, 132, 199, 0.4);

  /* Typography */
  --text-main: #0f172a;          /* Slate 900 */
  --text-contrast: #0f172a;
  --text-muted: #475569;         /* Slate 600 */
  --text-dim: #64748b;           /* Slate 500 */
  --text-inverse: #ffffff;

  /* Code Syntax Colors */
  --syn-keyword: #f43f5e;
  --syn-class: #38bdf8;
  --syn-string: #34d399;
  --syn-func: #fbbf24;
  --syn-comment: #94a3b8;
  --syn-var: #f8fafc;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow-blue: 0 0 25px rgba(2, 132, 199, 0.15);
  --shadow-glow-green: 0 0 25px rgba(5, 150, 105, 0.15);

  /* Ambient Glows for Light Mode */
  --glow-1-bg: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  --glow-2-bg: radial-gradient(circle, rgba(5, 150, 105, 0.10) 0%, rgba(8, 145, 178, 0.04) 50%, transparent 70%);
  --glow-3-bg: radial-gradient(circle, rgba(147, 51, 234, 0.08) 0%, transparent 65%);
  --grid-line-color: rgba(15, 23, 42, 0.035);
}

/* --------------------------------------------------------------------------
   2. Reset & Ambient Background
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Cyber Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -2;
  transition: background-image 0.3s ease;
}

/* 2026 Ambient Glowing Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
  opacity: 0.65;
  transition: transform 1s ease, background 0.3s ease;
}

.glow-1 {
  top: -10vw;
  right: -5vw;
  width: 45vw;
  height: 45vw;
  max-width: 650px;
  max-height: 650px;
  background: var(--glow-1-bg);
}

.glow-2 {
  top: 40vh;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: var(--glow-2-bg);
}

.glow-3 {
  bottom: 5vh;
  right: 15vw;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: var(--glow-3-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: 5px;
  border: 2px solid var(--bg-body);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --------------------------------------------------------------------------
   3. Container & Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 2rem);
}

.site-main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

.section-py {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  position: relative;
}

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

.section-title-wrap {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-highlight);
  color: var(--python-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0.85rem auto 0;
  line-height: 1.65;
}

.text-contrast { color: var(--text-contrast) !important; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-cyan {
  color: var(--python-blue);
  font-weight: 700;
}

.highlight-emerald {
  color: var(--django-green);
  font-weight: 700;
}

.highlight-yellow {
  color: var(--python-yellow);
  font-weight: 700;
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--django-green);
  box-shadow: 0 0 0 0 var(--django-glow);
  animation: pulse-ring 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--django-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* --------------------------------------------------------------------------
   4. Floating 2026 Cyber Island Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
  width: 100%;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: auto;
  height: 90px;
  max-width: 360px;
  padding: 4px 14px 4px 22px;
  background-color: #070b16; /* Keeps it dark inside the border even on light mode */
  border-radius: 16px;
  border: 1.5px solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2);
  object-fit: contain;
  transition: all var(--trans-fast);
}

.site-brand:hover .brand-logo-img {
  transform: scale(1.04);
  border-color: #00ffff;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6), inset 0 0 15px rgba(0, 255, 255, 0.3);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-role {
  font-size: 0.725rem;
  font-family: 'Fira Code', monospace;
  color: var(--python-blue);
  letter-spacing: 0.02em;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface-elevated);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.desktop-menu .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.desktop-menu .nav-link i {
  font-size: 0.85rem;
  opacity: 0.75;
}

.desktop-menu .nav-link:hover {
  color: var(--text-main);
  background: rgba(125, 125, 125, 0.12);
}

.desktop-menu .nav-link.active {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.desktop-menu .nav-link.active i {
  color: var(--python-blue);
  opacity: 1;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Theme Toggle Button (Moon / Sun) */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--python-blue);
  color: var(--python-blue);
  transform: rotate(15deg);
}

.btn-cv-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.btn-cv-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--python-blue);
  color: var(--python-blue);
  transform: translateY(-1px);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  background: var(--django-green);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px var(--django-glow);
  transition: all var(--trans-fast);
}

.nav-cta-btn:hover {
  background: var(--django-dark-green);
  box-shadow: 0 0 25px var(--django-glow);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.menu-toggle:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--python-blue);
  color: var(--python-blue);
}

/* Mobile Drawer Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  z-index: 1050;
  animation: slideDownMobile 0.25s ease forwards;
}

@keyframes slideDownMobile {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.mobile-close-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.975rem;
  background: var(--bg-surface-elevated);
  border: 1px solid transparent;
  transition: all var(--trans-fast);
}

.mobile-nav-link span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-link i {
  color: var(--python-blue);
  width: 20px;
}

.mobile-nav-link .arrow {
  color: var(--text-dim);
  font-size: 0.8rem;
  width: auto;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--border-highlight);
}

.mobile-drawer-footer {
  padding-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   5. Buttons System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.65rem;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--trans-smooth);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-django {
  background: var(--django-green);
  color: #ffffff;
  box-shadow: 0 0 25px var(--django-glow);
}

.btn-django:hover {
  background: var(--django-dark-green);
  box-shadow: 0 0 35px var(--django-glow);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--python-blue);
  color: #ffffff;
  box-shadow: 0 0 25px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--python-blue-hover);
  color: #ffffff;
  box-shadow: 0 0 35px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--python-blue);
}

.btn-outline-primary:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--python-blue);
  color: var(--text-contrast);
  transform: translateY(-2px);
}

.btn-outline-secondary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-outline-secondary:hover {
  background: rgba(125, 125, 125, 0.15);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Hero Section (VISHAL'S PHOTO & INTRO FIRST)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: flex-start;
}

/* Prominent Profile Banner */
.hero-profile-banner {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 1.5rem;
  background: var(--bg-surface-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.hero-avatar-box {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.hero-avatar-glow {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--python-blue), var(--django-green));
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-body);
}

.hero-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--bg-body);
  border: 2px solid var(--django-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.hero-intro-text {
  display: flex;
  flex-direction: column;
}

.hero-greeting-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--python-blue);
  margin-bottom: 0.2rem;
}

.hero-person-name {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--text-contrast);
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-icon {
  color: var(--python-blue);
  font-size: 0.7em;
}

.hero-person-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--django-green);
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-heading {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 900;
  color: var(--text-contrast);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: nowrap;
  margin-bottom: 1.75rem;
}

/* Connect & Location Strip */
.hero-connect-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-social-icons {
  display: flex;
  gap: 0.65rem;
}

.hero-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-box {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: all var(--trans-fast);
}

.metric-box:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-contrast);
  letter-spacing: -0.02em;
}

.metric-sub {
  font-size: 0.725rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   7. Live Interactive Python Terminal
   -------------------------------------------------------------------------- */
.terminal-window {
  background: var(--terminal-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  font-family: 'Fira Code', monospace;
  position: relative;
}

.terminal-header {
  background: var(--terminal-header-bg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.5rem;
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-tabs {
  display: flex;
  gap: 0.35rem;
}

.terminal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--trans-fast);
}

.terminal-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.terminal-tab-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.terminal-actions {
  display: flex;
  gap: 0.4rem;
}

.terminal-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--trans-fast);
}

.terminal-action-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--python-blue);
  color: #ffffff;
}

.terminal-body {
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.7;
  max-height: 380px;
  overflow-y: auto;
  color: #cbd5e1;
}

.code-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-comment { color: var(--syn-comment); font-style: italic; }
.code-kw { color: var(--syn-keyword); font-weight: 600; }
.code-class { color: var(--syn-class); font-weight: 600; }
.code-str { color: var(--syn-string); }
.code-django { color: var(--django-green); font-weight: 600; }
.code-func { color: var(--syn-func); font-weight: 600; }

.terminal-output {
  background: var(--terminal-output-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.output-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--django-green);
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.output-body code {
  display: block;
  color: #cbd5e1;
  font-family: inherit;
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   8. About Section & Bento Grid
   -------------------------------------------------------------------------- */
.about-bento-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--trans-smooth);
}

.bento-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.profile-card-glass {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-img-glow {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--python-blue), var(--django-green));
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
  margin-bottom: 1.35rem;
  position: relative;
}

.profile-img-glow img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-body);
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-contrast);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.profile-role {
  color: var(--python-blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.badge-pill {
  padding: 0.25rem 0.7rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
  cursor: default;
}

.badge-pill:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--django-green);
  transform: scale(1.05);
}

.badge-highlight {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--django-green);
}

.profile-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.1rem;
  transition: all var(--trans-fast);
}

.social-icon-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--python-blue);
  color: var(--python-blue);
  transform: translateY(-2px);
}

.card-icon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--python-blue);
  margin-bottom: 0.85rem;
}

.card-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-contrast);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.bio-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.highlight-boxes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight-mini-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.mini-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--django-green);
}

.mini-label {
  font-size: 0.725rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Bento Principles Card */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.principle-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.principle-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--python-blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.principle-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-contrast);
  margin-bottom: 0.25rem;
}

.principle-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Engineering Pillars
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--python-blue);
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--django-green);
  color: var(--django-green);
}

.pillar-card:nth-child(3) .pillar-icon-box {
  background: rgba(251, 191, 36, 0.12);
  border-color: var(--python-yellow);
  color: var(--python-yellow);
}

.pillar-card:nth-child(4) .pillar-icon-box {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--purple-accent);
  color: var(--purple-accent);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-contrast);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

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

/* --------------------------------------------------------------------------
   10. Skills Section
   -------------------------------------------------------------------------- */
.skills-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-btn:hover {
  background: rgba(125, 125, 125, 0.15);
  color: var(--text-main);
}

.filter-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--python-blue);
  color: var(--text-contrast);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.skill-search-wrap {
  position: relative;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.skill-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.875rem;
  outline: none;
  transition: all var(--trans-fast);
}

.skill-search-input:focus {
  border-color: var(--python-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.skill-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all var(--trans-smooth);
}

.skill-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.skill-card.hidden {
  display: none !important;
}

.skill-icon-container {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

.skill-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-contrast);
}

.skill-level {
  font-size: 0.775rem;
  margin-top: 0.1rem;
}

.skill-bar {
  width: 100%;
  height: 5px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--python-blue), var(--django-green));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* --------------------------------------------------------------------------
   11. Featured Projects Showcase
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all var(--trans-smooth);
}

.project-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.project-card.hidden {
  display: none !important;
}

.project-thumb-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--bg-surface-elevated);
}

.project-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-wrap img {
  transform: scale(1.05);
}

.project-status-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--django-green);
  color: var(--django-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.project-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-contrast);
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.tech-pill {
  font-size: 0.75rem;
  font-family: 'Fira Code', monospace;
  padding: 0.25rem 0.65rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-highlight);
  color: var(--python-blue);
  border-radius: var(--radius-full);
}

.project-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   12. Career & Education Timeline
   -------------------------------------------------------------------------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.experience-col {
  display: flex;
  flex-direction: column;
}

.col-header-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.col-header-box i {
  font-size: 1.4rem;
}

.col-header-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-contrast);
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.75rem;
  border-left: 2px solid var(--border-subtle);
}

.timeline-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: all var(--trans-smooth);
}

.timeline-card:hover {
  border-color: var(--border-highlight);
  transform: translateX(4px);
}

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--bg-body);
}

.dot-blue {
  background: var(--python-blue);
  box-shadow: 0 0 12px var(--python-blue);
}

.dot-emerald {
  background: var(--django-green);
  box-shadow: 0 0 12px var(--django-green);
}

.dot-yellow {
  background: var(--python-yellow);
  box-shadow: 0 0 12px var(--python-yellow);
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.timeline-badge {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--python-blue);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--django-green);
}

.badge-yellow {
  background: rgba(251, 191, 36, 0.15);
  color: var(--python-yellow);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-contrast);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--python-blue);
  margin-bottom: 0.75rem;
}

.timeline-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   13. Contact & Direct Hire Hub
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
}

.contact-card-box {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.contact-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-contrast);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
}

.contact-item-row:hover {
  border-color: var(--border-highlight);
}

.contact-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  color: var(--python-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.825rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-item-text a {
  color: var(--text-contrast);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item-text a:hover {
  color: var(--python-blue);
}

.copy-btn {
  padding: 0.4rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--trans-fast);
}

.copy-btn:hover {
  background: var(--python-blue);
  border-color: var(--python-blue);
  color: #ffffff;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-contrast);
  margin-bottom: 0.5rem;
}

.form-label i {
  color: var(--python-blue);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--trans-fast);
}

.form-control:focus {
  border-color: var(--python-blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

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

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeIn 0.3s ease;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.alert-error, .alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* --------------------------------------------------------------------------
   14. Back-to-Top Floating Widget
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: all var(--trans-smooth);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--python-blue);
  color: #ffffff;
  border-color: var(--python-blue);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
}

/* --------------------------------------------------------------------------
   15. 2026 Modern Cyber Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-contrast);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 380px;
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  color: var(--django-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-contrast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--trans-fast);
}

.footer-links-list a:hover {
  color: var(--python-blue);
  transform: translateX(3px);
}

.footer-email-link, .footer-location-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.footer-email-link i, .footer-location-link i {
  color: var(--python-blue);
}

.footer-email-link a {
  color: var(--text-contrast);
  font-weight: 600;
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1rem;
  transition: all var(--trans-fast);
}

.footer-social-link:hover {
  background: var(--python-blue);
  color: #ffffff;
  border-color: var(--python-blue);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-pill-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-badge {
  font-size: 0.725rem;
  font-family: 'Fira Code', monospace;
  padding: 0.25rem 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-bento-grid {
    grid-template-columns: 1fr;
  }

  .profile-card-glass {
    grid-row: auto;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hide-mobile {
    display: none;
  }

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

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 0;
  }

  .header-inner {
    padding-block: 0.5rem;
  }

  .brand-logo-img {
    height: 45px !important;
    padding: 2px 6px 2px 12px !important;
    border-radius: 10px !important;
  }

  .btn-cv-pill {
    display: none !important;
  }

  .hero-profile-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-person-name {
    justify-content: center;
  }

  .hero-greeting-pill {
    margin-inline: auto;
  }

  .hero-connect-strip {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .pillars-grid {
    grid-template-columns: 1fr;
  }

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

  .skills-filter-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .skill-search-wrap {
    min-width: 100%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .highlight-boxes-row {
    grid-template-columns: 1fr;
  }

  .section-py {
    padding-block: 3.5rem;
  }
}

@media (max-width: 480px) {
  .nav-cta-btn {
    display: none !important;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

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

  .project-actions {
    flex-direction: column;
  }

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

  .contact-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .contact-item-text a {
    word-break: break-all;
  }
}

