html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  font-weight: 400;
  background-color: #ffffff;
  overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
strong {
  font-weight: 500 !important;
}

h3 {
  /* font-size: clamp(22px, 2.6vw, 28px); */
  line-height: 1.18;
}

h2 {
  /* font-size: clamp(38px, 6vw, 50px) !important; */
  font-weight: 500;
  line-height: 1.06;
}

/* Section header defaults */
section header h2 {
  letter-spacing: -0.02em;
}
section header p {
  font-size: var(--body-lg);
}

.max-w-1600 {
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1600px;
}

.chip {
  display: grid;
  place-items: center;
  border-radius: 9999px !important;
  border: 1px solid rgb(255 255 255 / 0.6);
}

.t-swiper {
  position: relative;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 0.06);
  padding: 22px 0 !important;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #1e40af 5%,
    #1e40af 95%,
    transparent
  ) !important;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #1e40af 5%,
    #1e40af 95%,
    transparent
  ) !important;
}
.t-swiper .swiper-wrapper {
  align-items: stretch;
}
.t-swiper .swiper-slide {
  width: 480px;
}

.t-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 0.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 190px;
}
.t-card .t-body {
  padding: 16px 18px 18px;
  font-size: 1.1rem;
}
.t-card .t-quote {
  color: var(--ink);
  font-size: 35px;
  margin-bottom: 8px;
}
.t-card .t-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.38);
  color: #ffffff;
  background: rgb(255 255 255 / 0.08);
  font-weight: 600;
  font-size: 14px;
}
.chip strong {
  font-weight: 500;
}
.fill {
  display: block;
  height: 100%;
  width: var(--pct, 0);
  background: var(--lime);
  border-radius: 999px;
  color: #fff;
}

/* Large screens (xl) */
@media (min-width: 1280px) {
  .max-w-1600 {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1600px;
  }
}

@media (max-width: 640px) {
  .t-swiper .swiper-slide {
    width: 84vw;
  }
}

.mt-tab[aria-selected="true"] {
  background: linear-gradient(90deg, #1e40af, #507fe9);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.28);
}

.mt-tab[aria-selected="false"] {
  color: #0b0b0b99;
}

.nv3-tab[aria-selected="true"] {
  background: linear-gradient(90deg, #1e40af, #507fe9);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.28);
}

.nv3-tab[aria-selected="false"] {
  color: #0b0b0b99;
}

/* Simple feed scroll */
.feed {
  animation: feedScroll 12s linear infinite;
}

@keyframes feedScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.meter .fill {
  width: 0;
  transition: width 0.9s ease;
}

.animate-fade-in,
.animate-slide-up {
  opacity: 0;
}

.animate-slide-up {
  transform: translateY(30px);
}

.animate-fade-in {
  transform: translateY(10px);
}

/* Animation for the arrow */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-4px);
  }

  60% {
    transform: translateY(-2px);
  }
}

#arrow-up {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Initially hide animated elements */
#donut-value {
  stroke-dasharray: 0 100;
}

#percentage,
#doctor-count,
#testimonial-text {
  opacity: 0;
}
