#strand {
  text-align: center;
  width: 100%;
  background-color: rgba(
    155,
    52,
    50,
    0.5
  ); /* Using an alpha value of 0.5 for a semi-transparent fade */
}

#strand li {
  position: relative;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  background: #f0f0f0; /* Off-white color */
  box-shadow: 0px 4.66667px 24px 3px #f0f0f0; /* Off-white shadow */
  -webkit-animation-name: flash-1;
  animation-name: flash-1;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

#strand li:nth-child(2n + 1) {
  background: #e0e0e0; /* Another off-white color */
  box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.5);
  -webkit-animation-name: flash-2;
  animation-name: flash-2;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
}

#strand li:nth-child(4n + 2) {
  background: #f9fbee;
  box-shadow: 0px 4.66667px 24px 3px #f9fbee;
  -webkit-animation-name: flash-3;
  animation-name: flash-3;
  -webkit-animation-duration: 1.1s;
  animation-duration: 1.1s;
}

#strand li:nth-child(odd) {
  -webkit-animation-duration: 1.8s;
  animation-duration: 1.8s;
}

#strand li:nth-child(3n + 1) {
  -webkit-animation-duration: 1.4s;
  animation-duration: 1.4s;
}

#strand li:before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 9.33333px;
  border-radius: 3px;
  top: -4.66667px;
  left: 1px;
}

#strand li:after {
  content: "";
  top: -14px;
  left: 9px;
  position: absolute;
  width: 52px;
  height: 18.66667px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}

#strand li:last-child:after {
  content: none;
}

#strand li:first-child {
  margin-left: 40px;
}

@-webkit-keyframes flash-1 {
  0%,
  100% {
    background: #9b3432;
    box-shadow: 0px 4.66667px 24px 3px #9b3432;
  }
  50% {
    background: rgba(240, 34, 65, 0.8); /* Brighter red */
    box-shadow: 0px 4.66667px 24px 3px rgba(240, 35, 65, 0.3); /* Softer shadow */
  }
}

@keyframes flash-1 {
  0%,
  100% {
    background: #9b3432;
    box-shadow: 0px 4.66667px 24px 3px #9b3432;
  }
  50% {
    background: rgba(240, 34, 65, 0.8); /* Brighter red */
    box-shadow: 0px 4.66667px 24px 3px rgba(240, 35, 65, 0.3); /* Softer shadow */
  }
}

@-webkit-keyframes flash-2 {
  0%,
  100% {
    background: #30574d;
    box-shadow: 0px 4.66667px 24px 3px #30574d;
  }
  50% {
    background: rgba(66, 178, 97, 0.8); /* Brighter green */
    box-shadow: 0px 4.6667px 24px 3px rgba(66, 178, 97, 0.3); /* Softer shadow */
  }
}

@keyframes flash-2 {
  0%,
  100% {
    background: #30574d;
    box-shadow: 0px 4.66667px 24px 3px #30574d;
  }
  50% {
    background: rgba(66, 178, 97, 0.8); /* Brighter green */
    box-shadow: 0px 4.66667px 24px 3px rgba(66, 178, 97, 0.3); /* Softer shadow */
  }
}

@-webkit-keyframes flash-3 {
  0%,
  100% {
    background: #f9fbee;
    box-shadow: 0px 4.6667px 24px 3px #f9fbee;
  }
  50% {
    background: rgba(249, 251, 238, 0.8); /* Brighter light color */
    box-shadow: 0px 4.66667px 24px 3px rgba(249, 251, 238, 0.3); /* Softer shadow */
  }
}

@keyframes flash-3 {
  0%,
  100% {
    background: #f9fbee;
    box-shadow: 0px 4.66667px 24px 3px #f9fbee;
  }
  50% {
    background: rgba(249, 251, 238, 0.8); /* Brighter light color */
    box-shadow: 0px 4.66667px 24px 3px rgba(249, 251, 238, 0.3); /* Softer shadow */
  }
}

/* === Fixed navbar anchor offset & smooth scrolling === */
html {
  --nav-h: 80px;                 /* fallback; JS sets real height */
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

/* Any element you jump to with #id lands below the fixed nav */
section[id], .nextSection, [id]:not(html) {
  scroll-margin-top: var(--nav-h);
}

/* Keep the very top content from sitting under the fixed nav on first load */
body.nav-fixed { padding-top: var(--nav-h); }

/* === Calendly CTA button === */
.calendly-btn {
  margin-top: 1.25rem;
  background-color: #b30000;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: filter .2s ease;
  color: #fff;
}
.calendly-btn:hover { filter: brightness(1.1); }

/* Ensure hero can position children (button) over image */
.header-image { position: relative; text-align: center; }

/* === FAQ Hover & Active Styling === */
#faq-container .card {
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid #9b3432;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Remove any highlight that appears only on text */
#faq-container .card .questions,
#faq-container .card .card-title {
  background: transparent !important;
}

/* Entire box highlights on hover */
#faq-container .card:hover {
  background-color: #e9dddd; /* ← this matches that grayish-red tone */
  border-color: #7a2422;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Keep it highlighted when open */
#faq-container .card.open {
  background-color: #e9dddd; /* same color as hover */
  border-color: #7a2422;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Optional: make plus icon change color */
#faq-container .plus {
  color: #30574d;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

#faq-container .card.open .plus {
  background-color: #9b3432;
  color: #fff;
  transform: rotate(45deg);
}

/* Keep whole card highlight rules you added above */

/* Make the + a visible circle and keep it aligned */
#faq-container .card .card-title.questions {
  display: flex;
  align-items: center;
  gap: 16px;           /* space between + and text */
  margin: 0;
}

#faq-container .plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background-color: #2f6156; /* your green */
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  transition: background-color .25s ease;
}

/* When open, just change color (no rotation) */
#faq-container .card.open .plus {
  background-color: #9b3432; /* brand red */
}
