@import "tailwindcss";



/* Custom Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(80, 158, 47, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(80, 158, 47, 0.6);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.4s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Staggered Animation Delays */
.animate-delay-100 {
  animation-delay: 100ms;
}

.animate-delay-200 {
  animation-delay: 200ms;
}

.animate-delay-300 {
  animation-delay: 300ms;
}

.animate-delay-400 {
  animation-delay: 400ms;
}

.animate-delay-500 {
  animation-delay: 500ms;
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #3d7a23;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d7a23;
}

/* Smooth Transitions */
:not(.gm-style *) {
  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;
}

/* Focus Styles */
.focus-ring {
  @apply focus:outline-none focus:ring-2 focus:ring-green-500/50 focus:ring-offset-2;
}

/* Glassmorphism Effect */
.glass {
  background: rgba(248, 246, 242, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(80, 158, 47, 0.2);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #509E2F 0%, #509E2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Font Application - IBM Plex Sans for all elements */
body {
  font-family: "IBM Plex Sans", sans-serif !important;
}

/* Apply IBM Plex Sans to all elements */
#root {
  font-family: "IBM Plex Sans", sans-serif !important;
}

#root * {
  font-family: "IBM Plex Sans", sans-serif !important;
}

/* Reset letter spacing for IBM Plex Sans font */
h1 {
  letter-spacing: normal !important;
}

/* Reset letter spacing for large text with IBM Plex Sans */
.text-3xl, .text-4xl, .text-5xl, .text-6xl, .text-7xl {
  letter-spacing: normal !important;
}
.font-bold {
    font-weight: 600 !important;
  }
/* Cursor Pointers for Interactive Elements */
button, 
a, 
[role="button"], 
input[type="button"], 
input[type="submit"], 
input[type="reset"],
.cursor-pointer {
  cursor: pointer;
}

/* Ensure clickable elements have proper cursor */
[onclick], 
[onClick] {
  cursor: pointer;
}

