/* ==========================================================
   KOMAL RATHOR - RESUME & PORTFOLIO STYLESHEET
   A modern, glassmorphic, responsive design system.
   ========================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color System - Dark Theme (Default) */
  --bg-primary: #0a0d14;
  --bg-secondary: #101522;
  --bg-card: rgba(20, 27, 45, 0.65);
  --bg-card-hover: rgba(28, 38, 64, 0.85);
  --bg-card-solid: #141b2d;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);
  --border-glow: rgba(99, 102, 241, 0.25);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0d14;

  /* Accents */
  --accent-primary: #6366f1;       /* Electric Indigo */
  --accent-primary-hover: #4f46e5;
  --accent-secondary: #06b6d4;     /* Cyan */
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --accent-gradient-warm: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;

  /* 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(99, 102, 241, 0.25);

  /* Spacing & Sizes */
  --container-width: 1180px;
  --header-height: 74px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* 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-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Light Theme Override */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-card-solid: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-active: rgba(99, 102, 241, 0.45);
  --border-glow: rgba(99, 102, 241, 0.15);

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

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.15);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-tap-highlight-color: transparent;
}

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);
}

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

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

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

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

.section-padding {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

.bg-alt {
  background-color: var(--bg-secondary);
}

/* Ambient Glow Blobs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  transition: opacity var(--transition-normal);
}

[data-theme="light"] .ambient-glow {
  opacity: 0.08;
}

.glow-1 {
  width: 480px;
  height: 480px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, #6366f1, #3b82f6);
}

.glow-2 {
  width: 520px;
  height: 520px;
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, #06b6d4, #10b981);
}

.glow-3 {
  width: 400px;
  height: 400px;
  top: 45%;
  right: 5%;
  background: radial-gradient(circle, #8b5cf6, #ec4899);
}

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

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

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

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

/* Section Header */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-secondary);
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  margin: 20px auto 0;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

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

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

[data-theme="light"] .btn-secondary {
  background: rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  transform: translateY(-2px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: scale(1.05);
}

/* ==========================================================
   HEADER & NAVIGATION
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.85);
}

.nav-container {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-logo:hover .logo-avatar {
  transform: scale(1.08);
  border-color: var(--accent-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.12);
}

.mobile-nav-actions {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme Toggle Icons */
#theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

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

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

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-toggle-btn .bar {
  height: 2.5px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

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

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-title .hero-greeting {
  display: block;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-title .hero-name {
  display: inline-block;
  font-size: clamp(2.2rem, 5.2vw, 3.75rem);
  line-height: 1.15;
}

.hero-role-wrapper {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.4;
  word-break: break-word;
}

.dynamic-role {
  color: var(--accent-secondary);
  font-weight: 700;
  border-bottom: 2px solid var(--accent-secondary);
  padding-bottom: 2px;
  display: inline;
}

.desc-mobile {
  display: none;
}
.desc-desktop {
  display: inline;
}
.chip-email-mobile {
  display: none;
}
.chip-email-desktop {
  display: inline;
}
.btn-text-short {
  display: none;
}
.btn-text-full {
  display: inline;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 28px;
}

.quick-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  max-width: 100%;
  word-break: break-word;
}

.contact-chip:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.social-chip {
  cursor: pointer;
}
.linkedin-chip:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.1);
}
.insta-chip:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: rgba(225, 48, 108, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

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

.profile-card-glow {
  position: absolute;
  inset: -15px;
  background: var(--accent-gradient);
  border-radius: 36px;
  filter: blur(40px);
  opacity: 0.35;
  z-index: 1;
}

.profile-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.profile-image-container {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 Aspect Ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profile-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-spring);
}

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

.image-overlay-ring {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-active);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.4rem;
}

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

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

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

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

.badge-bottom-left {
  bottom: 25px;
  left: -25px;
  animation-delay: 1.5s;
}

.badge-bottom-right {
  bottom: -20px;
  right: 15px;
  animation-delay: 2.5s;
}

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

/* ==========================================================
   ABOUT & STATS SECTION
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

.objective-card {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-primary);
  opacity: 0.4;
  margin-bottom: 8px;
}

.objective-heading {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.objective-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

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

.objective-declaration {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.objective-declaration svg {
  flex-shrink: 0;
  color: var(--accent-primary);
  margin-top: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-extra {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================
   EDUCATION TIMELINE
   ========================================================== */
.timeline-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), rgba(255,255,255,0.1));
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

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

.timeline-dot {
  position: absolute;
  top: 24px;
  left: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--border-glow);
}

.dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.active-timeline .timeline-dot {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.active-timeline .dot-inner {
  background: var(--accent-emerald);
}

.timeline-card {
  padding: 30px;
}

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

.education-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.badge-ongoing {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-completed {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.degree-title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.institution-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-secondary);
}

.session-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.result-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.result-score {
  color: var(--accent-secondary);
  font-weight: 700;
}

.timeline-description {
  color: var(--text-secondary);
  font-size: 0.975rem;
  margin-bottom: 18px;
}

.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-pill {
  font-size: 0.775rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* ==========================================================
   TECHNICAL SKILLS
   ========================================================== */
.skills-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

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

.skill-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skill-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.skill-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.html-color { color: #e34f26; background: rgba(227, 79, 38, 0.12); }
.css-color { color: #1572b6; background: rgba(21, 114, 182, 0.12); }
.js-color { color: #f7df1e; background: rgba(247, 223, 30, 0.12); }
.react-color { color: #61dafb; background: rgba(97, 218, 251, 0.12); }
.python-color { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }
.c-color { color: #a855f7; background: rgba(168, 85, 247, 0.12); }
.ms-color { color: #22c55e; background: rgba(34, 197, 94, 0.12); }
.git-color { color: #f97316; background: rgba(249, 115, 22, 0.12); }
.cpp-color { color: #00599c; background: rgba(0, 89, 156, 0.14); }
.java-color { color: #ea580c; background: rgba(234, 88, 12, 0.14); }
.sql-color { color: #0284c7; background: rgba(2, 132, 199, 0.14); }
.tailwind-color { color: #06b6d4; background: rgba(6, 182, 212, 0.14); }
.ts-color { color: #3b82f6; background: rgba(59, 130, 246, 0.14); }

.skill-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.skill-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

[data-theme="light"] .progress-bar-bg {
  background: rgba(15, 23, 42, 0.08);
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  transition: width 1s ease-in-out;
}

.skill-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.skill-footer strong {
  font-family: var(--font-mono);
  color: var(--accent-secondary);
}

/* ==========================================================
   FEATURED PROJECTS & BROWSER MOCKUP SHOWCASE
   ========================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-project {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.featured-project:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
}

.featured-project .project-img-wrapper {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.14) 0%, rgba(15, 23, 42, 0.98) 75%);
  padding: 24px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: none;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

[data-theme="light"] .featured-project .project-img-wrapper {
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.06) 0%, rgba(241, 245, 249, 0.98) 75%);
}

.browser-mockup-link {
  display: block;
  width: 100%;
  max-width: 680px;
  text-decoration: none;
}

.browser-mockup {
  width: 100%;
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.browser-mockup-link:hover .browser-mockup {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.8), 0 0 24px rgba(99, 102, 241, 0.25);
}

.browser-header {
  height: 34px;
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 10px;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-address {
  flex: 1;
  max-width: 280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 2px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94a3b8;
}

.browser-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.browser-body {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
  line-height: 0;
}

.browser-body .project-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.browser-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.browser-mockup-link:hover .browser-hover-overlay {
  opacity: 1;
}

.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transform: translateY(4px);
  transition: transform var(--transition-fast);
}

.browser-mockup-link:hover .overlay-btn {
  transform: translateY(0);
}

.featured-project .project-content {
  padding: 24px 28px 28px;
}

.project-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.featured-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-secondary);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.live-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.featured-project .project-title {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.featured-project .project-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 16px;
}

/* Live Experience Grid */
.live-experience-box {
  margin: 16px 0 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

[data-theme="light"] .live-experience-box {
  background: rgba(15, 23, 42, 0.025);
}

.live-experience-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.live-experience-title svg {
  color: var(--accent-primary);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.experience-card {
  padding: 12px 14px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.experience-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.exp-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-primary);
}

.exp-icon {
  font-size: 1rem;
}

.exp-text {
  font-size: 0.775rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Featured Action Bar */
.featured-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.action-buttons-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn-live-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-live-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

.copy-project-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.785rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-project-url:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.action-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================
   REGULAR PROJECT CARDS (COMPACT & BALANCED)
   ========================================================== */
.project-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.project-key-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.key-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.785rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.key-point svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.tech-tag {
  font-size: 0.715rem;
  font-family: var(--font-mono);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-primary);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.live-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.project-badge-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================
   STRENGTHS & LANGUAGES
   ========================================================== */
.strengths-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.strengths-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  padding: 26px;
}

.sidebar-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principles-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.principles-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.principles-list li strong {
  color: var(--text-primary);
}

.highlight-sidebar-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(99, 102, 241, 0.35);
}

.readiness-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.readiness-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.readiness-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.readiness-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.readiness-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.readiness-tag {
  font-size: 0.775rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.strengths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.strength-card {
  padding: 24px;
}

.strength-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.strength-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

/* Languages Card */
.languages-card {
  padding: 28px;
}

.languages-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.languages-title svg {
  color: var(--accent-secondary);
}

.languages-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.language-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.language-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.language-level {
  font-size: 0.85rem;
  color: var(--accent-secondary);
}

.lang-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="light"] .lang-bar {
  background: rgba(15, 23, 42, 0.08);
}

.lang-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px;
}

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-text {
  flex-grow: 1;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

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

.contact-val:hover {
  color: var(--accent-primary);
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.linkedin-btn:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
  transform: translateY(-2px);
}

.insta-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.fast-action-banner {
  padding: 28px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-color: rgba(99, 102, 241, 0.25);
}

.banner-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.fast-action-banner h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.fast-action-banner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* Contact Form */
.contact-form-card {
  padding: 36px;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.required {
  color: #ef4444;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

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

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

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

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

.footer-logo {
  margin-bottom: 16px;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 14px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-links h4, .footer-actions h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.footer-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

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

.footer-phone a {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

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

/* ==========================================================
   TOAST NOTIFICATION
   ========================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-active);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  font-weight: 500;
  pointer-events: auto;
  animation: slideInUp 0.3s ease-out forwards;
}

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

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

/* ==========================================================
   PRINT ONLY RESUME VIEW (Optimized for Paper & ATS format)
   ========================================================== */
.print-only-resume {
  display: none;
}

@media print {
  /* Hide non-printable web UI elements */
  .ambient-glow,
  .site-header,
  main,
  .site-footer,
  .toast-container,
  .print-hide {
    display: none !important;
  }

  /* Show dedicated print resume */
  .print-only-resume {
    display: block !important;
    padding: 0;
    margin: 0;
    background: #ffffff;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5pt;
    line-height: 1.4;
  }

  @page {
    margin: 14mm 14mm 14mm 14mm;
    size: A4 portrait;
  }

  .print-header {
    text-align: center;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }

  .print-name {
    font-size: 20pt;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1e3a8a;
    margin-bottom: 2px;
  }

  .print-subtitle {
    font-size: 11pt;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 5px;
  }

  .print-contact-row {
    font-size: 9.5pt;
    color: #374151;
  }

  .print-section {
    margin-bottom: 12px;
    page-break-inside: avoid;
  }

  .print-sec-heading {
    font-size: 11pt;
    font-weight: bold;
    color: #1e3a8a;
    border-bottom: 1px solid #9ca3af;
    padding-bottom: 2px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
  }

  .print-text {
    font-size: 10pt;
    color: #1f2937;
    text-align: justify;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
    font-size: 9.5pt;
  }

  .print-table th, .print-table td {
    border: 1px solid #d1d5db;
    padding: 5px 8px;
    text-align: left;
  }

  .print-table th {
    background-color: #f3f4f6;
    font-weight: bold;
  }

  .print-list {
    margin-left: 18px;
    font-size: 10pt;
    margin-top: 4px;
  }

  .print-list li {
    margin-bottom: 3px;
  }

  .inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-left: 0;
  }

  .inline-list li {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9pt;
  }

  .print-project-item {
    margin-bottom: 6px;
    font-size: 10pt;
  }

  .print-project-item p {
    margin: 2px 0 2px 6px;
    color: #374151;
    font-size: 9.5pt;
  }

  .print-signature {
    text-align: right;
    margin-top: 14px;
    font-size: 10pt;
  }
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 28px;
  }

  .quick-contact-chips {
    justify-content: center;
  }

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

  .hero-visual {
    margin-top: 10px;
  }

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

  .featured-project .project-img-wrapper {
    padding: 18px 12px;
  }

  .featured-project .project-content {
    padding: 20px 16px;
  }

  .strengths-wrapper {
    grid-template-columns: 1fr;
  }

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

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

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

  .nav-container {
    padding: 0 16px;
  }

  .brand-logo {
    font-size: 1.125rem;
    gap: 10px;
    white-space: nowrap;
  }

  .logo-avatar {
    width: 38px;
    height: 38px;
  }

  /* Prevent top bar crowding by hiding print and download buttons from mobile header bar */
  .site-header #print-resume-btn,
  .site-header #download-cv-btn {
    display: none !important;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-card-solid);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 14px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-actions .btn-block {
    width: 100%;
    justify-content: center;
  }

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

  .hero-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 50px;
    min-height: auto;
  }

  .status-badge {
    margin-top: 8px;
    margin-bottom: 18px;
  }

  /* Responsive Hero Text */
  .hero-title {
    margin-bottom: 14px;
  }

  .hero-title .hero-greeting {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    margin-bottom: 4px;
  }

  .hero-title .hero-name {
    font-size: clamp(2rem, 7.8vw, 2.6rem);
  }

  .hero-role-wrapper {
    font-size: 1.15rem;
    line-height: 1.4;
  }

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

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

  /* Shorten Hero details on mobile */
  .desc-mobile {
    display: inline;
  }
  .desc-desktop {
    display: none;
  }
  .chip-email-mobile {
    display: inline;
  }
  .chip-email-desktop {
    display: none;
  }
  .chip-loc-full {
    display: none;
  }

  .btn-text-short {
    display: inline;
  }
  .btn-text-full {
    display: none;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .quick-contact-chips {
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
  }

  .contact-chip {
    font-size: 0.78rem;
    padding: 5px 12px;
    gap: 6px;
  }

  /* Compact side-by-side action buttons */
  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .hero-actions .btn {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 92px;
    max-width: 140px;
    padding: 8px 14px;
    font-size: 0.825rem;
    gap: 6px;
    border-radius: var(--radius-full);
    justify-content: center;
    white-space: nowrap;
  }

  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .action-buttons-group {
    width: 100%;
  }

  .btn-live-hero {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 11px 18px;
    font-size: 0.85rem;
  }

  .action-status-group {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 36px;
  }

  .brand-logo {
    font-size: 1.05rem;
    gap: 8px;
  }

  .logo-avatar {
    width: 34px;
    height: 34px;
  }

  .status-badge {
    font-size: 0.76rem;
    padding: 4px 10px;
    margin-bottom: 14px;
  }

  .hero-title .hero-greeting {
    font-size: 1.25rem;
  }

  .hero-title .hero-name {
    font-size: 1.95rem;
  }

  .hero-description {
    font-size: 0.875rem;
    line-height: 1.48;
    margin-bottom: 14px;
  }

  .quick-contact-chips {
    gap: 6px;
    margin-bottom: 18px;
  }

  .contact-chip {
    font-size: 0.75rem;
    padding: 4px 10px;
    gap: 5px;
    border-radius: var(--radius-full);
  }

  /* Compact side by side buttons for phones */
  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }

  .hero-actions .btn {
    width: auto !important;
    flex: 1 1 calc(33.333% - 6px);
    min-width: 86px;
    max-width: none;
    padding: 7px 10px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .hero-actions .btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  .floating-badge {
    padding: 6px 10px;
  }

  .badge-label {
    font-size: 0.75rem;
  }

  .badge-sub {
    font-size: 0.65rem;
  }
}
