/* ========================================
   NOVAROOTS FACILITY MANAGEMENT
   Tailwind-first design matching Figma
   ======================================== */

:root {
  /* Exact Figma colors */
  --color-primary: #1d8238;
  --color-primary-light: #4caf50;
  --color-accent: #66bb6a;
  --color-text: #1e1e1e;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
}

/* Base resets - Tailwind handles most */
* {
  box-sizing: border-box;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Client carousel animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.animate-scroll {
  animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

/* Service card fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1d8238 0%, #4caf50 100%);
  border-radius: 5px;
}

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

/* Legacy support for old classes - minimal */
.container-legacy {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .container-legacy {
    padding: 0 1rem;
  }
}

/* Stats section background animation (used in stats.php if needed) */
@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.bg-pulse {
  animation: pulse-slow 8s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #1d8238 0%, #4caf50 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
