/* ==========================================================================
   Home page (index.php) design layer.
   Loaded only by index.php, after the template + Bootstrap 3/5 styles,
   so it restyles the shared header/footer on this page without touching
   other pages. Page-specific blocks use the "hm-" / "ud-" prefixes.
   ========================================================================== */

:root {
  --hm-navy: #10275c;
  --hm-navy-2: #0b4f75;
  --hm-cyan: #07d4e9;
  --hm-teal: #0891b2;
  --hm-ink: #1f2d3d;
  --hm-muted: #5b6b7b;
  --hm-bg: #f4fafc;
  --hm-line: #e3eef3;
  --hm-red: #d63939;
  --hm-radius: 16px;
  --hm-shadow: 0 10px 30px rgba(16, 39, 92, 0.08);
  --hm-shadow-hover: 0 18px 40px rgba(16, 39, 92, 0.14);
  --hm-grad: linear-gradient(135deg, var(--hm-cyan) 0%, var(--hm-teal) 100%);
}

body {
  background: var(--hm-bg) !important; /* header.php sets an inline azure background */
  color: var(--hm-ink);
}

/* Keep number inputs clean (was inline on the page) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* --------------------------------------------------------------------------
   Top bar + header (shared markup, restyled on this page only)
   -------------------------------------------------------------------------- */
#topbar {
  height: 40px;
  font-size: 13px;
  background: linear-gradient(90deg, var(--hm-navy) 0%, var(--hm-navy-2) 100%);
}
#topbar .contact-info i,
#topbar .social-links i {
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
}
#topbar .contact-info i a,
#topbar .contact-info i span,
#topbar .social-links i span {
  color: #fff;
  font-style: normal;
  padding-left: 6px;
}
#topbar #CounterVisitor {
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: none;
}

#header {
  height: 78px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(16, 39, 92, 0.08);
}
#header .logo img {
  max-height: 54px;
}
#header .navbar a,
#header .navbar a:focus {
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--hm-ink);
}
#header .navbar a:hover,
#header .navbar .active,
#header .navbar li:hover > a {
  color: var(--hm-teal);
}
#header .navbar > ul > li > a:before {
  background-color: var(--hm-cyan);
  height: 3px;
  border-radius: 2px;
}
#header .navbar .btn-primary {
  padding: 9px 22px !important;
  border: 0;
  background: var(--hm-grad);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
#header .navbar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.38);
}
#header #searchtest {
  width: 200px !important;
  height: 40px;
  padding: 6px 14px 6px 38px;
  border: 1px solid #d9e7ee;
  border-radius: 22px;
  background: #f3f8fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6b7b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
  font-size: 14px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
#header #searchtest:focus {
  border-color: var(--hm-cyan);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(7, 212, 233, 0.15);
}
#header .autocom-box {
  width: 320px;
  max-height: 320px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--hm-shadow-hover);
}
#header .autocom-box li {
  border-radius: 8px;
  padding: 8px 10px !important;
}
#header .autocom-box li:hover {
  background: #eefafd;
}
@media (max-width: 575px) {
  #header #searchtest {
    width: 150px !important;
  }
}

/* --------------------------------------------------------------------------
   Shared section building blocks
   -------------------------------------------------------------------------- */
.hm-section {
  padding: 64px 0;
  overflow: hidden;
}
.hm-title {
  margin-bottom: 36px;
  text-align: center;
}
.hm-title h2 {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0 0 14px;
  background: none;
  color: var(--hm-navy);
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.25;
  text-transform: none;
  border-radius: 0;
}
.hm-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--hm-grad);
  transform: translateX(-50%);
}
.hm-title p {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--hm-muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.hm-title--left {
  text-align: left;
  margin-bottom: 18px;
}
.hm-title--left h2::after {
  left: 0;
  transform: none;
}
.hm-title--light h2 {
  color: #fff;
}
.hm-title--light p {
  color: rgba(255, 255, 255, 0.75);
}
.hm-prose p {
  margin: 0 0 14px;
  color: var(--hm-muted);
  font-size: 15.5px;
  line-height: 1.85;
  text-align: left;
}
.hm-prose p:last-child {
  margin-bottom: 0;
}
.hm-prose b {
  color: var(--hm-navy);
}
.hm-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.hm-split__media {
  position: relative;
}
.hm-split__media::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(7, 212, 233, 0.25), rgba(8, 145, 178, 0.12));
  z-index: 0;
}
.hm-split__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--hm-shadow-hover);
}

/* Primary pill button */
.hm-btn,
.hm-pkg .hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 20px;
  border: 0;
  border-radius: 30px;
  background: var(--hm-grad);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.28);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.hm-btn:hover,
.hm-btn:focus {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.35);
}

/* --------------------------------------------------------------------------
   Hero banner: full window width, fits the screen below the header
   -------------------------------------------------------------------------- */
:root {
  --hm-header-h: 118px; /* top bar 40px + header 78px */
}
#hero.hm-hero {
  width: 100%;
  height: auto;
  padding: 0;
  background: var(--hm-navy);
}
#hero.hm-hero:before {
  display: none;
}
/* main.js turns the header into fixed-top on scroll; keep the page from jumping */
#header.fixed-top ~ #hero {
  margin-top: 78px;
}
.hm-hero__frame {
  position: relative;
  width: 100%;
  /* 1366x768 banners: full width, but never taller than the visible window */
  height: min(calc(100vw * 768 / 1366), calc(100vh - var(--hm-header-h)));
  min-height: 200px;
  overflow: hidden;
  background: var(--hm-navy);
}
.hm-hero__frame .carousel,
.hm-hero__frame .carousel-inner,
.hm-hero__frame .carousel-item {
  height: 100%;
}
.hm-hero__frame .carousel-item {
  position: relative;
  overflow: hidden;
}
/* Blurred copy fills any side space when an image's shape differs from the window */
.hm-hero__bg {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(0.85);
  transform: scale(1.08);
}
.hm-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.hm-hero__img.is-cover {
  object-fit: cover;
}
#hero .hm-hero__ctrl {
  z-index: 3;
  top: 50%;
  bottom: auto;
  width: 48px;
  height: 48px;
  margin: 0 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--hm-navy);
  opacity: 0.85;
  transform: translateY(-50%);
  box-shadow: 0 6px 18px rgba(16, 39, 92, 0.25);
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
}
#hero .hm-hero__ctrl:hover,
#hero .hm-hero__ctrl:focus-visible {
  opacity: 1;
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}
#hero .hm-hero__dots {
  z-index: 3;
  position: absolute;
  left: auto;
  right: 24px;
  bottom: 18px;
  width: auto;
  margin: 0;
  padding: 7px 12px;
  gap: 7px;
  border-radius: 20px;
  background: rgba(16, 39, 92, 0.45);
  transform: none;
  backdrop-filter: blur(4px);
}
#hero .hm-hero__dots [data-bs-target] {
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  opacity: 0.55;
  text-indent: 0;
  transition: width 0.25s, opacity 0.25s;
}
#hero .hm-hero__dots .active {
  width: 24px;
  opacity: 1;
}
@media (max-width: 767px) {
  .hm-hero__frame {
    height: calc(100vw * 768 / 1366);
    min-height: 190px;
  }
  /* Swipe on phones; arrows would cover the banner text */
  #hero .hm-hero__ctrl {
    display: none;
  }
  #hero .hm-hero__dots {
    right: 10px;
    bottom: 8px;
    padding: 5px 9px;
    gap: 5px;
  }
}

/* --------------------------------------------------------------------------
   Journey so far
   -------------------------------------------------------------------------- */
.hm-journey {
  padding-bottom: 8px;
}
.hm-journey__card {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 40px;
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}
.hm-journey__card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 212, 233, 0.16), transparent 70%);
  pointer-events: none;
}
.hm-journey__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--hm-grad);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.3);
}
.hm-journey__text p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
}
.hm-journey__text b {
  color: var(--hm-navy);
}
@media (max-width: 767px) {
  .hm-journey__card {
    flex-direction: column;
    gap: 18px;
    padding: 26px 22px;
  }
}

/* --------------------------------------------------------------------------
   Health checkup packages
   -------------------------------------------------------------------------- */
.hm-packages {
  background: #fff;
}
.hm-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.hm-pkg {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hm-pkg:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-hover);
}
.hm-pkg__media {
  aspect-ratio: 16 / 10;
  background: #eef6f9;
  overflow: hidden;
}
.hm-pkg__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hm-pkg:hover .hm-pkg__media img {
  transform: scale(1.04);
}
.hm-pkg__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 10px;
}
.hm-pkg__name {
  margin: 0;
  color: var(--hm-navy);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: capitalize;
}
.hm-pkg__price {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 20px;
  background: #fdecec;
  color: var(--hm-red);
  font-size: 15px;
  font-weight: 700;
}
.hm-pkg__body {
  flex: 1 1 auto;
  max-height: 200px;
  margin: 0 18px;
  padding: 10px 4px 6px 0;
  border-top: 1px dashed var(--hm-line);
  overflow-y: auto;
  color: var(--hm-muted);
  font-size: 14px;
  line-height: 1.5;
  scrollbar-width: thin;
  scrollbar-color: var(--hm-cyan) transparent;
}
.hm-pkg__body::-webkit-scrollbar {
  width: 5px;
}
.hm-pkg__body::-webkit-scrollbar-thumb {
  background: var(--hm-cyan);
  border-radius: 3px;
}
.hm-pkg__body p,
.hm-pkg__body div {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 18px;
}
.hm-pkg__body p::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-cyan);
}
.hm-pkg__body p:empty {
  display: none;
}
.hm-pkg__body blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
}
.hm-pkg__body font,
.hm-pkg__body span {
  color: inherit !important;
  background: none !important;
  font-family: inherit !important;
}
.hm-pkg__foot {
  padding: 14px 18px 18px;
}

/* Booking modals (package modal + header appointment modal) */
.modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 39, 92, 0.25);
}
#exampleModalCenter .modal-content {
  width: 100% !important; /* header.php sets a fixed inline width */
}
.modal-dialog {
  max-width: 560px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border: 0;
  background: var(--hm-grad);
}
.modal-header .modal-title {
  margin: 0 !important;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.modal-header .close {
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  opacity: 0.9;
  text-shadow: none;
}
.modal-header .close:hover {
  opacity: 1;
  color: #fff;
}
.modal-body {
  padding: 20px 22px;
}
.modal-body .card {
  border: 0;
  background: transparent !important;
}
.modal label {
  display: block;
  margin-bottom: 6px;
  color: #43566a;
  font-size: 13px;
  font-weight: 600;
}
.modal .form-control,
.modal .form-select {
  height: 44px;
  border: 1px solid #d9e7ee;
  border-radius: 10px;
  box-shadow: none;
  font-size: 14.5px;
}
.modal .form-control:focus,
.modal .form-select:focus {
  border-color: var(--hm-cyan);
  box-shadow: 0 0 0 4px rgba(7, 212, 233, 0.15);
}
.modal .table {
  margin: 8px 0 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3fbfd;
}
.modal .table th {
  border: 0 !important;
  color: var(--hm-teal);
  font-size: 12px;
  letter-spacing: 0.6px;
}
.modal .table td {
  border-top: 1px solid var(--hm-line) !important;
  color: var(--hm-navy);
  font-weight: 600;
}
.modal .btn {
  min-width: 120px;
  padding: 9px 22px;
  border: 0;
  font-weight: 600;
}
.modal .btn-primary {
  background: var(--hm-grad);
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.28);
}
.modal .btn-secondary {
  background: #eef3f6;
  color: var(--hm-ink);
}

/* --------------------------------------------------------------------------
   About + special features + founder
   -------------------------------------------------------------------------- */
.hm-about .hm-prose p:first-child {
  color: var(--hm-ink);
  font-size: 17px;
}

.hm-features {
  background: #fff;
}
.hm-split--features {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.hm-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: var(--hm-bg);
  color: var(--hm-ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.hm-feature-list li:hover {
  border-color: rgba(7, 212, 233, 0.6);
  background: #fff;
  transform: translateY(-2px);
}
.hm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hm-grad);
  color: #fff;
}

.hm-quote {
  position: relative;
  max-width: 980px;
  margin: 18px auto 0;
  padding: 48px 48px 40px;
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--hm-shadow);
}
.hm-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background: var(--hm-grad);
}
.hm-quote__mark {
  position: absolute;
  top: -26px;
  left: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--hm-grad);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.3);
}
.hm-quote__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 20px;
  background: #e6f8fb;
  color: var(--hm-teal);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.hm-services {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(7, 212, 233, 0.22), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(7, 212, 233, 0.14), transparent 60%),
    linear-gradient(135deg, var(--hm-navy) 0%, var(--hm-navy-2) 100%);
}
.hm-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}
.hm-service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.hm-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hm-service__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.hm-service h4 {
  margin: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}
.hm-service__arrow {
  color: var(--hm-cyan);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.hm-service:hover,
.hm-service:focus-visible {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}
.hm-service:hover h4,
.hm-service:focus-visible h4 {
  color: var(--hm-navy);
}
.hm-service:hover .hm-service__arrow,
.hm-service:focus-visible .hm-service__arrow {
  opacity: 1;
  transform: none;
  color: var(--hm-teal);
}

/* --------------------------------------------------------------------------
   Gallery (Swiper markup kept as-is; main.js initialises .testimonials-slider)
   -------------------------------------------------------------------------- */
.hm-gallery {
  background: #fff;
}
.hm-gallery .swiper-slide.pix {
  width: 320px;
  padding: 10px;
}
.hm-gallery__item {
  display: block;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: var(--hm-bg);
  overflow: hidden;
  box-shadow: var(--hm-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.hm-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
.hm-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-hover);
}
.hm-gallery .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 22px;
}
.hm-gallery .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  border-radius: 5px;
  background: #cfe3ea;
  opacity: 1;
  transition: width 0.25s, background 0.25s;
}
.hm-gallery .swiper-pagination-bullet-active {
  width: 24px;
  background: var(--hm-teal);
}
@media (max-width: 575px) {
  .hm-gallery .swiper-slide.pix {
    width: 260px;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hm-split,
  .hm-split--features {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hm-split__media {
    max-width: 560px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .hm-section {
    padding: 48px 0;
  }
  .hm-title {
    margin-bottom: 26px;
  }
  .hm-title h2 {
    font-size: 24px;
  }
  .hm-feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .hm-quote {
    padding: 44px 22px 28px;
  }
  .hm-quote__mark {
    left: 22px;
  }
  .hm-split__media::before {
    inset: 12px -8px -8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm-pkg,
  .hm-pkg__media img,
  .hm-service,
  .hm-gallery__item,
  .hm-feature-list li,
  .hm-btn {
    transition: none;
  }
}

/* ===== News & Updates / Latest Offer cards (ud- prefix avoids Bootstrap 3/5 clashes) ===== */
.ud-section {
  padding: 36px 0 20px;
}
.ud-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.ud-card {
  --ud-accent: #07d4e9;
  --ud-accent-dark: #0891b2;
  --ud-ink: #1f2d3d;
  --ud-stage-h: 440px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e3eef3;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(8, 145, 178, 0.10);
  overflow: hidden;
}
.ud-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 14px 10px 18px;
  background: linear-gradient(135deg, var(--ud-accent) 0%, var(--ud-accent-dark) 100%);
  color: #fff;
}
.ud-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.ud-head__title {
  flex: 1 1 auto;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  line-height: 1.2;
}
.ud-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ud-count {
  margin-right: 4px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
  white-space: nowrap;
}
.ud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.ud-btn:hover {
  background: #fff;
  color: var(--ud-accent-dark);
}
.ud-btn:active {
  transform: scale(0.94);
}
.ud-btn:focus-visible,
.ud-dot:focus-visible,
.ud-scroll:focus-visible {
  outline: 2px solid var(--ud-accent-dark);
  outline-offset: 2px;
}

/* Slides are stacked; only the current one is visible */
.ud-stage {
  position: relative;
  flex: 1 1 auto;
  height: var(--ud-stage-h);
}
.ud-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.ud-slide.is-current {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0s;
}
.ud-empty {
  margin: 0;
  padding: 40px 20px;
  text-align: center;
  color: #6b7a89;
}

/* News text scrolls inside its slide */
.ud-scroll {
  height: 100%;
  padding: 18px 16px 28px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: var(--ud-ink);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
  scrollbar-width: thin;
  scrollbar-color: var(--ud-accent) #eef7fa;
}
.ud-scroll::-webkit-scrollbar {
  width: 7px;
}
.ud-scroll::-webkit-scrollbar-track {
  background: #eef7fa;
}
.ud-scroll::-webkit-scrollbar-thumb {
  background: var(--ud-accent);
  border-radius: 4px;
}
.ud-scroll * {
  max-width: 100%;
}
.ud-scroll p,
.ud-scroll div,
.ud-scroll ul,
.ud-scroll ol {
  margin-top: 0;
}
.ud-scroll p {
  margin-bottom: 0.6em;
}
.ud-scroll ul,
.ud-scroll ol {
  padding-left: 1.4em;
}
.ud-scroll img {
  height: auto;
  border-radius: 8px;
}
.ud-scroll table {
  display: block;
  width: 100% !important;
  overflow-x: auto;
  border-collapse: collapse;
}
/* Soft fade at the bottom hints there is more to read */
.ud-fade {
  position: absolute;
  left: 0;
  right: 8px;
  bottom: 0;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
  transition: opacity 0.2s;
}
.ud-slide.is-end .ud-fade {
  opacity: 0;
}

/* Offer image: shown whole, blurred copy fills the empty sides */
.ud-stage--offer {
  background: #0f2847;
  overflow: hidden;
}
.ud-offer-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.7);
  transform: scale(1.05);
}
.ud-offer-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px;
}
.ud-offer-link img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}
.ud-offer-link:hover img {
  transform: scale(1.02);
}

/* Dots */
.ud-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #eef3f6;
  background: #fbfdfe;
}
.ud-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #cfe3ea;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.ud-dot:hover {
  background: #9fd3e0;
}
.ud-dot.is-current {
  width: 24px;
  background: var(--ud-accent-dark);
}

@media (max-width: 991px) {
  .ud-card {
    --ud-stage-h: 400px;
  }
}
@media (max-width: 767px) {
  .ud-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .ud-card {
    --ud-stage-h: 380px;
  }
  .ud-head__title {
    font-size: 16px;
  }
  .ud-scroll {
    font-size: 14.5px;
    padding: 16px 12px 26px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ud-slide,
  .ud-slide.is-current,
  .ud-offer-link img,
  .ud-dot {
    transition: none;
  }
}




/* Latest Offer: horizontal slide movement instead of fade */
.ud-card[data-ud-effect="slide"] .ud-slide {
  opacity: 1;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.55s;
}
.ud-card[data-ud-effect="slide"] .ud-slide.is-current {
  visibility: visible;
  transform: none;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
}
.ud-card[data-ud-effect="slide"] .ud-slide.no-anim {
  transition: none !important;
  visibility: visible;
}

/* Arrows stay visible but inactive while there is only one slide */
.ud-btn:disabled,
.ud-btn:disabled:hover {
  opacity: 0.45;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: not-allowed;
  transform: none;
}
.ud-dots .ud-dot:only-child {
  cursor: default;
}
@media (prefers-reduced-motion: reduce) {
  .ud-card[data-ud-effect="slide"] .ud-slide,
  .ud-card[data-ud-effect="slide"] .ud-slide.is-current {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Inner page banner (about.php and other inner pages)
   -------------------------------------------------------------------------- */
.hm-page-hero {
  position: relative;
  padding: 56px 0 60px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(520px 260px at 8% 0%, rgba(7, 212, 233, 0.35), transparent 65%),
    radial-gradient(420px 240px at 100% 100%, rgba(7, 212, 233, 0.2), transparent 65%),
    linear-gradient(135deg, var(--hm-navy) 0%, var(--hm-navy-2) 100%);
}
.hm-page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border: 40px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}
.hm-page-hero h1 {
  margin: 10px 0 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.hm-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}
.hm-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.hm-breadcrumb a:hover {
  color: var(--hm-cyan);
}
.hm-breadcrumb [aria-current] {
  color: #fff;
  font-weight: 600;
}
.hm-breadcrumb > span[aria-hidden] {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.55);
}
/* main.js makes the header fixed on scroll; keep the page from jumping */
#header.fixed-top ~ .hm-page-hero {
  margin-top: 78px;
}
.hm-split__text .hm-title--left {
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .hm-page-hero {
    padding: 40px 0 44px;
  }
  .hm-page-hero h1 {
    font-size: 30px;
  }
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
.hm-tech__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.hm-tech-card {
  position: relative;
  padding: 30px 30px 28px;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hm-tech-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 212, 233, 0.14), transparent 70%);
  pointer-events: none;
}
.hm-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-hover);
}
.hm-tech-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--hm-grad);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.3);
}
.hm-tech-card h3 {
  margin: 0 0 12px;
  color: var(--hm-navy);
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
}
.hm-tech-card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 15px;
  line-height: 1.8;
}
.hm-tech-card b {
  color: var(--hm-ink);
  font-weight: 600;
}

.hm-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.hm-chip {
  padding: 9px 18px;
  border: 1px solid #cfe6ee;
  border-radius: 24px;
  background: #fff;
  color: var(--hm-navy);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.hm-chip:hover,
.hm-chip:focus-visible {
  border-color: transparent;
  background: var(--hm-grad);
  color: #fff;
  transform: translateY(-2px);
}

.hm-dept {
  scroll-margin-top: 90px; /* room for the fixed header when jumping from the chips */
  background: #fff;
}
.hm-dept--alt {
  background: var(--hm-bg);
}
.hm-split--reverse .hm-split__media {
  order: 2;
}
.hm-dept__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hm-dept__num {
  display: inline-block;
  margin-bottom: 6px;
  color: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1.5px rgba(8, 145, 178, 0.45);
}
.hm-dept .hm-title--left {
  margin-bottom: 18px;
}
.hm-dept .hm-title h2 {
  font-size: 28px;
}

@media (max-width: 991px) {
  .hm-split--reverse .hm-split__media {
    order: 0;
  }
}
@media (max-width: 767px) {
  .hm-tech__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .hm-tech-card {
    padding: 24px 22px;
  }
  .hm-chips {
    margin-top: 28px;
    gap: 8px;
  }
  .hm-chip {
    padding: 7px 14px;
    font-size: 13px;
  }
  .hm-dept__num {
    font-size: 36px;
  }
  .hm-dept .hm-title h2 {
    font-size: 24px;
  }
}

/* Health package page: cards sit on the soft page background */
.hm-packages--page {
  background: var(--hm-bg);
  padding-top: 56px;
}

/* --------------------------------------------------------------------------
   Gallery page: masonry wall (whole images, no cropping) + GLightbox viewer
   -------------------------------------------------------------------------- */
.hm-gallery-page {
  padding-top: 56px;
}
.hm-masonry {
  column-count: 3;
  column-gap: 22px;
}
.hm-masonry__item {
  position: relative;
  display: block;
  margin: 0 0 22px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--hm-shadow);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  cursor: zoom-in;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hm-masonry__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.hm-masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 39, 92, 0.45), rgba(16, 39, 92, 0) 55%);
  opacity: 0;
  transition: opacity 0.25s;
}
.hm-masonry__zoom {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--hm-teal);
  box-shadow: 0 6px 16px rgba(16, 39, 92, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}
.hm-masonry__item:hover,
.hm-masonry__item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-hover);
}
.hm-masonry__item:hover img,
.hm-masonry__item:focus-visible img {
  transform: scale(1.03);
}
.hm-masonry__item:hover::after,
.hm-masonry__item:focus-visible::after,
.hm-masonry__item:hover .hm-masonry__zoom,
.hm-masonry__item:focus-visible .hm-masonry__zoom {
  opacity: 1;
  transform: none;
}
.hm-masonry__item:focus-visible {
  outline: 3px solid var(--hm-cyan);
  outline-offset: 3px;
}
@media (hover: none) {
  /* Touch screens: always show the zoom badge so it is clear images open */
  .hm-masonry__zoom {
    opacity: 1;
    transform: none;
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 991px) {
  .hm-masonry {
    column-count: 2;
    column-gap: 18px;
  }
  .hm-masonry__item {
    margin-bottom: 18px;
  }
}
@media (max-width: 575px) {
  .hm-masonry {
    column-count: 1;
  }
}

/* GLightbox viewer: site colours for the controls */
.glightbox-clean .goverlay {
  background: rgba(8, 20, 45, 0.94);
}
.glightbox-clean .gprev,
.glightbox-clean .gnext,
.glightbox-clean .gclose {
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
}
.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gclose:hover {
  background-color: var(--hm-teal);
}
.glightbox-clean .gslide-media {
  border-radius: 10px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.hm-contact {
  padding-top: 56px;
}
.hm-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.hm-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hm-info-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--hm-grad);
  opacity: 0;
  transition: opacity 0.25s;
}
.hm-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-hover);
}
.hm-info-card:hover::before {
  opacity: 1;
}
.hm-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--hm-grad);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.3);
}
.hm-info-card__icon--sm {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
  box-shadow: none;
}
.hm-info-card__icon--sm svg {
  width: 20px;
  height: 20px;
}
.hm-info-card h3 {
  margin: 0 0 10px;
  color: var(--hm-navy);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.hm-info-card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 14.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.hm-info-card a {
  color: var(--hm-ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.hm-info-card a:hover {
  color: var(--hm-teal);
}

.hm-map-card {
  margin-top: 32px;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}
.hm-map-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hm-line);
}
.hm-map-card__head h3 {
  margin: 0;
  color: var(--hm-navy);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.hm-map-card iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

@media (max-width: 1199px) {
  .hm-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .hm-contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .hm-info-card {
    padding: 22px 20px;
  }
  .hm-map-card iframe {
    height: 320px;
  }
  .hm-map-card__head h3 {
    font-size: 14.5px;
  }
}
@media (min-width: 1200px) {
  /* Give the email card room so addresses never break mid-word */
  .hm-contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 0.85fr);
  }
  .hm-info-card a {
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   Test booking page (testbooking.php)
   -------------------------------------------------------------------------- */
.hm-booking {
  padding-top: 48px;
}
.hm-booking__card {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--hm-shadow-hover);
  overflow: visible;
}
.hm-booking__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: 22px 22px 0 0;
  background: var(--hm-grad);
  color: #fff;
}
.hm-booking__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
}
.hm-booking__title {
  margin: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
}
.hm-booking__body {
  padding: 26px 28px 30px;
}
.hm-booking__section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 16px;
  color: var(--hm-teal);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hm-booking__section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hm-line);
}
.hm-booking__section:not(:first-child) {
  margin-top: 28px;
}
.hm-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.hm-field--full {
  grid-column: 1 / -1;
}
.hm-booking .hm-field label {
  display: block;
  margin: 0 0 6px;
  color: #43566a;
  font-size: 13px;
  font-weight: 600;
}
.hm-booking .form-control,
.hm-booking .form-select {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #d9e7ee;
  border-radius: 12px;
  background-color: #fbfdfe;
  box-shadow: none;
  color: var(--hm-ink);
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.hm-booking .form-control:focus,
.hm-booking .form-select:focus {
  border-color: var(--hm-cyan);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(7, 212, 233, 0.15);
  outline: 0;
}

/* Test search with dropdown results (filled by the existing autocomplete script) */
.hm-search__wrap {
  position: relative;
}
#searchtest1 {
  padding-left: 40px;
  background: #fbfdfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6b7b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
}
.hm-booking .autocom-box1 {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: auto;
  max-height: 280px;
  padding: 0;
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
}
.hm-booking .autocom-box1:not(:empty) {
  padding: 6px;
  border: 1px solid var(--hm-line);
  box-shadow: var(--hm-shadow-hover);
}
.hm-booking .autocom-box1 li {
  padding: 10px 12px !important;
  border-radius: 8px;
  color: var(--hm-ink);
  font-size: 14px;
}
.hm-booking .autocom-box1 li:hover {
  background: #eefafd;
}

/* Selected tests */
.hm-tests {
  margin-top: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  overflow-x: auto;
}
.hm-tests .table {
  width: 100%;
  margin: 0;
  background: #fff;
}
.hm-tests .table th {
  padding: 12px 14px;
  border: 0 !important;
  background: #f1fafc;
  color: var(--hm-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.hm-tests .table td {
  padding: 13px 14px;
  border-top: 1px solid var(--hm-line) !important;
  color: var(--hm-ink);
  font-size: 14.5px;
  vertical-align: middle;
  text-align: left;
}
.hm-tests .table td:nth-child(2) {
  font-weight: 600;
  color: var(--hm-navy);
}
.hm-tests .table td:nth-child(3) {
  color: var(--hm-red);
  font-weight: 700;
  white-space: nowrap;
}
.hm-tests .table td:nth-child(3):not(:empty)::before {
  content: "₹ ";
}
.hm-tests .table td:last-child {
  width: 1%;
  text-align: right;
}
.hm-tests .delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fdecec;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.hm-tests .delete:hover {
  background: #f9d4d4;
  transform: scale(1.08);
}

.hm-booking__actions {
  margin-top: 26px;
  text-align: center;
}
.hm-booking__actions .hm-btn {
  width: auto;
  min-width: 220px;
  padding: 13px 36px;
  font-size: 15.5px;
}

@media (max-width: 575px) {
  .hm-booking__head {
    padding: 16px 18px;
  }
  .hm-booking__body {
    padding: 20px 16px 24px;
  }
  .hm-field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .hm-booking__actions .hm-btn {
    width: 100%;
  }
}
/* Results box holds whitespace when idle, so hide it until the script adds results */
.hm-booking .autocom-box1:not(:has(*)) {
  display: none !important;
}
.hm-booking .autocom-box1:has(*) {
  padding: 6px;
  border: 1px solid var(--hm-line);
  box-shadow: var(--hm-shadow-hover);
}
@media (max-width: 575px) {
  .hm-tests .table th,
  .hm-tests .table td {
    padding: 10px 8px;
    font-size: 13.5px;
  }
  .hm-tests .table th {
    white-space: normal;
    font-size: 11px;
    letter-spacing: 0.4px;
  }
  .hm-tests .delete {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}
