:root {
  --ink: #0b1f33;
  --muted: #5f7285;
  --blue: #0d4f7c;
  --teal: #0fa6a0;
  --aqua: #dff7f6;
  --line: #dbe7ee;
  --paper: #ffffff;
  --mist: #f4f9fb;
  --gold: #b8894b;
  --shadow: 0 24px 60px rgba(7, 35, 55, 0.16);
  --anchor-offset: 150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(7, 35, 55, 0.11);
}

.topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  padding: 8px 24px;
  color: #e9fbfb;
  background: rgba(6, 28, 47, 0.76);
  font-size: 13px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.social-link span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #0b4d7a;
  background: #e9fbfb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--paper);
}

.site-header.is-scrolled .brand,
.footer .brand {
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: clamp(158px, 19vw, 250px);
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
}

.site-header.is-scrolled .nav-links {
  color: var(--ink);
}

.nav-cta {
  padding: 11px 17px;
  color: var(--paper);
  background: var(--teal);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--paper);
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  padding: 140px 24px 118px;
}

.hero-media,
.hero-scan,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
  transition: opacity 420ms ease, object-position 420ms ease;
}

.hero-media img.is-swapping {
  opacity: 0;
}

.hero-scan {
  z-index: 1;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 0%, rgba(143, 241, 237, 0.24) 48%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  transform: translateX(-75%);
  animation: scanSweep 5.8s ease-in-out infinite;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 21, 35, 0.9) 0%, rgba(5, 21, 35, 0.68) 38%, rgba(5, 21, 35, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 21, 35, 0.4), rgba(5, 21, 35, 0.08));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(650px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

.hero-content.is-changing {
  animation: heroTextChange 420ms ease;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #85eeea;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 500px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 500px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-dot {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #8ff1ed;
}

.hero-actions,
.section-heading,
.referrer-layout,
.appointment,
.feedback,
.footer {
  display: flex;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--paper);
  background: var(--teal);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(610px, calc(100% - 48px));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-panel.is-changing {
  animation: heroPanelChange 420ms ease;
}

.hero-panel div {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.hero-panel div:first-child {
  border-left: 0;
}

.hero-panel span,
.service-card p,
.feature-list p,
.appointment p,
.footer p,
.stats dd,
.step-list p,
.intro p {
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  color: var(--ink);
}

.modality-rail {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  top: 48%;
  z-index: 3;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.modality-rail span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(5, 21, 35, 0.34);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(5, 21, 35, 0.2);
  backdrop-filter: blur(10px);
}

.modality-rail span.is-active {
  color: var(--ink);
  background: #8ff1ed;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(1.5%, -1.2%, 0);
  }
}

@keyframes scanSweep {
  0%,
  18% {
    transform: translateX(-75%);
  }

  62%,
  100% {
    transform: translateX(75%);
  }
}

@keyframes heroTextChange {
  0% {
    opacity: 0.35;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelChange {
  0% {
    opacity: 0.55;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro,
.medical-aids,
.services,
.patient-band,
.referrers,
.appointment,
.feedback,
.location-map {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.medical-aids {
  padding-top: 28px;
  padding-bottom: 52px;
}

.medical-aids-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.medical-aids-heading h2 {
  max-width: 540px;
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.aid-carousel {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--paper), transparent 14%, transparent 86%, var(--paper)),
    var(--paper);
}

.aid-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 22px 0;
  animation: aidCarousel 24s linear infinite;
}

.aid-carousel:hover .aid-track {
  animation-play-state: paused;
}

.aid-logo {
  display: inline-grid;
  width: 210px;
  height: 92px;
  place-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(7, 35, 55, 0.06);
}

.aid-logo img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.aid-logo-text {
  gap: 4px;
  grid-auto-flow: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.aid-logo-text strong {
  color: #0a78b7;
  font-style: italic;
  font-weight: 800;
}

.aid-logo-text em {
  color: #74b843;
  font-style: normal;
  font-weight: 600;
}

@keyframes aidCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(7, 35, 55, 0.1);
}

.service-card h3,
.service-card p {
  padding-inline: 24px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  padding-bottom: 28px;
}

.service-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.service-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 21, 35, 0.02), rgba(5, 21, 35, 0.32));
  pointer-events: none;
}

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

.service-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--blue);
  background: rgba(232, 252, 252, 0.94);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(5, 21, 35, 0.16);
}

.patient-band {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) 1fr;
  gap: 56px;
  background:
    linear-gradient(135deg, rgba(13, 79, 124, 0.96), rgba(9, 45, 70, 0.98)),
    var(--blue);
  color: var(--paper);
}

.patient-band > * {
  width: min(100%, 1180px);
}

.band-copy {
  justify-self: end;
  max-width: 430px;
}

.band-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 16px;
  max-width: 720px;
}

.step-list div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.step-list span {
  display: block;
  margin-bottom: 22px;
  color: #8ff1ed;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 8px;
}

.referrer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 150px) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 18px;
}

.feature-list {
  max-width: none;
  padding-top: 8px;
  font-size: 19px;
}

.referrer-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.referrer-form .button {
  width: fit-content;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.stats div {
  padding: 18px;
  border-radius: 8px;
  background: var(--mist);
}

.stats dt {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.stats dd {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.referrer-image {
  position: relative;
  align-self: start;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.referrer-image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 21, 35, 0.62) 0%, rgba(5, 21, 35, 0.34) 48%, rgba(5, 21, 35, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 21, 35, 0.28), rgba(5, 21, 35, 0.04));
}

.referrer-image img {
  width: 100%;
  height: auto;
  display: block;
}

.appointment {
  align-items: start;
  justify-content: space-between;
  gap: 56px;
  background: var(--mist);
}

.appointment > div {
  max-width: 430px;
}

.feedback {
  align-items: start;
  justify-content: space-between;
  gap: 56px;
}

.feedback-copy {
  width: min(500px, 100%);
}

.feedback-copy p,
.feedback-empty,
.feedback-card small {
  color: var(--muted);
}

.feedback-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feedback-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.feedback-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.feedback-card p {
  margin-bottom: 10px;
}

.stars {
  color: var(--blue);
  font-weight: 900;
}

.location-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  gap: 34px;
  align-items: stretch;
  padding-top: 40px;
}

.location-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 32px;
  border-radius: 8px;
  background: var(--mist);
}

.location-copy p {
  color: var(--muted);
}

.map-frame {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  box-shadow: 0 18px 40px rgba(7, 35, 55, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.booking-form,
.feedback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(620px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(7, 35, 55, 0.08);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fbfdfe;
  font: inherit;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.footer {
  position: relative;
  justify-content: space-between;
  align-items: start;
  padding: 52px max(24px, calc((100vw - 1180px) / 2)) 64px;
  background: #071927;
  color: var(--paper);
}

.footer .brand {
  color: var(--paper);
}

.footer .brand-logo {
  width: min(270px, 100%);
  height: 86px;
}

.footer > div,
.footer address {
  max-width: 310px;
}

.footer address {
  display: grid;
  gap: 6px;
  font-style: normal;
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.74);
}

.staff-login {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 16px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
}

.footer-credit {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 14px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  opacity: 0.62;
}

@media (max-width: 920px) {
  :root {
    --anchor-offset: 104px;
  }

  .topbar {
    display: none;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .brand,
  .nav-links {
    color: var(--ink);
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle span {
    background: var(--ink);
  }

  .nav-links {
    position: absolute;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
    padding: 104px 24px 26px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 650px);
    margin: 24px auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modality-rail {
    display: none;
  }

  .hero-panel div {
    padding: 14px;
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .hero-panel div:first-child {
    border-left: 0;
  }

  .intro,
  .medical-aids,
  .patient-band,
  .appointment,
  .feedback,
  .location-map,
  .referrer-layout,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .service-grid,
  .step-list,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    display: block;
  }

  .medical-aids-heading {
    display: block;
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 16px;
  }

  .brand-logo {
    width: 172px;
    height: 58px;
  }

  .hero {
    min-height: 100svh;
    padding: 96px 18px 24px;
  }

  h1 {
    font-size: clamp(26px, 8.5vw, 34px);
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 21, 35, 0.92), rgba(5, 21, 35, 0.62));
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-controls {
    flex-wrap: wrap;
    margin-top: 18px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-panel div {
    padding: 12px 14px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-panel div:first-child {
    border-top: 0;
  }

  .button {
    width: 100%;
  }

  .intro,
  .medical-aids,
  .services,
  .patient-band,
  .referrers,
  .appointment,
  .feedback,
  .location-map {
    padding: 68px 18px;
  }

  .location-copy {
    padding: 24px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .service-grid,
  .step-list,
  .stats,
  .booking-form,
  .feedback-form {
    grid-template-columns: 1fr;
  }

  .booking-form,
  .feedback-form {
    padding: 20px;
  }

  .footer {
    padding: 42px 18px;
  }

  .footer-credit {
    position: static;
    margin-top: 18px;
    text-align: left;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
