/* ════════════════════════════════════════════════════
   Mayur Rathi Portfolio — Design System & Styles v2
   Warm Teal/Emerald + Gold on Dark Charcoal
   ════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Colors — Warm Teal/Emerald + Gold accent palette */
  --color-bg-primary: #0d1117;
  --color-bg-secondary: #161b22;
  --color-bg-tertiary: #1c2128;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);

  --color-accent: #14b8a6;
  --color-accent-light: #2dd4bf;
  --color-accent-glow: rgba(20, 184, 166, 0.3);
  --color-accent-subtle: rgba(20, 184, 166, 0.1);

  --color-secondary: #f59e0b;
  --color-secondary-light: #fbbf24;
  --color-secondary-subtle: rgba(245, 158, 11, 0.1);

  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-info: #60a5fa;

  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-tertiary: #636e7b;
  --text-accent: #2dd4bf;
  --text-secondary-accent: #fbbf24;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 50%, #5eead4 100%);
  --gradient-warm: linear-gradient(135deg, #14b8a6 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, #0f766e 0%, #14b8a6 30%, #115e59 100%);
  --gradient-card: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(245, 158, 11, 0.05));
  --gradient-glow: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
  --font-size-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --font-size-base: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  --font-size-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --font-size-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --font-size-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4.5rem);

  /* Spacing (8pt grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.12);
  --shadow-glow-lg: 0 0 80px rgba(20, 184, 166, 0.15);

  /* Animations */
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-4xl);
  /* Support safe areas for notched phones */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

strong {
  color: var(--text-secondary-accent);
  font-weight: 600;
}

/* ── Background Canvas ── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

/* ── Hamburger Button (floating, top-right) ── */
.hamburger {
  position: fixed;
  top: 1.25rem;
  right: 4.5rem;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: all 0.3s ease;
}

.hamburger:hover {
  border-color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

[data-theme="light"] .hamburger {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ── Slide-In Side Panel Menu ── */
.side-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .side-panel-backdrop {
  background: rgba(255, 255, 255, 0.5);
}

.side-panel-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-panel {
  position: fixed;
  top: 0;
  right: -320px;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  z-index: 9999;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--color-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

[data-theme="light"] .side-panel {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.side-panel.open {
  transform: translateX(-100%);
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.side-panel-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.side-panel-close:hover {
  color: var(--text-primary);
  background: var(--color-surface-hover);
}

.side-panel-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  flex: 1;
}

.side-panel-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.side-panel-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.side-link {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-sm) 0;
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
}

.side-link:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

/* ── Social Rows ── */
.social-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.social-icon:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent);
  background: var(--color-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--color-accent-subtle);
}

.hero-socials {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer-socials {
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.icon-only-row .social-icon {
  width: 44px;
  height: 44px;
}

@media (max-width: 768px) {
  .hamburger {
    top: 0.75rem;
    right: 3.5rem;
    width: 38px;
    height: 38px;
  }
}

/* ── Floating Navigation (bottom, appears on scroll) ── */
.floating-nav {
  position: fixed;
  bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  opacity: 0;
  max-width: calc(100vw - 32px);
  transition: transform var(--duration-slow) var(--ease-out),
    opacity var(--duration-slow) var(--ease-out);
}

.floating-nav.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.nav-inner {
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

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

.nav-link.active {
  color: #0d1117;
  background: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.nav-link .material-symbols-outlined {
  font-size: 20px;
}

.nav-label {
  display: none;
}

.nav-link.active .nav-label {
  display: inline;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  /* Small viewport height — avoids browser chrome overlap on mobile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl) var(--space-lg);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-slow 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* ── Hero Text ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-accent-light);
  margin-bottom: var(--space-lg);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  margin-bottom: var(--space-md);
}

.greeting {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.name-gradient {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--space-md);
  letter-spacing: 0.01em;
}

.hero-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

/* ── CTAs ── */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn .material-symbols-outlined {
  font-size: 20px;
}

.btn-primary {
  background: var(--color-accent);
  color: #0d1117;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
  background: #0d9488;
}

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

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

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
}

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-secondary-light);
}

.stat-label {
  width: 100%;
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ── Hero Image ── */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient-hero);
  filter: blur(40px);
  opacity: 0.4;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

.image-border {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--radius-2xl);
  z-index: 3;
  pointer-events: none;
}

/* ── Floating Cards ── */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  z-index: 10;
  white-space: nowrap;
}

.floating-card .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-accent-light);
}

.card-1 {
  top: 10%;
  right: -20px;
  animation: float-card 6s ease-in-out infinite;
}

.card-2 {
  bottom: 20%;
  left: -30px;
  animation: float-card 7s ease-in-out infinite 1s;
}

.card-3 {
  bottom: 5%;
  right: 0;
  animation: float-card 5s ease-in-out infinite 2s;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-tertiary);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .material-symbols-outlined {
  font-size: 32px;
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
}

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

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Glass Card ── */
.glass-card {
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
}

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

/* ── About Grid ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity var(--duration-base);
}

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

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.about-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--color-accent-light);
}

.about-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.about-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Experience Timeline ── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-border));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: var(--space-xl);
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border: 3px solid var(--color-bg-primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-dot.pulse {
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4);
  animation: pulse-ring 2s ease-in-out infinite;
}

.timeline-card {
  margin-left: var(--space-md);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-accent-light);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.timeline-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.timeline-card h4.company {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-accent);
  margin-bottom: var(--space-md);
}

.timeline-details {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.timeline-details li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
  font-weight: 700;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.timeline-tags span {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent-subtle);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-accent-light);
  font-weight: 500;
}

/* ── Projects / Community Grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity var(--duration-base);
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.project-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.project-icon .material-symbols-outlined {
  font-size: 24px;
  color: white;
}

.project-links {
  display: flex;
  gap: var(--space-sm);
}

.project-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  transition: all var(--duration-fast);
}

.project-link:hover {
  color: var(--text-primary);
  background: var(--color-surface-hover);
}

.project-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.project-role {
  font-size: var(--font-size-sm);
  color: var(--text-accent);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.project-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.project-tags span {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-surface-hover);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.project-impact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-secondary-light);
  font-weight: 500;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.project-impact .material-symbols-outlined {
  font-size: 18px;
}

/* ── Community Milestones Timeline ── */
/* ── Image Ribbon Marquee ── */
.image-ribbon-section {
  padding: var(--space-2xl) 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ribbon-track {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ribbon-row {
  display: flex;
  gap: var(--space-md);
  animation: ribbon-scroll 30s linear infinite;
  width: max-content;
}

.ribbon-row.ribbon-reverse {
  animation: ribbon-scroll-reverse 30s linear infinite;
}

.ribbon-img {
  flex: 0 0 auto;
  width: 280px;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ribbon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ribbon-img:hover img {
  transform: scale(1.05);
}

@keyframes ribbon-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes ribbon-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .ribbon-img {
    width: 200px;
    height: 130px;
  }
}

/* ── Timeline Summary (concise paragraph) ── */
.timeline-summary {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

/* ── Skills Grid ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.skill-category {
  position: relative;
  overflow: hidden;
}

.skill-cat-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.skill-cat-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--color-accent-light);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.skill-tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--duration-fast);
}

.skill-tag:hover {
  color: var(--text-primary);
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.skill-tag.cert {
  background: var(--color-accent-subtle);
  border-color: rgba(20, 184, 166, 0.2);
  color: var(--color-accent-light);
}

.education-card {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.education-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
}

/* ── Blog Section (on main page) ── */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-preview-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.blog-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.blog-preview-card:hover::before {
  opacity: 1;
}

.blog-category-tag {
  display: inline-block;
  padding: 2px var(--space-sm);
  background: var(--color-secondary-subtle);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-secondary-light);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.blog-preview-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-preview-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.blog-meta .material-symbols-outlined {
  font-size: 16px;
}

.blog-view-all {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ── Contact Grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.contact-card {
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.contact-card .material-symbols-outlined,
.contact-card svg {
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.contact-card .material-symbols-outlined {
  font-size: 32px;
}

.contact-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
}

.contact-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  word-break: break-all;
}

.contact-card:hover {
  border-color: var(--color-accent);
}

.contact-card:hover .material-symbols-outlined,
.contact-card:hover svg {
  color: var(--color-accent);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  padding-bottom: calc(var(--space-2xl) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
}

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

.footer .heart {
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-sub {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

/* ── Animations ── */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .image-wrapper {
    width: 300px;
    height: 300px;
  }

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

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

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

@media (max-width: 768px) {
  .hero-section {
    padding: var(--space-3xl) var(--space-md);
    min-height: auto;
    /* Let content determine height on mobile */
  }

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

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

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

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

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

  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    padding-left: var(--space-lg);
  }

  .floating-card {
    display: none;
  }

  .image-wrapper {
    width: 260px;
    height: 260px;
  }

  .nav-inner {
    gap: 2px;
    padding: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .nav-label {
    display: none !important;
  }

  /* Ensure buttons don't get too small for touch */
  .btn {
    min-height: 44px;
    padding: var(--space-sm) var(--space-md);
  }

  /* Section spacing tightened for mobile */
  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .stat {
    text-align: center;
  }

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

  .image-wrapper {
    width: 200px;
    height: 200px;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .container {
    padding: 0 var(--space-md);
  }

  .floating-nav {
    bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Selection ── */
::selection {
  background: rgba(20, 184, 166, 0.3);
  color: var(--text-primary);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

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

/* ════════════════════════════════════════════
   V3 — Dark / Light Mode Toggle
   ════════════════════════════════════════════ */

.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.theme-toggle .material-symbols-outlined {
  font-size: 22px;
  transition: transform 0.4s ease;
}

.theme-toggle:hover .material-symbols-outlined {
  transform: rotate(30deg);
}

/* Light Mode Theme */
[data-theme="light"] {
  --color-bg-primary: #f8fafc;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f1f5f9;
  --color-surface: rgba(0, 0, 0, 0.03);
  --color-surface-hover: rgba(0, 0, 0, 0.06);
  --color-border: rgba(0, 0, 0, 0.1);
  --color-border-hover: rgba(0, 0, 0, 0.18);

  --color-accent: #0d9488;
  --color-accent-light: #0f766e;
  --color-accent-glow: rgba(13, 148, 136, 0.2);
  --color-accent-subtle: rgba(13, 148, 136, 0.08);

  --color-secondary: #d97706;
  --color-secondary-light: #b45309;
  --color-secondary-subtle: rgba(217, 119, 6, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-accent: #0d9488;
  --text-secondary-accent: #b45309;

  --gradient-primary: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);
  --gradient-warm: linear-gradient(135deg, #0d9488 0%, #d97706 100%);
  --gradient-card: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(217, 119, 6, 0.03));
  --gradient-glow: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .floating-nav {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #bg-canvas {
  opacity: 0.3;
}

[data-theme="light"] .hero-section::before {
  opacity: 0.05;
}

[data-theme="light"] .footer {
  background: var(--color-bg-tertiary);
}

[data-theme="light"] .floating-card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-border);
  color: var(--text-primary);
}

[data-theme="light"] .nav-inner {
  background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .nav-link.active {
  color: #fff;
}

[data-theme="light"] .timeline-card {
  background: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .section-tag {
  color: var(--text-accent);
}

[data-theme="light"] .education-card {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .contact-card {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .contact-card:hover {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .skill-tag {
  background: rgba(13, 148, 136, 0.06);
  color: var(--text-primary);
}

[data-theme="light"] .skill-tag.cert {
  background: rgba(217, 119, 6, 0.08);
}

[data-theme="light"] .btn-primary {
  color: #fff;
}

[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
}

/* ════════════════════════════════════════════
   V3 — Resume Outline Button
   ════════════════════════════════════════════ */

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  border: 2px solid var(--color-accent);
  color: var(--color-accent-light);
  background: transparent;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-outline .material-symbols-outlined {
  font-size: 20px;
}

/* ════════════════════════════════════════════
   V3 — Talks & Speaking Section
   ════════════════════════════════════════════ */

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

.talk-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.talk-card:hover {
  transform: translateY(-3px);
}

.talk-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.talk-icon .material-symbols-outlined {
  color: var(--color-accent-light);
  font-size: 24px;
}

.talk-info h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.talk-event {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.talk-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.talk-year {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-accent);
  background: var(--color-accent-subtle);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
}

.talk-type {
  font-size: var(--font-size-xs);
  color: var(--text-secondary-accent);
  background: var(--color-secondary-subtle);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}

/* ════════════════════════════════════════════
   V3 — Testimonials Section
   ════════════════════════════════════════════ */

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.testimonial-card {
  flex: 0 0 clamp(300px, 38vw, 420px);
  scroll-snap-align: start;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.6;
  font-family: Georgia, serif;
}

.testimonial-quote p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-top: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: #0d1117;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

/* ════════════════════════════════════════════
   V3 — Content Channels Section
   ════════════════════════════════════════════ */

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

.channel-card {
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.channel-card:hover {
  transform: translateY(-5px);
}

.channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.channel-icon .material-symbols-outlined {
  font-size: 32px;
  color: white;
}

.channel-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.channel-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.channel-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.channel-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-accent);
  background: var(--color-accent-subtle);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}

.channel-link-btn:hover {
  background: var(--color-accent-glow);
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.channel-link-btn svg {
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   V3 — Responsive Tweaks for New Sections
   ════════════════════════════════════════════ */

@media (max-width: 768px) {
  .talks-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 calc(100vw - 48px);
  }

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

  .theme-toggle {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
  }

  .hamburger {
    top: 0.75rem;
    right: 4rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .testimonial-card {
    flex: 0 0 calc(100vw - 32px);
  }

  .floating-nav {
    max-width: calc(100vw - 16px);
  }

  .nav-link {
    padding: 8px 6px;
  }

  .name-gradient {
    font-size: var(--font-size-3xl);
  }
}