:root {
  --royal-blue: #0b2f9f;
  --royal-blue-2: #123ccf;
  --deep-blue: #071a52;
  --sky-blue: #eaf5ff;
  --soft-blue: #f5f9ff;
  --white: #ffffff;
  --text: #173052;
  --muted: #65738a;
  --line: rgba(11, 47, 159, 0.12);
  --shadow: 0 24px 70px rgba(7, 26, 82, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--deep-blue);
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 3px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 47, 159, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  line-height: 1;
}

.brand small {
  color: var(--royal-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--royal-blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-cta {
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  background: var(--royal-blue);
  box-shadow: 0 14px 28px rgba(11, 47, 159, 0.22);
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-2));
  box-shadow: 0 18px 36px rgba(11, 47, 159, 0.25);
}

.btn-ghost {
  color: var(--royal-blue);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--royal-blue);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(18, 60, 207, 0.16), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #eaf5ff 48%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(11, 47, 159, 0.08);
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 90px;
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -100px;
  bottom: -90px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--royal-blue);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--royal-blue);
}

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

h1 {
  margin-bottom: 22px;
  color: var(--deep-blue);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  color: var(--deep-blue);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  color: var(--deep-blue);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy p,
.section-heading p,
.departments-grid > div > p,
.appointment-copy p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy p {
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions,
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--royal-blue);
  font-size: 1.3rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  min-height: 620px;
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, rgba(11, 47, 159, 0.18), rgba(79, 186, 255, 0.2));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -25% -24% -25%;
  height: 52%;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: 50% 50% 0 0;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(0deg, rgba(7, 26, 82, 0.28), transparent 45%);
  pointer-events: none;
}

.doctor-visual {
  position: absolute;
  inset: 86px 34px 34px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(7, 26, 82, 0.14);
}

.doctor-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pulse-card,
.stat-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(7, 26, 82, 0.16);
}

.pulse-card {
  top: 40px;
  left: 38px;
  right: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--deep-blue);
  font-weight: 800;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0fd186;
  box-shadow: 0 0 0 10px rgba(15, 209, 134, 0.14);
}

.stat-card {
  padding: 16px 22px;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--royal-blue);
  font-size: 1.2rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-left {
  left: 36px;
  bottom: 120px;
}

.stat-right {
  right: 28px;
  bottom: 220px;
}

.quick-info {
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-grid article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--soft-blue);
}

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  margin-bottom: 8px;
  color: var(--royal-blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-grid strong {
  color: var(--deep-blue);
}

.showcase {
  padding: 76px 0 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: repeat(2, 270px);
  gap: 20px;
}

.showcase-card {
  position: relative;
  min-height: 270px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--deep-blue);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 26, 82, 0.88));
}

.showcase-main {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.showcase-card div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
}

.showcase-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--royal-blue);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card h2,
.showcase-card h3 {
  margin-bottom: 0;
  color: var(--white);
}

.showcase-card h2 {
  max-width: 720px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

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

.service-card,
.department-list article,
.modern-grid article,
.contact-card,
.appointment-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 26, 82, 0.07);
}

.service-card {
  min-height: 250px;
  padding: 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-icon {
  color: var(--white);
}

.service-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--royal-blue);
  background: var(--sky-blue);
  font-weight: 800;
}

.service-card p,
.department-list p,
.modern-grid p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.departments,
.appointment {
  background:
    radial-gradient(circle at 5% 10%, rgba(18, 60, 207, 0.08), transparent 24%),
    var(--soft-blue);
}

.departments-grid,
.appointment-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

.departments-grid .btn {
  margin-top: 18px;
}

.department-list {
  display: grid;
  gap: 16px;
}

.department-list article {
  position: relative;
  padding: 24px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0 18px;
  overflow: hidden;
}

.department-list article::after {
  position: absolute;
  right: 24px;
  bottom: -8px;
  color: rgba(11, 47, 159, 0.07);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
}

.lab-card::after {
  content: "LAB";
}

.accounting-card::after {
  content: "NGN";
}

.hr-card::after {
  content: "HR";
}

.nursing-card::after {
  content: "+";
}

.pharmacy-card::after {
  content: "RX";
}

.department-list span {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--royal-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.department-list h3 {
  margin-bottom: 8px;
}

.modern-care {
  background: linear-gradient(180deg, var(--white), #f9fbff);
}

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

.modern-grid article {
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(234, 245, 255, 0.88), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.appointment-grid {
  align-items: center;
}

.contact-strip {
  margin-top: 24px;
}

.contact-strip a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--royal-blue);
  background: var(--white);
  font-weight: 800;
}

.appointment-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-blue);
  font-weight: 800;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--deep-blue);
  background: var(--soft-blue);
  outline: none;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--royal-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 47, 159, 0.08);
}

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

.contact-grid {
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
}

.contact-card {
  padding: 32px;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
}

.contact-card h3,
.contact-card p,
.contact-card a {
  color: var(--white);
}

.contact-card a {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep-blue);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .brand,
.footer .brand small,
.footer a {
  color: var(--white);
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .nav-cta {
    display: none;
  }

  .hero-grid,
  .departments-grid,
  .appointment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-card {
    min-height: 520px;
  }

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

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

  .showcase-grid {
    grid-template-rows: auto;
  }

  .showcase-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 70px 0;
  }

  .navbar {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: var(--soft-blue);
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.8rem);
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-card {
    min-height: 430px;
    border-radius: 32px;
  }

  .stat-right {
    right: 18px;
    bottom: 180px;
  }

  .stat-left {
    left: 18px;
    bottom: 82px;
  }

  .trust-row,
  .services-grid,
  .modern-grid,
  .info-grid,
  .showcase-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-main {
    min-height: 320px;
  }

  .quick-info {
    margin-top: 0;
    padding: 28px 0 0;
  }

  .department-list article {
    grid-template-columns: 1fr;
  }

  .department-list span {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .hero-actions .btn,
  .contact-strip a {
    width: 100%;
  }

  .pulse-card {
    left: 18px;
    right: 18px;
    border-radius: 22px;
  }
}
