/* Nature Coast Tech Help — 2026 Refresh */
/* Tailwind CDN handles most styling; this file covers animations & transitions */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}

 .skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  transform: translateY(-140%);
  background: #1e3a8a;
  color: #ffffff;
  padding: 0.9rem 1.15rem;
  border-radius: 0 0 0.9rem 0.9rem;
  font-weight: 700;
  z-index: 100;
  transition: transform 0.2s ease;
 }

 .skip-link:focus {
  transform: translateY(0);
 }

/* Senior-friendly focus styles — thick teal outline (WCAG AAA) */
*:focus-visible {
  outline: 3px solid #14b8a6 !important;
  outline-offset: 2px;
}

 .desktop-nav {
  gap: 0.2rem;
 }

 .desktop-nav-link {
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
 }

 .desktop-nav-link-active {
  color: #0d9488;
  background: rgba(20, 184, 166, 0.1);
 }

 .desktop-nav-cta {
  margin-left: 0.4rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
 }

 .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
 }

 .site-brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
 }

 .site-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
 }

 @media (min-width: 640px) {
  .site-brand {
   gap: 1rem;
  }

  .site-brand-logo {
   width: 62px;
   height: 62px;
  }
 }

/* Scroll fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Card hover lift */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover,
.card-hover:focus-within {
  transform: translateY(-4px) scale(1.03);
}

 .cta-card {
  border: 2px solid rgba(20, 184, 166, 0.18);
 }

 .trust-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
 }

 .process-step {
  position: relative;
 }

 .process-step::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: -1.5rem;
  width: 1.25rem;
  height: 2px;
  background: rgba(20, 184, 166, 0.35);
 }

 .process-step:first-child::before {
  display: none;
 }

/* Accordion panel */
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

/* Back to top button */
#back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu slide */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
#mobile-menu.open {
  max-height: 650px;
}

/* Headshot gradient fade — soft edges blend into cream background */
.headshot-wrapper {
  position: relative;
  border-radius: 50%;
  overflow: visible;
}

.headshot-fade {
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 44%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 65%);
  mask-image: radial-gradient(ellipse 65% 65% at 50% 44%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 65%);
  border-radius: 0;
  filter: drop-shadow(0 4px 24px rgba(30,58,138,0.08));
}

/* Floating buttons pulse on first load */
@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
  50%      { box-shadow: 0 4px 30px rgba(20,184,166,0.45); }
}
.fab-pulse {
  animation: gentle-pulse 3s ease-in-out 2;
}

@media (max-width: 767px) {
  .process-step::before {
    display: none;
  }
 }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
 }
