/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    color: inherit;
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Extraordinary "Inner Glow" Hover */
.group:hover .bg-clip-text {
    /* Creates a soft blue/indigo aura around the text */
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

/* Make the slash "kick" slightly on hover for a playful dev feel */
.group:hover span:nth-child(2) {
    display: inline-block; /* Required for rotation to work */
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.6); /* Rose color glow */
}

/* Ensure font is sharp */
.font-mono {
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-variant-ligatures: none;
}
/* Add this to your styles.css */
.hero-image-container {
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -4px; /* Adjust thickness */
    border-radius: 9999px;
    background: linear-gradient(to right, #6366f1, #f43f5e); /* Indigo to Rose */
    z-index: -1;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image-container img {
    /* Subtle filter to make it look more artistic */
    filter: contrast(1.1) brightness(1.05);
}
.services-wrapper {
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-wrapper::-webkit-scrollbar {
  display: none;
}

.services-track {
  display: flex;
  width: max-content;
  animation: scroll-services 40s linear infinite;
}

@keyframes scroll-services {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover (desktop) */
.services-track:hover {
  animation-play-state: paused;
}

/* Pause when interacting */
.services-wrapper.interacting .services-track {
  animation-play-state: paused;
}

/* Service Card */
.service-card {
  min-width: 280px;
  padding: 1.5rem;
  margin-right: 2.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.dark .service-card {
  background: #374151;
}

/* Hover effect */
.service-card:hover {
  transform: scale(1.03);
}

/* Icon */
.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #6366f1;
}

/* Headings */
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* List */
.service-card ul {
  font-weight: 300;
  line-height: 1.6;
}

/* Mobile: slower scroll */
@media (max-width: 768px) {
  .services-track {
    animation-duration: 65s;
  }
}

/* Disable auto-scroll on touch devices */
@media (hover: none) {
  .services-track {
    animation: none;
  }
}

/* Initial state for scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Active state when in view */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}