/* ==========================================================================
   Shivraj Madan - Personal Portfolio Stylesheet
   Theme: High Density (Crisp Slate, Bento-Grid, Refined Typography)
   Pure CSS (Zero Build Steps, Free Hosting on GitHub Pages)
   ========================================================================== */

:root {
  /* High Density Light Theme (Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-subtle: #f8fafc;
  
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-accent: #2563eb;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --accent-primary: #2563eb;
  --accent-secondary: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.12);
  --accent-badge-bg: #eff6ff;
  --accent-badge-text: #1d4ed8;
  --accent-dark-btn: #0f172a;
  --accent-dark-btn-hover: #1e293b;
  --accent-dark-btn-text: #ffffff;

  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-purple: #6366f1;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);

  --nav-height: 64px;
  --container-max-width: 1200px;
}

/* High Density Dark Theme */
[data-theme="dark"] {
  --bg-primary: #0b1120;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-card: #0f172a;
  --bg-card-hover: #162033;
  --bg-card-subtle: #131d2e;
  
  --border-color: #1e293b;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: #3b82f6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --accent-badge-bg: rgba(59, 130, 246, 0.15);
  --accent-badge-text: #93c5fd;
  --accent-dark-btn: #f8fafc;
  --accent-dark-btn-hover: #e2e8f0;
  --accent-dark-btn-text: #0f172a;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 0.9375rem;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

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

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

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

/* High Density Status Header Bar */
.status-top-bar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.status-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  display: inline-block;
}

.status-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--accent-dark-btn);
  color: var(--accent-dark-btn-text);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background-color: var(--accent-dark-btn-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
  transform: translateY(-1px);
}

.btn-linkedin {
  background-color: #0a66c2;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-linkedin:hover {
  background-color: #084e96;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

/* Micro-Labels & Badges */
.micro-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  width: fit-content;
}

.badge-accent {
  background-color: var(--accent-badge-bg);
  color: var(--accent-badge-text);
  border-color: rgba(37, 99, 235, 0.2);
}

.badge-editable {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-warning);
  border-color: rgba(245, 158, 11, 0.25);
}

.tech-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
}

/* Header & Sticky Nav */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .brand-badge {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-badge-bg);
}

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

.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-toggle:hover {
  background-color: var(--border-color);
}

.menu-toggle {
  display: none;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 64px 0;
  position: relative;
}

.section-header {
  margin-bottom: 32px;
}

.section-header .micro-label {
  margin-bottom: 6px;
  display: block;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header p {
  font-size: 0.9375rem;
  max-width: 650px;
}

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

/* Hero Section (High Density Layout) */
.hero-section {
  padding: 48px 0;
}

.hero-grid, .hero-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.hero-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-subtitle {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-primary);
}

.hero-description {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Image Frames */
.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-caption-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 600;
}

/* About Section */
.about-grid, .about-bento-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.about-text, .about-content-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.pillar-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-md);
}

.pillar-card h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: var(--accent-primary);
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Areas of Interest Grid */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.interest-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.interest-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.interest-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-badge-bg);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.interest-card h3 {
  font-size: 1rem;
}

.interest-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

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

.project-card-editable {
  border-style: dashed;
  border-color: var(--accent-warning);
  background-color: var(--bg-card-subtle);
}

.project-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-tertiary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

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

.project-body h3 {
  font-size: 1.15rem;
}

.project-body p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

/* Certifications & Learning */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.cert-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.cert-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cert-issuer {
  font-size: 0.8125rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.cert-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 600;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--accent-primary);
  margin-top: auto;
  font-weight: 600;
}

.cert-link:hover {
  text-decoration: underline;
}

/* Achievements & Activities */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.achievement-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

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

.achievement-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievement-card h3 {
  font-size: 1rem;
}

.achievement-card p {
  font-size: 0.8125rem;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 860px;
  width: 100%;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.lightbox-image-container {
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 14px 20px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
}

/* Let's Connect & Social Links */
.connect-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.connect-card h2 {
  margin-bottom: 12px;
}

.connect-card p {
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 24px auto;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
  text-align: left;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.social-item:hover {
  border-color: var(--border-accent);
  background-color: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

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

.social-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

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

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  justify-content: flex-end;
}

.mobile-drawer.active {
  display: flex;
}

.drawer-panel {
  width: 280px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

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

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.drawer-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.drawer-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-bento-grid, .about-bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

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

  .hero-main-card, .about-content-card, .connect-card {
    padding: 24px 18px;
  }

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

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

  .projects-grid, .interests-grid, .certs-grid, .achievements-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .status-top-bar-inner {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
}
