/* ==========================================================================
   BISWA ANANTA JALI - PORTFOLIO DESIGN SYSTEM (PURE VANILLA CSS)
   Aesthetic: Ultra-Modern Glassmorphic Dark UI with Electric Cyan & Violet Accents
   Typography: Outfit (Headings) + Plus Jakarta Sans (Body) + JetBrains Mono (Code)
   ========================================================================== */

/* ----------------- CSS RESET & DESIGN TOKENS ----------------- */
:root {
  /* Color Palette - Dark Theme (Default) */
  --bg-primary: #070b14;
  --bg-secondary: #0d1424;
  --bg-tertiary: #141f36;
  --bg-elevated: #1a2744;
  --bg-glass: rgba(13, 20, 36, 0.72);
  --bg-glass-card: rgba(20, 31, 54, 0.65);
  --bg-glass-input: rgba(10, 16, 29, 0.85);

  /* Borders & Strokes */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-focus: #00f2fe;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070b14;

  /* Accent Colors */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-violet: #8b5cf6;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
  --grad-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --grad-purple: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-dark-card: linear-gradient(145deg, rgba(20, 31, 54, 0.85) 0%, rgba(13, 20, 36, 0.95) 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.15), transparent 70%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(139, 92, 246, 0.25);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout & Sizing */
  --container-max: 1240px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.9);
  --bg-glass-input: rgba(241, 245, 249, 0.95);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(0, 114, 255, 0.35);
  --border-card: rgba(15, 23, 42, 0.1);
  --border-focus: #0284c7;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --grad-dark-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.12), transparent 70%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.18);
}

/* Midnight Navy Alternate Theme */
[data-theme="midnight"] {
  --bg-primary: #030712;
  --bg-secondary: #0b0f19;
  --bg-tertiary: #111827;
  --bg-elevated: #1f2937;
  --accent-cyan: #38bdf8;
  --accent-violet: #a78bfa;
}

/* Box Sizing & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Selection & Scrollbar */
::selection {
  background: rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

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

/* ----------------- UTILITY & CONTAINER CLASSES ----------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

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

.gradient-text-alt {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-emerald {
  background: var(--grad-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ----------------- INTERACTIVE BACKGROUND CANVAS ----------------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.bg-ambient-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.orb-1 {
  top: 10%;
  left: -5%;
  background: var(--accent-cyan);
}

.orb-2 {
  top: 40%;
  right: -5%;
  background: var(--accent-violet);
}

.orb-3 {
  bottom: 10%;
  left: 30%;
  background: var(--accent-blue);
}

/* ----------------- NAVIGATION BAR ----------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  height: 68px;
  background: rgba(7, 11, 20, 0.88);
  border-bottom-color: rgba(0, 242, 254, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
  transition: transform var(--transition-fast);
}

.brand-avatar-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-tertiary);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.45);
  transition: transform var(--transition-fast);
}

.nav-brand:hover .brand-avatar-box {
  transform: scale(1.1) rotate(-5deg);
  border-color: var(--accent-violet);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.5);
}

.nav-brand:hover .brand-avatar-img {
  transform: scale(1.6);
}

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

.brand-dot {
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Placement Status Pulse Pill */
.placement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-ring 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Theme Switcher Button */
.theme-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  transform: rotate(20deg);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ----------------- BUTTONS & CALL TO ACTIONS ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #070b14;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
  color: #000;
}

.btn-outline {
  background: var(--bg-glass-card);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

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

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* ----------------- HERO SECTION ----------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero-greeting {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-title-typewriter {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.typed-text {
  color: var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
  padding-right: 4px;
  animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
  from, to { border-color: transparent; }
  50% { border-color: var(--accent-cyan); }
}

.hero-summary {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

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

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.hero-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.hero-tag i {
  color: var(--accent-cyan);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* Hero Visual / Profile Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 390px;
}

.profile-card-glow {
  position: absolute;
  inset: -12px;
  background: var(--grad-primary);
  border-radius: 28px;
  filter: blur(24px);
  opacity: 0.4;
  z-index: 0;
  animation: pulseGlow 5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(0.98); }
  100% { opacity: 0.6; transform: scale(1.03); }
}

.profile-card {
  position: relative;
  z-index: 1;
  background: var(--grad-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  transition: transform var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-6px);
}

.profile-image-box {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
  background: #111a2e;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover .profile-photo {
  transform: scale(1.04);
}

.profile-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0) 40%, rgba(7, 11, 20, 0.85) 80%, rgba(7, 11, 20, 0.98) 100%);
  pointer-events: none;
}

.profile-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
}

.profile-name-tag {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.profile-inst-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

/* Floating Badges around Hero Visual */
.float-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  background: rgba(13, 20, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  animation: floatAnim 4s ease-in-out infinite;
}

.float-badge-1 {
  bottom: 20%;
  right: -25px;
  top: auto;
  animation-delay: 0s;
}

.float-badge-2 {
  bottom: 12%;
  left: -20px;
  animation-delay: 2s;
}

.float-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-cyan {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-violet);
}

.float-badge-text {
  display: flex;
  flex-direction: column;
}

.float-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.float-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ----------------- RECRUITER FAST-TRACK DECK (THE 30-SEC BAR) ----------------- */
.recruiter-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

.recruiter-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.recruiter-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.recruiter-icon-pulse {
  color: var(--accent-amber);
  font-size: 1.35rem;
}

.recruiter-fast-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.recruiter-fast-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.recruiter-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.stat-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number .stat-suffix {
  color: var(--accent-cyan);
  font-size: 1.8rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.recruiter-fast-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.matrix-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.matrix-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.matrix-pill {
  padding: 0.35rem 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.matrix-pill i {
  color: var(--accent-cyan);
}

.fast-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Copy Toast Feedback */
.copy-btn {
  cursor: pointer;
}

.copy-btn.copied {
  background: var(--accent-emerald) !important;
  color: #000 !important;
}

/* ----------------- ABOUT & VALUE PROPOSITION ----------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card-spotlight {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-avatar-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.about-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}

.about-avatar-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.about-avatar-meta p {
  font-size: 0.88rem;
  color: var(--accent-cyan);
}

.about-quick-specs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--bg-glass-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-narrative h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.core-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  background: var(--bg-elevated);
}

.pillar-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

/* ----------------- EXPERIENCE & INTERNSHIPS TIMELINE ----------------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-violet) 70%, transparent 100%);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3.5rem;
}

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

.timeline-node {
  position: absolute;
  top: 0;
  left: 17px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  z-index: 2;
}

.timeline-node.purple {
  border-color: var(--accent-violet);
  color: var(--accent-violet);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
}

.experience-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal);
}

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

.exp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.exp-role-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.exp-company-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.exp-company-meta .exp-type {
  padding: 0.2rem 0.6rem;
  background: rgba(0, 242, 254, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.exp-period-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.exp-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.exp-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.exp-bullet {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.exp-bullet::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1.1rem;
}

.exp-bullet strong {
  color: var(--text-primary);
  font-weight: 600;
}

.exp-tech-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.tech-tag {
  padding: 0.3rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 500;
}

/* ----------------- PROJECTS SHOWCASE (INTERACTIVE) ----------------- */
.project-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: #070b14;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.project-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.project-preview-frame {
  position: relative;
  width: 100%;
  height: 230px;
  background: #0f182c;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.project-mock-header {
  height: 32px;
  background: rgba(10, 16, 29, 0.95);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mock-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}

.mock-circle:nth-child(2) { background: #ffbd2e; }
.mock-circle:nth-child(3) { background: #27c93f; }

.mock-url {
  margin-left: 0.75rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
}

.project-mock-canvas {
  height: calc(100% - 32px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.08) 0%, transparent 80%);
}

.project-mock-icon {
  font-size: 3.5rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 15px rgba(0, 242, 254, 0.4));
  transition: transform 0.4s ease;
}

.project-card:hover .project-mock-icon {
  transform: scale(1.15) rotate(3deg);
}

.project-featured-badge {
  position: absolute;
  top: 42px;
  right: 12px;
  padding: 0.3rem 0.75rem;
  background: rgba(0, 242, 254, 0.18);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

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

.project-type-tag {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-violet);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.project-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  background: var(--bg-glass-input);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.p-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.p-highlight-item i {
  color: var(--accent-emerald);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.project-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

/* ----------------- TECHNICAL SKILLS RADAR & MATRIX ----------------- */
.skills-search-wrapper {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.skills-search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.skills-search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  background: var(--bg-elevated);
}

.skills-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-category-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

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

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.skill-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
}

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

.skill-card-item {
  background: var(--bg-glass-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: default;
}

.skill-card-item:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.skill-icon-large {
  font-size: 2.25rem;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.skill-card-item:hover .skill-icon-large {
  transform: scale(1.18) rotate(5deg);
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ----------------- EDUCATION & LEADERSHIP ----------------- */
.edu-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.info-block-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.info-block-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.info-block-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.info-block-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.edu-entry {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.edu-entry:last-child {
  margin-bottom: 0;
}

.edu-logo-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.edu-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edu-content {
  flex-grow: 1;
}

.edu-inst {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.edu-degree {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.edu-time {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.lead-role-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.lead-org {
  font-size: 0.95rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 1rem;
}

.lead-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-bullet {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.lead-bullet::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-emerald);
  font-size: 0.85rem;
}

/* ----------------- INTERACTIVE DEVELOPER TERMINAL ----------------- */
.terminal-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: #090d16;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.1);
  overflow: hidden;
}

.terminal-header {
  height: 42px;
  background: #101626;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-controls {
  display: flex;
  gap: 0.5rem;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.t-dot.red { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.terminal-body {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #a5b4fc;
}

.t-line {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.t-prompt {
  color: var(--accent-cyan);
}

.t-cmd {
  color: #fff;
  font-weight: 600;
}

.t-output {
  color: #94a3b8;
  margin-top: 0.25rem;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #0d1322;
  border-top: 1px solid var(--border-subtle);
}

.terminal-input-prompt {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
}

.terminal-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.terminal-input:focus {
  outline: none;
}

/* ----------------- CONTACT & PLACEMENT CONNECT ----------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
  background: var(--bg-elevated);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-meta h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-meta p,
.contact-meta a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-meta a:hover {
  color: var(--accent-cyan);
}

.contact-form-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: var(--bg-tertiary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

/* ----------------- FOOTER ----------------- */
.footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----------------- MODALS & POPUPS ----------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95) translateY(15px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
}

.modal-close-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  background: var(--accent-rose);
  border-color: var(--accent-rose);
}

.modal-body {
  padding: 2rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #0f172a;
  color: #fff;
  border: 1px solid var(--border-glow);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease-out;
}

.toast i {
  color: var(--accent-cyan);
  font-size: 1.15rem;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ----------------- RESPONSIVE MEDIA QUERIES ----------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .profile-card-wrapper {
    max-width: 320px;
  }

  .profile-image-box {
    height: 360px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .edu-lead-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

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

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

  .recruiter-fast-matrix {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 55px;
  }

  .timeline-node {
    left: 5px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .float-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .recruiter-stats-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ----------------- MODAL DEEP-DIVE & ARCHITECTURE STYLING ----------------- */
.modal-deepdive {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-arch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
  width: fit-content;
}

.modal-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 680px) {
  .modal-grid-2 {
    grid-template-columns: 1fr;
  }
}

.modal-spec-card {
  background: var(--bg-glass-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.modal-spec-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-spec-card h4 i {
  color: var(--accent-cyan);
}

.modal-spec-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-spec-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-spec-card strong {
  color: var(--text-primary);
}

.modal-code-snippet {
  background: #090d16;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.snippet-header {
  background: #101626;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.badge-js {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.modal-code-snippet pre {
  padding: 1.25rem;
  overflow-x: auto;
}

.modal-code-snippet code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #a5b4fc;
  line-height: 1.6;
}

.modal-key-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .modal-key-metrics {
    grid-template-columns: 1fr;
  }
}

.m-metric {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.m-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

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

/* ==========================================================================
   MOBILE & SMALL DEVICE OPTIMIZATIONS (Smartphones, iOS & Android)
   ========================================================================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
    max-width: 100%;
  }

  .profile-card-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .profile-image-box {
    height: 350px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 768px) {
  /* Prevent any horizontal overflow on mobile */
  body, main, section, .container, .hero, .recruiter-bar, .projects-grid {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* 3-Line Hamburger Menu Toggle */
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: var(--bg-glass-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-primary) !important;
    font-size: 1.3rem !important;
    cursor: pointer !important;
    z-index: 1002 !important;
  }

  .mobile-toggle:hover {
    border-color: var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
  }

  .nav-hire-btn {
    display: none !important; /* Hide header hire btn to keep hamburger menu clean & visible */
  }

  .nav-menu {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - var(--header-height)) !important;
    background: rgba(7, 11, 20, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 2rem 1.5rem !important;
    gap: 1rem !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    transform: translateY(-150%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999 !important;
    overflow-y: auto !important;
  }

  .nav-menu.open {
    transform: translateY(0) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
  }

  .nav-menu .nav-link {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    padding: 0.85rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
    width: 100% !important;
    color: var(--text-secondary) !important;
    border: 1px solid transparent !important;
    display: block !important;
  }

  .nav-menu .nav-link.active,
  .nav-menu .nav-link:hover {
    color: var(--accent-cyan) !important;
    background: rgba(0, 242, 254, 0.08) !important;
    border-color: rgba(0, 242, 254, 0.2) !important;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0.85rem 1.5rem !important;
    margin-top: 0.5rem !important;
  }

  /* Hide floating badges on mobile so they never overflow viewport width */
  .float-badge {
    display: none !important;
  }

  .hero-greeting {
    font-size: 1rem;
  }
  
  .hero-name {
    font-size: 2.1rem;
  }

  .hero-summary {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Projects & Action Buttons on Mobile - All Buttons 100% Visible */
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .project-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
  }

  .project-actions .btn,
  .project-actions a.btn,
  .project-actions button.btn {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
  }

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

  .skill-card-item {
    padding: 0.85rem 0.6rem;
  }

  .skill-icon-large {
    font-size: 1.8rem;
  }

  .skill-name {
    font-size: 0.82rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-node {
    left: 5px;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 769px) {
  .nav-mobile-cta {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem !important;
  }

  .nav-brand {
    font-size: 1.15rem;
  }

  .brand-avatar-box {
    width: 36px;
    height: 36px;
  }

  .hero-status-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    width: 100%;
    text-align: center;
  }

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

  .hero-title-typewriter {
    font-size: 0.98rem;
    flex-wrap: wrap;
  }

  .hero-badges-row {
    gap: 0.4rem;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
  }

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

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

  .recruiter-stats-grid {
    grid-template-columns: 1fr;
  }

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

  .project-body {
    padding: 1.25rem;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .recruiter-stat-card {
    padding: 1.2rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Modals Optimization for Mobile Screens */
  .modal-card {
    width: 92% !important;
    max-width: 92% !important;
    margin: 1.5rem auto !important;
    max-height: 90vh !important;
    overflow-x: hidden !important;
  }

  .modal-header {
    padding: 1rem 1.25rem !important;
  }

  .modal-title {
    font-size: 1.05rem !important;
  }

  .modal-body {
    padding: 1.25rem 1rem !important;
  }

  .resume-modal-body {
    padding: 1.25rem 1rem !important;
  }

  /* Terminal CLI Optimization on Mobile */
  .terminal-header {
    padding: 0.6rem 0.9rem;
  }

  .terminal-title {
    font-size: 0.78rem;
  }

  .terminal-body {
    padding: 0.85rem;
    font-size: 0.8rem;
    max-height: 300px;
  }

  .t-prompt {
    display: block;
    margin-bottom: 0.15rem;
  }

  /* Filter Bar Mobile Scroll */
  .project-filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-bottom: 2rem;
  }

  .filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }

  /* Contact Section Mobile Optimization */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    width: 100% !important;
  }

  .contact-info-panel {
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .contact-card-item {
    padding: 1rem 1rem !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-md) !important;
  }

  .contact-icon-box {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
    border-radius: var(--radius-sm) !important;
  }

  .contact-meta {
    min-width: 0 !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
  }

  .contact-meta h4 {
    font-size: 0.75rem !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 0.15rem !important;
  }

  .contact-meta p,
  .contact-meta a {
    font-size: 0.88rem !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    display: block !important;
  }

  .contact-form-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-form-card .form-group {
    margin-bottom: 1rem !important;
  }

  .contact-form-card .form-label {
    font-size: 0.82rem !important;
    margin-bottom: 0.35rem !important;
  }

  .contact-form-card .form-control {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.7rem 0.85rem !important;
    font-size: 0.88rem !important;
    border-radius: var(--radius-sm) !important;
  }

  .contact-form-card textarea.form-control {
    min-height: 100px !important;
  }

  .contact-form-card .btn {
    width: 100% !important;
    white-space: normal !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 380px) {
  .hero-name {
    font-size: 1.65rem;
  }

  .hero-actions .btn {
    font-size: 0.86rem;
    padding: 0.75rem 0.9rem;
  }

  .contact-meta p,
  .contact-meta a {
    font-size: 0.82rem !important;
  }
}
