/* Custom animations and styles */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 1s ease-out;
}

.fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s;
  animation-fill-mode: both;
}

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

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

/* Feature cards hover effect */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Stat cards */
.stat-card {
  transition: all 0.3s ease;
  overflow: visible;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.stat-card:hover {
  transform: scale(1.05);
}

/* Ensure numbers are never clipped */
.stat-card > div:first-child {
  line-height: 1.2;
  padding-top: 0.25rem;
}

/* Benefit cards */
.benefit-card {
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateX(5px);
}

/* Pricing cards */
.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

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

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

::-webkit-scrollbar-thumb {
  background: #D9072B;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b00520;
}

/* Loading spinner */
.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #D9072B;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 7, 43, 0.1);
}

/* Button animations */
button, a {
  transition: all 0.3s ease;
}

/* Mobile menu transition */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Print styles */
@media print {
  nav, footer {
    display: none;
  }
}
