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

:root {
  --bg-dark: #030305;
  --bg-card: rgba(13, 14, 22, 0.65);
  --bg-card-hover: rgba(20, 22, 34, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 158, 0, 0.35);
  
  --primary-orange: #ff9e00;
  --primary-orange-hover: #ff7b00;
  --accent-purple: #9d4edd;
  --accent-blue: #3a86ff;
  
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-dim: rgba(255, 255, 255, 0.45);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-signature: 'Caveat', cursive;
  
  --container-width: 1380px;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: transparent;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 158, 0, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 240px;
}

.loader-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-dev { color: #fff; }
.brand-accent { color: var(--primary-orange); }

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

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-orange), var(--accent-purple));
  border-radius: 4px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 14px rgba(255, 158, 0, 0.6);
}

.loader-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* Background Canvas Layer */
.fixed-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#scroll-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.canvas-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 35%, rgba(157, 78, 221, 0.08), transparent 60%),
              linear-gradient(180deg, rgba(3, 3, 5, 0.6) 0%, rgba(3, 3, 5, 0.75) 50%, rgba(3, 3, 5, 0.85) 100%);
  pointer-events: none;
}

/* Header Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-color);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 1px;
}

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

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

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-orange);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-hover));
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 158, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 158, 0, 0.5);
  background: linear-gradient(135deg, #ffb703, var(--primary-orange));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
}

/* Content Container Layout */
.content-wrapper {
  position: relative;
  z-index: 10;
  transform: translateZ(0);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 75px 0;
}

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

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

.section-header.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.badge-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.dash {
  color: var(--text-muted);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Glass Card Component & Micro-Interactions */
.glass-card {
  background: rgba(12, 13, 22, 0.82);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  transform: translateZ(0);
  cursor: default;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Spotlight Glare */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(255, 158, 0, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

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

/* Keep content above the spotlight */
.glass-card > * {
  position: relative;
  z-index: 1;
}

/* JS active state */
.glass-card.is-interactive {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Hover effects & Parallax (Hover-capable devices) */
@media (hover: hover) and (pointer: fine) {
  .glass-card:hover {
    border-color: rgba(255, 158, 0, 0.45);
    background: rgba(20, 22, 36, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 158, 0, 0.18);
  }
  
  /* Non-JS Fallback Transform */
  .glass-card:not(.is-interactive):hover {
    transform: translateY(-6px) translateZ(0);
  }

  /* 3D Depth Parallax on Icons */
  .glass-card .tech-badge,
  .glass-card .service-icon,
  .glass-card .info-icon,
  .glass-card .contact-icon,
  .glass-card .project-link {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .glass-card:hover .tech-badge,
  .glass-card:hover .service-icon,
  .glass-card:hover .info-icon,
  .glass-card:hover .contact-icon,
  .glass-card:hover .project-link {
    transform: translateZ(40px) scale(1.1);
  }
}

/* Reduced Motion & Mobile Fallbacks */
@media (prefers-reduced-motion: reduce), (hover: none) {
  .glass-card {
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
  }
  .glass-card:hover {
    border-color: rgba(255, 158, 0, 0.45);
    background: rgba(20, 22, 36, 0.92);
    transform: translateY(-6px) translateZ(0) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 158, 0, 0.18);
  }
  .glass-card::before { display: none; }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-container {
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.highlight-text {
  color: var(--primary-orange);
  background: linear-gradient(135deg, var(--primary-orange), #ffc300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cursor-blink {
  color: var(--primary-orange);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #38b000;
  border-radius: 50%;
  box-shadow: 0 0 10px #38b000;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 176, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 176, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 176, 0, 0); }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-orange);
  color: #000;
  border-color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 158, 0, 0.4);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-orange);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.about-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signature-font {
  font-family: var(--font-signature);
  font-size: 2.5rem;
  color: var(--primary-orange);
}

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

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

.info-icon {
  font-size: 1.5rem;
}

.info-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.highlight-status {
  color: var(--primary-orange);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 158, 0, 0.1);
  border: 1px solid rgba(255, 158, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}

.service-link:hover {
  gap: 12px;
}

/* Skills Section */
.skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.skills-progress-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.skill-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.skill-percentage {
  color: var(--primary-orange);
}

.skill-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-orange), #ffb703);
  border-radius: 6px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-box {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.tech-badge {
  font-size: 1.8rem;
}

.tech-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.project-preview {
  height: 220px;
  background: #0f101a;
  padding: 20px;
  position: relative;
}

.mock-window {
  width: 100%;
  height: 100%;
  background: #161826;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
}

.mock-header {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.chart-mock {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 110px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-orange), rgba(255, 158, 0, 0.2));
  border-radius: 4px;
}

.project-content {
  padding: 24px;
  position: relative;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.project-link {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  text-decoration: none;
  transition: 0.3s;
}

.project-link:hover {
  background: var(--primary-orange);
  color: #000;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.user-info {
  flex-grow: 1;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.user-role {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.stars {
  color: #ffc107;
  font-size: 0.85rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

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

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

.contact-icon {
  font-size: 1.5rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

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

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

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

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 16px rgba(255, 158, 0, 0.2);
}

.form-select {
  color: var(--text-muted);
}

.form-select option {
  background: #12131c;
  color: #fff;
}

.form-textarea {
  resize: vertical;
}

/* Footer */
.footer {
  background: rgba(2, 2, 4, 0.9);
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

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

.footer-links a, .footer-socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.25s;
}

.footer-links a:hover, .footer-socials a:hover {
  color: var(--primary-orange);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
}

.heart {
  color: #ff4d6d;
}

/* Scroll Reveal Animations */
.scroll-hidden-left {
  opacity: 0;
  transform: translateX(-60px) translateZ(0);
  pointer-events: none; /* Prevent hover during hide */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-hidden-right {
  opacity: 0;
  transform: translateX(60px) translateZ(0);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-visible {
  opacity: 1;
  transform: translateX(0) translateZ(0);
  pointer-events: auto;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hidden-left, .scroll-hidden-right {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { 
    display: none; 
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(3, 3, 5, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle { display: flex; }
  
  .nav-logo { font-size: 1.05rem; }
  .nav-actions { gap: 14px; }
  .nav-actions .btn-sm {
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }
  
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-cta-group .btn {
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .skills-wrapper { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; }
  .bottom-flex { flex-direction: column; gap: 12px; text-align: center; }
}
