/* ===== Design tokens ===== */
:root {
  --ink: #231a1a;
  --teal: #356980;
  --teal-dark: #065476;
  --teal-light: #4F89A2;
  --navy: #023246;
  --text: #3a4650;
  --font-serif: "Newsreader", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --main:#033148;
}

/* ===== Base ===== */
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 10;
}

.site-header .navbar {
  padding: 1.25rem 0;
}
.hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.75) 10%,
            rgba(255, 255, 255, 0.01) 93%
        ),
        url("../Images/bg_hero.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    display: flex;
    align-items: center;
}
.logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.navbar .nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2b343b;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--teal-dark);
  font-size: 0.9125rem;
  font-weight: 700;
}

.login-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

/* ===== Buttons ===== */
.btn-h360 {
  background: linear-gradient(180deg, var(--teal-light), var(--teal-dark));
  color: #fff;
  border: 0;
  border-radius: 50rem;
  padding:10px 24px;
  font-size: 0.87rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(23, 88, 122, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-h360:hover,
.btn-h360:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(23, 88, 122, 0.35);
}

.btn-h360-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  border: 1px solid #8BB7C9;
  border-radius: 50rem;
  padding:10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-h360-outline:hover,
.btn-h360-outline:focus-visible {
  color: var(--navy);
  background: #fff;
  border-color: var(--teal);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 4rem;
  margin-top: -84px;            /* lets the background sit behind the header */
  padding-top: calc(84px + 4.5rem);
}


.hero::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 55%;
  pointer-events: none;
}

.hero .container-xxl {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
}

.eyebrow-line {
  width: 2.25rem;
  height: 2px;
  background: var(--main);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero-title span {
  color: var(--teal);
}

.hero-text {
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 2rem;
}
/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .site-header { background: #fff; }

  .hero {
    margin-top: 0;
    /* padding: 3rem 0; */
  }

  .hero-content { text-align: left; }
  /* .hero-img { margin: 0 auto; max-width: 520px; } */

  .navbar-collapse { padding-top: 1rem; }
  .navbar .nav-link { padding: 0.6rem 0; }
}

@media (max-width: 575.98px) {
  .eyebrow { letter-spacing: 0.2em; font-size: 0.625rem; }
  .hero-text { font-size: 1rem; }
  .hero .btn,
  .hero .btn-h360-outline { width: 100%; justify-content: center; }
}

/* ===== Section heading (reusable) ===== */
.section-head { max-width: 52rem; margin-bottom: 3.5rem; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.section-title span { color: var(--teal); }
.section-text {
  max-width: 51rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
}

/* ===== H360 advantage ===== */
.advantage {
  padding: 3rem;
  overflow-x: clip;               /* header tabs overhang the card edge */
  background: linear-gradient(180deg, #fbfdfe 0%, #f6fafc 100%);
}

.adv-grid { max-width: 71rem; margin-inline: auto; }

.adv-card {
  --tab: #e8a5b3;
  height: 100%;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tab) 35%, #fff);
  border-radius: 1rem;
  padding-top: 1.1rem;
  box-shadow: 0px 4px 12px 0px rgba(20, 43, 64, 0.08);
  overflow: visible;
}

.adv-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 -0.75rem 0 0;          /* tab sticks out past the right edge */
  padding: 0.65rem 1rem;
  background: var(--tab);
  border-radius: 0 0.9rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1c1c1c;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.10);
  box-shadow:
        inset 0 4px 4px 0 var(--tab-shadow),
        0 3px 5px rgba(0, 0, 0, 0.10);
}

.icon-node { width: 1.45rem; height: 1.45rem; flex: none; color: #111; }

.adv-list {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
}

.adv-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.3rem 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #2b343b;
}

.icon-check {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  margin-top: 0.12rem;
  color: #8da3c7;
}

/* card colour variants */
.adv-pink   { --tab: #E8A5B2;  --tab-shadow: #DD8E9D; }
.adv-green  { --tab: #C7D6A3;  --tab-shadow: #b9cf86; }
.adv-tan    { --tab: #D9C6AD;  --tab-shadow: #CFB99C; }
.adv-mint   { --tab: #B8DCC8;  --tab-shadow: #83C29F; }
.adv-blue   { --tab: #BAD4FB;  --tab-shadow: #A2B8DA; }
.adv-teal   { --tab: #A9D8D4;  --tab-shadow: #99BDBA; }
.adv-peach  { --tab: #F0B89C;  --tab-shadow: #D4AC98; }
.adv-purple { --tab: #C7B8E8;  --tab-shadow: #B0A2CE; }
.adv-sage   { --tab: #B8C9C2;  --tab-shadow: #9AB2A8; }
.adv-pista { --tab: #b8cdbc; --tab-shadow: #7cc4a0; }
.adv-dpink { --tab: #d9b3c8; --tab-shadow: #e87fb0; }
.adv-ash { --tab: #b4c4dc; --tab-shadow: #7fa0d8; }
.adv-tank  { --tab: #e8cc9c; --tab-shadow: #f0a030; }

.adv-lavender { --tab: #D8C9F0; --tab-shadow: #B9A2DD; }
.adv-sky      { --tab: #B9DDEB; --tab-shadow: #8FC4D9; }
.adv-coral    { --tab: #F2B8B0; --tab-shadow: #DF958B; }
.adv-yellow   { --tab: #F2DEA5; --tab-shadow: #DCC477; }
.adv-olive    { --tab: #C5CCA0; --tab-shadow: #A7B477; }
.adv-aqua     { --tab: #B5E0DC; --tab-shadow: #83C5BF; }
.adv-rose     { --tab: #EBC3D2; --tab-shadow: #D69BB3; }
.adv-pearl    { --tab: #D9DDE4; --tab-shadow: #B5C0CE; }
.adv-apricot  { --tab: #F1C7A7; --tab-shadow: #DDA77F; }
.adv-periwinkle { --tab: #C5CFF0; --tab-shadow: #9EAFDE; }
.adv-seafoam  { --tab: #C0DDD0; --tab-shadow: #94BFA9; }

@media (max-width: 767.98px) {
  .advantage { padding: 2.5rem 0 3.5rem; }
  .section-head { margin-bottom: 2.5rem; }
  .adv-head { margin-right: -0.5rem; }
}

/* ===== Solutions for every institution ===== */
.solutions {
  padding: 2.5rem 0 3rem;
  background: #f7fbfd;
}

.solutions .section-head { margin-bottom: 2.25rem; }

/* Main card — first image layer */
.sol-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    padding: 1.5rem 0.75rem;
    border-radius: 1.1rem;
    color: #fff;
    background:
        linear-gradient(
            rgba(34, 38, 43, 0.65),
            rgba(34, 38, 43, 0.65)
        ),
        var(--img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Independent image layer — vertical mask */
.sol-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    z-index: 0;
    background-image: var(--img);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;

    /* Transparent gaps + visible vertical rounded strips */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 163'%3E%3Cg fill='white'%3E%3Crect x='3' y='20' width='18' height='135' rx='9'/%3E%3Crect x='27' y='5' width='18' height='125' rx='9'/%3E%3Crect x='51' y='18' width='18' height='140' rx='9'/%3E%3Crect x='75' y='8' width='18' height='120' rx='9'/%3E%3Crect x='99' y='22' width='18' height='130' rx='9'/%3E%3C/g%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 163'%3E%3Cg fill='white'%3E%3Crect x='3' y='20' width='18' height='135' rx='9'/%3E%3Crect x='27' y='5' width='18' height='125' rx='9'/%3E%3Crect x='51' y='18' width='18' height='140' rx='9'/%3E%3Crect x='75' y='8' width='18' height='120' rx='9'/%3E%3Crect x='99' y='22' width='18' height='130' rx='9'/%3E%3C/g%3E%3C/svg%3E");

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-mode: alpha;
    mask-mode: alpha;

    pointer-events: none;
}

/* Keep card text above both image layers */
.sol-card > * {
    position: relative;
    z-index: 1;
}

.sol-title,
.sol-text { max-width: 62%; }

.sol-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.sol-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* add your photos in /images (or change the file names here) */
.sol-hospital { --img: url("../images/solution-hospital.jpg"); }
.sol-clinic   { --img: url("../images/solution-clinic.jpg"); }
.sol-rehab    { --img: url("../images/solution-rehab.jpg"); }
.sol-ayush    { --img: url("../images/solution-ayush.jpg"); }


@media (max-width: 575.98px) {
  .sol-title, .sol-text { max-width: 68%; }
}

/* ===== Hospital management modules ===== */
.modules {
  padding: 3rem;
  background: #f7fbfd;
}

.modules .section-head { margin-bottom: 2.25rem; }

.mod-grid { --bs-gutter-y: 2.5rem; }

/* coloured back panel (uses --tab from the .adv-* colour classes) */
.mod {
  --ico: #e0869a;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.9rem 0.9rem 0 0.9rem;
  background: linear-gradient(180deg, var(--tab) 0%, var(--tab) 45%,
              color-mix(in srgb, var(--tab) 55%, #fff) 100%);
}

.mod-tag {
  padding: 0.6rem 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2a2a2a;
}

/* white card, shifted right/down over the back panel */
.mod-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0.6rem -0.75rem -0.75rem 0.25rem;
  padding: 1rem 1.1rem 0.9rem;
  background: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 8px 20px rgba(20, 50, 80, 0.13);
}

.mod-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}


.mod-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    color: var(--icon-color);
    background: linear-gradient(
        180deg,
        #F9F6F3 0%,
        var(--ico) 100%
    );
    box-shadow: 0 4px 4px rgba(125, 110, 102, 0.20);
}

.mod-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.mod-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25;
  color: #1c1c1c;
}

.mod-desc {
  margin: 0 0 0.7rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #4a5560;
}

.mod-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.mod-list li {
  position: relative;
  padding: 0.18rem 0 0.18rem 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #3a4650;
}

.mod-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--tab);
  filter: saturate(1.4) brightness(0.92);
}

.mod-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-end;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.mod-link svg { width: 0.85rem; height: 0.85rem; transition: transform 0.15s ease; }
.mod-link:hover { color: var(--teal-dark); }
.mod-link:hover svg { transform: translateX(3px); }

.mod-pink {
    --ico: #FAE3E8;
    --icon-color: #E9869B;
}

.mod-green {
    --ico: #F7FFE3;
    --icon-color: #A8CB55;
}

.mod-tan {
    --ico: #F9EAD6;
    --icon-color: #F2B565;
}

.mod-mint {
    --ico: #E4FAEE;
    --icon-color: #70B995;
}

.mod-blue {
    --ico: #E7EFFB;
    --icon-color: #76A9F4;
}

.mod-teal {
    --ico: #E8FEFC;
    --icon-color: #55C7BF;
}

.mod-peach {
    --ico: #F9E6DC;
    --icon-color: #E99A78;
}

.mod-purple {
    --ico: #ECE6FA;
    --icon-color: #A58ADE;
}
.mod-pista { --ico: #e5fae9; --icon-color: #7cc4a0; }
.mod-dpink { --ico: #f7e2ed; --icon-color: #e87fb0; }
.mod-ash { --ico: #e5eefc; --icon-color: #7fa0d8; }
.mod-tank  { --ico: #fdf1dd; --icon-color: #f0a030; }
.mod-lavender { --ico: #f0e7ff; --icon-color: #B9A2DD; }
.mod-sky      { --ico: #def2fa; --icon-color: #8FC4D9; }
.mod-coral    { --ico: #fce5e2; --icon-color: #DF958B; }
.mod-yellow   { --ico: #faf3e0; --icon-color: #DCC477; }
.mod-olive    { --ico: #f3f8d9; --icon-color: #A7B477; }
.mod-aqua     { --ico: #e4fcf9; --icon-color: #83C5BF; }
.mod-rose     { --ico: #fae2eb; --icon-color: #D69BB3; }
.mod-pearl    { --ico: #f1f6ff; --icon-color: #B5C0CE; }
.mod-apricot  { --ico: #fff3e9; --icon-color: #DDA77F; }
.mod-periwinkle { --ico: #f1f4fd; --icon-color: #9EAFDE; }
.mod-seafoam  { --ico: #ebfcf4; --icon-color: #94BFA9; }
@media (max-width: 767.98px) {
  .mod-grid { --bs-gutter-y: 2.25rem; }
  .mod { margin-right: 0.75rem; }   /* keeps the overhanging card inside the screen */
}

/* ===== Patient care lifecycle ===== */
.lifecycle {
  padding: 3rem;
  background: #f7fbfd;
}

.lifecycle .section-head { margin-bottom: 2.25rem; }

.flow { position: relative; }

.step {
  position: relative;
  height: 100%;
  padding: 2.35rem 1rem 2.8rem 1.55rem;
}

/* thin vertical divider on the left of every step */
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #b9dcec;
}

.step-num {
    display: block;
    margin-bottom: 0.9rem;
    font-family: "Abel", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.03em;
    background: linear-gradient(
        180deg,
        #8BB7C9 0%,
        #cd4019 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Dark outline */
    -webkit-text-stroke: 1px #033148;

    /* Subtle depth */
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.step-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: #151515;
}

.step-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #56616b;
}

/* desktop: 7 across, short end lines, chevrons between steps */
@media (min-width: 1200px) {
  .flow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 1.75rem;
    bottom: 1.8rem;
    width: 1px;
    background: #b9dcec;
  }

  .flow > li:first-child .step { padding-left: 0.8rem; }

  .flow > li:first-child .step::before {
    top: 1.75rem;
    bottom: 1.8rem;
  }

  .flow > li:not(:first-child) .step::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.8rem;
    height: 1.1rem;
    transform: translateY(-50%);
    background: var(--navy);
    clip-path: polygon(0 0, 38% 0, 100% 50%, 38% 100%, 0 100%, 62% 50%);
  }
}

@media (max-width: 575.98px) {
  .step { padding: 1.5rem 1rem 1.5rem 1.25rem; }
  .step-num { margin-bottom: 0.6rem; }
}

/* ===== AI powered intelligence (dark section) ===== */
.ai {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 3rem;
  color: #fff;
  background:
    radial-gradient(ellipse 38% 42% at 6% 6%, rgba(20, 165, 175, 0.45), transparent 70%),
    radial-gradient(ellipse 28% 32% at 100% 4%, rgba(20, 200, 205, 0.35), transparent 70%),
    radial-gradient(ellipse 34% 30% at 0% 96%, rgba(10, 125, 145, 0.40), transparent 70%),
    radial-gradient(ellipse 40% 34% at 100% 92%, rgba(20, 115, 205, 0.45), transparent 70%),
    linear-gradient(180deg, #04112c 0%, #061a3d 50%, #041030 100%);
}

/* glowing arc, top right */
.ai::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -26rem;
  right: -16rem;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  border: 2px solid rgba(70, 235, 225, 0.55);
  box-shadow: 0 0 40px rgba(40, 220, 215, 0.35), inset 0 0 60px rgba(40, 200, 215, 0.2);
  pointer-events: none;
}

/* dotted wave, bottom left */
.ai::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 28rem;
  height: 12rem;
  background-image: radial-gradient(rgba(70, 225, 215, 0.65) 1px, transparent 1.6px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 0% 100%, #000 10%, transparent 70%);
  pointer-events: none;
}

/* re-colour the shared heading styles for the dark background */
.ai .eyebrow { color: #fff; }
.ai .eyebrow-line { background: #fff; }
.ai .section-head { margin-bottom: 2.25rem; }
.ai .section-title { color: #fff; }
.ai .section-title span { color: #1a9bff; }
.ai .section-text { color: rgba(255, 255, 255, 0.92); }

/* stats */
.ai-stats { max-width: 63rem; margin-bottom: 2.25rem; }

.ai-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 6.25rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.ai-stat-num {
    display: inline-block;

    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: 0.03em;

    /* Figma gradient */
    background: linear-gradient(
        180deg,
        #F3FAFF 0%,
        #69CDF6 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Figma outline */
    -webkit-text-stroke: 1px #9fd8f5;

    /* Remove previous glow */
    text-shadow: none;
}

.ai-stat-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
}

/* glass cards */
.ai-cards { max-width: 54rem; }

.ai-card {
  height: 100%;
  padding: 1.6rem 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.ai-card-title {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}

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

.ai-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.28rem 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #d3dde8;
}

.ai-list svg { width: 1rem; height: 1rem; flex: none; color: #eef3f8; }

@media (min-width: 992px) {
  .ai-stat { height: 100%; }
  .ai-stats > div + div .ai-stat { border-left: 1px solid rgba(255, 255, 255, 0.2); }
}

@media (max-width: 991.98px) {
  .ai-stats { row-gap: 1.5rem; }
  .ai::before { top: -30rem; right: -24rem; }
}

@media (max-width: 575.98px) {
  .ai { padding: 2.5rem 0 3rem; }
  .ai-stat-num { font-size: 1.75rem; }
  .ai-stat-label { font-size: 0.75rem; }
}

/* ===== One platform, every location ===== */
.locations {
  padding: 3rem;
  background: #f7fbfd;
}

.locations .section-head { margin-bottom: 2.25rem; }



/* illustration; for a full-height image set --ratio: 310 / 274 and --overlap: 7.4rem on .loc-card */
.loc-media {
  display: block;
  width: 100%;
  height:70%;
  aspect-ratio: var(--ratio, 310 / 144);
  object-fit: cover;
}

/* frosted gradient panel with the text */


.loc-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #12304a;
}
.loc-title svg { width: 1.05rem; height: 1.05rem; flex: none; }

.loc-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 30, 45, 0.35);
}

/* ===== Security & compliance ===== */
.security {
  padding: 3rem;
  background-color:#fff;
}

.security .section-head { margin-bottom: 3rem; }
.section-title-narrow { max-width: 38rem; }

.sec-grid { max-width: 64rem; }

/* Base security card */
.sec-card {
    --bar: #b8cdbc;
    position: relative;
    height: 100%;
    min-height: 12.1rem;
    padding: 1.85rem 1.1rem 1.6rem 1rem;
    background: #fff;
    border-radius: 0.8rem;
}

/* Odd cards – soft shadow above */
.sec-grid > div:nth-child(odd) .sec-card {
    box-shadow:
        0 -4px 12px rgba(25, 40, 55, 0.035),
        0 -10px 24px rgba(25, 40, 55, 0.045);
}

/* Even cards – soft shadow below */
.sec-grid > div:nth-child(even) .sec-card {
    box-shadow:
        0 4px 12px rgba(25, 40, 55, 0.035),
        0 10px 24px rgba(25, 40, 55, 0.045);
}
/* coloured bar: top on some cards, bottom on others */
.sec-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.05rem;
  background: var(--bar);
}
.sec-top::before    { top: 0;    border-radius: 0.8rem 0.8rem 0 0; }
.sec-bottom::before { bottom: 0; border-radius: 0 0 0.8rem 0.8rem; }

.sec-sage { --bar: #b8cdbc; --ico: #7cc4a0; }
.sec-pink { --bar: #d9b3c8; --ico: #e87fb0; }
.sec-blue { --bar: #b4c4dc; --ico: #7fa0d8; }
.sec-tan  { --bar: #e8cc9c; --ico: #f0a030; }

.sec-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--ico);
  background: color-mix(in srgb, var(--bar) 25%, #fff);
  box-shadow: 0 3px 8px rgba(20, 50, 80, 0.12);
}
.sec-icon svg { width: 1.2rem; height: 1.2rem; }

.sec-title {
  margin: 0 0 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1c1c1c;
}

.sec-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #56616b;
}

@media (max-width: 575.98px) {
  .sec-card { min-height: 0; padding-bottom: 2.2rem; }
}

/* ===== Pricing plans ===== */
.pricing {
  padding: 3rem ;
  background: linear-gradient(180deg, #ffffff 0%, #fafcfd 100%);
}

.price-head { margin-bottom: 3rem; }
.pricing .section-text { margin: 0; }

/* billing toggle */
.plan-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #bfe3f0;
  border-radius: 50rem;
}

.plan-toggle button {
  padding: 0.5rem;
  border: 0;
  border-radius: 50rem;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1c2833;
  transition: background 0.15s ease, color 0.15s ease;
}

.plan-toggle button.active {
  color: #fff;
  background: linear-gradient(180deg, var(--teal-light), var(--teal-dark));
  box-shadow: 0 5px 12px rgba(23, 88, 122, 0.25);
}

.plan-toggle .save {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: #17843f;
}
.plan-toggle .active .save { color: #cdf7dc; }

/* plan cards */
.price-grid { max-width: 57rem; }

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 27.5rem;
  padding: 1.75rem 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #bfe3f0;
  border-radius: 1rem;
  text-align: center;
}

.price-name {
  margin: 0 0 0.9rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1c2833;
}

.price-desc {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #3f4a54;
}

.price-amount {
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.price-amount strong {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.price-amount small {
  font-size: 0.75rem;
  color: #56616b;
}

.price-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  text-align: left;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.33rem 0;
  font-size: 0.78rem;
  color: #2b343b;
}
.price-list svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--teal);
}

.btn-plan {
  align-self: center;
  justify-content: center;
  margin-top: auto;
  background: #E5EEF2;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  padding:10px 24px;
}

/* Featured pricing card - gradient outer border */
.price-featured {
    margin: 0 -0.25rem;
    padding: 3px;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #398DBB 0%,
        #149F9F 35%,
        #87DB72 60%,
        #EB06EF 100%
    );

    box-shadow: 0 8px 20px rgba(30, 90, 120, 0.16);
    overflow: hidden;
}

/* Most Popular label */
.price-badge {
    margin: 0;
    padding: 7px 0;

    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;

    background: linear-gradient(
        100deg,
        #398DBB 0%,
        #149F9F 100%
    );
}

/* Dark inner card */
.price-card-dark {
    min-height: 29.5rem;
    padding: 1.75rem 1.4rem 1.6rem;

    background: #1B1215;
    border: none;
    border-radius: 10px;

    color: #FFFFFF;
}
.price-card-dark .price-name { color: #fff; font-size: 1.6rem; }
.price-card-dark .price-desc { color: #e6e1e3; }
.price-card-dark .price-amount strong { color: #3a7b98; font-size: 2.6rem; }
.price-card-dark .price-amount small { color: #bdb6b9; }
.price-card-dark .price-list li { color: #fff; }
.price-card-dark .price-list svg { color: #8fc3dc; }
.price-card-dark .btn-h360 {
  align-self: center;
  margin-top: auto;
  padding-inline: 2rem;
}

@media (max-width: 991.98px) {
  .price-head { margin-bottom: 2rem; }
  .price-featured { margin: 0; }
  .price-card,
  .price-card-dark { min-height: 0; }
  .price-card .btn,
  .price-card-dark .btn { margin-top: 0.5rem; }
}

@media (max-width: 575.98px) {
  .plan-toggle { width: 100%; justify-content: center; }
  .plan-toggle button { padding: 0.5rem 0.75rem; }
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 9%, rgba(255, 255, 255, 0) 88%, #f7fbfd 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}
.cta-title span { color: var(--teal); }

.cta-floaters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 2rem 1rem 0;
}
@media (min-width: 992px) {
  .cta-floaters {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    pointer-events: none;
  }
  .cta-floaters > * { position: absolute; pointer-events: auto; }
  .cta-cloud { display: grid; position: absolute; left: 0%; top: 720%;}
  .cta-chip-1 { left: 41.6%; top: 33%; }
  .cta-chip-2 { left: 53.5%; top: 50%; }
  .cta-chip-3 { left: 77.7%; top: 30%; }
}

@media (max-width: 991.98px) {
  .cta { min-height: 0; padding: 3.5rem 0 3rem; }
}

@media (max-width: 575.98px) {
  .cta .btn,
  .cta .btn-h360-outline { width: 100%; justify-content: center; }
}

/* ===== Footer ===== */
.site-footer {
  --footer-bg: #03314c;
  padding: 2.75rem 0 3.5rem;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.82);
}

.footer-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.footer-about {
  max-width: 14.5rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  padding: 0.2rem 0;
  font-size: 0.78rem;
  line-height: 1.5;
}
.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact a,
.footer-contact span { color: #fff; }
.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom { margin-top: 2.25rem; }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}
.footer-copy strong { font-weight: 400; color: #fff; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.55rem;
}
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: #fff; }

@media (max-width: 991.98px) {
  .site-footer { padding: 2.5rem 0 2.5rem; }
  .footer-about { max-width: 30rem; }
  .footer-bottom { margin-top: 1.5rem; }
}
.hims-logo {
    height: 28px;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 8px;
}
@media (max-width: 576px) {
    .hims-logo {
        font-size: 16px;
        height: 24px;
    }}
 .loc-card {
flex-direction: column;
 border: 1px solid #b9e0ef;
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 275px;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
}

/* Background images */
.loc-hospital {
    background-image: url("../images/platform-1-.png");
}

.loc-master {
    background-image: url("../images/platform-2.png");
}

.loc-consolidation {
    background-image: url("../images/platform-3.png");
}

.loc-workflow {
    background-image: url("../images/platform-4.png");
}

/* Bottom gradient */
.loc-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    z-index: 0;

    background: linear-gradient(
        180deg,
        rgba(195, 230, 245, 0.83) 0%,
        #033148 100%
    );

    pointer-events: none;
}

.loc-body {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: auto;
    padding: 14px 12px;
    background: transparent;
    color: #fff;
      min-height: 7.4rem;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 29rem;
    padding: 5rem 0 4.5rem;

    background:
        /* Top fade to blend with pricing section */
        linear-gradient(
            180deg,
            #f6fafc 0%,
            rgba(246, 250, 252, 0.92) 6%,
            rgba(246, 250, 252, 0.45) 17%,
            rgba(246, 250, 252, 0) 32%
        ),

        /* Overall image visibility: 51% */
        linear-gradient(
            rgba(255, 255, 255, 0.49),
            rgba(255, 255, 255, 0.49)
        ),

        url("../images/cta-bg.png") center / cover no-repeat;
}


.cta-floaters {
    position: relative;
    z-index: 2;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.cta .eyebrow {
    margin-bottom: 1rem;
}

.cta-title {
    max-width: 23rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--ink);
}
.cta-text {
    max-width: 26rem;
    margin-bottom: 1.5rem;
    font-size: .95rem;
    line-height: 1.6;
    color: #263b4a;
}

/* Floating information cards */
.cta-floaters {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.cta-floaters > * {
    position: absolute;
    pointer-events: auto;
}

/* Glass cards */
.cta-chip {
  z-index: 2;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem .9rem;
    min-width: 155px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(25,65,95,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.cta-chip strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    color: #12334b;
}


.cta-chip small {
    display: block;
    margin-top: 2px;
    font-size: .72rem;
    color: #526675;
}

/* Icon containers */
.cta-chip-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.cta-chip-icon svg {
    width: 21px;
    height: 21px;
}

.cta-chip-icon.is-green {
    background: #bdeccf;
    color: #1f8f56;
}

.cta-chip-icon.is-blue {
    background: #d3e8fb;
    color: #1d74e8;
}

.cta-chip-icon.is-yellow {
    background: #f9e9b8;
    color: #b9852a;
}

.cta-cloud span {
  letter-spacing: -0.02em;
    margin-top: 7px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #08718b;
}

/* Desktop positioning */
@media (min-width: 992px) {
    .cta-chip-1 {
        left: 43.5%;
        top: 30%;
    }

    .cta-cloud {
        left: 61.5%;
        top: 17%;
    }

    .cta-chip-2 {
        left: 59.5%;
        top: 56%;
    }

    .cta-chip-3 {
        left: 76%;
        top: 30%;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .cta {
        min-height: auto;
        padding: 3.5rem 0;
        background-position: center;
    }

    .cta-floaters {
        position: relative;
        inset: auto;
        display: flex;
        flex-wrap: wrap;
        gap: .75rem;
        padding: 2rem 1rem 0;
    }

    .cta-floaters > * {
        position: static;
    }

    .cta-cloud {
        display: none;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: .9rem;
    }

    .cta-chip {
        min-width: 0;
        flex: 1 1 100%;
    }

    .cta .btn,
    .cta .btn-h360-outline {
        width: 100%;
        justify-content: center;
    }
}
@media (min-width: 992px) {
    .cta-floaters {
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
        pointer-events: none;
    }

    .cta-floaters > * {
        position: absolute;
        pointer-events: auto;
    }

    .cta-cloud {
        display: grid;
        left: 60%;
        top: 42%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }

    .cta-chip-1 {
        left: 40.5%;
        top: 36%;
        z-index: 2;
    }

    .cta-chip-2 {
        left: 59.5%;
        top: 56%;
        z-index: 2;
    }

    .cta-chip-3 {
        left: 77.7%;
        top: 34%;
        z-index: 2;
    }
}.cta-cloud {
    position: absolute;
    display: grid;
    place-items: center;
    width: 450px;
    height: 100px;
    left: 65%;
    top: 26%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: drop-shadow(0 6px 14px rgba(50, 140, 220, 0.25));
}

.cta-cloud img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.impact-section {
    background: linear-gradient(
        180deg,
        #8FB2C2 0%,
        #829EAA 100%
    );
    padding: 24px 0;
    color: #06384C;
}

.impact-row {
    align-items: stretch;
}

.impact-item {
    padding: 0 28px;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.impact-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.impact-item h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 12px;
    color: #06384C;
}

.impact-item p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: #123F52;
}

/* Tablet */
@media (max-width: 991.98px) {
    .impact-item {
        padding: 18px 24px;
    }

    .impact-item:nth-child(2) {
        border-right: none;
    }

    .impact-item h2 {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .impact-section {
        padding: 16px 0;
    }

    .impact-item {
        padding: 16px;
        min-height: 110px;
    }

    .impact-item h2 {
        font-size: 28px;
    }

    .impact-item p {
        font-size: 11px;
    }

    .impact-item:nth-child(2) {
        border-right: none;
    }
}
.bgremoved-logo{
  width: 50px;
}