:root {
  --maroon: #800000;
  --maroon-dark: #600000;
  --maroon-light: #a00000;
}

html { scroll-behavior: smooth; }

/* Hero gradient */
.hero-bg {
  background: linear-gradient(135deg, #1a0000 0%, #4d0000 40%, #800000 100%);
}

/* Animated underline for nav links */
.nav-link::after {
  content: '';
  display: block;
  height: 2px;
  background: #800000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* Card hover lift */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(128,0,0,0.15);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
#mobile-menu { transition: max-height 0.4s ease, opacity 0.4s ease; max-height: 0; opacity: 0; overflow: hidden; }
#mobile-menu.open { max-height: 500px; opacity: 1; }

/* Step connector */
.step-connector {
  background: linear-gradient(90deg, #800000, #a00000);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #800000, #cc0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Counter animation */
.counter { font-variant-numeric: tabular-nums; }

/* Testimonial card */
.testimonial-card {
  border-left: 4px solid #800000;
}

/* ── Admin panel sidebar ─────────────────────────────────────────── */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.sidebar-link.active {
  background: #800000;
  color: #fff;
}
.sidebar-link .icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
