/* NexusTech Solutions - Premium Futuristic Design */

:root {
  /* Futuristic Color Palette */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --neon-blue: #00f2fe;
  --neon-purple: #667eea;
  --neon-pink: #f5576c;
  --neon-green: #00ff88;
  --neon-orange: #ff6b35;

  /* Dark Theme Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-glass: rgba(30, 30, 30, 0.8);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #888888;
  --text-accent: var(--neon-blue);

  /* Border & Shadow */
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-accent: var(--neon-blue);
  --shadow-primary: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.3);
  --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.2);

  /* Typography */
  --font-primary: "Space Grotesk", sans-serif;
  --font-secondary: "Orbitron", monospace;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

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

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

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

/* Modern Circular Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeOut 1s ease-out 2.5s forwards;
  overflow: hidden;
}

.loading-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(88, 166, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(0, 242, 254, 0.1) 0%,
      transparent 50%
    );
  animation: backgroundPulse 3s ease-in-out infinite;
}

.loading-content {
  text-align: center;
  max-width: 400px;
  width: 90%;
  padding: 2rem 1rem;
}

.loading-header {
  margin-bottom: 2rem;
}

.loading-header h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.loading-header p {
  color: #f0f6fc;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 500;
  opacity: 0.8;
}

/* Circular Loader */
.circular-loader {
  position: relative;
  width: clamp(120px, 20vw, 180px);
  height: clamp(120px, 20vw, 180px);
  margin: 0 auto 2rem;
}

.loader-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #7c3aed 0deg,
    #58a6ff 90deg,
    #00f2fe 180deg,
    #7c3aed 270deg,
    transparent 360deg
  );
  animation: rotate 2s linear infinite;
}

.loader-ring-inner {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  border-radius: 50%;
}

.loader-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.loader-icon {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.loader-percentage {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
  color: #58a6ff;
  animation: countUp 2.5s ease-out forwards;
}

/* Loading Services */
.loading-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-item {
  padding: 0.5rem 1rem;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 20px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #58a6ff;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.service-item:nth-child(1) {
  animation-delay: 0.2s;
}
.service-item:nth-child(2) {
  animation-delay: 0.4s;
}
.service-item:nth-child(3) {
  animation-delay: 0.6s;
}
.service-item:nth-child(4) {
  animation-delay: 0.8s;
}
.service-item:nth-child(5) {
  animation-delay: 1s;
}

.loading-progress {
  margin-top: 1rem;
}

.progress-text {
  color: #f0f6fc;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  opacity: 0;
  animation: fadeInText 0.5s ease-out 1.5s forwards;
}

/* Animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Mobile Responsive Loading Animation */
@media (max-width: 768px) {
  .loading-content {
    max-width: 90%;
    width: 95%;
    padding: 0 1rem;
  }

  .loading-header h2 {
    font-size: 1.5rem;
  }

  .loading-header p {
    font-size: 0.9rem;
  }

  .code-terminal {
    max-height: 150px;
    border-radius: 6px;
  }

  .terminal-header {
    padding: 0.5rem;
  }

  .terminal-buttons {
    gap: 0.3rem;
    margin-right: 0.5rem;
  }

  .btn-close,
  .btn-minimize,
  .btn-maximize {
    width: 8px;
    height: 8px;
  }

  .terminal-title {
    font-size: 0.7rem;
  }

  .terminal-body {
    padding: 0.75rem;
    font-size: 0.7rem;
    line-height: 1.3;
    max-height: 100px;
  }

  .code-line {
    margin-bottom: 0.2rem;
  }

  .loading-progress {
    margin-top: 1rem;
  }

  .progress-bar {
    height: 2px;
    margin-bottom: 0.5rem;
  }

  .progress-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .loading-content {
    max-width: 95%;
    width: 98%;
    padding: 0 0.5rem;
  }

  .loading-header h2 {
    font-size: 1.3rem;
  }

  .loading-header p {
    font-size: 0.8rem;
  }

  .code-terminal {
    max-height: 120px;
    border-radius: 4px;
  }

  .terminal-header {
    padding: 0.4rem;
  }

  .terminal-buttons {
    gap: 0.2rem;
    margin-right: 0.4rem;
  }

  .btn-close,
  .btn-minimize,
  .btn-maximize {
    width: 6px;
    height: 6px;
  }

  .terminal-title {
    font-size: 0.6rem;
  }

  .terminal-body {
    padding: 0.5rem;
    font-size: 0.6rem;
    line-height: 1.2;
    max-height: 80px;
  }

  .code-line {
    margin-bottom: 0.1rem;
  }

  .loading-progress {
    margin-top: 0.75rem;
  }

  .progress-bar {
    height: 2px;
    margin-bottom: 0.4rem;
  }

  .progress-text {
    font-size: 0.6rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-primary);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all var(--transition-normal);
  z-index: 10;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.brand:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-normal);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 70%
  );
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: -2;
}

.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.code-matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      transparent 98%,
      rgba(0, 242, 254, 0.1) 100%
    ),
    linear-gradient(0deg, transparent 98%, rgba(0, 242, 254, 0.1) 100%);
  background-size: 50px 50px;
  animation: matrixMove 20s linear infinite;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-particles::before,
.floating-particles::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.floating-particles::after {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

.neural-network {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%2300f2fe" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="%23667eea" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="2.5s" repeatCount="indefinite"/></circle><circle cx="50" cy="70" r="1" fill="%23f5576c" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite"/></circle></svg>')
    repeat;
  animation: neuralPulse 8s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-blue);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  animation: glow 2s ease-in-out infinite alternate;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out;
}

.hero h2 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-primary);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-accent);
}

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

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--accent-gradient);
  margin: 0 auto var(--space-xs);
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--neon-blue);
  border-bottom: 2px solid var(--neon-blue);
  transform: rotate(45deg);
}

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

.section-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-blue);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
}

.section-header h2 {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(102, 126, 234, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.service-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-description {
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  opacity: 0;
}

.service-card.expanded .service-description {
  max-height: 1000px;
  opacity: 1;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-primary);
}

/* Enhanced Service Card Styles */
.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

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

.description-content h4 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-list {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.feature-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.service-benefits {
  background: var(--bg-glass);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  margin-bottom: var(--space-md);
}

.service-benefits h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.service-benefits p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.service-pricing {
  text-align: center;
  padding: var(--space-md);
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
}

.price-tag {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-action {
  margin-top: auto;
  padding-top: var(--space-md);
  text-align: center;
}

.btn-expand {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  cursor: pointer;
  font-family: var(--font-primary);
}

.btn-expand:hover {
  background: var(--neon-blue);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
}

.btn-expand.expanded {
  background: var(--neon-blue);
  color: var(--bg-primary);
}

.btn-expand.expanded::after {
  content: " ✓";
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.tech-stack li {
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--neon-blue);
  font-family: var(--font-mono);
}

/* About Section */
.about {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.feature-icon {
  font-size: 2rem;
  margin-top: var(--space-xs);
}

.feature h4 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

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

.tech-stack-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.tech-item {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.tech-item:hover {
  border-color: var(--border-accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-neon);
}

/* Contact Section */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: grid;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  border-color: var(--border-accent);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.5rem;
  margin-top: var(--space-xs);
}

.contact-item h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

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

.contact-item a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--text-primary);
}

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

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: var(--shadow-neon);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  grid-column: 1 / -1;
}

.contact-form button {
  grid-column: 1 / -1;
  margin-top: var(--space-md);
}

/* Mobile Contact Section */
@media (max-width: 768px) {
  .contact {
    padding: var(--space-2xl) 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-info {
    gap: var(--space-md);
  }

  .contact-item {
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .contact-icon {
    font-size: 1.3rem;
    margin-top: 0;
  }

  .contact-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .contact-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .contact-form {
    gap: var(--space-sm);
  }

  .form-group {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: var(--space-sm);
    font-size: 0.95rem;
  }

  .contact-form textarea {
    min-height: 100px;
  }

  .contact-form button {
    margin-top: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
  }
}

@media (max-width: 480px) {
  .contact {
    padding: var(--space-xl) 0;
  }

  .contact-content {
    gap: var(--space-lg);
  }

  .contact-info {
    gap: var(--space-sm);
  }

  .contact-item {
    padding: var(--space-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .contact-icon {
    font-size: 1.2rem;
    margin-top: 0;
  }

  .contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .contact-item p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .contact-form {
    gap: var(--space-xs);
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: var(--space-xs);
    font-size: 0.9rem;
  }

  .contact-form textarea {
    min-height: 80px;
  }

  .contact-form button {
    margin-top: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.9rem;
  }
}

/* Location Section */
.location {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-primary);
  height: 400px;
  background: var(--bg-card);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile Location Section */
@media (max-width: 768px) {
  .location {
    padding: var(--space-2xl) 0;
  }

  .map-container {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .location {
    padding: var(--space-xl) 0;
  }

  .map-container {
    height: 300px;
  }
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-brand h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

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

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

.social-link {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  border-color: var(--border-accent);
  color: var(--neon-blue);
}

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

.footer-section h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-xs);
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-primary);
}

.footer-bottom p {
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

/* Mobile Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: var(--space-2xl) 0 var(--space-md);
  }

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

  .footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
  }

  .footer-brand p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .social-links {
    justify-content: center;
    gap: var(--space-sm);
  }

  .social-link {
    padding: var(--space-xs);
    font-size: 1.2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }

  .footer-section ul {
    text-align: center;
  }

  .footer-section a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-top: var(--space-md);
  }

  .footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: var(--space-xl) 0 var(--space-sm);
  }

  .footer-content {
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
  }

  .footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
  }

  .footer-brand p {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
  }

  .social-links {
    gap: var(--space-xs);
  }

  .social-link {
    padding: var(--space-xs);
    font-size: 1.1rem;
  }

  .footer-links {
    gap: var(--space-sm);
  }

  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
  }

  .footer-section a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding-top: var(--space-sm);
  }

  .footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
}

/* Animations */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes matrixMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes neuralPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px var(--neon-blue);
  }
  to {
    box-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Additional Futuristic Effects */
.code-matrix::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 242, 254, 0.03) 2px,
    rgba(0, 242, 254, 0.03) 4px
  );
  animation: codeFlow 15s linear infinite;
}

@keyframes codeFlow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100px);
  }
}

/* Typing Effect */
.typing-container {
  position: relative;
  margin-bottom: var(--space-sm);
}

.typing-text {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  min-height: 1.8rem;
  display: flex;
  align-items: center;
}

.typed-text {
  border-right: 2px solid var(--neon-blue);
  animation: blink 1s infinite;
}

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

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

/* Floating Code Snippets */
.floating-code-snippets {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.code-snippet {
  position: absolute;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-blue);
  backdrop-filter: blur(10px);
  animation: floatCode 8s ease-in-out infinite;
  opacity: 0.7;
}

.code-snippet:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.code-snippet:nth-child(2) {
  top: 40%;
  right: 15%;
  animation-delay: 2s;
}

.code-snippet:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 4s;
}

.code-snippet:nth-child(4) {
  top: 30%;
  right: 25%;
  animation-delay: 6s;
}

@keyframes floatCode {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 1;
  }
}

/* Glitch Effect for Brand */
.brand::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glitch 2s infinite;
}

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

/* Neon Border Animation */
.service-card[data-tech="erp"]:hover {
  border-color: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.service-card[data-tech="web"]:hover {
  border-color: #4facfe;
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.service-card[data-tech="pos"]:hover {
  border-color: #f5576c;
  box-shadow: 0 0 20px rgba(245, 87, 108, 0.3);
}

.service-card[data-tech="hardware"]:hover {
  border-color: #667eea;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.service-card[data-tech="support"]:hover {
  border-color: #00f2fe;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.service-card[data-tech="mobile"]:hover {
  border-color: #667eea;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.service-card[data-tech="about"]:hover {
  border-color: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

/* Mobile Responsive Loading Animation */
@media (max-width: 768px) {
  .loading-content {
    max-width: 90vw;
    width: 95%;
    padding: 1.5rem 1rem;
  }

  .loading-header h2 {
    font-size: clamp(1.2rem, 6vw, 2rem);
  }

  .loading-header p {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }

  .circular-loader {
    width: clamp(100px, 25vw, 150px);
    height: clamp(100px, 25vw, 150px);
    margin-bottom: 1.5rem;
  }

  .loader-icon {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .loader-percentage {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }

  .loading-services {
    gap: 0.3rem;
    margin-bottom: 1.5rem;
  }

  .service-item {
    padding: 0.4rem 0.8rem;
    font-size: clamp(0.7rem, 2.5vw, 0.8rem);
  }

  .progress-text {
    font-size: clamp(0.7rem, 3vw, 0.9rem);
  }
}

@media (max-width: 480px) {
  .loading-content {
    max-width: 320px;
    padding: 1rem 0.5rem;
  }

  .loading-header {
    margin-bottom: 1.5rem;
  }

  .circular-loader {
    width: clamp(80px, 30vw, 120px);
    height: clamp(80px, 30vw, 120px);
    margin-bottom: 1rem;
  }

  .loading-services {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .service-item {
    width: fit-content;
    min-width: 120px;
  }
}

/* Touch-friendly interactions for mobile */
@media (max-width: 768px) {
  .service-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .btn-expand {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .service-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    margin-bottom: var(--space-md);
    padding: var(--space-lg);
    min-height: auto;
  }

  .btn-expand {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.85rem;
  }

  .btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    gap: var(--space-sm);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: right 0.3s ease;
    z-index: 5;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: var(--space-md) var(--space-lg);
    min-height: 60px;
    width: 200px;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .service-card {
    margin-bottom: var(--space-md);
    padding: var(--space-lg);
    min-height: auto;
  }

  .service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
  }

  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  .description-content {
    padding: var(--space-sm) 0;
  }

  .description-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
  }

  .feature-list li {
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
  }

  .service-benefits {
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
  }

  .service-benefits h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .service-benefits p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .service-pricing {
    padding: var(--space-sm);
    margin-top: var(--space-sm);
  }

  .price-tag {
    font-size: 1rem;
  }

  .btn-expand {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.85rem;
  }

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

  .form-group {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero h2 {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-md);
  }

  .stat {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
  }

  .stat-label {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  /* Hero section mobile improvements */
  .hero {
    min-height: 90vh;
    padding: var(--space-2xl) 0;
  }

  .hero-content {
    padding: var(--space-xl) 0;
  }

  .hero-video {
    object-fit: cover;
    height: 100%;
  }

  .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .typing-container {
    margin-bottom: var(--space-lg);
  }

  .hero p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: var(--space-xl);
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero h2 {
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: 0 var(--space-sm);
  }

  .stat {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
  }

  .stat-number {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
  }

  .stat-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .service-card,
  .contact-item {
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
  }

  .service-card {
    min-height: auto;
    padding: var(--space-md);
  }

  .service-icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-xs);
  }

  .description-content {
    padding: var(--space-xs) 0;
  }

  .description-content h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .feature-list li {
    font-size: 0.8rem;
    padding: var(--space-xs) 0;
    line-height: 1.4;
  }

  .service-benefits {
    padding: var(--space-xs);
    margin-bottom: var(--space-xs);
  }

  .service-benefits h4 {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
  }

  .service-benefits p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .service-pricing {
    padding: var(--space-xs);
    margin-top: var(--space-xs);
  }

  .price-tag {
    font-size: 0.9rem;
  }

  .btn-expand {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }

  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .services-grid {
    gap: var(--space-sm);
  }

  .hero-buttons {
    gap: var(--space-sm);
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    flex-direction: row;
    gap: var(--space-sm);
  }

  .nav-links a {
    padding: var(--space-xs) var(--space-sm);
    text-align: center;
    font-size: 0.85rem;
    min-height: 40px;
  }

  .tech-stack-visual {
    grid-template-columns: 1fr;
  }

  /* Enhanced mobile hero section */
  .hero {
    min-height: 85vh;
    padding: var(--space-xl) 0;
  }

  .hero-content {
    padding: var(--space-lg) 0;
  }

  .hero-video {
    object-fit: cover;
    height: 100%;
  }

  .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .typing-container {
    margin-bottom: var(--space-md);
  }

  .hero p {
    font-size: clamp(0.85rem, 3vw, 1rem);
    margin-bottom: var(--space-lg);
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
    margin-bottom: var(--space-xs);
  }

  /* Better mobile navigation */
  .nav-links.active {
    right: 0;
    padding: var(--space-xl);
  }

  .nav-links a {
    width: 100%;
    max-width: 300px;
  }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-xs);
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 0.8rem;
  }

  .hero-stats {
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-xs);
  }

  .stat {
    padding: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
  }

  .stat-number {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
  }

  .stat-label {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .service-card {
    padding: var(--space-sm);
  }

  .service-icon {
    font-size: 1.8rem;
  }

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

  .service-card p {
    font-size: 0.8rem;
  }

  .btn-expand {
    padding: var(--space-xs);
    font-size: 0.75rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }
}

/* Large Tablets and Small Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .service-card {
    padding: var(--space-xl);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }

  .hero h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(102, 126, 234, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--neon-blue);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.author-info h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mobile Testimonials */
@media (max-width: 768px) {
  .testimonials {
    padding: var(--space-2xl) 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .testimonial-card {
    padding: var(--space-lg);
  }

  .testimonial-quote {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
  }

  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  .testimonial-author {
    gap: var(--space-sm);
  }

  .author-avatar {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .author-info h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .author-info span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: var(--space-xl) 0;
  }

  .testimonial-card {
    padding: var(--space-md);
  }

  .testimonial-quote {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
  }

  .testimonial-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .author-info span {
    font-size: 0.8rem;
  }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(102, 126, 234, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.why-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.why-card:hover::before {
  left: 100%;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.why-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.why-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Why Choose Us */
@media (max-width: 768px) {
  .why-choose-us {
    padding: var(--space-2xl) 0;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .why-card {
    padding: var(--space-lg);
  }

  .why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
  }

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

  .why-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .why-choose-us {
    padding: var(--space-xl) 0;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .why-card {
    padding: var(--space-md);
  }

  .why-icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
  }

  .why-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
  }

  .why-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* FAQ Section */
.faq {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-question {
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--neon-blue);
  font-weight: bold;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq {
    padding: var(--space-2xl) 0;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-item {
    margin-bottom: var(--space-sm);
  }

  .faq-question {
    padding: var(--space-md);
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-toggle {
    font-size: 1.3rem;
  }

  .faq-answer p {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: var(--space-xl) 0;
  }

  .faq-item {
    margin-bottom: var(--space-xs);
  }

  .faq-question {
    padding: var(--space-sm);
  }

  .faq-question h3 {
    font-size: 0.95rem;
  }

  .faq-toggle {
    font-size: 1.2rem;
  }

  .faq-answer p {
    padding: 0 var(--space-sm) var(--space-sm);
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .service-card {
    padding: var(--space-2xl);
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
