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

/* Base styles for scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Button Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

.btn-primary {
  background-color: #ff8c00;
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn-primary:hover {
  background-color: #e67e00;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline {
  background-color: transparent;
  color: #ff8c00;
  border: 2px solid #ff8c00;
}
.btn-outline:hover {
  background-color: #fff7ed;
}

.btn-white {
  background-color: white;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
}
.btn-white:hover {
  border-color: #ff8c00;
  color: #ff8c00;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Card Classes */
.card {
  background-color: white;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: #fed7aa;
  transform: translateY(-6px);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  transition-delay: var(--delay, 0ms);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Links */
.nav-link {
  color: #4a5568;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s;
  position: relative;
  text-decoration: none;
}
.nav-link:hover {
  color: #ff8c00;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff8c00;
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* Custom Animations */
@keyframes pulse-slow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.1); }
}
.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}
.animate-pulse-slow-reverse {
  animation: pulse-slow 10s ease-in-out infinite reverse;
}