/* Base Styles & Variables */
:root {
  /* Color Palette */
  --color-bg-primary: #050714;
  --color-bg-secondary: #0b0f24;
  --color-text-primary: #ffffff;
  --color-text-secondary: #b0b7c9;
  
  /* Neon Colors */
  --color-neon-blue: #00f0ff;
  --color-neon-purple: #b967ff;
  --color-neon-green: #00ff9d;
  
  /* Functional Colors */
  --color-success: #00ff9d;
  --color-warning: #ffdd00;
  --color-error: #ff2d6d;
  
  /* Neutral Tones */
  --color-neutral-100: #f8f9fa;
  --color-neutral-200: #e9ecef;
  --color-neutral-300: #dee2e6;
  --color-neutral-400: #ced4da;
  --color-neutral-500: #adb5bd;
  --color-neutral-600: #6c757d;
  --color-neutral-700: #495057;
  --color-neutral-800: #343a40;
  --color-neutral-900: #212529;
  
  /* Font Families */
  --font-primary: 'Orbitron', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Spacing System (8px) */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 2.5rem;   /* 40px */
  --space-6: 3rem;     /* 48px */
  --space-7: 3.5rem;   /* 56px */
  --space-8: 4rem;     /* 64px */
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Z-index layers */
  --z-background: -1;
  --z-default: 1;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-max: 9999;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin-bottom: var(--space-2);
}

a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

section {
  padding: var(--space-6) 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-1);
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

.highlight {
  color: var(--color-neon-blue);
  position: relative;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAbfSURBVGhD7ZpZqFVVFIbXvV7NzEzLBjIttMyGmzaQlQ1qNBEWNEE0EEEPBdFAQfRSREFR0EAPDQ9ND0EPNUAQQRTUQzYLWVlmNphp87+/tfY6e59z9tn7nHvOvVfED7/O2fNaa6+91l4j99zdTpZOVmJtUjKxv2+//XYbPny4DR482Ho0EaMp0X///bc98sgjtnTpUhs0aJB169Yt3WxW6pSVlRGEKLErA0ETCWL2+OOP27Bhw6xr167W3NSRk4oqEk+ePNkGDBh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index: var(--z-max);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 var(--space-3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-right: var(--space-2);
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 240, 255, 0.1);
  z-index: -1;
  transition: all var(--transition-normal);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-neon-blue);
  box-shadow: 0 0 10px var(--color-neon-blue);
  z-index: 0;
  transition: all var(--transition-normal);
}

.btn:hover::before {
  background: rgba(0, 240, 255, 0.2);
}

.btn:hover::after {
  box-shadow: 0 0 20px var(--color-neon-blue);
}

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

.btn-primary::before {
  background: var(--color-neon-blue);
  opacity: 0.2;
}

.btn-primary:hover::before {
  opacity: 0.4;
}

.btn-secondary::before {
  background: rgba(185, 103, 255, 0.1);
}

.btn-secondary::after {
  border-color: var(--color-neon-purple);
  box-shadow: 0 0 10px var(--color-neon-purple);
}

.btn-secondary:hover::before {
  background: rgba(185, 103, 255, 0.2);
}

.btn-secondary:hover::after {
  box-shadow: 0 0 20px var(--color-neon-purple);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
}

.btn-outline::after {
  border-color: var(--color-neon-blue);
  opacity: 0;
  box-shadow: none;
  transition: all var(--transition-normal);
}

.btn-outline:hover {
  border-color: transparent;
}

.btn-outline:hover::after {
  opacity: 1;
  box-shadow: 0 0 10px var(--color-neon-blue);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-2) 0;
  z-index: var(--z-header);
  transition: all var(--transition-normal);
}

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

header.scrolled {
  background: rgba(5, 7, 20, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: var(--space-1) 0;
}

.logo {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  gap: var(--space-3);
}

nav ul li a {
  position: relative;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: var(--space-1) 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-neon-blue);
  transition: width var(--transition-normal);
}

nav ul li a:hover {
  color: var(--color-neon-blue);
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--color-bg-primary), var(--color-bg-secondary));
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-2);
  position: relative;
  text-shadow: 0 0 10px var(--color-neon-blue);
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

/* Glitch Effect */
.glitch {
  position: relative;
  color: var(--color-text-primary);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  color: var(--color-neon-blue);
  z-index: -1;
  animation: glitch-effect 3s infinite;
}

.glitch::after {
  color: var(--color-neon-purple);
  z-index: -2;
  animation: glitch-effect 3s infinite reverse;
}
article{
  padding: 2em 3em;
  font-style: italic;
}
article h1{
  color: #00f0ff;
 
}
article h2{
  color: #00ff9d;
}

@keyframes glitch-effect {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

/* Grid Background */
.hero-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(1000px) rotateX(60deg);
  z-index: 1;
}

.grid-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 240, 255, 0.2), 
    transparent);
  animation: grid-line-animation 8s linear infinite;
}

.grid-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.grid-line:nth-child(2) { top: 40%; animation-delay: 2s; }
.grid-line:nth-child(3) { top: 60%; animation-delay: 4s; }
.grid-line:nth-child(4) { top: 80%; animation-delay: 6s; }
.grid-line:nth-child(5) { top: 100%; animation-delay: 8s; }

@keyframes grid-line-animation {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Services Section */
.services {
  background-color: var(--color-bg-secondary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(11, 15, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 240, 255, 0.05) 0%, 
    rgba(0, 0, 0, 0) 50%, 
    rgba(185, 103, 255, 0.05) 100%);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hexagon {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 240, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all var(--transition-normal);
}

.service-card:hover .hexagon {
  background: rgba(0, 240, 255, 0.2);
  transform: rotate(30deg);
}

.icon {
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  color: var(--color-text-primary);
  font-size: 1.3rem;
  margin-bottom: var(--space-1);
}

.service-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
}

.card-link {
  color: var(--color-neon-blue);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.card-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-neon-blue);
  transition: all var(--transition-normal);
}

.card-link:hover::after {
  width: 100%;
}

/* About Section */
.about {
  background: var(--color-bg-primary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(185, 103, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
  z-index: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.about-text .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.stat-item {
  background: rgba(11, 15, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 240, 255, 0.05) 0%, 
    rgba(0, 0, 0, 0) 50%, 
    rgba(185, 103, 255, 0.05) 100%);
  z-index: -1;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-neon-blue);
  display: block;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Projects Section */
.projects {
  background-color: var(--color-bg-secondary);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.project-card {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all var(--transition-normal);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 20, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-3);
  text-align: center;
  opacity: 0;
  transition: all var(--transition-normal);
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

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

.project-overlay h3 {
  color: var(--color-neon-blue);
  margin-bottom: var(--space-1);
}

.project-overlay p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

/* Contact Section */
.contact {
  background: var(--color-bg-primary);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 90% 10%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(185, 103, 255, 0.05) 0%, transparent 40%);
  z-index: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.contact-form {
  background: rgba(11, 15, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.form-group {
  margin-bottom: var(--space-3);
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  padding: var(--space-1) 0;
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-normal);
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]):valid + label {
  top: -20px;
  font-size: 0.8rem;
  color: var(--color-neon-blue);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
  height: 2px;
  background: var(--color-neon-blue);
}

.form-group textarea {
  min-height: 100px;
  resize: none;
}

.submit-btn {
  margin-top: var(--space-2);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.contact-card {
  background: rgba(11, 15, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.contact-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card:hover .hexagon {
  background: rgba(185, 103, 255, 0.2);
  transform: rotate(30deg);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-1);
}

.contact-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--color-bg-secondary);
  padding: var(--space-6) 0 var(--space-2);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 240, 255, 0.3), 
    transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

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

.footer-info .logo {
  margin-bottom: var(--space-2);
}

.footer-info p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.social-links {
  display: flex;
  gap: var(--space-2);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-neon-blue);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.link-column h4 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.link-column ul li {
  margin-bottom: var(--space-1);
}

.link-column ul li a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.link-column ul li a:hover {
  color: var(--color-neon-blue);
  padding-left: 5px;
}

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

.legal-links {
  display: flex;
  gap: var(--space-2);
}

.legal-links a {
  color: var(--color-text-secondary);
  transition: all var(--transition-normal);
}

.legal-links a:hover {
  color: var(--color-neon-blue);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .about-text {
    order: 1;
  }
  
  .about-stats {
    order: 2;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--color-bg-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-normal);
    z-index: 9998;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
    margin: var(--space-1) 0;
  }
  
  nav ul li a {
    display: block;
    padding: var(--space-2) 0;
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 9999;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .btn {
    width: 100%;
    margin-right: 0;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    height: 250px;
  }
}