/********** Template CSS **********/
:root {
  --primary: #184a24;
  --secondary: #7bbf86;
  --bs-primary: #184a24;
  --bs-secondary: #7bbf86;
  --light: #ffffff;
  --bs-light: #7bbf86;
  --dark: #0a1a0f;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}

/* Global responsive safety: prevent horizontal overflow */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 18px;
  padding: 25px 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
  border-bottom: 3px solid transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 1399.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 12px;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }

  .navbar .navbar-nav .dropdown-menu {
    position: static;
    display: block;
    border: 1px solid rgba(123, 191, 134, 0.75);
    background: transparent;
    margin: 0;
    padding: 0 0 10px 20px;
    opacity: 1;
    visibility: visible;
  }

  .navbar .navbar-nav .dropdown-item {
    padding: 5px 0;
    border: none;
  }

  .navbar .navbar-nav .dropdown-item:hover {
    background: transparent;
    color: var(--primary);
  }
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 108px;
}

@media (max-width: 1399.98px) {
  .navbar .navbar-brand,
  .navbar a.btn {
    height: 118px;
  }
}

.navbar .navbar-brand h1 {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.navbar .navbar-brand img {
  height: calc(100% - 8px);
  max-height: 98px !important;
  width: auto;
  object-fit: contain;
}

.site-logo-stack {
  display: inline-flex;
  align-self: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo-mark-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.site-logo-mark {
  display: block;
  height: calc(100% - 8px);
  max-height: 98px !important;
  width: auto;
  object-fit: contain;
}

.logo-practice-name {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 2px 7px;
  background: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  border-radius: 0;
  box-shadow: none;
}

/* Prominent S & C with smaller remaining letters (default) */
.logo-practice-name .logo-cap {
  font-size: 1.28em;
  line-height: 1;
  vertical-align: baseline;
}

.logo-practice-name .logo-small {
  font-size: 0.78em;
  letter-spacing: 0.06em;
}

/* Optional: add class logo-practice-name--smallcaps on the span for uniform small caps */
.logo-practice-name.logo-practice-name--smallcaps {
  font-variant: all-small-caps;
  letter-spacing: 0.07em;
}

.logo-practice-name.logo-practice-name--smallcaps .logo-cap,
.logo-practice-name.logo-practice-name--smallcaps .logo-small {
  font-size: inherit;
  letter-spacing: inherit;
}

/* Home page specific header refinements */
.home-topbar .home-topbar-row {
  align-items: center;
}

.home-topbar small {
  font-size: 0.85rem;
  line-height: 1.2;
}

/* Top light-green header: keep identical across all pages */
.container-fluid.bg-light.p-0 .row.gx-0 {
  align-items: center;
}

.container-fluid.bg-light.p-0 small {
  font-size: 0.85rem;
  line-height: 1.2;
}

.home-topbar .home-topbar-item {
  padding-top: 0.56rem !important;
  padding-bottom: 0.56rem !important;
}

/* Match topbar height site-wide to home page */
.container-fluid.bg-light.p-0 .row.gx-0 .h-100.d-inline-flex.align-items-center {
  padding-top: 0.56rem !important;
  padding-bottom: 0.56rem !important;
}

.home-topbar .btn-sm-square {
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
}

.container-fluid.bg-light.p-0 .btn-sm-square {
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
}

.home-topbar .btn-sm-square.me-1 {
  margin-right: 0.2rem !important;
}

.container-fluid.bg-light.p-0 .btn-sm-square.me-1 {
  margin-right: 0.2rem !important;
}

.home-navbar-brand {
  height: 108px;
}

.home-logo {
  height: calc(100% - 8px);
  max-height: 98px !important;
  width: auto;
  object-fit: contain;
}

.navbar .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 3px solid transparent;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.navbar .navbar-nav .nav-link.active {
  background: linear-gradient(
    to right,
    rgba(123, 191, 134, 0) 0%,
    rgba(123, 191, 134, 0.14) 20%,
    rgba(123, 191, 134, 0.22) 50%,
    rgba(123, 191, 134, 0.14) 80%,
    rgba(123, 191, 134, 0) 100%
  );
  border-radius: 8px;
}

.navbar .navbar-nav .dropdown-menu .dropdown-item.active {
  color: var(--primary);
  font-weight: 600;
  background-color: rgba(123, 191, 134, 0.2);
}

.navbar .navbar-nav .dropdown-menu {
  border: 1px solid rgba(123, 191, 134, 0.75) !important;
}

.navbar .navbar-nav .dropdown-menu .dropdown-item {
  border-bottom: 1px solid rgba(123, 191, 134, 0.35);
  white-space: normal;
  overflow-wrap: anywhere;
}

.navbar .navbar-nav .dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}

@media (max-width: 1399.98px) {
  .container-fluid.bg-light.p-0 .row.gx-0.d-none.d-lg-flex {
    display: flex !important;
  }

  .container-fluid.bg-light.p-0 .row > [class*="col-"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    text-align: center !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .container-fluid.bg-light.p-0 .h-100.d-inline-flex {
    padding-top: 0.56rem !important;
    padding-bottom: 0.56rem !important;
    margin-right: 0.75rem !important;
  }

  .container-fluid.bg-light.p-0 .btn-sm-square {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .home-topbar .row > [class*="col-"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    text-align: center !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-topbar .h-100.d-inline-flex {
    padding-top: 0.56rem !important;
    padding-bottom: 0.56rem !important;
    margin-right: 0.75rem !important;
  }

  .home-topbar .btn-sm-square {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .home-navbar-brand {
    height: auto;
    min-height: 108px;
  }

  .site-logo-mark-wrap {
    overflow: visible;
    position: relative;
    height: auto;
    min-width: 0;
    width: auto;
  }

  .site-logo-mark {
    max-height: 98px !important;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0;
    clip-path: none;
    -webkit-clip-path: none;
  }

  .logo-practice-name {
    left: 0;
    right: 0;
    bottom: 18px;
    transform: translateX(-6px);
    font-size: 0.64rem;
    letter-spacing: inherit;
    padding: 2px 7px;
    line-height: inherit;
    box-shadow: none;
    white-space: nowrap;
    text-align: center;
  }

  .logo-practice-name .logo-cap {
    font-size: 1.22em;
  }

  .logo-practice-name .logo-small {
    font-size: 0.76em;
    letter-spacing: 0.04em;
  }

  .navbar .navbar-brand h1 {
    font-size: inherit;
  }

  .navbar .navbar-nav .nav-link.active {
    border-radius: 6px;
  }
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 1400px) {
  .site-logo-mark-wrap {
    overflow: visible;
    height: auto;
    min-width: 0;
  }

  .site-logo-mark {
    height: calc(100% - 8px);
    max-height: 98px !important;
    width: auto;
    object-fit: contain;
    object-position: center;
  }

  .logo-practice-name {
    bottom: 18px;
    transform: translateX(-6px);
    box-shadow: none;
  }

  .navbar.navbar-expand-xxl.bg-white {
    min-height: 108px;
    align-items: stretch;
  }

  .navbar .navbar-collapse {
    align-items: stretch;
  }

  .navbar .navbar-nav {
    align-items: stretch;
    height: 108px;
  }

  .navbar .navbar-nav > .nav-link,
  .navbar .navbar-nav > .nav-item.dropdown {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin-right: 22px;
  }

  .navbar .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 22px;
    font-size: 17px;
    margin-right: 0;
    border-bottom: 4px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link.active {
    border-bottom-color: var(--primary);
  }

  .navbar .navbar-nav .nav-link.active {
    background: linear-gradient(
      to right,
      rgba(123, 191, 134, 0) 0%,
      rgba(123, 191, 134, 0.14) 20%,
      rgba(123, 191, 134, 0.22) 50%,
      rgba(123, 191, 134, 0.14) 80%,
      rgba(123, 191, 134, 0) 100%
    );
    border-radius: 8px;
  }

  .navbar .navbar-nav .nav-item.dropdown {
    width: clamp(175px, 15vw, 230px);
  }

  .navbar .navbar-nav .nav-item.dropdown > .nav-link {
    width: 100%;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: 1px solid rgba(123, 191, 134, 0.75);
    width: 100%;
    min-width: 100%;
    left: 0;
    right: auto;
    margin-top: 0;
    top: 100%;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .navbar .navbar-nav .nav-item.dropdown:first-of-type .dropdown-menu {
    width: max-content;
    min-width: 100%;
    max-width: min(90vw, 560px);
    left: auto;
    right: 0;
  }

  .navbar .navbar-nav .nav-item.dropdown:first-of-type .dropdown-menu .dropdown-item {
    white-space: normal;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    transform: translateY(0);
    visibility: visible;
    transition: 0.3s;
    opacity: 1;
  }
}

/* Hide Twitter button/icon site-wide (many pages used an empty or placeholder link) */
.fab.fa-twitter,
a[href*="twitter"] {
  display: none !important;
}

/* Also hide empty social anchors to avoid small empty buttons */
a[href=""] {
  display: none !important;
}

/*** Header ***/
.header-carousel .owl-carousel-text {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 3rem 3rem 3rem 4rem;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.header-carousel .home-carousel-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.header-carousel .owl-nav {
  position: absolute;
  width: 200px;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.header-carousel .owl-dots {
  position: absolute;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 15px;
  transition: 0.5s;
}

.header-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 4px;
  left: 4px;
  background: #ffffff;
  border-radius: 5px;
}

.header-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: url(../2707-Congress-St/JeffSelected11.jpg) top center no-repeat;
  background-size: cover;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.page-header-text-box {
  display: inline-block;
  background: rgba(10, 26, 15, 0.62);
  padding: 16px 22px;
  border-radius: 12px;
  max-width: 100%;
}

.page-header-text-box h1,
.page-header-text-box .breadcrumb {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1399.98px) {
  .navbar.navbar-expand-xxl {
    flex-wrap: nowrap;
    align-items: center;
  }

  .navbar .navbar-brand {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar .navbar-toggler {
    order: 2;
    margin-left: auto !important;
    margin-right: 1rem !important;
    flex-shrink: 0;
  }

  .navbar .navbar-collapse {
    order: 3;
    flex-basis: 100%;
  }

  .navbar .navbar-brand h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .brand-doctor-name {
    display: inline-block;
    margin-left: 4px;
    padding-top: 0;
    line-height: 1.2;
    align-self: center;
  }

  .navbar .navbar-brand img:not(.site-logo-mark) {
    max-height: 98px !important;
    width: auto;
    flex-shrink: 0;
  }
}

.page-header .breadcrumb {
  display: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(black);
}

/*** Service ***/
.service-item {
  transition: 0.5s;
}

.service-item:hover {
  margin-top: -10px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.service-item .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 40px;
  white-space: nowrap;
  overflow: hidden;
  transition: 0.5s;
}

.service-item:hover .btn {
  width: 140px;
}

.service-item .btn.btn-static {
  width: auto;
  padding: 0 25px;
  overflow: visible;
}

.service-item:hover .btn.btn-static {
  width: auto;
}

/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Team ***/
.team-item img {
  position: relative;
  top: 0;
  transition: 0.5s;
}

.team-item:hover img {
  top: -30px;
}

.team-item .team-text {
  position: relative;
  height: 100px;
  transition: 0.5s;
}

.team-item:hover .team-text {
  margin-top: -60px;
  height: 160px;
}

.team-item .team-text .team-social {
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text .team-social {
  opacity: 1;
}

.team-item .team-social .btn {
  display: inline-flex;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text {
  background: var(--bs-light);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  opacity: 1 !important;
  z-index: 10;
  pointer-events: none;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 35px;
  transition: 0.5s;
  background: transparent;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: pointer;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}

.bg-light,
.bg-light p,
.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6,
.bg-light small,
.bg-light span,
.bg-light label,
.testimonial-text,
.testimonial-text p,
.testimonial-text h5,
.testimonial-text span {
  color: #ffffff;
}

/* Tinnitus Experience Difference Section */
.tinnitus-experience .text-primary,
.tinnitus-experience .text-dark {
  color: #ffffff !important;
}

/* Tinnitus Check List Section */
.tinnitus-experience .list-unstyled li {
  color: #ffffff !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.service-item.bg-light h4,
.team-item .bg-light h5 {
  color: var(--dark) !important;
}

/*** Form Control ***/
.form-control {
  color: var(--primary);
}

.form-control::placeholder {
  color: var(--secondary);
  opacity: 1;
}

.form-floating label {
  color: var(--secondary) !important;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary) !important;
}

/*** White-background text: force black for readability ***/
/* Target .text-muted anywhere it appears on a white background */
body .text-muted,
.bg-white .text-muted,
.service-item.bg-white .text-muted,
.bg-white p,
.bg-white li,
.bg-white small,
.bg-white span:not(.badge):not(.btn):not([class*="text-primary"]):not([class*="text-secondary"]) {
  color: #000000 !important;
}

/* Default body (white) — paragraphs, lists, small text that aren't inside a colored section */
body > *:not(.bg-primary):not(.bg-dark):not(.bg-light):not(.footer):not([class*="bg-"]) p,
body > *:not(.bg-primary):not(.bg-dark):not(.bg-light):not(.footer):not([class*="bg-"]) li,
body > *:not(.bg-primary):not(.bg-dark):not(.bg-light):not(.footer):not([class*="bg-"]) small {
  color: #000000;
}

/* Catch-all: any .text-muted not inside a dark/primary/footer context */
.text-muted:not(.bg-primary .text-muted):not(.bg-dark .text-muted):not(.footer .text-muted) {
  color: #000000 !important;
}
