/* Cambio Elevate - Custom Styles (Light Theme) */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Form input focus glow */
input:focus {
  box-shadow: 0 0 0 3px rgba(45, 90, 74, 0.1);
}

/* Button hover effects */
button {
  transition: all 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

/* Feature card hover effect */
.bg-white.rounded-2xl {
  transition: all 0.3s ease;
}

.bg-white.rounded-2xl:hover {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Loading spinner for form submission */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success message styling */
.form-success {
  color: #22c55e;
}

/* Error message styling */
.form-error {
  color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
