/* ============================================================
   Manju Medical Store — custom styles
   ============================================================ */

/* Hero fade-up animation */
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: fadeUp 0.65s ease-out both;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Marquee strip */
.marquee-track {
  display: inline-block;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 32s linear infinite;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card hover lift */
.card-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 110, 168, 0.12);
  }
}

/* Angled section divider — placed between carries and dark section */
.divider-down {
  height: 48px;
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  background: #EEF6FC;
  /* The section below is brand-900; this wedge transitions from brand-50 */
}

/* Focus ring for form inputs (fallback for browsers that don't support Tailwind ring via inline style) */
input:focus,
textarea:focus {
  outline: 2px solid #1A6EA8;
  outline-offset: 0;
  border-color: #1A6EA8 !important;
}

/* Ensure sticky CTA bar doesn't overlap the accessibility FAB */
:root {
  --a11y-bottom: 72px;
}
