/* Custom styles beyond Tailwind */
/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #000000 0%, #0d1117 50%, #000000 100%);
}

.font-inter {
  font-family: "Inter", sans-serif;
}

/* Service card active state */
.service-card.active {
  border-color: #22b286;
  background: linear-gradient(145deg, rgba(34, 178, 134, 0.1) 0%, rgba(4, 218, 141, 0.05) 100%);
  box-shadow: 0 10px 15px -3px rgba(34, 178, 134, 0.2), 0 4px 6px -2px rgba(34, 178, 134, 0.1);
}

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

::-webkit-scrollbar-track {
  background: #0d1117;
}

::-webkit-scrollbar-thumb {
  background: #22b286;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a8f6b;
}

/* Glow animations */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 178, 134, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 178, 134, 0.5);
  }
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Gradient text animation */
@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Smooth transitions for all interactive elements
* {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
    transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
*/
button, a, input, textarea, .service-card, .bg-card-gradient {
  transition-property: color, background-color, border-color, transform, opacity, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Focus states */
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #22b286;
  outline-offset: 2px;
}

/* Card hover effects */
.service-card:hover {
  transform: translateY(-4px);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 178, 134, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .service-card {
    padding: 1.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-card-gradient {
    background: #000000;
    border: 2px solid #22b286;
  }

  .text-muted {
    color: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}


@keyframes gradient-x {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 4s ease infinite;
}
