/* ═══════════════════════════════════════════════════════════════════
   PORTFOLIO STYLESHEET - BELAL RAGB SHABAN
   AI & Data Science Student
   Vanilla CSS with Design Tokens, Themes, Glassmorphism, & Animations
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS & CSS VARIABLES
   ───────────────────────────────────────────────────────────────── */
:root {
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Transitions */
  --transition-fast: 0.2s 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.4, 0, 0.2, 1);

  /* Spacing */
  --container-max-width: 1200px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* 🌙 DARK THEME (DEFAULT) */
html[data-theme="dark"] {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-surface: #141e33;
  --bg-surface-elevated: #1a2742;
  --bg-card: rgba(20, 30, 51, 0.7);
  --bg-card-hover: rgba(26, 39, 66, 0.9);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(99, 102, 241, 0.3);

  /* Accent & Gradients */
  --accent-primary: #6366f1;       /* Electric Indigo */
  --accent-secondary: #06b6d4;     /* Cyan */
  --accent-emerald: #10b981;       /* Emerald */
  --accent-amber: #f59e0b;         /* Amber */
  --accent-rose: #f43f5e;          /* Rose */

  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.35);

  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-backdrop: blur(14px);
}

/* ☀️ LIGHT THEME */
html[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(99, 102, 241, 0.25);

  /* Accent & Gradients */
  --accent-primary: #4f46e5;
  --accent-secondary: #0891b2;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;

  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  --gradient-glow: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(79, 70, 229, 0) 70%);

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.2);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-backdrop: blur(14px);
}

/* ─────────────────────────────────────────────────────────────────
   2. RESET & GLOBAL BASE STYLES
   ───────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--accent-primary);
  color: #ffffff;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Spacing */
.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

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

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

.text-accent {
  color: var(--accent-secondary);
}

.text-center {
  text-align: center;
}

/* Section Headers */
.section-header {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.section-line {
  width: 50px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────────────────────────────
   3. BACKGROUND GLOW ORBS & PATTERN
   ───────────────────────────────────────────────────────────────── */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  transition: opacity var(--transition-normal);
}

html[data-theme="light"] .glow-orb {
  opacity: 0.08;
  filter: blur(80px);
}

.orb-1 {
  top: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: var(--accent-primary);
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-2 {
  top: 40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent-secondary);
  animation: floatOrb 24s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  bottom: -15%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

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

/* ─────────────────────────────────────────────────────────────────
   4. BUTTONS & INTERACTIVE ELEMENTS
   ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
  color: #ffffff;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-glow:hover::after {
  left: 100%;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  background: var(--gradient-brand-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

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

.btn-block {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────────
   5. HEADER & NAVIGATION BAR
   ───────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--glass-border);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo-symbol {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--gradient-brand-subtle);
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
}

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

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

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

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  position: relative;
}

.theme-toggle-btn:hover {
  color: var(--accent-primary);
  border-color: var(--border-accent);
  transform: rotate(15deg);
}

html[data-theme="dark"] .sun-icon {
  display: block;
}
html[data-theme="dark"] .moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: none;
}
html[data-theme="light"] .moon-icon {
  display: block;
}

/* Hamburger Menu Button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 0;
  z-index: 1001;
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.mobile-toggle-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.mobile-toggle-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────────
   6. HERO SECTION
   ───────────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

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

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--accent-primary);
  margin-right: -0.15rem;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.75; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.75; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero-name {
  display: block;
}

.hero-role-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.role-prefix {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-role {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.hero-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 1.75rem;
}

.hero-tech-stack {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.stack-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stack-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.stack-pill i {
  color: var(--accent-primary);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.social-icon-btn:hover {
  color: #ffffff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

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

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: visible;
  backdrop-filter: var(--glass-backdrop);
}

.visual-card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-brand);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.35;
  filter: blur(8px);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-subtle);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.card-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

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

.visual-card-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
}

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

.code-line.empty {
  height: 0.75rem;
}

.c-keyword { color: #f43f5e; font-weight: 500; }
.c-module { color: #38bdf8; }
.c-class { color: #a78bfa; font-weight: 600; }
.c-var { color: #e2e8f0; }
html[data-theme="light"] .c-var { color: #1e293b; }
.c-func { color: #34d399; }
.c-comment { color: #64748b; font-style: italic; }
.c-num { color: #f59e0b; }
.c-str { color: #fbbf24; }

/* Floating Badges on Hero Card */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
  animation: floatBadge 4s ease-in-out infinite alternate;
  z-index: 5;
}

.badge-top-right {
  top: -24px;
  right: -20px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: -24px;
  left: -20px;
  animation-delay: 2s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand-subtle);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border-accent);
}

.badge-icon-depi {
  color: var(--accent-secondary);
}

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

.badge-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

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

/* ─────────────────────────────────────────────────────────────────
   7. ABOUT ME SECTION
   ───────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.about-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
  text-align: center;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.about-profile-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.profile-avatar-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.65rem;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.75;
  filter: blur(5px);
  animation: rotateRing 12s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.profile-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 4px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform var(--transition-normal);
}

.about-profile-card:hover .profile-img {
  transform: scale(1.08);
}

.avatar-icon-circle {
  width: 100%;
  height: 100%;
  background: var(--gradient-brand-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent-primary);
}

.avatar-status-pill {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent-secondary);
  z-index: 3;
  box-shadow: var(--shadow-sm);
}

.profile-name {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.profile-role {
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.info-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.35rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.stat-title {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* About Narrative */
.narrative-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1.35rem;
}

.narrative-p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.highlight-p {
  color: var(--text-primary);
  font-weight: 400;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.8rem 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

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

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pillar-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.about-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ─────────────────────────────────────────────────────────────────
   8. SKILLS SECTION
   ───────────────────────────────────────────────────────────────── */
.skills-filter-container {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.skill-tab {
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skill-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.skill-tab.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.skill-category-block {
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.skill-category-block.hidden {
  display: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.category-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.category-icon-soft {
  color: var(--accent-secondary);
}

.category-title {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  backdrop-filter: var(--glass-backdrop);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

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

.skill-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
}

/* Specific Skill Icon Colors */
.icon-python { color: #38bdf8; }
.icon-sql { color: #f59e0b; }
.icon-pandas { color: #10b981; }
.icon-numpy { color: #4f46e5; }
.icon-scikit { color: #f97316; }
.icon-powerbi { color: #eab308; }
.icon-excel { color: #22c55e; }
.icon-jupyter { color: #f97316; }
.icon-soft { color: var(--accent-secondary); }

.skill-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.skill-role-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--gradient-brand-subtle);
  color: var(--accent-primary);
  border: 1px solid var(--border-accent);
}

.soft-badge {
  color: var(--accent-secondary);
}

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

/* ─────────────────────────────────────────────────────────────────
   9. PROJECTS SECTION
   ───────────────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.project-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--gradient-brand-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
}

.project-tag-bi {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

.project-tag-nlp {
  color: var(--accent-secondary);
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
}

.project-status-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.project-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.project-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-highlights li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.project-highlights li i {
  color: var(--accent-emerald);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.project-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.project-btn {
  flex: 1;
}

/* Modal Styling */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 88vh;
  overflow-y: auto;
}

.project-modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

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

/* ─────────────────────────────────────────────────────────────────
   10. TRAINING & PROGRAMS SECTION
   ───────────────────────────────────────────────────────────────── */
.timeline-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.timeline-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.45);
  flex-shrink: 0;
  z-index: 2;
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
  transition: all var(--transition-normal);
}

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

.timeline-card-header {
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.timeline-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.program-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  animation: pulseDot 1.8s infinite;
}

.program-timeframe {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.program-title {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.program-org {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

.program-summary {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
}

.program-key-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.key-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.point-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.point-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─────────────────────────────────────────────────────────────────
   11. SERVICES SECTION
   ───────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-brand-subtle);
  filter: blur(25px);
  pointer-events: none;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.service-card:hover::after {
  transform: scale(1.5);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.35rem;
}

.service-icon-ml {
  color: var(--accent-secondary);
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

.service-icon-cleaning {
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

.service-icon-bi {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-features li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
}

/* ─────────────────────────────────────────────────────────────────
   12. CAREER OBJECTIVE SECTION
   ───────────────────────────────────────────────────────────────── */
.career-section {
  position: relative;
}

.career-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
}

.career-card-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-brand-subtle);
  opacity: 0.6;
  pointer-events: none;
}

.career-icon-quote {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  font-size: 5.5rem;
  color: var(--text-primary);
  opacity: 0.05;
  pointer-events: none;
}

.career-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.career-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: 1.15rem;
}

.career-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.career-statement {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.career-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-medium);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.career-author-info {
  text-align: left;
}

.author-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ─────────────────────────────────────────────────────────────────
   13. CONTACT SECTION
   ───────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-col-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-col-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  backdrop-filter: var(--glass-backdrop);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.contact-icon-linkedin { color: #0a66c2; }
.contact-icon-github { color: var(--text-primary); }
.contact-icon-email { color: var(--accent-rose); }
.contact-icon-whatsapp { color: #25d366; }

.contact-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-action-icon {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.contact-info-card:hover .contact-action-icon {
  color: var(--accent-primary);
}

.copy-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  color: var(--accent-primary);
  border-color: var(--border-accent);
  background: var(--bg-surface-elevated);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required {
  color: var(--accent-rose);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.textarea-wrapper {
  align-items: flex-start;
}

.textarea-wrapper .input-icon {
  top: 1rem;
}

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

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-input:focus ~ .input-icon,
.form-textarea:focus ~ .input-icon {
  color: var(--accent-primary);
}

.form-error {
  font-size: 0.78rem;
  color: var(--accent-rose);
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: var(--accent-rose);
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

.success-icon {
  font-size: 1.75rem;
  color: var(--accent-emerald);
}

.form-success-banner h4 {
  font-size: 1rem;
  color: var(--accent-emerald);
  margin-bottom: 0.15rem;
}

.form-success-banner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────────────────────────────
   14. FOOTER
   ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

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

.footer-brand {
  max-width: 360px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
}

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

.back-to-top-btn:hover {
  color: #ffffff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────
   15. TOAST NOTIFICATION
   ───────────────────────────────────────────────────────────────── */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  color: var(--accent-emerald);
  font-size: 1.1rem;
}

/* ─────────────────────────────────────────────────────────────────
   16. ANIMATIONS & SCROLL OBSERVER REVEAL
   ───────────────────────────────────────────────────────────────── */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

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

/* Scroll reveal utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────────
   17. RESPONSIVE DESIGN & MEDIA QUERIES
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .status-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-role-wrapper {
    justify-content: center;
  }

  .hero-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tech-stack {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-social-links {
    justify-content: center;
  }

  .hero-visual {
    margin: 0 auto;
  }

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

  .about-profile-card {
    max-width: 480px;
    margin: 0 auto;
  }

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

@media (max-width: 992px) {
  .site-header {
    height: 70px;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-medium);
    padding: 5.5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }

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

  .badge-top-right {
    top: -16px;
    right: -10px;
  }

  .badge-bottom-left {
    bottom: -16px;
    left: -10px;
  }

  .timeline-track {
    left: 20px;
  }

  .timeline-node {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .timeline-item {
    gap: 1.25rem;
  }

  .timeline-card {
    padding: 1.5rem;
  }

  .career-card {
    padding: 2.25rem 1.5rem;
  }

  .career-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .career-author-info {
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

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

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

  .badge-top-right,
  .badge-bottom-left {
    position: static;
    margin: 0.75rem auto;
    width: fit-content;
  }

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

  .about-cta-row {
    flex-direction: column;
  }

  .about-cta-row .btn {
    width: 100%;
  }

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

  .project-footer .btn {
    width: 100%;
  }
}
