/* Reveal on Scroll Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px); /* Slightly increased for more noticeable effect */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Color Variables */
:root {
  --blue: #2563eb;
  --emerald: #10b981;
  --amber: #f59e0b;
  --dark: #0b1220;
}

/* Navigation Links (Desktop) */
.navlink {
  color: #334155;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navlink:hover {
  color: #0f172a;
  transform: translateY(-2px);
}

/* Mobile Drawer Links */
.drawerlink {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: #0f172a;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.drawerlink:hover {
  background-color: #f8fafc;
}

/* Footer Links */
.footlink {
  color: #cbd5e1;
  display: inline-block;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footlink:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  background-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  filter: brightness(1.08);
}

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  color: #0f172a;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-outline:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Accessibility: Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}