/* @charset "UTF-8";

:root {
  --blue: #1558d6;
  --blue-mid: #2d7aff;
  --blue-light: #e8f0fe;
  --blue-pale: #f0f5ff;
  --teal: #00b4a0;
  --teal-light: #e0faf7;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --red: #ef4444;
  --red-light: #fee2e2;
  --purple: #7c3aed;
  --purple-light: #ede9fe;
  --pink: #ec4899;
  --pink-light: #fce7f3;
  --white: #fff;
  --off: #f8fafc;
  --s100: #f1f5f9;
  --s200: #e2e8f0;
  --s300: #cbd5e1;
  --s400: #94a3b8;
  --s500: #64748b;
  --s600: #475569;
  --s700: #334155;
  --s800: #1e293b;
  --s900: #0f172a;
  --fh: 'Nunito', sans-serif;
  --fb: 'Plus Jakarta Sans', sans-serif;
  --r: 16px;
  --rs: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb);
  margin: 0;
  padding-top: 75px;
  color: var(--s800);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

── UTILITIES ──
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sec {
  padding: 5rem 0;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 20px;
  margin-bottom: .85rem;
}

.sec-title {
  font-family: var(--fh);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--s900);
  line-height: 1.2;
  margin-bottom: .7rem;
}

.sec-sub {
  font-size: 1rem;
  color: var(--s500);
  line-height: 1.7;
}

.center {
  text-align: center;
}

.center .sec-sub {
  max-width: 580px;
  margin: 0 auto;
}

── BUTTONS ──
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.5rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  font-family: var(--fb);
  cursor: pointer;
  border: none;
  transition: all .22s;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 88, 214, .3);
}

.btn-blue:hover {
  background: #0f47b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(21, 88, 214, .4);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 180, 160, .3);
}

.btn-teal:hover {
  background: #009d8c;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2.5px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .24);
}

.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1rem;
  border-radius: 12px;
}

── SCROLL REVEAL ──
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s, transform .65s;
}

.rv.on {
  opacity: 1;
  transform: none;
}

══════════════════════════════════════════
   HERO
══════════════════════════════════════════
.hero {
  background: #0a2e8a;
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3rem;
  height: full;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(10, 46, 138, .80) 0%, rgba(21, 88, 214, .75) 45%, rgba(8, 145, 178, .7) 100%);
  pointer-events: none;
  backdrop-filter: blur(0.8px);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero>.wrap {
  position: relative;
  z-index: 3;
}

.hero-blobs circle,
.hero-blobs ellipse {
  opacity: .06;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-family: var(--fh);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.hero h1 em {
  font-style: normal;
  color: #7dd3fc;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

pill tags
.pill-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  font-weight: 600;
}

── HERO ILLUSTRATION ──
.hero-illus {
  position: relative;
  height: 480px;
}

main phone/tablet frame
.device-frame {
  position: absolute;
  right: 0;
  top: 10px;
  width: 270px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  padding: 1.2rem;
  animation: bob 4s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
  }

  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

.df-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}

.df-title {
  font-family: var(--fh);
  font-weight: 900;
  font-size: .82rem;
  color: var(--s800);
}

.df-dots {
  display: flex;
  gap: 4px;
}

.df-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}

.d-cell {
  background: var(--off);
  border-radius: 10px;
  padding: .6rem .7rem;
}

.d-label {
  font-size: .58rem;
  font-weight: 700;
  color: var(--s400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}

.d-val {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--s800);
}

.d-sub {
  font-size: .58rem;
  color: var(--s400);
  margin-top: .1rem;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-top: .3rem;
}

.mb {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-width: 5px;
}

floating cards
.fc {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, .22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

added

.full-img-card {
  padding: 0 !important;
  overflow: hidden;
}

.full-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-fit: contain;
  background: #fff;
}

.full-img-card {
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}



.fc-float-img {
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.fc-float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-float-body {
  padding: 1rem 1.1rem;
}

.fc-card {
  width: 280px;   Size thoda adjust kiya for better look
  height: 170px;  
  bottom: 30px;
  left: 0;
  z-index: 3;
  padding: 0 !important; Padding remove ki taaki image kinare tak jaye
}

.fc-card .fc-float-img {
  height: 100%; Image poori height cover karegi
  width: 100%;
}

.fc-card .fc-float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; Image stretch nahi hogi, fill hogi
  display: block;
}

.fc-card .fc-float-body {
  padding: 1rem 1.1rem;
}

@keyframes bob2 {

  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }

  50% {
    transform: translateY(-9px) rotate(-1.5deg);
  }
}

.fc-alert {
  width: 190px;
  top: 250px;
  left: 260px; Pehle 120px tha, ab right shift kar diya
  animation: bob3 3.2s ease-in-out infinite .2s;
  padding: 0;
  z-index: 5;
}

.fc-alert .fc-float-img {
  height: 54px;
}

.fc-alert .fc-float-body {
  padding: .75rem .9rem .85rem;
}

@keyframes bob3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hc-mini-brand {
  font-family: var(--fh);
  font-weight: 900;
  color: var(--blue);
  font-size: .88rem;
  margin-bottom: .15rem;
}

.hc-mini-type {
  font-size: .6rem;
  color: var(--s400);
  margin-bottom: .65rem;
}

.hc-mini-row {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.hc-ava {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hc-name {
  font-size: .76rem;
  font-weight: 800;
  color: var(--s800);
}

.hc-uid {
  font-size: .62rem;
  color: var(--s400);
  margin: .12rem 0;
}

.hc-ok {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--green-light);
  color: var(--green);
  font-size: .58rem;
  font-weight: 800;
  padding: .12rem .4rem;
  border-radius: 8px;
}

.alert-hdr {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
}

.alert-ico {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.alert-title-sm {
  font-size: .72rem;
  font-weight: 800;
  color: var(--s700);
}

.a-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .64rem;
  color: var(--s600);
  padding: .22rem 0;
  border-bottom: 1px solid var(--s100);
}

.a-row:last-child {
  border: none;
}

.a-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

══════════════════════════════════════════
   WHAT IS e-HRC  — big visual infographic
══════════════════════════════════════════
.what-section {
  background: var(--off);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.what-graphic {
  position: relative;
}

.big-card-display {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 56px rgba(21, 88, 214, .14);
  padding: 2rem;
  border: 2px solid var(--blue-light);
}

.bcd-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px dashed var(--s200);
}

.bcd-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.bcd-brand {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue);
}

.bcd-sub {
  font-size: .8rem;
  color: var(--s400);
  margin-top: .15rem;
}

.bcd-student {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bcd-ava {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.bcd-name {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--s800);
}

.bcd-detail {
  font-size: .78rem;
  color: var(--s500);
  margin: .15rem 0;
}

.bcd-id {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
}

.bcd-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 800;
}

.chip-green {
  background: var(--green-light);
  color: var(--green);
}

.chip-red {
  background: var(--red-light);
  color: var(--red);
}

.chip-blue {
  background: var(--blue-light);
  color: var(--blue);
}

.chip-amber {
  background: var(--amber-light);
  color: #b45309;
}

.bcd-qr-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off);
  border-radius: 12px;
  padding: .85rem 1rem;
}

.bcd-qr-txt {
  font-size: .75rem;
  color: var(--s600);
  line-height: 1.6;
  flex: 1;
}

.bcd-qr-txt strong {
  color: var(--blue);
}

what-is info side
.what-info .sec-sub {
  margin-bottom: 1.8rem;
}

.what-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wp {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--s200);
  transition: border-color .2s, box-shadow .2s;
}

.wp:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(21, 88, 214, .1);
}

.wp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.wp-text h4 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--s800);
  margin-bottom: .2rem;
}

.wp-text p {
  font-size: .8rem;
  color: var(--s500);
  line-height: 1.5;
}

══════════════════════════════════════════
   WHO IS IT FOR — 3 big audience cards
══════════════════════════════════════════
.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.for-card {
  border-radius: 22px;
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}

.for-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .13);
}

.for-card-school {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
}

.for-card-college {
  background: linear-gradient(145deg, #f0fdf4, #dcfce7);
}

.for-card-parent {
  background: linear-gradient(145deg, #fdf4ff, #f3e8ff);
}

.fc-ilu {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.fc-tag {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.fct-blue {
  background: var(--blue);
  color: #fff;
}

.fct-green {
  background: var(--green);
  color: #fff;
}

.fct-purple {
  background: var(--purple);
  color: #fff;
}

.for-card h3 {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--s900);
  margin-bottom: .75rem;
}

.for-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.for-card li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .85rem;
  color: var(--s700);
  line-height: 1.45;
}

.for-card li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: .05rem;
}

.li-blue::before {
  background: var(--blue-light);
  color: var(--blue);
}

.li-green::before {
  background: var(--green-light);
  color: var(--green);
}

.li-purple::before {
  background: var(--purple-light);
  color: var(--purple);
}

.fc-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 6rem;
  opacity: .08;
}

══════════════════════════════════════════
   HOW IT WORKS — visual flow diagram
══════════════════════════════════════════
.how-section {
  background: linear-gradient(180deg, #fff 0%, var(--blue-pale) 100%);
}

.how-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.how-flow::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 0;
  border-radius: 2px;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.hs-bubble {
  width: 100px; Thoda optimize kiya size
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem; Center align bubble
  border: 4px solid #fff;
  box-shadow: 0 8px 28px rgba(21, 88, 214, .18);
  position: relative;
  overflow: visible; Yeh important hai taaki numbers cut na ho
}

.hs-bubble .hs-num {
  font-family: var(--fh);
  font-size: 0.75rem; Thoda bada kiya visibility ke liye
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 7px; Position adjust ki taaki edge se touch na ho
  right: 15px;
  z-index: 15;
}

.hs-bubble .hs-ilu {
  font-size: 2.6rem;
}

.hsb-1 {
  background: linear-gradient(135deg, #1558d6, #3b82f6);
}

.hsb-2 {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.hsb-3 {
  background: linear-gradient(135deg, #00b4a0, #34d399);
}

.hsb-4 {
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
}

.hs-title {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 900;
  color: var(--s800);
  margin-bottom: .5rem;
}

.hs-desc {
  font-size: .82rem;
  color: var(--s500);
  line-height: 1.6;
  min-height: 80px; Taaki cards ki height maintain rahe aur tags ek line mein dikhe
}

.hs-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: .3rem .8rem;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
}

══════════════════════════════════════════
   FEATURES — icon-rich grid
══════════════════════════════════════════
.feat-section {
  background: var(--s900);
}

.feat-section .sec-label {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}

.feat-section .sec-title {
  color: #fff;
}

.feat-section .sec-sub {
  color: rgba(255, 255, 255, .55);
}

.feat-bigrow {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feat-bigrow.rev {
  direction: rtl;
}

.feat-bigrow.rev>* {
  direction: ltr;
}

.feat-visual {
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fv-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}

.fv-icon-big {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.fv-title {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.fv-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

.fv-items {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.fv-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, .05);
  border-radius: 10px;
  padding: .6rem .9rem;
}

.fvi-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fvi-text {
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
}

.feat-text h3 {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .9rem;
}

.feat-text p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.feat-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.fp {
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}

.fp-blue {
  background: rgba(21, 88, 214, .35);
  color: #93c5fd;
}

.fp-teal {
  background: rgba(0, 180, 160, .25);
  color: #5eead4;
}

.fp-amber {
  background: rgba(245, 158, 11, .2);
  color: #fcd34d;
}

.fp-green {
  background: rgba(22, 163, 74, .25);
  color: #86efac;
}

.fp-purple {
  background: rgba(124, 58, 237, .25);
  color: #c4b5fd;
}

══════════════════════════════════════════
   HEALTH CARD — big visual showcase
══════════════════════════════════════════
.card-sec {
  background: var(--off);
}

.card-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.card-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.big-hcard {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 70px rgba(21, 88, 214, .2);
  padding: 2rem 2.4rem;
  width: 100%;
  max-width: 400px;
  border: 2.5px solid var(--blue-light);
  position: relative;
  overflow: hidden;
}

.big-hcard::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), #bfdbfe);
}

.bhc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

.bhc-logo {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--blue);
}

.bhc-type-label {
  font-size: .62rem;
  color: var(--s400);
  margin-top: .1rem;
}

.ehrc-chip {
  background: var(--blue);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  padding: .28rem .65rem;
  border-radius: 20px;
}

.bhc-person {
  display: flex;
  align-items: center; 
  gap: 1rem;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.bhc-av {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bfdbfe, #2d7aff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.bhc-pname {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--s800);
}

.bhc-meta {
  font-size: .73rem;
  color: var(--s400);
  margin: .18rem 0;
}

.bhc-uid {
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue);
}

.bhc-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.bhc-qr-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off);
  border-radius: 14px;
  padding: .9rem 1rem;
  position: relative;
  z-index: 1;
}

.bhc-scan-text {
  font-size: .72rem;
  color: var(--s500);
  line-height: 1.55;
  flex: 1;
}

.bhc-scan-text strong {
  color: var(--blue);
}

scan animation ring
.scan-wrap {
  position: relative;
  flex-shrink: 0;
}

.scan-ring {
  position: absolute;
  inset: -6px;
  border-radius: 10px;
  border: 2.5px solid var(--blue);
  animation: scanPulse 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes scanPulse {
  0% {
    opacity: 0;
    transform: scale(.9);
  }

  50% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

card scan use-cases
.scan-uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  width: 100%;
  max-width: 400px;
}

.su-item {
  background: #fff;
  border: 1.5px solid var(--s200);
  border-radius: 14px;
  padding: .9rem .7rem;
  text-align: center;
  transition: all .2s;
}

.su-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(21, 88, 214, .12);
  transform: translateY(-3px);
}

.su-icon {
  font-size: 1.5rem;
  margin-bottom: .4rem;
}

.su-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--s700);
  line-height: 1.3;
}

card info side
.card-info .sec-sub {
  margin-bottom: 1.5rem;
}

.card-steps {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.cstep {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.cs-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--fh);
  font-size: .85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-body h4 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--s800);
  margin-bottom: .18rem;
}

.cs-body p {
  font-size: .8rem;
  color: var(--s500);
  line-height: 1.5;
}

══════════════════════════════════════════
   BENEFITS VISUAL — icon grid
══════════════════════════════════════════
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.ben-card {
  background: #fff;
  border: 1.5px solid var(--s200);
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.ben-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(21, 88, 214, .12);
  border-color: transparent;
}

.ben-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 20px 20px;
}

.bc-blue::after {
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
}

.bc-teal::after {
  background: linear-gradient(90deg, var(--teal), #34d399);
}

.bc-amber::after {
  background: linear-gradient(90deg, var(--amber), #fcd34d);
}

.bc-green::after {
  background: linear-gradient(90deg, var(--green), #4ade80);
}

.bc-purple::after {
  background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.bc-red::after {
  background: linear-gradient(90deg, var(--red), #f87171);
}

.bc-pink::after {
  background: linear-gradient(90deg, var(--pink), #f9a8d4);
}

.bc-cyan::after {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.ben-ilu {
  font-size: 2.5rem;
  margin-bottom: .9rem;
  display: block;
}

.ben-card h4 {
  font-family: var(--fh);
  font-size: .95rem;
  font-weight: 900;
  color: var(--s800);
  margin-bottom: .4rem;
  line-height: 1.3;
}

.ben-card p {
  font-size: .78rem;
  color: var(--s500);
  line-height: 1.5;
}

══════════════════════════════════════════
   TRUST LOGOS
══════════════════════════════════════════
.trust-sec {
  background: var(--s900);
  padding: 1.5rem 0;
  height: 80px;
}

.trust-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  font-weight: 600;
}

.trust-item .ti {
  font-size: 1.1rem;
}

.trust-sep {
  color: rgba(255, 255, 255, .15);
  font-size: 1.3rem;
}

.trust-big {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .05em;
}

══════════════════════════════════════════
   STATS
══════════════════════════════════════════
.stats-sec {
  background: linear-gradient(135deg, var(--blue), #0891b2);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.sg-item {
  padding: 1.5rem;
  position: relative;
}

.sg-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}

.sg-item:last-child::after {
  display: none;
}

.sg-ilu {
  font-size: 2.2rem;
  margin-bottom: .5rem;
  display: block;
}

.sg-num {
  font-family: var(--fh);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.sg-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  margin-top: .4rem;
  line-height: 1.4;
}

══════════════════════════════════════════
   CTA
══════════════════════════════════════════
.cta-sec {
  background: var(--s900);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-sec::before,
.cta-sec::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-sec::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21, 88, 214, .3), transparent);
  top: -150px;
  left: -100px;
}

.cta-sec::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 160, .2), transparent);
  bottom: -100px;
  right: -80px;
}

.cta-sec h2 {
  font-family: var(--fh);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  max-width: 620px;
  margin: 0 auto 1rem;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

.cta-sec p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .65);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 760px;
  margin: 3rem auto 0;
  position: relative;
  z-index: 1;
}

.cc {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: background .2s;
}

.cc:hover {
  background: rgba(255, 255, 255, .12);
}

.cc-icon {
  font-size: 2rem;
  margin-bottom: .6rem;
  display: block;
}

.cc-title {
  font-family: var(--fh);
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .3rem;
}

.cc-desc {
  font-size: .76rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.5;
}

══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════
@media(max-width:1024px) {

  .hero-grid,
  .what-grid,
  .card-showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-illus {
    height: 300px;
    margin-top: 2rem;
  }

  .for-grid {
    grid-template-columns: 1fr 1fr;
  }

  .how-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-flow::before {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-bigrow,
  .feat-bigrow.rev {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:640px) {

  .nav-menu,
  .nav-actions .btn-outline {
    display: none;
  }

  .for-grid,
  .benefits-grid,
  .cta-cards {
    grid-template-columns: 1fr;
  }

  .how-flow {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sec-title {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .wrap {
    padding: 0 1.1rem;
  }

  .sec {
    padding: 3.5rem 0;
  }

  .cta-sec h2 {
    font-size: 2rem;
  }
}

── MODERN MODAL STYLES ──
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  STEP-1 FIX: Lowered from 9999 to 1050 so SweetAlert2 (default z-index ~1060)
     renders above the modal instead of being blocked by it.
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

Ensure SweetAlert container always wins the stacking order
.swal2-container {
  z-index: 1100 !important;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay .modal-content {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-overlay .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--s100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-overlay .modal-close:hover {
  background: var(--red-light);
  color: var(--red);
}

.modal-overlay .modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-overlay .modal-header h3 {
  font-family: var(--fh);
  font-weight: 900;
  color: var(--s900);
  margin: 0;
}

.modal-overlay .modal-header p {
  font-size: 0.8rem;
  color: var(--s500);
}

.modal-overlay .modal-body img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.modal-content-wide {
  max-width: 980px;
  padding: 1.4rem;
}

.modal-content-form {
  max-width: 860px;
  max-height: min(88vh, 900px);
  padding: 1.1rem;
}

.modal-content-compact {
  max-width: 520px;
}

.modal-body-form {
  padding: 0;
  max-height: calc(min(88vh, 900px) - 110px);
  overflow-y: auto;
  border-radius: 18px;
}

.modal-body-form::-webkit-scrollbar {
  width: 8px;
}

.modal-body-form::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.22);
  border-radius: 999px;
}

@media (max-width: 767px) {
  .modal-content-form {
    width: calc(100% - 1rem);
    max-height: 92vh;
    padding: 1rem;
  }

  .modal-body-form {
    max-height: calc(92vh - 110px);
  }
}

.contact-card-list {
  display: grid;
  gap: .8rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--off);
  border: 1px solid var(--s200);
  border-radius: 12px;
  padding: .9rem 1rem;
  color: var(--s800);
  font-weight: 700;
  transition: all .2s ease;
}

.contact-card-item:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.contact-card-icon {
  font-size: 1.15rem;
}

── PAGE TOC (sticky right-edge tab + slide-out panel) ──
#top,
#what,
#who,
#how,
#features,
#card,
#benefits,
#stats,
#contact {
  scroll-margin-top: 88px;
}

.ehrc-page-toc {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1060;
  font-family: var(--fb);
}

.ehrc-toc-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem .55rem;
  min-width: 2.85rem;
  min-height: 9.5rem;
  border: none;
  border-radius: var(--rs) 0 0 var(--rs);
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: -4px 4px 18px rgba(21, 88, 214, .32);
  transition: background .2s ease, box-shadow .2s ease;
}

.ehrc-toc-toggle:hover,
.ehrc-page-toc.is-open .ehrc-toc-toggle {
  background: var(--blue-mid);
  box-shadow: -6px 6px 22px rgba(21, 88, 214, .38);
}

.ehrc-toc-toggle-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 1rem;
  height: .85rem;
}

.ehrc-toc-toggle-icon::before,
.ehrc-toc-toggle-icon::after,
.ehrc-toc-toggle-icon span {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.ehrc-toc-toggle-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.ehrc-toc-panel {
  position: absolute;
  right: 100%;
  top: 50%;
  width: 15.5rem;
  max-height: min(72vh, 520px);
  overflow-y: auto;
  margin-right: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, .98) 0%, var(--blue-pale) 100%);
  border: 1px solid rgba(21, 88, 214, .18);
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  padding: 1rem .85rem 1.1rem;
  box-shadow: -8px 8px 28px rgba(15, 23, 42, .12);
  transform: translateY(-50%) translateX(1.25rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
}

.ehrc-page-toc.is-open .ehrc-toc-panel {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ehrc-toc-panel[hidden] {
  display: block;
}

.ehrc-toc-title {
  font-family: var(--fh);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .65rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(21, 88, 214, .22);
}

.ehrc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ehrc-toc-list a {
  display: block;
  padding: .42rem .55rem;
  margin-bottom: .12rem;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--s600);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ehrc-toc-list a:hover {
  background: var(--blue-light);
  color: var(--blue);
  border-color: rgba(21, 88, 214, .12);
}

.ehrc-toc-list a.is-active {
  background: linear-gradient(90deg, var(--blue-light), var(--teal-light));
  color: var(--blue);
  border-color: rgba(21, 88, 214, .2);
  font-weight: 700;
}

.ehrc-toc-panel::-webkit-scrollbar {
  width: 5px;
}

.ehrc-toc-panel::-webkit-scrollbar-thumb {
  background: rgba(21, 88, 214, .25);
  border-radius: 99px;
}

@media (max-width: 991px) {
  .ehrc-page-toc {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }

  .ehrc-toc-toggle {
    border-radius: var(--rs);
    min-width: auto;
    min-height: auto;
    flex-direction: row;
    padding: .55rem .85rem;
  }

  .ehrc-toc-toggle-text {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ehrc-toc-panel {
    position: fixed;
    right: .75rem;
    bottom: 4.25rem;
    top: auto;
    width: min(17rem, calc(100vw - 1.5rem));
    border: 1px solid rgba(21, 88, 214, .18);
    border-radius: var(--r);
    transform: translateY(12px);
  }

  .ehrc-page-toc.is-open .ehrc-toc-panel {
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .ehrc-page-toc {
    right: .5rem;
    bottom: 1rem;
  }
}
 */
 
 
 @charset "UTF-8";

:root {
  --blue: #1558d6;
  --blue-mid: #2d7aff;
  --blue-light: #e8f0fe;
  --blue-pale: #f0f5ff;
  --teal: #00b4a0;
  --teal-light: #e0faf7;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --red: #ef4444;
  --red-light: #fee2e2;
  --purple: #7c3aed;
  --purple-light: #ede9fe;
  --pink: #ec4899;
  --pink-light: #fce7f3;
  --white: #fff;
  --off: #f8fafc;
  --s100: #f1f5f9;
  --s200: #e2e8f0;
  --s300: #cbd5e1;
  --s400: #94a3b8;
  --s500: #64748b;
  --s600: #475569;
  --s700: #334155;
  --s800: #1e293b;
  --s900: #0f172a;
  --fh: 'Nunito', sans-serif;
  --fb: 'Plus Jakarta Sans', sans-serif;
  --r: 16px;
  --rs: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb);
  margin: 0;
  padding-top: 75px;
  color: var(--s800);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── UTILITIES ── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sec {
  padding: 5rem 0;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 20px;
  margin-bottom: .85rem;
}

.sec-title {
  font-family: var(--fh);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--s900);
  line-height: 1.2;
  margin-bottom: .7rem;
}

.sec-sub {
  font-size: 1rem;
  color: var(--s500);
  line-height: 1.7;
}

.center {
  text-align: center;
}

.center .sec-sub {
  max-width: 580px;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.5rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  font-family: var(--fb);
  cursor: pointer;
  border: none;
  transition: all .22s;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 88, 214, .3);
}

.btn-blue:hover {
  background: #0f47b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(21, 88, 214, .4);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 180, 160, .3);
}

.btn-teal:hover {
  background: #009d8c;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2.5px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .24);
}

.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* ── SCROLL REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s, transform .65s;
}

.rv.on {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: #0a2e8a;
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3rem;
  height: full;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(10, 46, 138, .80) 0%, rgba(21, 88, 214, .75) 45%, rgba(8, 145, 178, .7) 100%);
  pointer-events: none;
  backdrop-filter: blur(0.8px);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero>.wrap {
  position: relative;
  z-index: 3;
}

.hero-blobs circle,
.hero-blobs ellipse {
  opacity: .06;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-family: var(--fh);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.hero h1 em {
  font-style: normal;
  color: #7dd3fc;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* pill tags */
.pill-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  font-weight: 600;
}

/* ── HERO ILLUSTRATION ── */
.hero-illus {
  position: relative;
  height: 480px;
}

/* main phone/tablet frame */
.device-frame {
  position: absolute;
  right: 0;
  top: 10px;
  width: 270px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  padding: 1.2rem;
  animation: bob 4s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
  }

  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

.df-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}

.df-title {
  font-family: var(--fh);
  font-weight: 900;
  font-size: .82rem;
  color: var(--s800);
}

.df-dots {
  display: flex;
  gap: 4px;
}

.df-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}

.d-cell {
  background: var(--off);
  border-radius: 10px;
  padding: .6rem .7rem;
}

.d-label {
  font-size: .58rem;
  font-weight: 700;
  color: var(--s400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}

.d-val {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--s800);
}

.d-sub {
  font-size: .58rem;
  color: var(--s400);
  margin-top: .1rem;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-top: .3rem;
}

.mb {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-width: 5px;
}

/* floating cards */
.fc {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, .22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/*added*/

.full-img-card {
  padding: 0 !important;
  overflow: hidden;
}

.full-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-fit: contain;
  background: #fff;
}

.full-img-card {
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/**/

.fc-float-img {
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.fc-float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-float-body {
  padding: 1rem 1.1rem;
}

.fc-card {
  width: 280px;   /* Size thoda adjust kiya for better look */
  height: 170px;  
  bottom: 30px;
  left: 0;
  z-index: 3;
  padding: 0 !important; /* Padding remove ki taaki image kinare tak jaye */
}

.fc-card .fc-float-img {
  height: 100%; /* Image poori height cover karegi */
  width: 100%;
}

.fc-card .fc-float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Image stretch nahi hogi, fill hogi */
  display: block;
}

.fc-card .fc-float-body {
  padding: 1rem 1.1rem;
}

@keyframes bob2 {

  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }

  50% {
    transform: translateY(-9px) rotate(-1.5deg);
  }
}

.fc-alert {
  width: 190px;
  top: 250px;
  left: 260px; /* Pehle 120px tha, ab right shift kar diya */
  animation: bob3 3.2s ease-in-out infinite .2s;
  padding: 0;
  z-index: 5;
}

.fc-alert .fc-float-img {
  height: 54px;
}

.fc-alert .fc-float-body {
  padding: .75rem .9rem .85rem;
}

@keyframes bob3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hc-mini-brand {
  font-family: var(--fh);
  font-weight: 900;
  color: var(--blue);
  font-size: .88rem;
  margin-bottom: .15rem;
}

.hc-mini-type {
  font-size: .6rem;
  color: var(--s400);
  margin-bottom: .65rem;
}

.hc-mini-row {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.hc-ava {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hc-name {
  font-size: .76rem;
  font-weight: 800;
  color: var(--s800);
}

.hc-uid {
  font-size: .62rem;
  color: var(--s400);
  margin: .12rem 0;
}

.hc-ok {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--green-light);
  color: var(--green);
  font-size: .58rem;
  font-weight: 800;
  padding: .12rem .4rem;
  border-radius: 8px;
}

.alert-hdr {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
}

.alert-ico {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.alert-title-sm {
  font-size: .72rem;
  font-weight: 800;
  color: var(--s700);
}

.a-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .64rem;
  color: var(--s600);
  padding: .22rem 0;
  border-bottom: 1px solid var(--s100);
}

.a-row:last-child {
  border: none;
}

.a-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   WHAT IS e-HRC  — big visual infographic
══════════════════════════════════════════ */
.what-section {
  background: var(--off);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.what-graphic {
  position: relative;
}

.big-card-display {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 56px rgba(21, 88, 214, .14);
  padding: 2rem;
  border: 2px solid var(--blue-light);
}

.bcd-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px dashed var(--s200);
}

.bcd-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.bcd-brand {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue);
}

.bcd-sub {
  font-size: .8rem;
  color: var(--s400);
  margin-top: .15rem;
}

.bcd-student {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bcd-ava {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.bcd-name {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--s800);
}

.bcd-detail {
  font-size: .78rem;
  color: var(--s500);
  margin: .15rem 0;
}

.bcd-id {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
}

.bcd-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 800;
}

.chip-green {
  background: var(--green-light);
  color: var(--green);
}

.chip-red {
  background: var(--red-light);
  color: var(--red);
}

.chip-blue {
  background: var(--blue-light);
  color: var(--blue);
}

.chip-amber {
  background: var(--amber-light);
  color: #b45309;
}

.bcd-qr-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off);
  border-radius: 12px;
  padding: .85rem 1rem;
}

.bcd-qr-txt {
  font-size: .75rem;
  color: var(--s600);
  line-height: 1.6;
  flex: 1;
}

.bcd-qr-txt strong {
  color: var(--blue);
}

/* what-is info side */
.what-info .sec-sub {
  margin-bottom: 1.8rem;
}

.what-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wp {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--s200);
  transition: border-color .2s, box-shadow .2s;
}

.wp:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(21, 88, 214, .1);
}

.wp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.wp-text h4 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--s800);
  margin-bottom: .2rem;
}

.wp-text p {
  font-size: .8rem;
  color: var(--s500);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   WHO IS IT FOR — 3 big audience cards
══════════════════════════════════════════ */
.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.for-card {
  border-radius: 22px;
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}

.for-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .13);
}

.for-card-school {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
}

.for-card-college {
  background: linear-gradient(145deg, #f0fdf4, #dcfce7);
}

.for-card-parent {
  background: linear-gradient(145deg, #fdf4ff, #f3e8ff);
}

.fc-ilu {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.fc-tag {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.fct-blue {
  background: var(--blue);
  color: #fff;
}

.fct-green {
  background: var(--green);
  color: #fff;
}

.fct-purple {
  background: var(--purple);
  color: #fff;
}

.for-card h3 {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--s900);
  margin-bottom: .75rem;
}

.for-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.for-card li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .85rem;
  color: var(--s700);
  line-height: 1.45;
}

.for-card li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: .05rem;
}

.li-blue::before {
  background: var(--blue-light);
  color: var(--blue);
}

.li-green::before {
  background: var(--green-light);
  color: var(--green);
}

.li-purple::before {
  background: var(--purple-light);
  color: var(--purple);
}

.fc-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 6rem;
  opacity: .08;
}

/* ══════════════════════════════════════════
   HOW IT WORKS — visual flow diagram
══════════════════════════════════════════ */
.how-section {
  background: linear-gradient(180deg, #fff 0%, var(--blue-pale) 100%);
}

.how-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.how-flow::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 0;
  border-radius: 2px;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.hs-bubble {
  width: 100px; /* Thoda optimize kiya size */
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem; /* Center align bubble */
  border: 4px solid #fff;
  box-shadow: 0 8px 28px rgba(21, 88, 214, .18);
  position: relative;
  overflow: visible; /* Yeh important hai taaki numbers cut na ho */
}

.hs-bubble .hs-num {
  font-family: var(--fh);
  font-size: 0.75rem; /* Thoda bada kiya visibility ke liye */
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 7px; /* Position adjust ki taaki edge se touch na ho */
  right: 15px;
  z-index: 15;
}

.hs-bubble .hs-ilu {
  font-size: 2.6rem;
}

.hsb-1 {
  background: linear-gradient(135deg, #1558d6, #3b82f6);
}

.hsb-2 {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.hsb-3 {
  background: linear-gradient(135deg, #00b4a0, #34d399);
}

.hsb-4 {
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
}

.hs-title {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 900;
  color: var(--s800);
  margin-bottom: .5rem;
}

.hs-desc {
  font-size: .82rem;
  color: var(--s500);
  line-height: 1.6;
  min-height: 80px; /* Taaki cards ki height maintain rahe aur tags ek line mein dikhe */
}

.hs-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: .3rem .8rem;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   FEATURES — icon-rich grid
══════════════════════════════════════════ */
.feat-section {
  background: var(--s900);
}

.feat-section .sec-label {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}

.feat-section .sec-title {
  color: #fff;
}

.feat-section .sec-sub {
  color: rgba(255, 255, 255, .55);
}

.feat-bigrow {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feat-bigrow.rev {
  direction: rtl;
}

.feat-bigrow.rev>* {
  direction: ltr;
}

.feat-visual {
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fv-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}

.fv-icon-big {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.fv-title {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.fv-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

.fv-items {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.fv-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, .05);
  border-radius: 10px;
  padding: .6rem .9rem;
}

.fvi-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fvi-text {
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
}

.feat-text h3 {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .9rem;
}

.feat-text p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.feat-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.fp {
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}

.fp-blue {
  background: rgba(21, 88, 214, .35);
  color: #93c5fd;
}

.fp-teal {
  background: rgba(0, 180, 160, .25);
  color: #5eead4;
}

.fp-amber {
  background: rgba(245, 158, 11, .2);
  color: #fcd34d;
}

.fp-green {
  background: rgba(22, 163, 74, .25);
  color: #86efac;
}

.fp-purple {
  background: rgba(124, 58, 237, .25);
  color: #c4b5fd;
}

/* ══════════════════════════════════════════
   HEALTH CARD — big visual showcase
══════════════════════════════════════════ */
.card-sec {
  background: var(--off);
}

.card-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.card-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.big-hcard {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 70px rgba(21, 88, 214, .2);
  padding: 2rem 2.4rem;
  width: 100%;
  max-width: 400px;
  border: 2.5px solid var(--blue-light);
  position: relative;
  overflow: hidden;
}

.big-hcard::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), #bfdbfe);
}

.bhc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

.bhc-logo {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--blue);
}

.bhc-type-label {
  font-size: .62rem;
  color: var(--s400);
  margin-top: .1rem;
}

.ehrc-chip {
  background: var(--blue);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  padding: .28rem .65rem;
  border-radius: 20px;
}

.bhc-person {
  display: flex;
  align-items: center; 
  gap: 1rem;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.bhc-av {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bfdbfe, #2d7aff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.bhc-pname {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--s800);
}

.bhc-meta {
  font-size: .73rem;
  color: var(--s400);
  margin: .18rem 0;
}

.bhc-uid {
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue);
}

.bhc-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.bhc-qr-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off);
  border-radius: 14px;
  padding: .9rem 1rem;
  position: relative;
  z-index: 1;
}

.bhc-scan-text {
  font-size: .72rem;
  color: var(--s500);
  line-height: 1.55;
  flex: 1;
}

.bhc-scan-text strong {
  color: var(--blue);
}

/* scan animation ring */
.scan-wrap {
  position: relative;
  flex-shrink: 0;
}

.scan-ring {
  position: absolute;
  inset: -6px;
  border-radius: 10px;
  border: 2.5px solid var(--blue);
  animation: scanPulse 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes scanPulse {
  0% {
    opacity: 0;
    transform: scale(.9);
  }

  50% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* card scan use-cases */
.scan-uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  width: 100%;
  max-width: 400px;
}

.su-item {
  background: #fff;
  border: 1.5px solid var(--s200);
  border-radius: 14px;
  padding: .9rem .7rem;
  text-align: center;
  transition: all .2s;
}

.su-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(21, 88, 214, .12);
  transform: translateY(-3px);
}

.su-icon {
  font-size: 1.5rem;
  margin-bottom: .4rem;
}

.su-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--s700);
  line-height: 1.3;
}

/* card info side */
.card-info .sec-sub {
  margin-bottom: 1.5rem;
}

.card-steps {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.cstep {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.cs-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--fh);
  font-size: .85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-body h4 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--s800);
  margin-bottom: .18rem;
}

.cs-body p {
  font-size: .8rem;
  color: var(--s500);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   BENEFITS VISUAL — icon grid
══════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.ben-card {
  background: #fff;
  border: 1.5px solid var(--s200);
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.ben-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(21, 88, 214, .12);
  border-color: transparent;
}

.ben-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 20px 20px;
}

.bc-blue::after {
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
}

.bc-teal::after {
  background: linear-gradient(90deg, var(--teal), #34d399);
}

.bc-amber::after {
  background: linear-gradient(90deg, var(--amber), #fcd34d);
}

.bc-green::after {
  background: linear-gradient(90deg, var(--green), #4ade80);
}

.bc-purple::after {
  background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.bc-red::after {
  background: linear-gradient(90deg, var(--red), #f87171);
}

.bc-pink::after {
  background: linear-gradient(90deg, var(--pink), #f9a8d4);
}

.bc-cyan::after {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.ben-ilu {
  font-size: 2.5rem;
  margin-bottom: .9rem;
  display: block;
}

.ben-card h4 {
  font-family: var(--fh);
  font-size: .95rem;
  font-weight: 900;
  color: var(--s800);
  margin-bottom: .4rem;
  line-height: 1.3;
}

.ben-card p {
  font-size: .78rem;
  color: var(--s500);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   TRUST LOGOS
══════════════════════════════════════════ */
.trust-sec {
  background: var(--s900);
  padding: 1.5rem 0;
  height: 80px;
}

.trust-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  font-weight: 600;
}

.trust-item .ti {
  font-size: 1.1rem;
}

.trust-sep {
  color: rgba(255, 255, 255, .15);
  font-size: 1.3rem;
}

.trust-big {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .05em;
}

/* ══════════════════════════════════════════
   STATS
══════════════════════════════════════════ */
.stats-sec {
  background: linear-gradient(135deg, var(--blue), #0891b2);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.sg-item {
  padding: 1.5rem;
  position: relative;
}

.sg-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}

.sg-item:last-child::after {
  display: none;
}

.sg-ilu {
  font-size: 2.2rem;
  margin-bottom: .5rem;
  display: block;
}

.sg-num {
  font-family: var(--fh);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.sg-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  margin-top: .4rem;
  line-height: 1.4;
}

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.cta-sec {
  background: var(--s900);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-sec::before,
.cta-sec::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-sec::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21, 88, 214, .3), transparent);
  top: -150px;
  left: -100px;
}

.cta-sec::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 160, .2), transparent);
  bottom: -100px;
  right: -80px;
}

.cta-sec h2 {
  font-family: var(--fh);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  max-width: 620px;
  margin: 0 auto 1rem;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

.cta-sec p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .65);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 980px;
  margin: 3rem auto 0;
  position: relative;
  z-index: 1;
}

.cc {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: background .2s;
}

.cc:hover {
  background: rgba(255, 255, 255, .12);
}

.cc-icon {
  font-size: 2rem;
  margin-bottom: .6rem;
  display: block;
}

.cc-title {
  font-family: var(--fh);
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .3rem;
}

.cc-desc {
  font-size: .76rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media(max-width:1024px) {

  .hero-grid,
  .what-grid,
  .card-showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-illus {
    height: 300px;
    margin-top: 2rem;
  }

  .for-grid {
    grid-template-columns: 1fr 1fr;
  }

  .how-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-flow::before {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-bigrow,
  .feat-bigrow.rev {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {

  .nav-menu,
  .nav-actions .btn-outline {
    display: none;
  }

  .for-grid,
  .benefits-grid,
  .cta-cards {
    grid-template-columns: 1fr;
  }

  .how-flow {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sec-title {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .wrap {
    padding: 0 1.1rem;
  }

  .sec {
    padding: 3.5rem 0;
  }

  .cta-sec h2 {
    font-size: 2rem;
  }
}

/* ── MODERN MODAL STYLES ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* STEP-1 FIX: Lowered from 9999 to 1050 so SweetAlert2 (default z-index ~1060)
     renders above the modal instead of being blocked by it. */
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Above Bootstrap modal (1080) and paramedic reg modal (2000) */
.swal2-container {
  z-index: 2200 !important;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay .modal-content {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-overlay .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--s100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-overlay .modal-close:hover {
  background: var(--red-light);
  color: var(--red);
}

.modal-overlay .modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-overlay .modal-header h3 {
  font-family: var(--fh);
  font-weight: 900;
  color: var(--s900);
  margin: 0;
}

.modal-overlay .modal-header p {
  font-size: 0.8rem;
  color: var(--s500);
}

.modal-overlay .modal-body img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.modal-content-wide {
  max-width: 980px;
  padding: 1.4rem;
}

/* Partner form modal — override default 500px cap from .modal-overlay .modal-content */
.modal-overlay .modal-content.modal-content-wide,
.modal-overlay .modal-content.modal-content-form {
  width: min(1080px, calc(100vw - 2.5rem));
  max-width: min(1080px, calc(100vw - 2.5rem));
  padding: 1.25rem 1.6rem 1.4rem;
}

.modal-content-form {
  max-height: min(92vh, 940px);
}

#contactFormModal .modal-header {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
}

#contactFormModal .modal-header h3 {
  margin: 0;
  font-size: 1.35rem;
}

#contactFormModal .modal-header p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--s500);
  flex: 1 1 220px;
  text-align: right;
}

.modal-content-compact {
  max-width: 520px;
}

.modal-body-form {
  padding: 0;
  max-height: calc(min(92vh, 940px) - 96px);
  overflow-y: auto;
  border-radius: 18px;
}

.modal-body-form::-webkit-scrollbar {
  width: 8px;
}

.modal-body-form::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.22);
  border-radius: 999px;
}

@media (max-width: 767px) {
  .modal-content-form {
    width: calc(100% - 1rem);
    max-height: 92vh;
    padding: 1rem;
  }

  .modal-body-form {
    max-height: calc(92vh - 110px);
  }
}

.contact-card-list {
  display: grid;
  gap: .8rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--off);
  border: 1px solid var(--s200);
  border-radius: 12px;
  padding: .9rem 1rem;
  color: var(--s800);
  font-weight: 700;
  transition: all .2s ease;
}

.contact-card-item:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.contact-card-icon {
  font-size: 1.15rem;
}

/* ── PAGE TOC (sticky right-edge tab + slide-out panel) ── */
#top,
#what,
#who,
#how,
#features,
#card,
#benefits,
#stats,
#contact {
  scroll-margin-top: 88px;
}

.ehrc-page-toc {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1060;
  font-family: var(--fb);
}

.ehrc-toc-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem .55rem;
  min-width: 2.85rem;
  min-height: 9.5rem;
  border: none;
  border-radius: var(--rs) 0 0 var(--rs);
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: -4px 4px 18px rgba(21, 88, 214, .32);
  transition: background .2s ease, box-shadow .2s ease;
}

.ehrc-toc-toggle:hover,
.ehrc-page-toc.is-open .ehrc-toc-toggle {
  background: var(--blue-mid);
  box-shadow: -6px 6px 22px rgba(21, 88, 214, .38);
}

.ehrc-toc-toggle-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 1rem;
  height: .85rem;
}

.ehrc-toc-toggle-icon::before,
.ehrc-toc-toggle-icon::after,
.ehrc-toc-toggle-icon span {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.ehrc-toc-toggle-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.ehrc-toc-panel {
  position: absolute;
  right: 100%;
  top: 50%;
  width: 15.5rem;
  max-height: min(72vh, 520px);
  overflow-y: auto;
  margin-right: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, .98) 0%, var(--blue-pale) 100%);
  border: 1px solid rgba(21, 88, 214, .18);
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  padding: 1rem .85rem 1.1rem;
  box-shadow: -8px 8px 28px rgba(15, 23, 42, .12);
  transform: translateY(-50%) translateX(1.25rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
}

.ehrc-page-toc.is-open .ehrc-toc-panel {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ehrc-toc-panel[hidden] {
  display: block;
}

.ehrc-toc-title {
  font-family: var(--fh);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .65rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(21, 88, 214, .22);
}

.ehrc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ehrc-toc-list a {
  display: block;
  padding: .42rem .55rem;
  margin-bottom: .12rem;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--s600);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ehrc-toc-list a:hover {
  background: var(--blue-light);
  color: var(--blue);
  border-color: rgba(21, 88, 214, .12);
}

.ehrc-toc-list a.is-active {
  background: linear-gradient(90deg, var(--blue-light), var(--teal-light));
  color: var(--blue);
  border-color: rgba(21, 88, 214, .2);
  font-weight: 700;
}

.ehrc-toc-panel::-webkit-scrollbar {
  width: 5px;
}

.ehrc-toc-panel::-webkit-scrollbar-thumb {
  background: rgba(21, 88, 214, .25);
  border-radius: 99px;
}

@media (max-width: 991px) {
  .ehrc-page-toc {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }

  .ehrc-toc-toggle {
    border-radius: var(--rs);
    min-width: auto;
    min-height: auto;
    flex-direction: row;
    padding: .55rem .85rem;
  }

  .ehrc-toc-toggle-text {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ehrc-toc-panel {
    position: fixed;
    right: .75rem;
    bottom: 4.25rem;
    top: auto;
    width: min(17rem, calc(100vw - 1.5rem));
    border: 1px solid rgba(21, 88, 214, .18);
    border-radius: var(--r);
    transform: translateY(12px);
  }

  .ehrc-page-toc.is-open .ehrc-toc-panel {
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .ehrc-page-toc {
    right: .5rem;
    bottom: 1rem;
  }
}
 