:root {
  /* Dark Theme (Default) */
  --bg: #0a0418;
  --bg-secondary: #120825;
  --surface: #1a0f2e;
  --surface-hover: #24153a;
  --muted: #a8a0b8;
  --text: #f0e8ff;
  --text-secondary: #d4c4e8;
  --accent: #9333ea;
  --accent-light: #a855f7;
  --accent-dark: #7c3aed;
  --accent-2: #ec4899;
  --accent-3: #8b5cf6;
  --glass: rgba(147, 51, 234, 0.1);
  --glass-border: rgba(168, 85, 247, 0.2);
  --radius: 16px;
  --shadow-purple: 0 10px 40px rgba(147, 51, 234, 0.3);
  --shadow-pink: 0 10px 40px rgba(236, 72, 153, 0.3);
}

[data-theme="light"] {
  /* Light Theme */
  --bg: #faf5ff;
  --bg-secondary: #f3e8ff;
  --surface: #ffffff;
  --surface-hover: #f9fafb;
  --muted: #6b7280;
  --text: #1f2937;
  --text-secondary: #374151;
  --accent: #9333ea;
  --accent-light: #a855f7;
  --accent-dark: #7c3aed;
  --accent-2: #ec4899;
  --accent-3: #8b5cf6;
  --glass: rgba(147, 51, 234, 0.08);
  --glass-border: rgba(168, 85, 247, 0.15);
  --shadow-purple: 0 10px 40px rgba(147, 51, 234, 0.15);
  --shadow-pink: 0 10px 40px rgba(236, 72, 153, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .bg-animation {
  opacity: 0.3;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light), transparent);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-3), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, 50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, -50px) scale(0.9);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 4, 24, 0.8);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(250, 245, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .site-header::before {
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.05), transparent);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header:hover::before {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, var(--surface), var(--bg-secondary)); */
  padding: 8px;
  border-radius: 12px;
  /* border: 1px solid var(--glass-border); */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
  transition: left 0.5s ease;
}

.logo-wrapper:hover::before {
  left: 100%;
}

.logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-purple);
}

.logo {
  height: 42px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Logo theme switching */
.logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 2px solid var(--glass-border);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 101;
  position: relative;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

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

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

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

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link:hover {
  color: var(--accent-light);
  background: var(--glass);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 24px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

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

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 50px rgba(147, 51, 234, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.btn-ghost {
  background: transparent;
  border: 0;
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--glass);
  color: var(--accent-light);
}

.icon-btn {
  background: transparent;
  border: 2px solid var(--glass-border);
  padding: 10px;
  border-radius: 10px;
  font-size: 18px;
}

.icon-btn:hover {
  background: var(--glass);
  border-color: var(--accent-light);
  transform: rotate(15deg);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: slideInLeft 0.6s ease-out;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  /* flex-wrap: wrap; */
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Hero 3D Card */
.hero-art {
  position: relative;
  perspective: 1000px;
}

.hero-3d-container {
  position: relative;
  transform-style: preserve-3d;
}

.card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-20px) rotateY(5deg);
  }
}

.card-3d:hover {
  animation-play-state: paused;
}

.card-inner {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(236, 72, 153, 0.1));
  backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-purple);
  transform: translateZ(20px);
  position: relative;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent);
  animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

.service-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.icon-item:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-purple);
}

.icon-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.icon-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.card-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--text);
}

.card-content p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}

.section-description {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Services Section */
.services {
  padding: 100px 0;
  /* background: linear-gradient(180deg, transparent, rgba(147, 51, 234, 0.05)); */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: linear-gradient(135deg, var(--surface), var(--bg-secondary));
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-purple);
  border-color: var(--accent-light);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 20px 0px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-purple);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Why Section */
.why {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.why-card {
  background: linear-gradient(135deg, var(--surface), var(--bg-secondary));
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover::after {
  opacity: 1;
}

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

.why-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(147, 51, 234, 0.3));
}

.why-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.why-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Team Section */
.team {
  padding: 100px 0;
  /* background: linear-gradient(180deg, transparent, rgba(236, 72, 153, 0.05)); */
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
  gap: 32px;
}

.team-member {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--surface), var(--bg-secondary));
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-pink);
  border-color: var(--accent-2);
}

.team-member:hover::before {
  opacity: 1;
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--glass-border);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-purple);
}

.team-member:hover .team-avatar {
  transform: scale(1.1);
  border-color: var(--accent-light);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.team-role {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--surface), var(--bg-secondary));
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-purple);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
}

input, select, textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--glass-border);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--glass-border);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
  transform: translateY(-2px);
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 80px;
  background: linear-gradient(180deg, transparent, rgba(147, 51, 234, 0.05));
}

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

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 32px;
  width: auto;
}

/* Footer logo theme switching */
.footer-logo-light {
  display: none;
}

[data-theme="light"] .footer-logo-dark {
  display: none;
}

[data-theme="light"] .footer-logo-light {
  display: block;
}

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

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Scroll Animations */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    order: -1;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    transform: none;
  }

  .about-image:hover {
    transform: scale(1.02);
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .nav {
    gap: 4px;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

  .contact-form {
    padding: 32px 24px;
  }

  .hero-stats {
    justify-content: space-around;
  }

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

  .section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
    pointer-events: none;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 16px;
  }

  .nav .btn-ghost {
    width: 100%;
    margin-top: 16px;
    justify-content: center;
    padding: 12px;
  }

  .nav .icon-btn {
    width: 100%;
    margin-top: 16px;
    justify-content: center;
    padding: 12px;
  }

  .header-inner {
    padding: 16px 0;
  }

  .logo {
    height: 50px;
    padding: 10px 0px;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.3;
  }

  .lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-ctas {
    gap: 12px;
  }

  .hero-stats {
    /* flex-direction: column; */
    gap: 16px;
    align-items: flex-start;
  }

  .stat-item {
    width: 100%;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 13px;
  }

  .card-3d {
    margin: 0 auto;
    max-width: 100%;
  }

  .card-inner {
    padding: 24px;
  }

  .service-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .icon-item {
    padding: 12px;
  }

  .icon-item img {
    width: 40px;
    height: 40px;
  }

  .about,
  .services,
  .why,
  .team,
  .contact {
    padding: 60px 0;
  }

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

  .section-label {
    font-size: 12px;
    padding: 4px 12px;
  }

  .section-header h3 {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 12px;
  }

  .section-description {
    font-size: 15px;
  }

  .services-grid,
  .why-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card,
  .why-card {
    padding: 24px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .service-card h4,
  .why-card h4 {
    font-size: 18px;
  }

  .service-card p,
  .why-card p {
    font-size: 14px;
  }

  .why-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .team-member {
    padding: 20px;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }

  .team-member h4 {
    font-size: 18px;
  }

  .team-role {
    font-size: 13px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .form-row {
    gap: 16px;
  }

  input,
  select,
  textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

  .form-actions {
    flex-direction: column;
    gap: 12px;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

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

  .container {
    padding: 0 20px;
  }

  .bg-animation {
    opacity: 0.5;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    filter: blur(60px);
  }

  /* Disable 3D effects on mobile for better performance */
  .card-3d,
  .service-card,
  .why-card,
  .team-member {
    transform: none !important;
  }

  .card-3d:hover,
  .service-card:hover,
  .why-card:hover,
  .team-member:hover {
    transform: translateY(-5px) !important;
  }

  /* Touch-friendly button sizes */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Improve touch targets */
  .nav-link,
  .icon-item {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

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

  .hero {
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 26px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .about,
  .services,
  .why,
  .team,
  .contact {
    padding: 40px 20px;
  }

  .section-header h3 {
    font-size: 22px;
  }

  .service-card,
  .why-card,
  .team-member {
    padding: 20px;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 24px;
  }

  .card-inner {
    padding: 20px;
  }

  .card-content h3 {
    font-size: 20px;
  }

  .card-content p {
    font-size: 13px;
  }
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(168, 85, 247, 0.5);
  outline-offset: 2px;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
