body {
      box-sizing: border-box;
      font-family: 'Outfit', sans-serif;
    }
    
    :root {
      --primary-red: #DC2626;
      --primary-blue: #1E40AF;
      --light-blue: #3B82F6;
      --dark: #0F172A;
      --white: #FFFFFF;
    }
    
    .glass-card {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }
    
    .card-3d {
      transform-style: preserve-3d;
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    
    .card-3d:hover {
      transform: translateY(-20px) translateZ(50px) rotateX(8deg) rotateY(-8deg);
      box-shadow: 30px 40px 80px rgba(0, 0, 0, 0.25), -10px -10px 40px rgba(59, 130, 246, 0.15), 0 0 100px rgba(220, 38, 38, 0.1);
    }
    
    .service-card {
      transform-style: preserve-3d;
      perspective: 1500px;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
      transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .service-card:hover {
      transform: translateY(-25px) translateZ(60px) rotateX(10deg);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 0 60px rgba(59, 130, 246, 0.1);
    }
    
    .service-card:hover .service-icon {
      transform: translateZ(60px) rotateY(360deg) scale(1.2);
    }
    
    .floating {
      animation: float 6s ease-in-out infinite;
    }
    
    @keyframes float {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(2deg); }
    }
    
    .gradient-text {
      background: linear-gradient(135deg, var(--light-blue), var(--primary-red));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    
    .hero-gradient {
      background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #F1F5F9 100%);
    }
    
    .geometric-pattern {
      background-image: 
        linear-gradient(30deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(150deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(30deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(150deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05));
      background-size: 80px 140px;
      background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--primary-red), #B91C1C);
      box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
      transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 50px rgba(220, 38, 38, 0.4);
    }
    
    .btn-secondary {
      background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
      box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
      transition: all 0.3s ease;
    }
    
    .btn-secondary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 50px rgba(30, 64, 175, 0.4);
    }
    
    .nav-link {
      position: relative;
      transition: color 0.3s ease;
    }
    
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--light-blue), var(--primary-red));
      transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
      width: 100%;
    }
    
    .team-card {
      transform-style: preserve-3d;
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .team-card:hover {
      transform: translateY(-15px) scale(1.02);
    }
    
    .team-avatar {
      transition: all 0.5s ease;
    }
    
    .team-card:hover .team-avatar {
      transform: scale(1.1);
      box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
    }
    
    .section-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), rgba(220, 38, 38, 0.3), transparent);
    }
    
    .feature-icon {
      transition: all 0.4s ease;
    }
    
    .feature-card:hover .feature-icon {
      transform: rotateY(180deg);
    }
    
    .scroll-indicator {
      animation: bounce 2s infinite;
    }
    
    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
      40% { transform: translateY(-10px); }
      60% { transform: translateY(-5px); }
    }
    
    .glow-red {
      box-shadow: 0 0 60px rgba(220, 38, 38, 0.2);
    }
    
    .glow-blue {
      box-shadow: 0 0 60px rgba(59, 130, 246, 0.2);
    }

    .parallax-layer {
      transition: transform 0.1s ease-out;
    }

    .mesh-gradient {
      background: 
        radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
    }

    html {
      scroll-behavior: smooth;
    }

    .mobile-menu {
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }
    /* ================= DARK THEME ================= */

    html.dark {
      background-color: #020617;
      color: #e5e7eb;
    }

    html.dark body {
      background-color: #020617;
      color: #e5e7eb;
    }

    .dark .glass-card {
      background: rgba(15, 23, 42, 0.9) !important;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    }

    .dark nav {
      background-color: rgba(59, 130, 246, 0.95) !important;
      color: #e5e7eb;
    }

    .dark footer {
      background-color: rgba(15, 23, 42, 0.95) !important;
      color: #e5e7eb;
    }

    .dark section {
      background: transparent !important;
    }

    .dark h1,
    .dark h2,
    .dark h3,
    .dark h4,
    .dark h5,
    .dark h6 {
      color: #f8fafc !important;
    }

    .dark p,
    .dark span,
    .dark div,
    .dark li,
    .dark a,
    .dark strong,
    .dark em,
    .dark b,
    .dark i {
      color: #cbd5f5 !important;
    }

    .dark a:hover {
      color: #e5e7eb !important;
    }

    .dark input,
    .dark textarea,
    .dark select {
      background-color: #1e293b !important;
      border-color: #334155 !important;
      color: #e5e7eb !important;
    }

    .dark input:focus,
    .dark textarea:focus,
    .dark select:focus {
      border-color: #3b82f6 !important;
    }

    .dark label {
      color: #cbd5f5 !important;
    }

    .dark button {
      background-color: rgba(15, 23, 42, 0.9) !important;
      color: #e5e7eb !important;
    }

    .dark .btn-primary {
      background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    }

    .dark .btn-secondary {
      background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    }

    .dark .geometric-pattern,
    .dark .hero-gradient,
    .dark .mesh-gradient {
      background: transparent !important;
    }

    .dark .floating {
      background: rgba(59, 130, 246, 0.1) !important;
    }

    /* Icons and SVGs */
    .dark svg {
      color: #cbd5f5 !important;
    }

    .dark .service-icon svg,
    .dark .feature-icon svg,
    .dark .team-avatar svg,
    .dark .w-5 svg,
    .dark .w-6 svg,
    .dark .w-8 svg,
    .dark .w-10 svg {
      color: #e5e7eb !important;
    }

    /* Specific icon colors */
    .dark .text-blue-600 svg {
      color: #3b82f6 !important;
    }

    .dark .text-red-600 svg {
      color: #dc2626 !important;
    }

    .dark .text-green-600 svg {
      color: #10b981 !important;
    }

    .dark .text-cyan-600 svg {
      color: #06b6d4 !important;
    }

    /* Stats and badges */
    .dark .gradient-text {
      background: linear-gradient(135deg, #3b82f6, #dc2626) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
    }

    /* Mobile menu */
    .dark .mobile-menu {
      background: rgba(15, 23, 42, 0.98) !important;
      backdrop-filter: blur(20px) !important;
    }

    /* Contact cards */
    .dark .bg-slate-50 {
      background-color: rgba(15, 23, 42, 0.5) !important;
    }

    .dark .hover\:bg-slate-100:hover {
      background-color: rgba(30, 41, 59, 0.8) !important;
    }

    /* Footer links */
    .dark .text-slate-500 {
      color: #94a3b8 !important;
    }

    .dark .text-slate-500:hover {
      color: #e5e7eb !important;
    }

    /* Ensure all text is visible */
    .dark * {
      color: inherit;
    }

    * {
      transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

#mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100vh;
  background: var(--menu-bg, white);
  color: var(--menu-text, #0F172A);
  z-index: 9999;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

#mobileMenu.active {
  transform: translateX(0);
}

/* Links inside menu */
#mobileMenu a {
  color: inherit;
  display: block;
  padding: 12px 0;
  font-size: 18px;
}
.dark #mobileMenu {
  --menu-bg: #0F172A;
  --menu-text: #FFFFFF;
}


