:root {
  --hema-teal-50: #f0fdfa;
  --hema-teal-100: #ccfbf1;
  --hema-teal-200: #99f6e4;
  --hema-teal-300: #5eead4;
  --hema-teal-400: #2dd4bf;
  --hema-teal-500: #14b8a6;
  --hema-teal-600: #0d9488;
  --hema-teal-700: #0f766e;
  --hema-teal-800: #115e59;
  --hema-teal-900: #134e4a;
  --hema-teal-950: #042f2e;
  --hema-bg: #f8fffe;
  --hema-bg-secondary: #f0fdfa;
  --hema-surface: #ffffff;
  --hema-border: #ccfbf1;
  --hema-border-strong: #99f6e4;
  --hema-text-primary: #0f172a;
  --hema-text-secondary: #475569;
  --hema-text-muted: #94a3b8;
  --hema-accent: #0d9488;
  --hema-accent-dark: #0f766e;
  --hema-accent-light: #14b8a6;
  --hema-shadow: 0 4px 24px rgba(13, 148, 136, 0.1);
  --hema-shadow-lg: 0 8px 40px rgba(13, 148, 136, 0.18);
  --hema-radius: 14px;
  --hema-radius-sm: 8px;
  --hema-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

}
[data-hema-theme="dark"] {
  --hema-bg: #0a1a19;
  --hema-bg-secondary: #0d2421;
  --hema-surface: #112827;
  --hema-border: #1a3d3a;
  --hema-border-strong: #235955;
  --hema-text-primary: #f0fdfa;
  --hema-text-secondary: #99f6e4;
  --hema-text-muted: #5eead4;
  --hema-accent: #2dd4bf;
  --hema-accent-dark: #14b8a6;
  --hema-accent-light: #5eead4;
  --hema-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --hema-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {

  background-color: var(--hema-bg);
  color: var(--hema-text-primary);
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  overflow-x: hidden;
}

/* TOPBAR */
.hema-topbar {
  background: var(--hema-surface);
  border-bottom: 1px solid var(--hema-border);
  padding: 12px 0;
  transition: var(--hema-transition);
}
.hema-topbar-brand {
  font-family: var(--hema-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hema-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--hema-transition);
}
.hema-topbar-brand:hover {
  color: var(--hema-accent-dark);
}
.hema-topbar-brand i {
  font-size: 1.4rem;
}
.hema-theme-toggle {
  background: var(--hema-bg-secondary);
  border: 1.5px solid var(--hema-border-strong);
  border-radius: 50px;
  padding: 6px 16px;
  color: var(--hema-accent);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--hema-transition);
}
.hema-theme-toggle:hover {
  background: var(--hema-accent);
  color: #fff;
  border-color: var(--hema-accent);
  transform: translateY(-1px);
}
.hema-breadcrumb {
  font-size: 0.8rem;
  color: var(--hema-text-muted);
}
.hema-breadcrumb a {
  color: var(--hema-accent);
  text-decoration: none;
}
.hema-breadcrumb a:hover {
  text-decoration: underline;
}

/* INNER BANNER */
.hema-banner {
background: linear-gradient(
  135deg,
  #042f2e 0%,
  #064e4a 50%,
  #065f5b 100%
);
  overflow: hidden;
  position: relative;
  padding: 64px 0 56px;
  transition: var(--hema-transition);
}
[data-hema-theme="dark"] .hema-banner {
  background: linear-gradient(
    135deg,
    #021f1e 0%,
    var(--hema-teal-950) 50%,
    #0d3330 100%
  );
}
.hema-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  animation: hemaPulse 6s ease-in-out infinite;
}
.hema-banner::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  animation: hemaPulse 8s ease-in-out infinite reverse;
}
@keyframes hemaPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}
.hema-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ccfbf1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: hemaFadeDown 0.7s ease both;
}
.hema-banner-title {
  font-family: var(--hema-font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: hemaFadeDown 0.85s ease both;
}
.hema-banner-title span {
  color: var(--hema-teal-300);
}
.hema-banner-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  animation: hemaFadeDown 1s ease both;
}
.hema-banner-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  animation: hemaFadeDown 1.15s ease both;
}
.hema-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--hema-teal-300);
  line-height: 1;
}
.hema-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hema-banner-img-wrap {
  position: relative;
  animation: hemaFadeLeft 1s ease both;
}
.hema-banner-img-wrap img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.5s ease;
  display: block;
  margin: 0 auto;
}
.hema-banner-img-wrap img:hover {
  transform: scale(1.025) rotate(-0.5deg);
}
.hema-banner-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(13, 148, 136, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--hema-radius-sm);
  padding: 10px 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: hemaBadgePop 1.3s ease both;
}
.hema-banner-img-badge i {
  font-size: 1.1rem;
  color: var(--hema-teal-300);
}
@keyframes hemaFadeDown {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hemaFadeLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes hemaBadgePop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===========================
       SERVICES SPLIT SECTION
    =========================== */
.hema-svc-split {
  display: flex;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  margin: 48px 0;
  box-shadow: var(--hema-shadow-lg);
  transition: var(--hema-transition);
}
.hema-svc-split:hover {
  box-shadow: 0 12px 56px rgba(13, 148, 136, 0.22);
  transform: translateY(-3px);
}

/* Left text panel */
.hema-svc-left {
  flex: 0 0 48%;
  background: linear-gradient(
    135deg,
    var(--hema-teal-100) 0%,
    var(--hema-teal-50) 100%
  );
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.4s ease;
}
[data-hema-theme="dark"] .hema-svc-left {
  background: linear-gradient(135deg, #0d2421 0%, #0a1a19 100%);
}

/* Decorative molecule SVG background */
.hema-svc-left::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 260px;
  height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='40' r='14' fill='none' stroke='%230d9488' stroke-width='2.5' opacity='0.25'/%3E%3Ccircle cx='40' cy='120' r='14' fill='none' stroke='%230d9488' stroke-width='2.5' opacity='0.25'/%3E%3Ccircle cx='160' cy='120' r='14' fill='none' stroke='%230d9488' stroke-width='2.5' opacity='0.25'/%3E%3Ccircle cx='100' cy='170' r='10' fill='none' stroke='%2314b8a6' stroke-width='2' opacity='0.2'/%3E%3Ccircle cx='60' cy='60' r='8' fill='none' stroke='%235eead4' stroke-width='1.8' opacity='0.2'/%3E%3Ccircle cx='150' cy='65' r='8' fill='none' stroke='%235eead4' stroke-width='1.8' opacity='0.2'/%3E%3Cline x1='100' y1='54' x2='40' y2='106' stroke='%230d9488' stroke-width='1.8' opacity='0.18'/%3E%3Cline x1='100' y1='54' x2='160' y2='106' stroke='%230d9488' stroke-width='1.8' opacity='0.18'/%3E%3Cline x1='40' y1='134' x2='100' y2='160' stroke='%230d9488' stroke-width='1.8' opacity='0.18'/%3E%3Cline x1='160' y1='134' x2='100' y2='160' stroke='%230d9488' stroke-width='1.8' opacity='0.18'/%3E%3Cline x1='60' y1='68' x2='86' y2='54' stroke='%235eead4' stroke-width='1.5' opacity='0.15'/%3E%3Cline x1='150' y1='73' x2='114' y2='54' stroke='%235eead4' stroke-width='1.5' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: 0.8;
  animation: hemaMolRotate 20s linear infinite;
  transform-origin: center;
}
@keyframes hemaMolRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.04);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.hema-svc-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hema-accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hema-svc-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--hema-accent);
  border-radius: 2px;
  display: inline-block;
}

.hema-svc-heading {
  font-family: var(--hema-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--hema-text-primary);
  line-height: 1.1;
  margin-bottom: 14px;
  transition: color 0.4s ease;
}
.hema-svc-heading span {
  color: var(--hema-accent);
}

.hema-svc-sub {
  font-size: 0.95rem;
  color: var(--hema-text-secondary);
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 24px;
  transition: color 0.4s ease;
}

.hema-svc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--hema-surface);
  border: 1px solid var(--hema-border-strong);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.82rem;
  color: var(--hema-text-secondary);
  transition: var(--hema-transition);
}
.hema-svc-breadcrumb:hover {
  border-color: var(--hema-accent);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.12);
}
.hema-svc-breadcrumb a {
  color: var(--hema-accent);
  font-weight: 600;
  text-decoration: none;
}
.hema-svc-breadcrumb a:hover {
  text-decoration: underline;
}
.hema-svc-breadcrumb span {
  margin: 0 8px;
  color: var(--hema-text-muted);
}
.hema-svc-breadcrumb strong {
  color: var(--hema-text-primary);
  font-weight: 600;
}

/* Right image panel */
.hema-svc-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.hema-svc-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.hema-svc-split:hover .hema-svc-right img {
  transform: scale(1.04);
}
/* Teal overlay tint on right image */
.hema-svc-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(13, 148, 136, 0.14) 0%,
    transparent 60%
  );
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (max-width: 767px) {
  .hema-svc-split {
    flex-direction: column;
    border-radius: 16px;
    margin: 32px 0;
  }
  .hema-svc-left {
    flex: none;
    padding: 36px 28px;
  }
  .hema-svc-right {
    min-height: 220px;
  }
}

/* SECTION STYLES */
.hema-section {
  padding-bottom: 72px ;
  transition: background-color 0.4s ease;
}
.hema-section-alt {
  background: var(--hema-bg-secondary);
}
.hema-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hema-accent);
  margin-bottom: 8px;
  /* display: flex;
  align-items: center; */
  gap: 8px;
}
.hema-section-label::after {
  content: "";
  flex: 1;
  max-width: 40px;
  height: 2px;
  background: var(--hema-accent);
  border-radius: 2px;
}
.hema-section-title {
  font-family: var(--hema-font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--hema-text-primary);
  margin-bottom: 12px;
  transition: color 0.4s ease;
}
.hema-section-title span {
  color: var(--hema-accent);
}
.hema-section-sub {
  font-size: 1rem;
  color: var(--hema-text-secondary);
  /* max-width: 600px; */
  line-height: 1.75;
  transition: color 0.4s ease;
}

/* TEST CARDS */
.hema-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.hema-test-card {
  background: #0c5955;
  border: 1.5px solid var(--hema-border);
  border-radius: var(--hema-radius);
  padding: 24px 22px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  display: block;
  transition: var(--hema-transition);
  position: relative;
  overflow: hidden;
}
.hema-test-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--hema-accent),
    var(--hema-accent-light)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.hema-test-card:hover {
  border-color: var(--hema-accent);
  box-shadow: var(--hema-shadow-lg);
  transform: translateY(-4px);
  color: white;
}
.hema-test-card:hover::before {
  transform: scaleX(1);
}
.hema-test-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--hema-teal-100),
    var(--hema-teal-200)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: var(--hema-transition);
}
[data-hema-theme="dark"] .hema-test-card-icon {
  background: linear-gradient(135deg, #0d2421, #407773);
}
.hema-test-card-icon i {
  font-size: 1.35rem;
  color: #00302c;
}
.hema-test-card:hover .hema-test-card-icon {
  background: var(--hema-accent);
}
.hema-test-card:hover .hema-test-card-icon i {
  color: #fff;
}
.hema-test-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.hema-test-card:hover .hema-test-card-name {
  color: white;
}
.hema-test-card-desc {
  font-size: 0.82rem;
  margin-bottom:0px;
  color: white;
  line-height: 1.6;
}
.hema-test-card-arrow {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--hema-transition);
}
.hema-test-card:hover .hema-test-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* MACHINE CARDS */
.hema-machine-card {
  background: var(--hema-surface);
  border: 1.5px solid var(--hema-border);
  border-radius: var(--hema-radius);
  overflow: hidden;
  transition: var(--hema-transition);
  height: 100%;
}
.hema-machine-card:hover {
  border-color: var(--hema-accent);
  box-shadow: var(--hema-shadow-lg);
  transform: translateY(-5px);
}
.hema-machine-img-wrap {
  height: 250px;
  /* background: linear-gradient(
    135deg,
    var(--hema-teal-800),
    var(--hema-teal-600)
  ); */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
[data-hema-theme="dark"] .hema-machine-img-wrap {
  background: linear-gradient(135deg, #042f2e, #0f766e);
}
.hema-machine-img-wrap img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.hema-machine-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(255, 255, 255, 0.07),
    transparent
  );
}
.hema-machine-placeholder-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}
.hema-machine-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #0c5955;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 50px;
  z-index: 2;
}
.hema-machine-body {
  padding: 22px 20px 24px;
}
.hema-machine-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--hema-text-primary);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.hema-machine-card:hover .hema-machine-title {
  color: var(--hema-accent);
}
.hema-machine-model {
  font-size: 0.78rem;
  color: var(--hema-accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.hema-machine-desc {
  font-size: 0.85rem;
  color: var(--hema-text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}
.hema-machine-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hema-machine-specs li {
  font-size: 0.8rem;
  color: var(--hema-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hema-machine-specs li i {
  color: var(--hema-accent);
  font-size: 0.85rem;
  width: 16px;
}

/* TESTIMONIALS */
.hema-testi-section {
  padding: 72px 0;
  background: var(--hema-bg);
  transition: background-color 0.4s ease;
  overflow: hidden;
}
.hema-testi-track-wrap {
  overflow: hidden;
  margin-top: 44px;
  position: relative;
}
.hema-testi-track-wrap::before,
.hema-testi-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hema-testi-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--hema-bg), transparent);
}
.hema-testi-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--hema-bg), transparent);
}
.hema-testi-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: hemaScrollTrack 40s linear infinite;
}
.hema-testi-track:hover {
  animation-play-state: paused;
}
@keyframes hemaScrollTrack {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.hema-testi-card {
  background: var(--hema-surface);
  border: 1.5px solid var(--hema-border);
  border-radius: var(--hema-radius);
  padding: 28px 26px;
  width: 320px;
  flex-shrink: 0;
  transition: var(--hema-transition);
  position: relative;
}
.hema-testi-card:hover {
  border-color: var(--hema-accent);
  box-shadow: var(--hema-shadow-lg);
  transform: translateY(-4px);
}
.hema-testi-card::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--hema-font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--hema-accent);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.hema-testi-card:hover::before {
  opacity: 0.22;
}
.hema-testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.hema-testi-stars i {
  color: #f59e0b;
  font-size: 0.9rem;
}
.hema-testi-quote {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--hema-text-secondary);
  margin-bottom: 20px;
  font-style: italic;
  transition: color 0.4s ease;
}
.hema-testi-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--hema-accent),
    var(--hema-accent-light)
  );
  border-radius: 2px;
  margin-bottom: 16px;
  transition: width 0.4s ease;
}
.hema-testi-card:hover .hema-testi-divider {
  width: 56px;
}
.hema-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hema-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.hema-testi-card:hover .hema-testi-avatar {
  transform: scale(1.08);
}
.hema-testi-avatar-1 {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}
.hema-testi-avatar-2 {
  background: linear-gradient(135deg, #0f766e, #0d9488);
}
.hema-testi-avatar-3 {
  background: linear-gradient(135deg, #115e59, #0f766e);
}
.hema-testi-avatar-4 {
  background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}
.hema-testi-avatar-5 {
  background: linear-gradient(135deg, #0d9488, #134e4a);
}
.hema-testi-avatar-6 {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}
.hema-testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hema-text-primary);
  transition: color 0.3s ease;
}
.hema-testi-card:hover .hema-testi-name {
  color: var(--hema-accent);
}
.hema-testi-role {
  font-size: 0.76rem;
  color: var(--hema-text-muted);
  margin-top: 2px;
}
.hema-testi-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--hema-bg-secondary);
  border: 1px solid var(--hema-border-strong);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--hema-accent);
  margin-top: 4px;
}
[data-hema-theme="dark"] .hema-testi-tag {
  background: #0d2421;
}
.hema-testi-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--hema-surface);
  border: 1.5px solid var(--hema-border);
  border-radius: var(--hema-radius);
  transition: var(--hema-transition);
}
.hema-testi-summary:hover {
  border-color: var(--hema-accent);
  box-shadow: var(--hema-shadow);
}
.hema-testi-summary-item {
  text-align: center;
}
.hema-testi-summary-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--hema-accent);
  line-height: 1;
}
.hema-testi-summary-label {
  font-size: 0.78rem;
  color: var(--hema-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.hema-testi-summary-divider {
  width: 1px;
  height: 40px;
  background: var(--hema-border-strong);
}
@media (max-width: 576px) {
  .hema-testi-summary-divider {
    display: none;
  }
}

/* LAB ON CALL */
.hema-loc-section {
  background: linear-gradient(
    135deg,
    var(--hema-teal-700) 0%,
    var(--hema-teal-900) 100%
  );
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
[data-hema-theme="dark"] .hema-loc-section {
  background: linear-gradient(135deg, #0d3330 0%, #021f1e 100%);
}
.hema-loc-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.hema-loc-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 5%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.hema-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ccfbf1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hema-loc-pulse {
  width: 10px;
  height: 10px;
  background: #34d399;
  border-radius: 50%;
  position: relative;
}
.hema-loc-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.4);
  animation: hemaLocPulse 1.8s ease infinite;
}
@keyframes hemaLocPulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
.hema-loc-title {
  font-family: var(--hema-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.hema-loc-title span {
  color: var(--hema-teal-300);
}
.hema-loc-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 540px;
}
.hema-loc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hema-loc-feature {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--hema-radius-sm);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ccfbf1;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--hema-transition);
}
.hema-loc-feature:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.hema-loc-feature i {
  color: var(--hema-teal-300);
}
.hema-loc-cta-primary {
  background: #fff;
  color: var(--hema-teal-700);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--hema-transition);
  text-decoration: none;
}
.hema-loc-cta-primary:hover {
  background: var(--hema-teal-100);
  color: var(--hema-teal-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.hema-loc-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--hema-transition);
  text-decoration: none;
}
.hema-loc-cta-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.hema-loc-info-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--hema-radius);
  padding: 32px 28px;
  height: 100%;
}
.hema-loc-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hema-loc-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}
.hema-loc-hours li:last-child {
  border-bottom: none;
}
.hema-loc-hours li strong {
  color: #fff;
  font-weight: 600;
}
.hema-loc-hours-badge {
  background: rgba(52, 211, 153, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* SCROLL ANIMATIONS */
.hema-animate {
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.hema-animate.hema-in-view {
  transform: translateY(0);
}
.hema-animate-delay-1 {
  transition-delay: 0.1s;
}
.hema-animate-delay-2 {
  transition-delay: 0.2s;
}
.hema-animate-delay-3 {
  transition-delay: 0.3s;
}
.hema-animate-delay-4 {
  transition-delay: 0.4s;
}
.hema-animate-delay-5 {
  transition-delay: 0.5s;
}
.hema-animate-delay-6 {
  transition-delay: 0.6s;
}

/* FOOTER */
.hema-footer {
  background: var(--hema-surface);
  border-top: 1px solid var(--hema-border);
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--hema-text-muted);
  transition: var(--hema-transition);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .hema-banner {
    padding: 48px 0 40px;
  }
  .hema-banner-img-wrap {
    margin-top: 36px;
  }
  .hema-banner-stats {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .hema-test-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hema-loc-features {
    flex-direction: column;
  }
  .hema-banner-stats {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .hema-test-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
       WHY CHOOSE TESLA SCANS SECTION
    ============================================================ */
    .ht-why-section {
      position: relative; overflow: hidden; padding: 90px 0;
    }
    .ht-why-section::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(10,122,143,0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Left column */
    .ht-why-heading {
      font-size: clamp(1.7rem,3.8vw,2.6rem); font-weight: 800;
   line-height: 1.2;
    }
    .ht-why-heading span { }
    .ht-why-sub {
      font-size: 1rem; 
      line-height: 1.75; margin: 16px 0 32px;
    }
    .ht-why-feature {
      display: flex; align-items: flex-start; gap: 14px;
      margin-bottom: 22px;
    }
    .ht-why-icon {
      flex-shrink: 0; width: 46px; height: 46px;
      background: rgba(10,122,143,0.18); border: 1px solid rgba(10,122,143,0.3);
      border-radius: 12px; display: flex; align-items: center; justify-content: center;
      font-size: 1.25rem; color: var(--ht-accent-glow);
      transition: background var(--ht-transition), transform var(--ht-transition);
    }
    .ht-why-feature:hover .ht-why-icon {
      background: var(--ht-accent); transform: scale(1.1);
    }
    .ht-why-feat-title {
      font-weight: 700; font-size: 0.97rem; 
    }
    .ht-why-feat-desc {
      font-size: 0.83rem; color: rgba(68, 68, 68, 0.58); margin-top: 3px; line-height: 1.55;
    }

    /* Right column - orbital image */
    .ht-orbital-wrap {
      position: relative; display: flex;
      align-items: center; justify-content: center;
      min-height: 480px;
    }

    /* Dashed rotating rings */
    .ht-orbit-ring {
      position: absolute; border-radius: 50%;
      border: 3.5px dashed rgba(10,122,143,0.35);
      top: 50%; left: 50%; transform: translate(-50%,-50%);
    }
    .ht-orbit-ring-1 {
      width: 320px; height: 320px;
      animation: htOrbitSpin 18s linear infinite;
    }
    .ht-orbit-ring-2 {
      width: 400px; height: 400px;
      animation: htOrbitSpin 28s linear infinite reverse;
    }
    .ht-orbit-ring-3 {
      width: 470px; height: 470px;
      animation: htOrbitSpin 38s linear infinite;
      border-color: rgba(10,122,143,0.18);
    }
    @keyframes htOrbitSpin {
      from { transform: translate(-50%,-50%) rotate(0deg); }
      to   { transform: translate(-50%,-50%) rotate(360deg); }
    }

    /* Teal accent ring */
    .ht-orbit-accent {
      position: absolute; border-radius: 50%;
      top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 250px; height: 250px;
      border: 6px solid var(--ht-accent);
      box-shadow: 0 0 0 3px rgba(7,88,105,0.4), inset 0 0 32px rgba(7,88,105,0.25);
      animation: htOrbitSpin 12s linear infinite;
    }
    .ht-orbit-accent-outer {
      position: absolute; border-radius: 50%;
      top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 280px; height: 280px;
      border: 2px solid rgba(13,143,168,0.5);
      animation: htOrbitSpin 20s linear infinite reverse;
    }

    /* Centre image circle */
    .ht-orbit-img-wrap {
      position: relative; z-index: 2;
      width: 370px; height: 370px; border-radius: 50%;
      overflow: hidden; flex-shrink: 0;
      border: 1px solid #032530;
      box-shadow: 0 0 0 4px var(--ht-accent), 0 8px 40px rgba(0,0,0,0.6);
    }
    .ht-orbit-img-wrap img {
      width: 100%; height: 100%; object-fit: cover;
    }

    /* Feature buttons orbiting – positioned absolutely around circle */
    .ht-orbit-btn {
      position: absolute; z-index: 3;
      background: #054643;
      backdrop-filter: blur(8px);
      border: 1px solid rgba(10,122,143,0.45);
      border-radius: 99px; padding: 10px 18px;
      font-size: 0.8rem; font-weight: 600;
      color: #fff; white-space: nowrap;
      /*cursor: pointer;*/
      transition: background var(--ht-transition), box-shadow var(--ht-transition), transform 0.2s;
      animation: htWave 3s ease-in-out infinite;
      text-decoration: none;
    }
    .ht-orbit-btn:hover {
      background: var(--ht-accent);
      box-shadow: 0 0 16px rgba(10,122,143,0.55);
      transform: scale(1.07) !important;
      color: #054643;
    }
    .ht-orbit-btn i { margin-right: 5px; color: var(--ht-accent-glow); }

    /* Wavy stagger delays */
    .ht-orbit-btn:nth-child(1) { animation-delay: 0s; }
    .ht-orbit-btn:nth-child(2) { animation-delay: 0.4s; }
    .ht-orbit-btn:nth-child(3) { animation-delay: 0.8s; }
    .ht-orbit-btn:nth-child(4) { animation-delay: 1.2s; }
    .ht-orbit-btn:nth-child(5) { animation-delay: 1.6s; }
    .ht-orbit-btn:nth-child(6) { animation-delay: 2.0s; }

    @keyframes htWave {
      0%,100% { transform: translateY(0) scale(1); }
      50%      { transform: translateY(-6px) scale(1.04); }
    }

    /* Button positions around the orbital (desktop) */
    .ht-orbit-btn-top    { top: 4%;  left: 50%; transform: translateX(-50%); }
    .ht-orbit-btn-bl     { bottom: 14%; left: 2%; }
    .ht-orbit-btn-br     { bottom: 14%; right: -10%; }
    .ht-orbit-btn-tl     { top: 20%;  left: 0%; }
    .ht-orbit-btn-tr     { top: 20%;  right: -10%; }
    .ht-orbit-btn-bot    { bottom: 2%; left: 50%; transform: translateX(-50%); }

    /* Mobile stacked layout */
    @media (max-width: 767.98px) {
      .ht-orbital-wrap { min-height: 360px; }
      .ht-orbit-ring-1 { width: 240px; height: 240px; }
      .ht-orbit-ring-2 { width: 300px; height: 300px; }
      .ht-orbit-ring-3 { width: 350px; height: 350px; }
      .ht-orbit-accent { width: 188px; height: 188px; }
      .ht-orbit-accent-outer { width: 212px; height: 212px; }
      .ht-orbit-img-wrap { width: 165px; height: 165px; }
      .ht-orbit-btn { font-size: 0.72rem; padding: 8px 12px; }
      .ht-orbit-btn-tl { top: 14%; left: -42%; }
      .ht-orbit-btn-tr { top: 14%; right: -52%; }
      .ht-orbit-btn-bl { bottom: 10%; left: -32%; }
      .ht-orbit-btn-br { bottom: 10%; right: -42%; }
    }

    @media (max-width: 575.98px) {
      /*.ht-orbit-btn-top,*/
      /*.ht-orbit-btn-bot { display: none; } */
      /* hide top/bot on very small screens */
      .ht-why-section { padding: 60px 0; }
    }
