/* --------------------------------------------------
   First Position — Style Sheet
   Premium Light/Dark Slate & Cyber Accent Design System
   -------------------------------------------------- */

:root {
  --font-primary: 'Inter', sans-serif;
  --font-headings: 'Outfit', sans-serif;

  /* LIGHT THEME (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-radial: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.06) 0%, #ffffff 100%);
  --card-bg: rgba(248, 250, 252, 0.75);
  --card-border: rgba(15, 23, 42, 0.08);
  --card-border-focus: rgba(20, 184, 166, 0.4);
  
  --accent-teal: #0f766e; /* Darker teal for high contrast */
  --accent-teal-glow: rgba(15, 118, 110, 0.15);
  --accent-emerald: #047857; /* Darker emerald */
  --accent-emerald-glow: rgba(4, 120, 87, 0.15);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-blue: #2563eb;
  --text-purple: #9333ea;

  /* Spacing */
  --header-height: 80px;
}

body.dark-theme {
  /* DARK THEME */
  --bg-primary: #060913;
  --bg-secondary: #0a0e1c;
  --bg-radial: radial-gradient(circle at 50% 50%, #0d1527 0%, #060913 100%);
  --card-bg: rgba(10, 15, 30, 0.65);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-focus: rgba(20, 184, 166, 0.4);
  
  --accent-teal: #14b8a6;
  --accent-teal-glow: rgba(20, 184, 166, 0.25);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-blue: #60a5fa;
  --text-purple: #c084fc;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  font-family: var(--font-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

/* Background Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-radial);
  transition: background 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  line-height: 1.2;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

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

/* Glow Effects & Scramble Styling */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scramble-char {
  color: var(--accent-teal);
  text-shadow: 0 0 8px var(--accent-teal-glow);
  font-family: monospace;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-emerald) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-teal-glow);
}

body:not(.dark-theme) .btn-primary {
  color: #ffffff;
}

body.dark-theme .btn-primary {
  color: #060913;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-teal-glow);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

body.dark-theme .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

body.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(20, 184, 166, 0.08);
  color: var(--accent-teal);
  border: 1px solid rgba(20, 184, 166, 0.15);
  margin-bottom: 20px;
}

/* Navigation Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

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

.logo {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.f1p-logo-mark {
  transition: transform 0.3s ease;
}

.logo:hover .f1p-logo-mark {
  transform: scale(1.08) rotate(3deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-teal);
}

.nav-links a.nav-cta {
  background: rgba(20, 184, 166, 0.08);
  color: var(--accent-teal);
  border: 1px solid rgba(20, 184, 166, 0.15);
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a.nav-cta:hover {
  background: var(--accent-teal);
  color: #ffffff;
}

body.dark-theme .nav-links a.nav-cta:hover {
  color: #060913;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
}

.theme-toggle-btn:hover {
  color: var(--accent-teal);
  transform: scale(1.15) rotate(15deg);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

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

.hero-title {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.image-border-gradient {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(15, 23, 42, 0.04) 50%, rgba(16, 185, 129, 0.2) 100%);
  padding: 1px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

body.dark-theme .image-border-gradient {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.3) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(16, 185, 129, 0.3) 100%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
}

.hero-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 15px;
  display: block;
  object-fit: cover;
}

/* Sections Share Styling */
section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

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

/* 3D Tilt Card Base */
.tilt-card {
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Pillars Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

body.dark-theme .pillar-card {
  box-shadow: none;
}

.pillar-card:hover {
  border-color: var(--card-border-focus);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.08);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: var(--accent-teal);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 4px 10px rgba(20, 184, 166, 0.06);
}

.pillar-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Interactive Developer Terminal (Kept Dark) */
.terminal-container {
  background-color: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
}

body:not(.dark-theme) .terminal-container {
  border-color: rgba(15, 23, 42, 0.15);
}

.terminal-header {
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

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

.t-btn.red { background-color: #ef4444; }
.t-btn.yellow { background-color: #f59e0b; }
.t-btn.green { background-color: #10b981; }

.terminal-title {
  font-family: monospace;
  font-size: 12px;
  color: #64748b;
}

.terminal-status {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

.terminal-body {
  padding: 24px;
  height: 380px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.terminal-line {
  margin-bottom: 8px;
  white-space: pre-wrap;
}

.prompt {
  color: #10b981;
  margin-right: 8px;
}

.typed-text {
  color: #ffffff;
}

.terminal-input-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-family: monospace;
  font-size: 14px;
}

.terminal-input {
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  flex-grow: 1;
  font-family: monospace;
  font-size: 14px;
  margin-left: 8px;
}

.terminal-quick-actions {
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.action-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-right: 8px;
}

.terminal-action-btn {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: #14b8a6;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-action-btn:hover {
  background: #14b8a6;
  color: #060913;
  border-color: #14b8a6;
}

/* Colors for Terminal lines */
.text-green { color: #10b981; }
.text-gray { color: #94a3b8; }
.text-blue { color: #60a5fa; }
.text-teal { color: #14b8a6; }

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.portfolio-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

body.dark-theme .portfolio-card {
  box-shadow: none;
}

.portfolio-card:hover {
  border-color: var(--card-border-focus);
  box-shadow: 0 15px 35px rgba(20, 184, 166, 0.08);
}

.portfolio-img-container {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--card-border);
}

body.dark-theme .portfolio-img-container {
  background-color: rgba(0, 0, 0, 0.3);
}

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

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

.portfolio-tags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.tag {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

body.dark-theme .tag {
  background-color: rgba(6, 9, 19, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.portfolio-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-info-full {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  min-height: 280px;
}

.portfolio-item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.portfolio-item-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.portfolio-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 24px;
}

.portfolio-tech-list span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  background: rgba(15, 23, 42, 0.02);
  padding: 4px 10px;
  border-radius: 4px;
}

body.dark-theme .portfolio-tech-list span {
  background: rgba(255, 255, 255, 0.01);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-teal);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

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

.portfolio-link.inactive {
  color: var(--text-muted);
  cursor: not-allowed;
}

.portfolio-link.inactive:hover {
  transform: none;
  color: var(--text-muted);
}

/* Tech Stack Section */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stack-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.01);
}

body.dark-theme .stack-card {
  box-shadow: none;
}

.stack-card:hover {
  border-color: var(--card-border-focus);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.05);
}

.stack-logo-wrapper {
  font-size: 40px;
  margin-bottom: 20px;
}

.stack-logo-wrapper .text-blue { color: #2563eb; }
body.dark-theme .stack-logo-wrapper .text-blue { color: #60a5fa; }
.stack-logo-wrapper .text-teal { color: var(--accent-teal); }
.stack-logo-wrapper .text-purple { color: #7c3aed; }
body.dark-theme .stack-logo-wrapper .text-purple { color: #c084fc; }
.stack-logo-wrapper .text-green { color: var(--accent-emerald); }

.tech-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tech-detail {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.04) 0%, rgba(20, 184, 166, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-main-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

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

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-item i {
  font-size: 18px;
  color: var(--accent-teal);
  width: 24px;
}

.contact-detail-item span {
  font-size: 15px;
  color: var(--text-primary);
}

.contact-form-wrapper {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

body.dark-theme .contact-form-wrapper {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-form-wrapper:hover {
  border-color: var(--card-border-focus);
}

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

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

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

.form-group input,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
  background-color: rgba(6, 9, 19, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal-glow);
  background-color: #ffffff;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus {
  background-color: rgba(6, 9, 19, 0.85);
}

.form-message {
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.form-message.success {
  color: var(--accent-emerald);
}

.form-message.error {
  color: #ef4444;
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--card-border);
  background-color: rgba(248, 250, 252, 0.8);
  padding: 40px 0;
  backdrop-filter: blur(8px);
}

body.dark-theme .main-footer {
  background-color: rgba(6, 9, 19, 0.8);
}

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

.footer-brand .logo {
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 44px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none; /* In production, we'll toggle this via JS */
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    padding: 24px;
    gap: 16px;
    z-index: 99;
  }
  .section-title {
    font-size: 32px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
}
