

/* ---------- shared reveal-on-scroll base (scoped to data attr, not global) ---------- */
[data-ehr-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-ehr-reveal="fade-left"] { transform: translateX(28px); }
[data-ehr-reveal="fade-right"] { transform: translateX(-28px); }
[data-ehr-reveal].is-visible { opacity: 1; transform: translate(0,0); }
@media (prefers-reduced-motion: reduce) {
  [data-ehr-reveal] { opacity: 1; transform: none; transition: none; }
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/* ============================ HERO ============================ */
.ehr-hero {
  background: linear-gradient(160deg, #0A2540 0%, #0E3A66 55%, #0F5FDC 130%);
  overflow: hidden;
  position: relative;
   max-width: 100vw;  
}
.ehr-hero .container { position: relative; z-index: 2;  }
.ehr-hero__eyebrow {
  display: inline-block;
  color: #8FC7FF;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.ehr-hero__title {
  color: #FFFFFF;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}
.ehr-hero__subtitle {
  color: #CFE1F7;
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 22px;
}
.ehr-hero__badges { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 28px; padding: 0; }
.ehr-hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E7F1FF;
  font-size: 13px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 12px;
}
.ehr-hero__badge-icon { color: #4FD1A5; flex-shrink: 0; }
.ehr-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.ehr-hero__btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ehr-hero__btn--primary { background: #FFFFFF; color: #0A2540; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.ehr-hero__btn--primary:hover { transform: translateY(-2px); text-decoration: none; color: #0A2540; }
.ehr-hero__btn--ghost { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.55); }
.ehr-hero__btn--ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; color: #FFFFFF; }
.ehr-hero__visual { position: relative; min-height: 360px; margin-top: 30px; overflow: hidden; padding-bottom: 40px; }

.ehr-hero__mockup-toggle { display: flex; gap: 8px; margin-bottom: 14px; position: relative; z-index: 3; }
.ehr-hero__mockup-toggle-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: #D4E2F2;
  font-size: 12.5px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ehr-hero__mockup-toggle-btn.is-active,
.ehr-hero__mockup-toggle-btn:hover { background: #FFFFFF; color: #0A2540; border-color: #FFFFFF; }
.ehr-hero__float-card {
  position: absolute;
  background: #0A2540;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0,0,0,.3);
  animation: ehrFloat 4.5s ease-in-out infinite;
  z-index: 5;
  white-space: nowrap;
}
.ehr-hero__float-card--one { top: 8px; right: 6%; animation-delay: 0s; }
.ehr-hero__float-card--two { bottom: 8px; left: 6%; animation-delay: 1.4s; }
.ehr-hero__mockup {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(3,15,35,.45);
  display: flex;
  overflow: hidden;
  max-width: 100%;
  transform-origin: right center;
}


.ehr-hero__mockup-panel {
  flex: 1 1 50%; padding: 22px; min-width: 0;
  transition: opacity .3s ease, filter .3s ease;
}
.ehr-hero__mockup-panel--clinical { background: #F3F8FF; border-right: 1px solid #E1EAF5; }
.ehr-hero__mockup-panel--admin { background: #FFFFFF; }

/* toggle emphasis: dim the non-active panel */
.ehr-hero__mockup-panel:not(.is-active) { opacity: .55; filter: grayscale(.15); }

.ehr-hero__mockup-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.ehr-hero__mockup-bar span { width: 8px; height: 8px; border-radius: 50%; background: #D7E2F0; display: inline-block; }

.ehr-hero__mockup-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ehr-hero__mockup-label { font-size: 12px; font-weight: 700; color: #0A2540; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.ehr-hero__mockup-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: #1CAA75; text-transform: uppercase; letter-spacing: .04em; }
.ehr-hero__mockup-live i { width: 6px; height: 6px; border-radius: 50%; background: #1CAA75; display: inline-block; animation: ehrLivePulse 1.6s ease-in-out infinite; }
@keyframes ehrLivePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }

.ehr-hero__mockup-patient { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed #D7E2F0; }
.ehr-hero__mockup-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #0F5FDC; color: #FFFFFF; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ehr-hero__mockup-patient-info { min-width: 0; }
.ehr-hero__mockup-patient-name { font-size: 13px; font-weight: 700; color: #16324F; margin: 0; }
.ehr-hero__mockup-patient-meta { font-size: 11px; color: #7C8DA6; margin: 0; }

.ehr-hero__mockup-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 10px; border-radius: 6px; background: rgba(15,95,220,.06);
  margin-bottom: 8px; font-size: 12.5px; color: #16324F;
}
.ehr-hero__mockup-row i { width: 20px; height: 8px; border-radius: 4px; background: #0F5FDC; opacity: .4; display: inline-block; }
.ehr-hero__mockup-row b { color: #0F5FDC; font-weight: 700; }
.ehr-hero__mockup-row--sync b { color: #1CAA75; }

.ehr-hero__mockup-vitals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ehr-hero__mockup-vital { background: #FFFFFF; border: 1px solid #E1EAF5; border-radius: 8px; padding: 8px 6px; text-align: center; }
.ehr-hero__mockup-vital-label { display: block; font-size: 9.5px; color: #7C8DA6; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.ehr-hero__mockup-vital-value { font-size: 13px; font-weight: 800; color: #0A2540; }
.ehr-hero__mockup-vital-value small { font-size: 9px; font-weight: 600; color: #7C8DA6; margin-left: 2px; }

.ehr-hero__mockup-alert {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 9px 10px; border-radius: 8px;
  background: #FFF3F0; color: #C4432B; font-size: 11.5px; font-weight: 700;
}

.ehr-hero__mockup-metric { margin-bottom: 14px; }
.ehr-hero__mockup-metric-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: #16324F; margin-bottom: 8px; }
.ehr-hero__mockup-metric-head b { font-size: 16px; font-weight: 800; color: #0F5FDC; }
.ehr-hero__mockup-progress { height: 8px; border-radius: 999px; background: #E1EAF5; overflow: hidden; }
.ehr-hero__mockup-progress span { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg,#0F5FDC,#4FD1A5); transition: width 1s ease; }

.ehr-hero__mockup-chart { margin-top: 16px; }
.ehr-hero__mockup-chart-label { font-size: 10.5px; color: #7C8DA6; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.ehr-hero__mockup-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.ehr-hero__mockup-bars span {
  flex: 1; height: var(--h, 30%); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg,#4FD1A5,#0F5FDC);
  transform: scaleY(0); transform-origin: bottom;
  animation: ehrBarGrow .7s ease forwards;
}
.ehr-hero__mockup-bars span:nth-child(1){animation-delay:.05s} .ehr-hero__mockup-bars span:nth-child(2){animation-delay:.1s}
.ehr-hero__mockup-bars span:nth-child(3){animation-delay:.15s} .ehr-hero__mockup-bars span:nth-child(4){animation-delay:.2s}
.ehr-hero__mockup-bars span:nth-child(5){animation-delay:.25s} .ehr-hero__mockup-bars span:nth-child(6){animation-delay:.3s}
.ehr-hero__mockup-bars span:nth-child(7){animation-delay:.35s}
@keyframes ehrBarGrow { to { transform: scaleY(1); } }

.ehr-hero__mockup-synctime { font-size: 10.5px; color: #98A2B3; margin: 12px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .ehr-hero__mockup-live i,
  .ehr-hero__mockup-bars span { animation: none; }
  .ehr-hero__mockup-bars span { transform: scaleY(1); }
}

@media (max-width: 767px) {
  .ehr-hero__mockup { flex-direction: column; }
  .ehr-hero__mockup-panel--clinical { border-right: 0; border-bottom: 1px solid #E1EAF5; }
  .ehr-hero__mockup-panel:not(.is-active) { display: none; }
}
@media (max-width: 767px) {
  .ehr-hero__title { font-size: 28px; }
  .ehr-hero__mockup { flex-direction: column; }
  .ehr-hero__mockup-panel--clinical { border-right: 0; border-bottom: 1px solid #E1EAF5; }
}

/* ============================ PROBLEMS ============================ */
.ehr-problems { background: #FFFFFF; }
.ehr-problems .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-problems__head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.ehr-problems__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-problems__lead { font-size: 16px; color: #475467; line-height: 1.65; }
.ehr-problems__card {
  background: #F9FBFF;
  border: 1px solid #E7EEF8;
  border-left: 4px solid #0F5FDC;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 22px;
  height: calc(100% - 22px);
  transition: box-shadow .25s ease, transform .25s ease;
}
.ehr-problems__card:hover { box-shadow: 0 14px 30px rgba(16,24,40,.08); transform: translateY(-3px); }
.ehr-problems__card-title { font-size: 17px; font-weight: 700; color: #0A2540; margin-bottom: 8px; }
.ehr-problems__card p { font-size: 14.5px; color: #475467; line-height: 1.6; margin: 0; }
.ehr-problems__resolve { text-align: center; margin-top: 12px; }
.ehr-problems__resolve p { font-size: 19px; font-weight: 700; color: #0A2540; margin-bottom: 10px; }
.ehr-problems__link { color: #0F5FDC; font-weight: 700; text-decoration: none; }
.ehr-problems__link:hover { text-decoration: underline; color: #0F5FDC; }
.ehr-problems__card-img {
  width: 100%;
  height: 250px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #EEF2F8;
}
.ehr-problems__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================ WHY CHOOSE ============================ */
.ehr-why {background: #F5F9FF; }
.ehr-why .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-why__head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.ehr-why__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-why__lead { font-size: 16px; color: #475467; }
.ehr-why__stat { text-align: center; padding: 18px 10px 30px; }
.ehr-why__stat-number { display: block; font-size: 42px; font-weight: 800; color: #0F5FDC; margin-bottom: 6px; }
.ehr-why__stat-label { font-size: 14.5px; color: #475467; max-width: 260px; margin: 0 auto; }
.ehr-why__point-title { font-size: 17px; font-weight: 700; color: #0A2540; margin-bottom: 6px; }
.ehr-why__table-wrap { margin-top: 20px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(16,24,40,.06); }
.ehr-why__table { background: #FFFFFF; margin-bottom: 0; }
.ehr-why__table-caption { caption-side: top; font-weight: 700; color: #0A2540; padding: 16px; font-size: 16px; background: #FFFFFF; }
.ehr-why__table thead th { background: #0A2540; color: #FFFFFF; border: 0; font-size: 13.5px; padding: 14px; }
.ehr-why__table tbody th, .ehr-why__table tbody td { font-size: 14px; padding: 13px 14px; color: #344054; vertical-align: middle; border-color: #EEF2F8; }
.ehr-why__table tbody th { color: #0A2540; font-weight: 600; }
.ehr-why__table tbody td:last-child { color: #0F5FDC; font-weight: 600; }
.ehr-why__points { margin-top: 10px; }
.ehr-why__point { display: flex; gap: 18px; margin-bottom: 28px; }
.ehr-why__point-icon {
  flex: 0 0 52px; height: 52px; width: 52px;
  border-radius: 12px;
  background: #EAF2FF;
  color: #0F5FDC;
  display: flex; align-items: center; justify-content: center;
}
.ehr-why__point-body { min-width: 0; }
.ehr-why__point-title { font-size: 17px; font-weight: 700; color: #0A2540; margin-bottom: 6px; }
.ehr-why__points p { font-size: 14.5px; color: #475467; line-height: 1.6; margin: 0; }

@media (max-width: 575px) {
  .ehr-why__point { gap: 14px; }
  .ehr-why__point-icon { flex: 0 0 46px; height: 46px; width: 46px; }
}

/* ============================ SOLUTIONS ============================ */
.ehr-solutions { background: #FFFFFF; }
.ehr-solutions .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-solutions__head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.ehr-solutions__title { font-size: 30px; font-weight: 800; color: #101828; }

.ehr-solutions__item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid #EEF2F8;
}
.ehr-solutions__item:last-child { border-bottom: 0; }

.ehr-solutions__item-content { flex: 1 1 55%; min-width: 0; }
.ehr-solutions__item-img { flex: 1 1 45%; }

.ehr-solutions__item-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 34px rgba(16,24,40,.1);
}

.ehr-solutions__item-icon {
  flex: 0 0 60px; height: 60px; width: 60px;
  border-radius: 14px;
  background: #EAF2FF;
  color: #0F5FDC;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ehr-solutions__item-body { min-width: 0; }
.ehr-solutions__item-title { font-size: 20px; font-weight: 700; color: #0A2540; margin-bottom: 10px; }
.ehr-solutions__item-body p { font-size: 14.5px; color: #475467; line-height: 1.65; margin-bottom: 10px; }
.ehr-solutions__item-benefit { color: #16324F; }
.ehr-solutions__item-benefit strong { color: #0F5FDC; }

/* alternate layout: even items image on left, content on right (desktop only) */
.ehr-solutions__item:nth-child(even) { flex-direction: row-reverse; }

@media (max-width: 767px) {
  .ehr-solutions__item,
  .ehr-solutions__item:nth-child(even) {
    flex-direction: column;
    gap: 20px;
    padding: 26px 0;
  }
  .ehr-solutions__item-img { order: -1; }
  .ehr-solutions__item-img img { height: 220px; }
}

/* ============================ INDUSTRIES (slider) ============================ */
.ehr-industries { background: #0A2540; }
.ehr-industries .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-industries__head { text-align: center; margin-bottom: 30px; }
.ehr-industries__title { font-size: 30px; font-weight: 800; color: #FFFFFF; }
.ehr-industries__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.ehr-industries__track::-webkit-scrollbar { display: none; }
.ehr-industries__slide {
  flex: 0 0 82%; max-width: 82%;
  scroll-snap-align: start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 26px;
}
.ehr-industries__card-title { color: #8FC7FF; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ehr-industries__slide p { color: #D4E2F2; font-size: 14.5px; line-height: 1.6; margin: 0; }
.ehr-industries__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.ehr-industries__btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: #FFFFFF; font-size: 16px;
  cursor: pointer;
}
.ehr-industries__btn:hover { background: rgba(255,255,255,.12); }
.ehr-industries__dots { display: flex; gap: 8px; }
.ehr-industries__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); padding: 0; cursor: pointer; }
.ehr-industries__dots button.is-active { background: #4FD1A5; width: 22px; border-radius: 5px; transition: width .25s ease; }
.ehr-industries__cta { text-align: center; margin-top: 26px; }
.ehr-industries__link { color: #4FD1A5; font-weight: 700; text-decoration: none; }
.ehr-industries__link:hover { text-decoration: underline; color: #4FD1A5; }
@media (min-width: 768px) { .ehr-industries__slide { flex: 0 0 44%; max-width: 44%; } }
@media (min-width: 1200px) { .ehr-industries__slide { flex: 0 0 31%; max-width: 31%; } }

/* ============================ FEATURE COMPARISON (tabs) ============================ */
.ehr-features { background: #F5F9FF; }
.ehr-features .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-features__head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.ehr-features__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-features__lead { font-size: 16px; color: #475467; }
.ehr-features__tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.ehr-features__tab {
  border: 1px solid #D7E2F0; background: #FFFFFF; color: #16324F;
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.ehr-features__tab.is-active, .ehr-features__tab:hover { background: #0F5FDC; color: #FFFFFF; border-color: #0F5FDC; }
.ehr-features__panel { display: none; background: #FFFFFF; border-radius: 12px; padding: 30px; box-shadow: 0 10px 30px rgba(16,24,40,.06); }
.ehr-features__panel.is-active { display: block; }
.ehr-features__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 14px 24px; }
.ehr-features__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: #344054; }
.ehr-features__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #E4F7EE; box-shadow: inset 0 0 0 1px #4FD1A5; }
.ehr-features__list li::after { content: "\2713"; position: absolute; left: 3px; top: 1px; font-size: 11px; color: #1CAA75; font-weight: 700; }
.ehr-features__insight { margin-top: 26px; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.ehr-features__insight p { font-size: 14.5px; color: #475467; margin-bottom: 10px; }
.ehr-features__link { color: #0F5FDC; font-weight: 700; text-decoration: none; }
.ehr-features__link:hover { text-decoration: underline; color: #0F5FDC; }

/* ============================ COMPLIANCE ============================ */
.ehr-compliance {background: #FFFFFF; }
.ehr-compliance .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-compliance__head { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.ehr-compliance__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-compliance__lead { font-size: 16px; color: #475467; }

.ehr-compliance__card { background: #F5F9FF; border-radius: 12px; padding: 22px; height: calc(100% - 22px); margin-bottom: 22px; border-top: 3px solid #0F5FDC; position: relative; }
.ehr-compliance__card-title { font-size: 17px; font-weight: 700; color: #0A2540; margin-bottom: 8px; }
.ehr-compliance__card p { font-size: 14px; color: #475467; line-height: 1.6; margin: 0; }

.ehr-compliance__exchange { margin-top: 8px; }
.ehr-compliance__panel { background: #0A2540; border-radius: 12px; padding: 26px; height: calc(100% - 22px); margin-bottom: 22px; }
.ehr-compliance__panel-title { color: #8FC7FF; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ehr-compliance__panel p { color: #D4E2F2; font-size: 14.5px; line-height: 1.65; margin: 0; }

.ehr-compliance__hipaa { background: #F5F9FF; border-radius: 12px; padding: 26px; margin: 10px 0 26px; display: flex; gap: 20px; align-items: flex-start; }
.ehr-compliance__hipaa .ehr-compliance__panel-title { color: #0A2540; }
.ehr-compliance__hipaa p { color: #475467; font-size: 14.5px; line-height: 1.65; margin: 0; }

.ehr-compliance__controls-title { text-align: center; font-size: 22px; font-weight: 700; color: #0A2540; margin: 10px 0 24px; }
.ehr-compliance__control { border: 1px solid #E7EEF8; border-radius: 10px; padding: 20px; margin-bottom: 20px; height: calc(100% - 20px); }
.ehr-compliance__control-title { font-size: 15.5px; font-weight: 700; color: #0F5FDC; margin-bottom: 8px; }
.ehr-compliance__control p { font-size: 13.5px; color: #475467; line-height: 1.55; margin: 0; }

/* ---------- icon boxes + hover effect ---------- */
.ehr-compliance__card-icon,
.ehr-compliance__panel-icon,
.ehr-compliance__hipaa-icon,
.ehr-compliance__control-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

.ehr-compliance__card-icon { background: #EAF2FF; color: #0F5FDC; }
.ehr-compliance__card:hover .ehr-compliance__card-icon { transform: scale(1.12) rotate(-4deg); background: #0F5FDC; color: #FFFFFF; }

.ehr-compliance__panel-icon { background: rgba(255,255,255,.1); color: #8FC7FF; }
.ehr-compliance__panel:hover .ehr-compliance__panel-icon { transform: scale(1.12) rotate(-4deg); background: #4FD1A5; color: #06231A; }

.ehr-compliance__hipaa-icon { background: #EAF2FF; color: #0F5FDC; flex-shrink: 0; }
.ehr-compliance__hipaa:hover .ehr-compliance__hipaa-icon { transform: scale(1.12) rotate(-4deg); background: #0F5FDC; color: #FFFFFF; }

.ehr-compliance__control-icon { width: 42px; height: 42px; background: #EAF2FF; color: #0F5FDC; }
.ehr-compliance__control:hover .ehr-compliance__control-icon { transform: scale(1.15) rotate(-4deg); background: #0F5FDC; color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .ehr-compliance__card-icon,
  .ehr-compliance__panel-icon,
  .ehr-compliance__hipaa-icon,
  .ehr-compliance__control-icon { transition: none; }
  .ehr-compliance__card:hover .ehr-compliance__card-icon,
  .ehr-compliance__panel:hover .ehr-compliance__panel-icon,
  .ehr-compliance__hipaa:hover .ehr-compliance__hipaa-icon,
  .ehr-compliance__control:hover .ehr-compliance__control-icon { transform: none; }
}

@media (max-width: 575px) {
  .ehr-compliance__hipaa { flex-direction: column; }
}

/* ============================ INTEGRATIONS ============================ */
.ehr-integrations {  background: #F5F9FF; }
.ehr-integrations .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-integrations__head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.ehr-integrations__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-integrations__lead { font-size: 16px; color: #475467; }

.ehr-integrations__card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  height: calc(100% - 22px);
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(16,24,40,.05);
  transition: box-shadow .25s ease, transform .25s ease;
}
.ehr-integrations__card:hover { box-shadow: 0 16px 34px rgba(16,24,40,.09); transform: translateY(-3px); }

.ehr-integrations__card-img {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #EEF2F8;
}
.ehr-integrations__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ehr-integrations__card-title { font-size: 16.5px; font-weight: 700; color: #0A2540; margin: 18px 22px 8px; }
.ehr-integrations__card p { font-size: 14px; color: #475467; line-height: 1.6; margin: 0 22px 22px; }

.ehr-integrations__insight { text-align: center; max-width: 760px; margin: 10px auto 0; }
.ehr-integrations__insight p { font-size: 14.5px; color: #475467; margin-bottom: 10px; }
.ehr-integrations__link { color: #0F5FDC; font-weight: 700; text-decoration: none; }
.ehr-integrations__link:hover { text-decoration: underline; color: #0F5FDC; }

/* ============================ PROCESS (timeline) ============================ */
.ehr-process {  background: #FFFFFF; }
.ehr-process .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-process__head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.ehr-process__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-process__lead { font-size: 16px; color: #475467; }
.ehr-process__timeline { list-style: none; margin: 0; padding: 0; max-width: 820px; margin-left: auto; margin-right: auto; position: relative; }
.ehr-process__timeline::before { content: ""; position: absolute; left: 27px; top: 6px; bottom: 6px; width: 2px; background: #E1EAF5; }
.ehr-process__step { position: relative; padding: 0 0 30px 74px; }
.ehr-process__step:last-child { padding-bottom: 0; }
.ehr-process__num {
  position: absolute; left: 0; top: 0;
  width: 54px; height: 54px; border-radius: 50%;
  background: #0F5FDC; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 18px rgba(15,95,220,.3);
}
.ehr-process__step-title { font-size: 17px; font-weight: 700; color: #0A2540; margin-bottom: 6px; }
.ehr-process__step p { font-size: 14px; color: #475467; line-height: 1.6; margin: 0; }
.ehr-process__step em { color: #0F5FDC; font-style: normal; font-weight: 600; }

/* ============================ AI FEATURES ============================ */
.ehr-ai {  background: #0A2540; }
.ehr-ai .container { padding-top: 40px; padding-bottom: 40px; }
.ehr-ai__head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.ehr-ai__title { font-size: 30px; font-weight: 800; color: #FFFFFF; margin-bottom: 12px; }
.ehr-ai__lead { font-size: 16px; color: #B9CDE6; }
.ehr-ai__grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ehr-ai__chip {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: #E7F1FF;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.ehr-ai__chip:hover { background: #0F5FDC; transform: translateY(-2px); }

/* ============================ CUSTOM VS OFF-THE-SHELF ============================ */
.ehr-compare {  background: #FFFFFF; }
.ehr-compare .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-compare__head { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.ehr-compare__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-compare__lead { font-size: 16px; color: #475467; }
.ehr-compare__table-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(16,24,40,.06); }
.ehr-compare__table { margin-bottom: 0; }
.ehr-compare__table thead th { background: #0A2540; color: #FFFFFF; font-size: 13.5px; padding: 14px; border: 0; }
.ehr-compare__table tbody th, .ehr-compare__table tbody td { font-size: 14px; padding: 13px 14px; color: #344054; border-color: #EEF2F8; }
.ehr-compare__table tbody th { color: #0A2540; font-weight: 600; }
.ehr-compare__table tbody td:last-child { color: #0F5FDC; font-weight: 600; }
.ehr-compare__recommend { background: #F5F9FF; border-left: 4px solid #0F5FDC; border-radius: 8px; padding: 20px 24px; margin-top: 24px; }
.ehr-compare__recommend p { font-size: 14.5px; color: #344054; line-height: 1.65; margin: 0; }

/* ============================ TECH STACK (TABS) ============================ */
.ehr-stack {  background: #F5F9FF; }
.ehr-stack .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-stack__head { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.ehr-stack__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-stack__lead { font-size: 16px; color: #475467; }

.ehr-stack__tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.ehr-stack__tab {
  border: 1px solid #D7E2F0; background: #FFFFFF; color: #16324F;
  padding: 10px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ehr-stack__tab.is-active, .ehr-stack__tab:hover { background: #0F5FDC; color: #FFFFFF; border-color: #0F5FDC; }

.ehr-stack__panel { display: none; }
.ehr-stack__panel.is-active { display: block; animation: ehrStackFade .35s ease; }
@keyframes ehrStackFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ehr-stack__panel.is-active { animation: none; } }

.ehr-stack__logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.ehr-stack__logo-card {
  background: #FFFFFF;
  border: 1px solid #E7EEF8;
  border-radius: 14px;
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.ehr-stack__logo-card:hover { box-shadow: 0 14px 30px rgba(16,24,40,.09); transform: translateY(-4px); border-color: #C9DBF5; }
.ehr-stack__logo-card img { width: 48px; height: 48px; object-fit: contain; }
.ehr-stack__logo-card span { font-size: 13.5px; font-weight: 700; color: #16324F; line-height: 1.3; }

.ehr-stack__logo-card--text .ehr-stack__logo-initial {
  width: 48px; height: 48px; border-radius: 50%;
  background: #EAF2FF; color: #0F5FDC;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; letter-spacing: .02em;
}

.ehr-stack__cta { text-align: center; margin-top: 30px; }
.ehr-stack__link { color: #0F5FDC; font-weight: 700; text-decoration: none; }
.ehr-stack__link:hover { text-decoration: underline; color: #0F5FDC; }

@media (max-width: 575px) {
  .ehr-stack__logo-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .ehr-stack__logo-card { padding: 20px 12px; }
}

/* ============================ SECURITY ============================ */
.ehr-security {  background: #FFFFFF; }
.ehr-security .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-security__head { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.ehr-security__title { font-size: 30px; font-weight: 800; color: #101828; margin-bottom: 12px; }
.ehr-security__lead { font-size: 16px; color: #475467; }

.ehr-security__card { border: 1px solid #E7EEF8; border-radius: 10px; padding: 22px; height: calc(100% - 22px); margin-bottom: 22px; transition: box-shadow .25s ease; }
.ehr-security__card:hover { box-shadow: 0 12px 26px rgba(16,24,40,.07); }
.ehr-security__card-title { font-size: 16px; font-weight: 700; color: #0A2540; margin-bottom: 8px; }
.ehr-security__card p { font-size: 13.5px; color: #475467; line-height: 1.6; margin: 0; }

.ehr-security__card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #EAF2FF;
  color: #0F5FDC;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.ehr-security__card:hover .ehr-security__card-icon { transform: scale(1.15) rotate(-4deg); background: #0F5FDC; color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .ehr-security__card-icon { transition: none; }
  .ehr-security__card:hover .ehr-security__card-icon { transform: none; }
}

/* ============================ CASE STUDY ============================ */
/* ===== SCOPED TO #CaseStudies SECTION ONLY ===== */
  #CaseStudies {
    background: #07080B;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    color: #F3F4F6;
  }

  #CaseStudies::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(circle, rgba(34,211,238,0.10) 0%, rgba(139,92,246,0.06) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }

  #CaseStudies::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  #CaseStudies .cs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
  }

  #CaseStudies .client-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 0 16px 0;
    color: #F3F4F6;
  }



  #CaseStudies .cs-subtext {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 64px auto;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
    color: #8A8F9B;
  }

  /* ===== VIEWPORT (shows exactly one card) ===== */
  #CaseStudies .cs-viewport {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;
  }

  #CaseStudies .casestudies_slider {
    position: relative;
    overflow: hidden;
  }

  #CaseStudies .slider-casestudies {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
  }

  #CaseStudies .caseStudiesSliderBox {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px;
  }

  /* ===== CARD ===== */
  #CaseStudies .case_box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 36px;
    background: #0F1219;
    border-radius: 24px;
    overflow: hidden;
    padding: 40px;
    transition: transform 0.35s ease, background 0.35s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 0;
  }

  /* static border */
  #CaseStudies .case_box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: rgba(255,255,255,0.07);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
  }

  /* animated gradient border on hover */
  #CaseStudies .case_box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: conic-gradient(from var(--angle, 0deg), #22D3EE, #8B5CF6, #5EE6E0, #22D3EE);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: cs-rotate 3s linear infinite;
    z-index: 2;
  }

  @property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }

  @keyframes cs-rotate {
    to { --angle: 360deg; }
  }

  #CaseStudies .case_box:hover {
    transform: translateY(-6px);
    background: rgba(15, 18, 25, 0.92);
    box-shadow: 0 24px 60px -20px rgba(56,189,248,0.25), 0 0 40px rgba(56,189,248,0.08);
  }

  #CaseStudies .case_box:hover::before { opacity: 0; }
  #CaseStudies .case_box:hover::after { opacity: 1; }

  #CaseStudies .case_box__image {
    flex: 0 0 420px;
    width: 420px;
    height: 300px;
    position: relative;
    overflow: hidden;
    /* background: #0C0E14; */
    /* border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07); */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #CaseStudies .case_box__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  #CaseStudies .case_box__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  #CaseStudies .case_box__content h4 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 14px 0;
    color: #F3F4F6;
  }

  #CaseStudies .case_box__content p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #C7CAD1;
    margin: 0 0 20px 0;
  }

  #CaseStudies .case_box__points {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #CaseStudies .case_box__points li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    font-weight: 400;
    color: #8A8F9B;
    line-height: 1.4;
  }

  #CaseStudies .case_box__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22D3EE, #8B5CF6);
  }

  #CaseStudies .viewCaseStudies {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 14px 22px;
    border-radius: 999px;
    background: #F3F4F6;
    color: #07080B;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, gap 0.3s ease;
  }

  #CaseStudies .viewCaseStudies i {
    font-style: normal;
    transition: transform 0.3s ease;
  }

  #CaseStudies .viewCaseStudies::after {
    content: "\2192";
    transition: transform 0.3s ease;
  }

  #CaseStudies .viewCaseStudies i {
    display: none; /* font-awesome glyph not loaded, use unicode arrow above */
  }

  #CaseStudies .viewCaseStudies:hover {
    transform: translateY(-3px);
    background: #22D3EE;
  }

  #CaseStudies .viewCaseStudies:hover::after {
    transform: translateX(4px);
  }

  /* ===== DOTS / PROGRESS ===== */
  #CaseStudies .cs-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  #CaseStudies .cs-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: none;
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease;
    padding: 0;
  }

  #CaseStudies .cs-dot.active {
    width: 26px;
    background: linear-gradient(90deg, #22D3EE, #8B5CF6);
  }

  /* ===== ARROWS ===== */
  #CaseStudies .caseStudiesBottomArrows {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
  }

  #CaseStudies .caseStudiesBottomArrows button {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: #F3F4F6;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  }

  #CaseStudies .caseStudiesBottomArrows button:hover {
    border-color: rgba(56,189,248,0.55);
    background: rgba(56,189,248,0.08);
    transform: translateY(-2px);
  }

  #CaseStudies .caseStudiesBottomArrows i {
    font-style: normal;
  }

  #CaseStudies .caseStudiesBottomArrows .fa-arrow-left::before { content: "\2190"; }
  #CaseStudies .caseStudiesBottomArrows .fa-arrow-right::before { content: "\2192"; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 991px) {
    #CaseStudies { padding: 90px 0; }
    #CaseStudies .client-title { font-size: 40px; }
    #CaseStudies .case_box { flex-direction: column; padding: 32px; gap: 24px; }
    #CaseStudies .case_box__image { width: 100%; max-width: 360px; height: 260px; flex: 0 0 260px; }
    #CaseStudies .case_box__content { align-items: center; text-align: center; }
    #CaseStudies .case_box__content h4 { font-size: 24px; }
    #CaseStudies .case_box__points { align-items: flex-start; }
  }

  @media (max-width: 575px) {
    #CaseStudies { padding: 30px 0; }
    #CaseStudies .cs-container { padding: 0 20px; }
    #CaseStudies .client-title { font-size: 30px; }
    #CaseStudies .cs-subtext { font-size: 15px; margin-bottom: 40px; }
    #CaseStudies .case_box { padding: 24px; }
    #CaseStudies .case_box__image { width: 100%; max-width: 280px; height: 220px; flex: 0 0 220px; }
    #CaseStudies .case_box__content h4 { font-size: 21px; }
    #CaseStudies .case_box__points li { font-size: 12px; }
    #CaseStudies .caseStudiesBottomArrows button { width: 42px; height: 42px; }
  }
.tr-gradient-text{
    background: linear-gradient(90deg, #22D3EE, #8B5CF6, #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
   display:inline-block;
    padding-bottom:6px;
    line-height:inherit;
}

/* ============================ ROI CALCULATOR ============================ */
.ehr-roi {  background: #F5F9FF; position: relative; }
.ehr-roi .container { padding-top: 40px; padding-bottom: 40px; }
.ehr-roi__head { max-width: 720px; margin: 0 auto 20px; text-align: center; }
.ehr-roi__eyebrow { font-size: 13px; font-weight: 700; color: #0F5FDC; letter-spacing: .05em; text-transform: uppercase; }
.ehr-roi__title { font-size: 30px; font-weight: 800; color: #101828; margin: 8px 0 10px; }
.ehr-roi__lead { font-size: 15.5px; color: #475467; }
.ehr-roi__progress { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.ehr-roi__progress-step { font-size: 12px; color: #98A2B3; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E7EEF8; }
.ehr-roi__progress-step.is-active { color: #FFFFFF; background: #1CAA75; border-color: #1CAA75; }
.ehr-roi__panel { background: #FFFFFF; border-radius: 18px; padding: 34px; box-shadow: 0 18px 50px rgba(16,24,40,.09); position: relative; }
.ehr-roi__panel > .row:first-of-type {
  margin-top: 34px;
}
.ehr-roi__score { position: absolute; top: 24px; right: 24px; text-align: right; }
.ehr-roi__score-label { display: block; font-size: 11px; color: #98A2B3; text-transform: uppercase; letter-spacing: .04em; }
.ehr-roi__score-value { font-size: 20px; font-weight: 800; color: #0F5FDC; }
.ehr-roi__field { margin-bottom: 26px; }
.ehr-roi__label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: #16324F; margin-bottom: 10px; }
.ehr-roi__value { color: #0F5FDC; font-weight: 800; }
.ehr-roi__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: #E1EAF5; outline: none; }
.ehr-roi__slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #0F5FDC; border: 3px solid #FFFFFF; box-shadow: 0 2px 8px rgba(15,95,220,.5); cursor: pointer; }
.ehr-roi__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #0F5FDC; border: 3px solid #FFFFFF; box-shadow: 0 2px 8px rgba(15,95,220,.5); cursor: pointer; }
.ehr-roi__scale { display: flex; justify-content: space-between; font-size: 11px; color: #98A2B3; margin-top: 6px; }
.ehr-roi__badge-box { text-align: center; background: #F5F9FF; border-radius: 12px; padding: 18px; }
.ehr-roi__badge-label { display: block; font-size: 11px; color: #98A2B3; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.ehr-roi__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: #0A2540; transition: transform .3s ease; }
.ehr-roi__badge.is-animating { transform: scale(1.15); }
.ehr-roi__badge-emoji { font-size: 26px; }
.ehr-roi__results { margin-top: 20px; padding-top: 26px; border-top: 1px dashed #E1EAF5; }
.ehr-roi__result { text-align: center; margin-bottom: 20px; }
.ehr-roi__result-label { display: block; font-size: 12px; color: #98A2B3; margin-bottom: 6px; }
.ehr-roi__result-value { display: block; font-size: 21px; font-weight: 800; color: #0A2540; }
.ehr-roi__meter-row { margin-top: 10px; }
.ehr-roi__meter-wrap { display: flex; justify-content: center; }
.ehr-roi__meter { position: relative; width: 140px; height: 140px; }
.ehr-roi__meter-track { fill: none; stroke: #E1EAF5; stroke-width: 10; }
.ehr-roi__meter-fill { fill: none; stroke: #0F5FDC; stroke-width: 10; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 60px 60px; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .8s ease, stroke .4s ease; }
.ehr-roi__meter-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ehr-roi__meter-value { font-size: 22px; font-weight: 800; color: #0A2540; }
.ehr-roi__meter-caption { font-size: 11px; color: #98A2B3; }
.ehr-roi__insights { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.ehr-roi__insights p { background: #F5F9FF; border-left: 3px solid #4FD1A5; border-radius: 8px; padding: 14px 16px; font-size: 13.5px; color: #344054; line-height: 1.6; margin: 0; }
.ehr-roi__insights strong { color: #0F5FDC; }
.ehr-roi__compare { margin-top: 26px; }
.ehr-roi__compare-card { background: #F5F9FF; border-radius: 10px; padding: 16px; margin-bottom: 16px; text-align: center; }
.ehr-roi__compare-label { display: block; font-size: 12px; color: #98A2B3; margin-bottom: 8px; }
.ehr-roi__compare-values { font-size: 16px; font-weight: 800; color: #0A2540; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ehr-roi__compare-arrow { color: #4FD1A5; }
.ehr-roi__timeline { margin-top: 30px; }
.ehr-roi__timeline-title { font-size: 15px; font-weight: 700; color: #0A2540; margin-bottom: 16px; text-align: center; }
.ehr-roi__timeline-track { display: flex; justify-content: space-between; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.ehr-roi__timeline-point { flex: 1 1 0; min-width: 90px; text-align: center; border-top: 3px solid #0F5FDC; padding-top: 10px; }
.ehr-roi__timeline-month { display: block; font-size: 11px; color: #98A2B3; margin-bottom: 4px; }
.ehr-roi__timeline-amount { display: block; font-size: 13px; font-weight: 700; color: #0A2540; }
.ehr-roi__cta { margin-top: 30px; text-align: center; background: #0A2540; border-radius: 14px; padding: 30px; }
.ehr-roi__cta-label { color: #B9CDE6; font-size: 14px; margin: 0; }
.ehr-roi__cta-amount { color: #FFFFFF; font-size: 34px; font-weight: 800; margin: 6px 0; }
.ehr-roi__cta-sub { color: #B9CDE6; font-size: 13.5px; margin-bottom: 18px; }
.ehr-roi__cta-btn { background: #4FD1A5; color: #06231A; border: 0; padding: 14px 30px; border-radius: 8px; font-weight: 800; font-size: 15px; cursor: pointer; transition: transform .2s ease; }
.ehr-roi__cta-btn:hover { transform: translateY(-2px); }



.ehr-roi__confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1100; overflow: hidden; }
.ehr-roi__confetti span { position: absolute; top: -10px; width: 8px; height: 8px; border-radius: 2px; opacity: .9; animation: ehrConfettiFall 2.2s ease-in forwards; }
@keyframes ehrConfettiFall { to { transform: translateY(100vh) rotate(360deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ehr-roi__confetti { display: none; } }

@media (max-width: 575px) {
  .ehr-roi__panel { padding: 22px; }
  .ehr-roi__score { position: static; text-align: left; margin-bottom: 16px; }
   .ehr-roi__panel > .row:first-of-type {
    margin-top: 0; 
  }
}

/* ============================ FAQ ============================ */
.ehr-faq {  background: #FFFFFF; }
.ehr-faq .container { padding-top: 40px; padding-bottom: 20px; }
.ehr-faq__head { max-width: 700px; margin: 0 auto 30px; text-align: center; }
.ehr-faq__title { font-size: 30px; font-weight: 800; color: #101828; }
.ehr-faq__list { max-width: 820px; margin: 0 auto; }
.ehr-faq__item { border-bottom: 1px solid #E7EEF8; }
.ehr-faq__question {
  font-size: 15.5px; font-weight: 700; color: #0A2540;
  padding: 18px 34px 18px 0; margin: 0; position: relative; cursor: pointer;
}
.ehr-faq__question::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-size: 20px; color: #0F5FDC; font-weight: 400; transition: transform .25s ease;
}
.ehr-faq__question[aria-expanded="true"]::after { transform: rotate(45deg); }
.ehr-faq__answer { padding: 0 0 18px; }
.ehr-faq__answer p { font-size: 14.5px; color: #475467; line-height: 1.65; margin: 0; }

/* ============================ FINAL CTA ============================ */
.ehr-final-cta {  background: linear-gradient(135deg, #0A2540 0%, #0F5FDC 130%); }
.ehr-final-cta .container { padding-top: 50px; padding-bottom: 50px; }
.ehr-final-cta__title { font-size: 30px; font-weight: 800; color: #FFFFFF; margin-bottom: 14px; }
.ehr-final-cta__lead { font-size: 15.5px; color: #D4E2F2; line-height: 1.65; margin-bottom: 26px; max-width: 560px; }
.ehr-final-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ehr-final-cta__btn { display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.ehr-final-cta__btn--primary { background: #FFFFFF; color: #0A2540; }
.ehr-final-cta__btn--primary:hover { text-decoration: none; color: #0A2540; }
.ehr-final-cta__btn--ghost { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.55); }
.ehr-final-cta__btn--ghost:hover { text-decoration: none; color: #FFFFFF; background: rgba(255,255,255,.12); }
.ehr-final-cta__panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 26px; }
.ehr-final-cta__panel-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ehr-final-cta__panel-row:last-child { margin-bottom: 0; }
.ehr-final-cta__panel-row span { flex: 1; text-align: center; background: rgba(255,255,255,.1); color: #FFFFFF; font-size: 13px; font-weight: 700; padding: 12px 6px; border-radius: 8px; }

/* ============================ RESPONSIVE / OVERFLOW SAFETY ============================ */
@media (max-width: 991px) {
  .ehr-hero__title, .ehr-problems__title, .ehr-why__title, .ehr-solutions__title,
  .ehr-industries__title, .ehr-features__title, .ehr-compliance__title,
  .ehr-integrations__title, .ehr-process__title, .ehr-ai__title, .ehr-compare__title,
  .ehr-stack__title, .ehr-security__title, .ehr-roi__title, .ehr-faq__title, .ehr-final-cta__title {
    font-size: 26px;
  }
}
@media (max-width: 575px) {
  .ehr-hero, .ehr-problems, .ehr-why, .ehr-solutions, .ehr-industries, .ehr-features,
  .ehr-compliance, .ehr-integrations, .ehr-process, .ehr-ai, .ehr-compare, .ehr-stack,
  .ehr-security, .ehr-case, .ehr-roi, .ehr-faq, .ehr-final-cta {
    padding: 30px 0;
  }
}